[ABD] phpBB Social Network 0.7.2

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
ninowebs
Registered User
Posts: 191
Joined: Tue Dec 15, 2009 6:36 pm
Location: Italia Sicilia
Contact:

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by ninowebs »

Culprit wrote:
ninowebs wrote:
Your CSS is not updated. Control CSS install instruction and than refresh skin.
But there is problem with loading start function. You may than remove onload_functions.push(.....) and give there $(document).ready(function(){ load_startIM(....);});
It looks as if it were not retrieved onload_functions


ok thanks I understand now the position is fine but is
Image
even if there are users
need test user to look. give me one test user.
ok
user test
pass testtest

thank you
User avatar
LexusAutosports
Registered User
Posts: 24
Joined: Fri Apr 16, 2010 7:51 pm
Contact:

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by LexusAutosports »

Culprit wrote:
LexusAutosports wrote:
Culprit wrote:
LexusAutosports wrote:It seems like when the member is logged in is when the site becomes slow when loading due to the chat looking for how many friends are online. Does anyone else seem to notice this? Please also notice each page loads normal when I am not logged in. Please check out what I mean if you log in using:

http://www.lexusautosports.com
username: testuser
password: test123

Thanks
By you is loading really slow. I have been thinking that is dependent on hosting. By me is loading in 50ms, you got over 1s
The hangup is when the page is loading and the time it takes Chat( ) to display as Chat(0) or however many friends are online to chat with. Just want to know if anyone else is experiancing this delay.
Try to change: /styles/instant_messenger/instant_messenger.js

Code: Select all

var chatHeartbeatTime = minChatHeartbeat;
to

Code: Select all

var chatHeartbeatTime = 10000;
Changing that definitely helped the speed of viewing the pages. Still a slight delay when loading the number of users to chat - Chat (0) when the page first loads.

Thanks
Lexus Autosports - Show Off Your Lexus
http://www.lexusautosports.com
User avatar
Culprit
Registered User
Posts: 356
Joined: Fri Oct 22, 2004 8:43 am
Location: prague
Contact:

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by Culprit »

ninowebs wrote:
Culprit wrote:
ninowebs wrote:
Your CSS is not updated. Control CSS install instruction and than refresh skin.
But there is problem with loading start function. You may than remove onload_functions.push(.....) and give there $(document).ready(function(){ load_startIM(....);});
It looks as if it were not retrieved onload_functions


ok thanks I understand now the position is fine but is
Image
even if there are users
need test user to look. give me one test user.
ok
user test
pass testtest

thank you
You have on page this code

Code: Select all

<meta http-equiv="refresh" ....
This tag should be only on page when redirect or refresh should appear.
To solve this problem open /styles/imstant_messenger/instant_messenger_buttons.js and comment or remove

Code: Select all

		if ($('meta[http-equiv=refresh]').length > 0) {
			$.ajax({
				async: false,
				data: {	action: 'nothingtoreturn'},
				/*error: function(){
			 alert( 'AJAX Error:\nInitialization');
			 },*/
				success: function(data){
					username = data.username;
				}
			});
			
			return true;
		}
I will improve refresh detection.
Image
ninowebs
Registered User
Posts: 191
Joined: Tue Dec 15, 2009 6:36 pm
Location: Italia Sicilia
Contact:

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by ninowebs »

now I see Thank you very much
ninowebs
Registered User
Posts: 191
Joined: Tue Dec 15, 2009 6:36 pm
Location: Italia Sicilia
Contact:

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by ninowebs »

ninowebs wrote:now I see Thank you very much
but something is wrong you can try gently
I found it to work with Chrome Firefox, but does not go with IE 8
Kitsaru
Registered User
Posts: 20
Joined: Wed Apr 07, 2010 9:27 pm

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by Kitsaru »

Alright I did all the edits uploaded them to my forum got no errors on my forum afterwards, I don't see the mod in the ACP or see the chat bar o_0. Is there not an install.php file after all the edits.
kiore
Registered User
Posts: 91
Joined: Wed Aug 26, 2009 1:11 am

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by kiore »

Maybe it's just me but i can't get the status to show under the avatars in viewtopic
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by keith10456 »

Kitsaru wrote:Alright I did all the edits uploaded them to my forum got no errors on my forum afterwards, I don't see the mod in the ACP or see the chat bar o_0. Is there not an install.php file after all the edits.
There aren't any changes to the ACP.

Did you make the style edits to the style that you are using?
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by keith10456 »

kiore wrote:Maybe it's just me but i can't get the status to show under the avatars in viewtopic
It shows in mine... I recommend double-checking your file edits.
kiore
Registered User
Posts: 91
Joined: Wed Aug 26, 2009 1:11 am

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by kiore »

I just noticed somthing

Code: Select all

'author_profile'	=> get_username_string('profile', $poster_id, $row['username'], $row['user_colour']),
That line is in the install but i don't have it in my viewtopic.php i'm using 3.5
Kitsaru
Registered User
Posts: 20
Joined: Wed Apr 07, 2010 9:27 pm

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by Kitsaru »

keith10456 wrote:
Kitsaru wrote:Alright I did all the edits uploaded them to my forum got no errors on my forum afterwards, I don't see the mod in the ACP or see the chat bar o_0. Is there not an install.php file after all the edits.
There aren't any changes to the ACP.

Did you make the style edits to the style that you are using?
Yes I have, shouldnt the mod be in the .mod of the ACP since some of the features say changable in ACP
BigBCC
Registered User
Posts: 26
Joined: Sat Jul 26, 2008 5:41 am

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by BigBCC »

Can someone please give me the sql changes for the new (0.4.0) version. For some reason or another I keep getting sql problems.

I went to clear the templates and stuff and I got yet another sql problem (in the last version I only got it while trying to log in)

SQL ERROR [ mysqli ]

Table 'bigbcc_f1.phpbb_users_im' doesn't exist [1146]

SQL

SELECT user_deny_im, user_status FROM phpbb_users_im WHERE user_id = 2

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/hooks/hook_instant_messenger.php
LINE: 31
CALL: dbal_mysqli->sql_query()

FILE:
LINE:
CALL: im_extend_user_data()

FILE: includes/hooks/index.php
LINE: 141
CALL: call_user_func_array()

FILE: includes/functions.php
LINE: 4469
CALL: phpbb_hook->call_hook()

FILE: includes/session.php
LINE: 1789
CALL: phpbb_user_session_handler()

FILE: adm/index.php
LINE: 27
CALL: user->setup()
Kitsaru
Registered User
Posts: 20
Joined: Wed Apr 07, 2010 9:27 pm

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by Kitsaru »

Ok I have the mod installed just a little problem everything is up top and the chat bar at the bottom is not showing.. http://rfbase.net/forum
User avatar
Culprit
Registered User
Posts: 356
Joined: Fri Oct 22, 2004 8:43 am
Location: prague
Contact:

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by Culprit »

kiore wrote:I just noticed somthing

Code: Select all

'author_profile'	=> get_username_string('profile', $poster_id, $row['username'], $row['user_colour']),
That line is in the install but i don't have it in my viewtopic.php i'm using 3.5
You got 3.0.5 version, it is not latest version of phpBB. search for

Code: Select all

'search'		=> ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&sr=posts") : '',
Image
User avatar
Culprit
Registered User
Posts: 356
Joined: Fri Oct 22, 2004 8:43 am
Location: prague
Contact:

Re: [NEW] [BETA] Instant Messenger + User status MOD 0.4.0

Post by Culprit »

BigBCC wrote:Can someone please give me the sql changes for the new (0.4.0) version. For some reason or another I keep getting sql problems.

I went to clear the templates and stuff and I got yet another sql problem (in the last version I only got it while trying to log in)
I've got one sql file with all necessary DB changes located here
http://mxp.maxthon.cz/phpbb/styles/inst ... update.sql (it's same instructions as in install_mod.xml)
Image
Locked

Return to “[3.0.x] Abandoned MODs”