vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   BB| Messenger 1.5 (https://vborg.vbsupport.ru/showthread.php?t=66989)

Sypher 07-13-2004 07:43 PM

also, when clicking on a user's name through the chat window it takes you to this link http://www.rulersofthematrix.com/forum/bbmessenger/{var:boardmemberprofilelink}21

rather than the user's profile (which in this case is userid 21)

Sypher 07-13-2004 07:56 PM

Invalid SQL:
SELECT title, data
FROM datastore
WHERE title IN ('options', 'cron', 'forumcache', 'usergroupcache',
'stylecache', 'arcadesettings', 'smiliecache', 'bbcodecache',
'iconcache', 'userstats', 'birthdaycache', 'vbindex_setting', 'vbindex_version',
'vbindex_config')

mysql error: User 'sypher' has exceeded the 'max_questions' resource
(current value: 72000)

mysql error number: 1226

why god why
haha

Sypher 07-13-2004 08:05 PM

Quote:

Originally Posted by Sypher
Invalid SQL:
SELECT title, data
FROM datastore
WHERE title IN ('options', 'cron', 'forumcache', 'usergroupcache',
'stylecache', 'arcadesettings', 'smiliecache', 'bbcodecache',
'iconcache', 'userstats', 'birthdaycache', 'vbindex_setting', 'vbindex_version',
'vbindex_config')

mysql error: User 'sypher' has exceeded the 'max_questions' resource
(current value: 72000)

mysql error number: 1226

why god why
haha

q it's working now... just by time passing, but I'm still getting those other two errors

C.Birch 07-13-2004 08:59 PM

Quote:

Originally Posted by Sypher
also, when clicking on a user's name through the chat window it takes you to this link http://www.rulersofthematrix.com/forum/bbmessenger/{var:boardmemberprofilelink}21

rather than the user's profile (which in this case is userid 21)


Please upload this file over the top of the other one in the bbmessenger/sources/boardmodule folder

a line from the file had gone walk abouts.

blitzkrg 07-14-2004 01:23 AM

Quote:

Originally Posted by blitzkrg
i got this to install and work fine.. but omg, every time i make a connection, my cpu usage goes through the roof.. like 50% for apache and 50% for mysql.. anyone else have this problem.. is there a fix?

Quote:

anybody?????????
can anyone comment on this? please

Sypher 07-14-2004 02:01 AM

Quote:

Originally Posted by C.Birch
Please upload this file over the top of the other one in the bbmessenger/sources/boardmodule folder

a line from the file had gone walk abouts.

thanks mucho :)

Sypher 07-14-2004 02:24 AM

Quote:

Originally Posted by Sypher
hey, sorry but another problem...

when in a chat window with another user the messages are not sent instantaneously... rather... the user must close the chat box and re-click on the member's hame to get the messages... it's weird, but hopefully you can understand it

hey c., this is sadly still a problem... you think you can point me to a file to look for possible errors? I hate putting all the burden on you... I'm a CS student at UT Austin so I can figure it out, I just need to understand your structure better.

C.Birch 07-14-2004 07:16 AM

Quote:

Originally Posted by Sypher
hey c., this is sadly still a problem... you think you can point me to a file to look for possible errors? I hate putting all the burden on you... I'm a CS student at UT Austin so I can figure it out, I just need to understand your structure better.

its more and likely to do with your host.

for started your host only lets you call the database so many times in a set time thats why you get the error below sometimes and messenger makes a far few call's to it when its in use by someone because it as to check database for any new messages.

mysql error: User 'sypher' has exceeded the 'max_questions' resource
(current value: 72000)

C.Birch 07-14-2004 07:19 AM

Quote:

Originally Posted by blitzkrg
i got this to install and work fine.. but omg, every time i make a connection, my cpu usage goes through the roof.. like 50% for apache and 50% for mysql.. anyone else have this problem.. is there a fix?

no theres no fix, you need to recall this is a messenger and due to that its going do alot of database call's when in use by people.

its like having a forum installed but people posting a topic every few sec because its live one to one chat.

Erwin 07-14-2004 10:44 AM

Hi C. Birch,

A possible bug:

If a member chooses not to check "Remember Me" a cookie is not saved, and thus the IM popup thinks the person is not logged in, as the code is unable to find the cookie information.

Is this correct?

blitzkrg 07-14-2004 11:48 AM

Quote:

Originally Posted by C.Birch
no theres no fix, you need to recall this is a messenger and due to that its going do alot of database call's when in use by people.

its like having a forum installed but people posting a topic every few sec because its live one to one chat.

I guess please was the magic word :)
thanks for the reply C.Birch
But I dont think i understand this correctly
The server is a 3ghz box with 1gb of ram.
and when 1 single user connect the CPU usage goes to 100% and stays there until they disconnect.
This makes the web site and server unusable.
i would think that if this is the case for everyone, then nobody would use it since it will cripple there servers with a single connect.
but nobody seems to complain about it but me, so i'm assuming i must have done something wrong. so i'm looking for suggestions.

C.Birch 07-14-2004 02:12 PM

Quote:

Originally Posted by Erwin
Hi C. Birch,

A possible bug:

If a member chooses not to check "Remember Me" a cookie is not saved, and thus the IM popup thinks the person is not logged in, as the code is unable to find the cookie information.

Is this correct?

hehe yeah that would be right, will look in to that for the next version.

C.Birch 07-14-2004 02:22 PM

Quote:

Originally Posted by blitzkrg
I guess please was the magic word :)
thanks for the reply C.Birch
But I dont think i understand this correctly
The server is a 3ghz box with 1gb of ram.
and when 1 single user connect the CPU usage goes to 100% and stays there until they disconnect.
This makes the web site and server unusable.
i would think that if this is the case for everyone, then nobody would use it since it will cripple there servers with a single connect.
but nobody seems to complain about it but me, so i'm assuming i must have done something wrong. so i'm looking for suggestions.


I really dont know what your prob might be one user would defo not do that much to your server load. Is yours the only site on the server?

John Crichton 07-14-2004 07:38 PM

Just wanted to say.. installed this yesterday and with the ease of modification and installation it was ready for members use almost imdiatly.. well done on a great hack.

blitzkrg 07-15-2004 12:43 AM

Quote:

Originally Posted by C.Birch
I really dont know what your prob might be one user would defo not do that much to your server load. Is yours the only site on the server?

yes it's a windows 2003 dedicated server
running
php 4.3.5
apache 1.3.26
mysql 3.23.57
vbulliten 3.0.1

i had no problems with the install.
i rdp'd to the server and ran task mgr. then from another computer launched a bbmessenger session and the cpu on the server went to 100% right away and stayed there until i closed the bbmssgr seesion.

anything i should try?

daniely 07-15-2004 02:21 AM

I love this hack but I have a request, make it possible to stop reloading every single second, mabye every miniute or so.

dndog 07-15-2004 04:55 AM

The messenger says username@UPNforums.

How can I change this?

Steve123 07-15-2004 05:06 AM

Hey,

ive installed this on vb3.0.2

You can see people online but msg's are not going through..

reading this thread a few ppl have the problem.

i am not behind a proxy or nothing like that.

any ideas..

thanks..

MissKalunji 07-15-2004 11:09 AM

Quote:

Originally Posted by dndog
The messenger says username@UPNforums.

How can I change this?

You can change it ChatWindows.html.php

Where it says : <b>{user:username}</b>@{var:sitename} change the {var:sitename} for whateva u want

I looked somewhere else in dem files n didnt fin dn e thing so i guess u can fix that that way :o

C.Birch 07-15-2004 11:56 AM

Quote:

Originally Posted by MissKalunji
You can change it ChatWindows.html.php

Where it says : <b>{user:username}</b>@{var:sitename} change the {var:sitename} for whateva u want

I looked somewhere else in dem files n didnt fin dn e thing so i guess u can fix that that way :o


you not find it in the files ;) editing {var:sitename} to your site will do it but the real way to do it is to edit the database because {var:sitename} is a call to the database for the site name.

dstruct2k 07-15-2004 02:31 PM

Quote:

Originally Posted by Erwin
Hi C. Birch,

A possible bug:

If a member chooses not to check "Remember Me" a cookie is not saved, and thus the IM popup thinks the person is not logged in, as the code is unable to find the cookie information.

Is this correct?

A cookie is still saved, but the timeout is set to 0. (end of browser session) Isn't it?

Shouldn't be an issue, I've had no complaints.

C.Birch 07-15-2004 04:27 PM

Quote:

Originally Posted by blitzkrg
yes it's a windows 2003 dedicated server
running
php 4.3.5
apache 1.3.26
mysql 3.23.57
vbulliten 3.0.1

i had no problems with the install.
i rdp'd to the server and ran task mgr. then from another computer launched a bbmessenger session and the cpu on the server went to 100% right away and stayed there until i closed the bbmssgr seesion.

anything i should try?


Try the following:

open bbm_messenger.php and find:


// choose processing delay, 1 second for windows, 0.2 seconds for everyone else (windows does not support usleep)
if (ONWINDOWS)
{
sleep(1);
} else
{
usleep(2000000);
}


replace with:

sleep(1);

Reeve of shinra 07-15-2004 08:12 PM

Does this hack cause the server / sql load to jump?
I havent installed it yet but wanted to get an idea of it first.

Erwin 07-15-2004 08:30 PM

Quote:

Originally Posted by dstruct2k
A cookie is still saved, but the timeout is set to 0. (end of browser session) Isn't it?

Shouldn't be an issue, I've had no complaints.

Why don't you logout, then log in with "Remember Me" UNCHECKED, and see? :) It won't work, because we are now using the sessions table to remember the user, not cookies.

Erwin 07-15-2004 08:30 PM

Quote:

Originally Posted by Reeve of shinra
Does this hack cause the server / sql load to jump?
I havent installed it yet but wanted to get an idea of it first.

Yes, your server load WILL increase, as this hack is quite server intensive.

Steve123 07-16-2004 02:15 AM

I am trying to why out why the msg's arent going throught..

i tried a default install of vb 3.0.2 with no hacks or nothing and msg's are still not going through? ive tried it o 4-5 computers at different locations with different users etc.. non work..

when u type a msg in the message box i can see it going into the sql database but then it goes a few seconds later.. like its calling for the message then it deletes it but dont display the message..

Ive been trying to understand your code.. as i dont know java its getting a bit confussing in some parts.. before i start inserting my own code to try find out where the problem is do you have any suggestion c.birch or anyone else??

rebelsrock06 07-18-2004 02:14 AM

It wont let me login, i login to the forums then i go to the bbmessenger page and it says click here to login but then i am logged in and still nothing ?

C.Birch 07-18-2004 07:30 AM

check out the first post and this part:

Fix's

1) check your vBulletin cookies Prefix in vb's config file is set to bb like below:

// Prefix that all vBulletin cookies will have
// For example
$cookieprefix = 'bb';

if not set it to the above, if setting it to the above gives you errors with other hacks follow the steps on page 3 for editing messengers cookie call's.

this fix's the login error.

===============================================

note if you do have to edit that make sure you clean out your cookies and temp files before logging in to the forums again.

rebelsrock06 07-19-2004 02:08 AM

Quote:

Originally Posted by C.Birch
check out the first post and this part:

Fix's

1) check your vBulletin cookies Prefix in vb's config file is set to bb like below:

// Prefix that all vBulletin cookies will have
// For example
$cookieprefix = 'bb';

if not set it to the above, if setting it to the above gives you errors with other hacks follow the steps on page 3 for editing messengers cookie call's.

this fix's the login error.

===============================================

note if you do have to edit that make sure you clean out your cookies and temp files before logging in to the forums again.

everythings working GREAT:D Hack of the month possibly hack of the year

Steve123 07-19-2004 05:02 AM

Quote:

Originally Posted by Steve123
I am trying to why out why the msg's arent going throught..

i tried a default install of vb 3.0.2 with no hacks or nothing and msg's are still not going through? ive tried it o 4-5 computers at different locations with different users etc.. non work..

when u type a msg in the message box i can see it going into the sql database but then it goes a few seconds later.. like its calling for the message then it deletes it but dont display the message..

Ive been trying to understand your code.. as i dont know java its getting a bit confussing in some parts.. before i start inserting my own code to try find out where the problem is do you have any suggestion c.birch or anyone else??

anyone?

Sypher 07-19-2004 10:37 PM

it seems as if half of the admins who've installed this hack aren't able to get messages through...

MissKalunji 07-19-2004 11:18 PM

Quote:

Originally Posted by Sypher
it seems as if half of the admins who've installed this hack aren't able to get messages through...

I've installed it works fine.... running on 3.3

Oldfart 07-19-2004 11:54 PM

Quote:

Originally Posted by Sypher
it seems as if half of the admins who've installed this hack aren't able to get messages through...

Well it's a 50/50 chance it seems. Sometimes it works on my site and sometimes it doesn't. I wish there was a way to notify users to open their bb|messenger when you send someone a message.

Steve123 07-20-2004 06:45 AM

Quote:

Originally Posted by Oldfart
Well it's a 50/50 chance it seems. Sometimes it works on my site and sometimes it doesn't. I wish there was a way to notify users to open their bb|messenger when you send someone a message.

i cant get it working at all..

its weird because it uploads the messages to the sql db and it downloads and removes them..

but dosent display them..

i even tried a default install.

C.Birch 07-20-2004 04:14 PM

Quote:

Originally Posted by Oldfart
Well it's a 50/50 chance it seems. Sometimes it works on my site and sometimes it doesn't. I wish there was a way to notify users to open their bb|messenger when you send someone a message.


there messenger should be open anyway if your able to send them a message.

people having probs not getting messagesare you sure you have no pop up blockers on that might stop the message window poping up if someone sends you a message. i know some aol users might have probs due to the way aol works.

TTG 07-20-2004 05:08 PM

Clean install on 3.0.1 .. great hack.

Not being a php coder .. one question .. how do I get the messenger to open in a seperate window ..<a href="bbmessenger/index.php">$vboptions[bbtitle]Messenger</a> - ?

Tailfeathers 07-20-2004 06:49 PM

Can you talk to several people at once? *hope so so that I could use this as a messenger and chat room*

TTG -- change
<a href="bbmessenger/index.php">

to
a href="bbmessenger/index.php" target="_blank">

C.Birch 07-20-2004 07:43 PM

Quote:

Originally Posted by Tailfeathers
Can you talk to several people at once? *hope so so that I could use this as a messenger and chat room*


Not in the same window but you can have muti windows open talking to people.

MrFaldyn 07-20-2004 07:57 PM

I got it working the way it should, but it kills the server speed :(

This is an amazing hack. Too bad I can't use it :(

C.Birch 07-20-2004 09:09 PM

Quote:

Originally Posted by MrFaldyn
I got it working the way it should, but it kills the server speed :(

This is an amazing hack. Too bad I can't use it :(


open bbm_messenger.php and find:

// choose processing delay, 1 second for windows, 0.2 seconds for everyone else (windows does not support usleep)
if (ONWINDOWS)
{
sleep(1);
} else
{
usleep(2000000);
}


==============================

play about with the 1 and 2000000 numbers making them bigger this is slow down the mssengers reload rate what will put less load on your server only down side is new messages will not be live you get them at what ever reload rate you pick.


All times are GMT. The time now is 01:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01574 seconds
  • Memory Usage 1,850KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete