PDA

View Full Version : BB| Messenger 1.5


Pages : [1] 2

C.Birch
07-08-2004, 10:00 PM
Please press install if you install this hack

Support Can Not Be Given For This Hack

BB|Messenger is a user to user messenger system for vb3 that runs off your user database.

This hack as been made for my own forums and has not been tested on any other forums, so its very likely that errors might be found on other system set up's.

To Install:

upload all the files in the same way that they are in side the zip.

once all files are upload load the page http://www.yourdomain.com/bbmessenger/
note that the address before bbmessenger/ will be the path to the folder on your site.

Follow the install page and your all done.

The only other thing that needs doing is the editing of the address's in the marquee.php file that you upload to your forums root.

Find:
echo "<tr>\n";
echo "<td width=\"$marquee_width\" style=\"border-bottom: 1px inset #000000; background-color: #4C6CA4\" onMouseover=\"this.style.backgroundColor='#607DAE';\" onMouseOut=\"this.style.backgroundColor='#4C6CA4';\">\n";
echo "<font size=1 face=\"Verdana, Arial, sans-serif, Helvetica, Times\">\n";
echo "<b><a href=\"http://community.ultimate-music.net/showthread.php?s=&threadid=" . $latestthread['threadid'] . "\" target='_blank'>" . $latestthread['title'] . "</a></b><br>\n";
echo "Started by: <a href=\"http://community.ultimate-music.net/member.php?s=&action=getinfo&username=" . $latestthread['postusername'] . "\" target='_blank'>" . $latestthread['postusername'] . "</a><br>\n";
echo "Last Post by: <a href=\"http://community.ultimate-music.net/member.php?s=&action=getinfo&username=" . $latestthread['lastposter'] . "\" target='_blank'>" . $latestthread['lastposter'] . "</a><br>\n";
echo $numreplies;
echo "\n</font>\n";
echo "</td>\n</tr>\n\n";

and edit it to meet your own needs.

User linking to the messenger

put a link anywhere you like on your forums linking to /bbmessenger/index.php

How To's

To edit the colours edit the css in the files in the style folder.

Support

Can not be given via my self due to work load please do not e-mail or pm asking for help in anyway because the reply will more and likely be no, this does not stop user's from helping each other with probs in this topic and if a fix or addon is made i will update the zip with it up on the asking of doing so.

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.

2) https://vborg.vbsupport.ru/showpost.php?p=532446&postcount=164 Zip will get updated when next version is out.

C.Birch
07-09-2004, 11:05 AM
Install Screen

C.Birch
07-09-2004, 11:06 AM
Launch Screen

C.Birch
07-09-2004, 11:06 AM
Messenger Windows

M1th
07-09-2004, 11:23 AM
First to say thanks for the amazing hack! :) Well done dude!

C.Birch
07-09-2004, 11:25 AM
hope it still works because the files i just pulled from off a old site due to me having to do a total format of my pc.

so if anythings missing from it let me know.

C.Birch
07-09-2004, 11:25 AM
First to say thanks for the amazing hack! :) Well done dude!

thanx

NuclioN
07-09-2004, 11:31 AM
Can't open it. The link to /forums/bbmessenger/index.php shoots right back to the loginscreen.

M1th
07-09-2004, 11:46 AM
so far so good. One thing I'm wondering though... How much of a bandwidth this would eat for a board of size of about 400 online at the same time (on average).

C.Birch
07-09-2004, 11:54 AM
so far so good. One thing I'm wondering though... How much of a bandwidth this would eat for a board of size of about 400 online at the same time (on average).
no idea because it was just made for my own use. but the mesaages just go to a temp table in the database and there removed from it soon the message is send to the other user.


NuclioN abit more info would be nice eg what are you trying to do, install or load the messenger it self.

nexialys
07-09-2004, 11:56 AM
an easy setting would be to have a permission based messenger, so users with permission are displayed only... ;)

NuclioN
07-09-2004, 11:57 AM
After the install you see this: "BB|Messenger is now ready for use
Click Here To Load BB|Messenger"

When i click on Load BB|Messenger it asked to login. Altough i was loggedin already, i've logged out and again logged in and tried again.
Then i see this:
"Click here to goto the login page
Once you have logged into the forum, load BB|Messenger again. "

??

C.Birch
07-09-2004, 11:58 AM
After the install you see this: "BB|Messenger is now ready for use
Click Here To Load BB|Messenger"

When i click on Load BB|Messenger it asked to login. Altough i was loggedin already, i've logged out and again logged in and tried again.
Then i see this:
"Click here to goto the login page
Once you have logged into the forum, load BB|Messenger again. "

??


im guessing a cookie prob of some type.

C.Birch
07-09-2004, 12:00 PM
an easy setting would be to have a permission based messenger, so users with permission are displayed only... ;)

only user's that have the messenger loaded show up as online anyway.

nexialys
07-09-2004, 12:04 PM
oh... ok then... good thing... btw, would be good also to have that permission thing, so only selected users/groups can access it...

i may be interested to a minimalist version where only admins can be chatting, so users can see the messenger, but can only chat with admins... this would make a real "Live Support"... isn't it ?! this can be easily done once the system integrate with vB permissions.

NuclioN
07-09-2004, 12:05 PM
Maybe the cookie prefix is the problem but i realy don't know how to fix this.

nexialys
07-09-2004, 12:06 PM
hum.. another suggestions... would be cool to have a seperate page for the Buddy List, so we see when our friends are online... this can be done like the module that display the News...

these suggestions btw are not only for C.Birch, any coder can do these... (i may...)

C.Birch
07-09-2004, 12:09 PM
hum.. another suggestions... would be cool to have a seperate page for the Buddy List, so we see when our friends are online... this can be done like the module that display the News...

these suggestions btw are not only for C.Birch, any coder can do these... (i may...)

you mean split up the top part? because it already shows if your bubbys are online or offline at the top in the Offline Buddies and Online Buddies bits, this information is pulled from your bubby list in your user cp.


NuclioN pass also because the hack was made that long ago i have no idea where stuff is without takeing hours to look at all the files.

NuclioN
07-09-2004, 12:14 PM
I hope someone can look to the code again to let it work with vb3. :( :)

nexialys
07-09-2004, 12:17 PM
yeah, i just thought it would be better to have it seperate in the bottom, like the Latest Threads, so you load that part only when needed... or it takes more resources.

btw, each block can be added per prefs, like Latest News, Buddies, so if we don't want to use them, we just click to close them... because i don't see the use of the latest threads, we already have the forum for that... but some may need it.

ranger2kxlt
07-09-2004, 12:18 PM
I like Nex.... idea of only allowing to talk with admins or mods...gives the site a "live support" touch.

nexialys
07-09-2004, 12:19 PM
Nuclion... it's working perfectly on a vB3... don't say it's not working just because your situation is not ok... yes the code may need some tweaks, but as C.Birch will not give more support, i suggest you wait and see if someone else have the same bug as you do... someone will have an answer.,

nexialys
07-09-2004, 12:21 PM
btw Nuclion, did you filled this: $VAR["vbulletinlicenceid"] ?! the cookie will not work if you don't enter your license number in the proper file, because it is said so...

in sources/boardmodule/vb3.inc.php

...

M1th
07-09-2004, 12:25 PM
The only problem I see with adding permissions to it is the fact that the index.php file is in the /messenger/ directory.

I tried to add a permission check by adding this to the bbmessenger/index.php file:



require_once('../global.php');

//permissions check
if (!($permissions['adminpermissions'] & ISMODERATOR))
{
print_no_permission();
}


BUT, it wont work since the global.php file also needs an init.php but it's located in the includes/ dir.

So as you can see, we have a directory problem here.

nexialys
07-09-2004, 12:29 PM
simple:
chdir('../');
require_once('global.php');

//permissions check
if (!( $permissions['adminpermissions'] & ISMODERATOR))
{
print_no_permission();
}

problem with this suggestion is that it will close the chat for non admin, so you can't chat with them. i may come with a suggestion later, where admins and mods are listed, but no other... users are not listed but can chat with shown persons...

M1th
07-09-2004, 12:35 PM
True, but is there a way to end the "chdir('../');" call after the permission check? cuz it wil interfere with other calls later in the code.

NuclioN
07-09-2004, 12:35 PM
btw Nuclion, did you filled this: $VAR["vbulletinlicenceid"] ?! the cookie will not work if you don't enter your license number in the proper file, because it is said so...

in sources/boardmodule/vb3.inc.php

...

It appears twice in the file. Is this number that one on top of each php file or your actual vb licence number when you login in the vbulletin.com member area?

Polo
07-09-2004, 12:39 PM
wow, this hack looks nice!

nexialys
07-09-2004, 12:51 PM
It appears twice in the file. Is this number that one on top of each php file or your actual vb licence number when you login in the vbulletin.com member area?

no, it's the number of your license... usually is like: L000000. you see it on top of all your files, like:
<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 3.0.3 - Licence Number L000000


btw, the autodetect may work this out, but sometimes it's not working great... did you hacked your board in some way ?!

NuclioN
07-09-2004, 01:01 PM
It's a clean installed vb 303 with only the vbadvanced portal. After entering that code the problem remains. :(

C.Birch
07-09-2004, 01:11 PM
link to your install would be nice that way we can see if its a user end prob or server side. eg if it loads for me on your site then its user side. if i get the same probs then its server side.

NuclioN
07-09-2004, 01:36 PM
<a href="http://www.cyberty.nl/forums/" target="_blank">http://www.cyberty.nl/forums/</a> right above the footer is the link

C.Birch
07-09-2004, 01:59 PM
http://www.cyberty.nl/forums/ right above the footer is the link


ok it defo looks like cookies

try the following:

in vb3.inc.php

find:

// Returns an array of user details, or false depending on whether user's cookies are valid.
function boardmodule_user_authentication()
{
global $VAR;
if (!isset($_COOKIE["bbuserid"]) OR !ereg("^[0-9]*$", $_COOKIE["bbuserid"]))
{
return PERM_LOGGED_OUT;
}
if (!isset($_COOKIE["bbpassword"]) OR !ereg("^[0-9A-Fa-f]*$", $_COOKIE["bbpassword"]))
{
return PERM_LOGGED_OUT;
}


and replace with:


// Returns an array of user details, or false depending on whether user's cookies are valid.
function boardmodule_user_authentication()
{
global $VAR;
if (!isset($_COOKIE["vbuserid"]) OR !ereg("^[0-9]*$", $_COOKIE["vbuserid"]))
{
return PERM_LOGGED_OUT;
}
if (!isset($_COOKIE["vbpassword"]) OR !ereg("^[0-9A-Fa-f]*$", $_COOKIE["vbpassword"]))
{
return PERM_LOGGED_OUT;
}



close all windows and remove all cookies and temp ineternet files and try again.

because my vb cookies save as bbpassword and so on where yours are saveing as vbpassword

C.Birch
07-09-2004, 02:01 PM
heres a pic of how your cookie names are not the same as mine or vb.org's

NuclioN
07-09-2004, 02:08 PM
Gives this error on top:

Notice: Undefined index: bbuserid in /bbmessenger/sources/boardmodule/vb3.inc.php on line 93
SQL ERROR: SELECT userid, username, usergroupid, membergroupids, password, salt, pmunread as unreadpms FROM user WHERE userid= LIMIT 1 [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1]
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /bbmessenger/sources/boardmodule/vb3.inc.php on line 94

Maybe i must change the cookie prefix in config.php?

C.Birch
07-09-2004, 02:12 PM
no in vb3.inc.php

find:

$user = db_query("SELECT userid, username, usergroupid, membergroupids, password, salt, pmunread as unreadpms FROM {prefix}user WHERE userid=" . $_COOKIE["bbuserid"] . " LIMIT 1");

replace with:

$user = db_query("SELECT userid, username, usergroupid, membergroupids, password, salt, pmunread as unreadpms FROM {prefix}user WHERE userid=" . $_COOKIE["vbuserid"] . " LIMIT 1");

C.Birch
07-09-2004, 02:14 PM
there might be other parts in other files that might need the cookie call's editing from the bb ones to vb ones so it works with your cookies.

NuclioN
07-09-2004, 02:14 PM
Ok it works :) Tnx for your help C. Birch. It's a great addon.

C.Birch
07-09-2004, 02:16 PM
or you could just edit:

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

in vb's config.php as you said but that might kill your vbadvanced so it be best to edit messenger to work with your setup.

Acido
07-09-2004, 02:24 PM
Instaled and Working 100/100 :D

Great work !

Features suggested for next versions:

1) Ignore User
2) Set usergroups permisions

Thanx for this excellent hack !

Reeve of shinra
07-09-2004, 02:58 PM
Very cool hack.

Holidazed
07-09-2004, 03:21 PM
Can you tell me what the difference between this and te vbPager hack (https://vborg.vbsupport.ru/showthread.php?t=66744&highlight=vbpager) is?

Do I need this if I already have the other installed?

nexialys
07-09-2004, 03:37 PM
vB Pager is completely different, as it's a Instant Messenger without any interface... you don't need one or the other to run these... and they can work together in the same install.

this BB Messenger is more like a ICQ for the board... vB Pager is more like a PM with a popup...

C.Birch
07-09-2004, 04:14 PM
Can you tell me what the difference between this and te vbPager hack (https://vborg.vbsupport.ru/showthread.php?t=66744&highlight=vbpager) is?

Do I need this if I already have the other installed?

this hack does not need any editing of vb files or database. its got its own messenger interface and was first coded about a year ago for vb2 along with support for vb3 beta and ipb and was let to be posted in the vb2 forums due to the fact the vb3 support made no edits to vb3 in anyway.

anyway vb pager is just basicy still a pm system apart from the fact the pm now shows up in a pop up. messenger gives your users live person to person chat with muti chats open at once eg like you can with ice, yahoo & msn and that.

also you dont need to reinstall this everytime you update your vb again due to the fact no edits to vb are made.

C.Birch
07-09-2004, 04:17 PM
also due to the fact its stand alone and just use's vb's userdata base you dont need to have the forums open they my be closed because all you need open is the messenger interface.

it also tell's you if you have new pm's and also lets you send offline buddys pm's via clicking on there name on the buddy part of the messenger.

Holidazed
07-09-2004, 05:49 PM
Well, then this is VERY cool indeed. Thanks for the info.

MrNase
07-09-2004, 06:59 PM
Looks great and i will use it (when it's final ;)) :)

nexialys
07-09-2004, 08:06 PM
hum.. i just had an idea about the system...

we had the idea to have a specific version modified t obe a Live Support... BUT!

why not having a specific block instead, displaying the admins/mods online ?!... replacing the New Threads with that one... would make it!

Holidazed
07-09-2004, 08:35 PM
Very sweet. Installed perfectly. Thank you. A couple of questions/suggestions if you don't mind.

Can you tell me how to make the link from the forums popup the messenger directly instead of going to the "bbmessenger/index.php" file first?
Can you add an option to ask the user when they come to the forum if they want to run the BB Messenger?
If the answer to #2 is "yes" can it have an "On/Off" option in the ACP and the UserCP?
Can this messenger be expanded to act like a chatroom in addition to a one-on-one chat?
Is there a way to have the forum not show users as online if they are only running the messenger? I have users showing up as online when they goto my site and load the messenger and then close the site. It is misleading.

C.Birch
07-09-2004, 10:29 PM
Looks great and i will use it (when it's final ;)) :)


it is final i just posted it here because i have not used it for about 6 odd months and just wanted to make sure the zip was right and the files where not mix up with other ones.

C.Birch
07-09-2004, 10:36 PM
Very sweet. Installed perfectly. Thank you. A couple of questions/suggestions if you don't mind.

Can you tell me how to make the link from the forums popup the messenger directly instead of going to the "bbmessenger/index.php" file first?
Can you add an option to ask the user when they come to the forum if they want to run the BB Messenger?
If the answer to #2 is "yes" can it have an "On/Off" option in the ACP and the UserCP?
Can this messenger be expanded to act like a chatroom in addition to a one-on-one chat?
Is there a way to have the forum not show users as online if they are only running the messenger? I have users showing up as online when they goto my site and load the messenger and then close the site. It is misleading.



1) add the following java to the header:

<script language="Javascript1.3">
function launchbbm()
{
s001 = window.open("index.php?func=m_frameset", "", "width=233, height=450, address=no, toolbar=no, status=yes");
location.href="../index.php";
}

</script>


then where every you want your link add the link like this:

<a href="javascript:void(0)" onclick="launchbbm()">your link</a>

or any other type of link you want be it a img or what main thing is that the link stops as:

href="javascript:void(0)" onclick="launchbbm()">

because thats calling the java.

2) not me personaly because im to busy to support this hack but yes it can be done if someone feel's like it.

3) yes but again someone else will have to do it.

4) not really not with out doing alot of recoding and basicy aking the hack again.

5) no because it use's vb's cookies and user info.

i could be wrong about some points but like i say people are free to help out with this hack.

Erwin
07-09-2004, 11:05 PM
C.Birch - this is a hack of the month. :) Very well done, and thanks for releasing it.

nexialys
07-09-2004, 11:19 PM
the who's online can be hacked easily, because we can edit the online file to not display users when they use it... i may come with the hack later... for now we're mourning someone here, so we don't do any coding, but when this is finished...

MissKalunji
07-09-2004, 11:33 PM
i dunno if someone can help me but when i log in the messenger it gives me an error :


Fatal error: Call to undefined function: fetch_permissions() in /home/dancehal/public_html/forums/marquee.php on line 47

It logs in i can see my buddy list but i cant see the latest post
n e one knows how i can fix that?

Thx :o

P.s Thx again C.birch for realeasing it :nervous:

rebelsrock06
07-09-2004, 11:45 PM
If i wanted to install this to somewhere other than me root, what files do i need to edit and what code to change to make it work in a diff folder ?

rebelsrock06
07-10-2004, 12:23 AM
If i wanted to install this to somewhere other than me root, what files do i need to edit and what code to change to make it work in a diff folder ?
Does this actualyl involve hacking, alli see is the uploading of files ?

Holidazed
07-10-2004, 02:20 AM
1) add the following java to the header:

<script language="Javascript1.3">
function launchbbm()
{
s001 = window.open("index.php?func=m_frameset", "", "width=233, height=450, address=no, toolbar=no, status=yes");
location.href="../index.php";
}

</script>Thank you. Seems to have done the trick. However, I had the change index.php?func=m_frameset to bbmessenger/index.php?func=m_frameset.

What is the location.href="../index.php"; for?

Pitman
07-10-2004, 02:25 AM
This is awesome... I have a few ideas and suggestions for this as well...

Menu at the top of the messenger using vB Popup menus with options
Ability to group private IMs and invite people to those.
Ability to create public chat rooms that are listed (maybe like the latest topics are listed now)
Maybe a non annoying sound when receiving a message and maybe for sign on and sign off
If a window is open, don't move it on top (If you're talking to more than one person, it jumps back and forth and can really get aggravating)
and everything else that has been mentioned... but if it's turned into a live support thing where only admins and others are shown, please leave an option to change that to everybody :)

dndog
07-10-2004, 03:59 AM
How can I eliminate that marquee totally?

Thanks.

nighteyes
07-10-2004, 05:36 AM
Tested this on vb 3.03. Installed fine, was able to login but messages not getting through between different users. I tested myself on two networked computers..... sending messages between two different accounts and nothing arrived. Checked the DB via phpmyadmin and the message entries were there.... messages automatically deleted automatically as expected but never displayed on either messenger screen.

A pity. This looks a great hack... the messenger interface itself looks awesome.

Erwin
07-10-2004, 06:52 AM
Just want to be make it clear that this hack works. :) I've been beta-testing this on my site with my staff. Chat works, IMing works, it's all good.

I took out the code for the Marquee and the code, and redid the javascript so that I can use it as a link from the navbar. Made it use my own smilies. I plan to make the actual index.php redundant.

Thanks again for sharing. Still customizing the interface at the moment... will let you know how it goes when I release it to my almost 80,000 members... ;)

C.Birch
07-10-2004, 07:02 AM
Thank you. Seems to have done the trick. However, I had the change index.php?func=m_frameset to bbmessenger/index.php?func=m_frameset

What is the location.href="../index.php"; for?

thats the return link for after you have logged it, you spot when you have logged in your forums will reload to the index page. this is because the code was taken from the messengers login page where you see once you have logged in the login page auto loads the forums index.

PixelFx
07-10-2004, 08:08 AM
Sweet thanks for releasing an update for this, I've been dieing to use it again :)

C.Birch
07-10-2004, 08:15 AM
this its just basicy the same of what was up before but with a few fixs added and new install and login screen's the bigger update is still being worked on that being v2 if plans for that go ahead.

Erwin
07-10-2004, 10:32 AM
Yup, I've just made this live on my forums. The IM popups from the navbar. You don't have to use the index.php at all - all calls to index.php gets redirected to the homepage. :)

This is an awesome hack - working fine. Thanks!

NuclioN
07-10-2004, 10:33 AM
I took out the code for the Marquee and the code, and redid the javascript so that I can use it as a link from the navbar. Made it use my own smilies. I plan to make the actual index.php redundant.



How did you do that Erwin? :)

C.Birch
07-10-2004, 10:39 AM
Yup, I've just made this live on my forums. The IM popups from the navbar. You don't have to use the index.php at all - all calls to index.php gets redirected to the homepage. :)

This is an awesome hack - working fine. Thanks!

what are your forums?

C.Birch
07-10-2004, 10:48 AM
btw im useing 1.5 to test the messenger interface ideas for v2 heres what i have so far on my forums open in both ie and firefox.

what you think?

Cold Steel
07-10-2004, 11:15 AM
Yup, I've just made this live on my forums. The IM popups from the navbar. You don't have to use the index.php at all - all calls to index.php gets redirected to the homepage. :)

This is an awesome hack - working fine. Thanks!
* Cold Steel installs.

Erwin, can you post how you did that?

Also, is there any way we can get it to use our style colors?

C.Birch
07-10-2004, 12:00 PM
* Cold Steel installs.

Erwin, can you post how you did that?

Also, is there any way we can get it to use our style colors?

you can edit the css to make it match your colours it dont pick them auto due to it being a addon.

Cold Steel
07-10-2004, 01:10 PM
Yup, I've just made this live on my forums. The IM popups from the navbar. You don't have to use the index.php at all - all calls to index.php gets redirected to the homepage. :)

This is an awesome hack - working fine. Thanks!
The popup redirects me to the index page on your site. Do I need a certain number of posts before I can use it?

GamerzWorld
07-10-2004, 01:42 PM
Ye Erwin wheres your forums wanna see it :)

Cold Steel
07-10-2004, 02:32 PM
I also have it set to bypass the index page, and go directly to the popup.

However, with conditionals I set it up so that only paying members and staff can use it. Everyone else sees the traditional "Open Buddy List" link.

nighteyes
07-10-2004, 05:04 PM
Just want to be make it clear that this hack works. :) I've been beta-testing this on my site with my staff. Chat works, IMing works, it's all good.


Well it doesn't work on mine.... unless it's a browser issue which I can't imagine. ;)

MissKalunji
07-10-2004, 05:06 PM
i dunno if someone can help me but when i log in the messenger it gives me an error :


Fatal error: Call to undefined function: fetch_permissions() in /home/dancehal/public_html/forums/marquee.php on line 47

It logs in i can see my buddy list but i cant see the latest post
n e one knows how i can fix that?

Thx :o

P.s Thx again C.birch for realeasing it :nervous:

anyone???

C.Birch
07-10-2004, 05:15 PM
anyone???
you could just remove the latest posts ifream because its that making your error.

find and remove:

<iframe id="userspageiframe" name="userspageiframe" src="../marquee.php" scrolling="auto" width="210" height="145" frameborder="0"></iframe>

in messenger.html.php

then you might want to edit the height of the iframe above it.

MissKalunji
07-10-2004, 05:25 PM
you could just remove the latest posts ifream because its that making your error.

find and remove:

<iframe id="userspageiframe" name="userspageiframe" src="../marquee.php" scrolling="auto" width="210" height="145" frameborder="0"></iframe>

in messenger.html.php

then you might want to edit the height of the iframe above it.

But i wanted it to show the latest news just like yours :surprised:

http://www.dancehallareaz.com/messenger2.jpg

rebelsrock06
07-10-2004, 06:00 PM
How can i make this work if i install it to another folder other that the root folder? And is this really a hack, i mean what files do you have to edit?

C.Birch
07-10-2004, 06:03 PM
How can i make this work if i install it to another folder other that the root folder? And is this really a hack, i mean what files do you have to edit?

no its a addon theres no editing of vb files or database.

why would you want to install it anywhere else other then in a folder in the forums root?

C.Birch
07-10-2004, 06:04 PM
But i wanted it to show the latest news just like yours :surprised:


what versions of php and mysql is your server running?

rebelsrock06
07-10-2004, 06:06 PM
no its a addon theres no editing of vb files or database.

why would you want to install it anywhere else other then in a folder in the forums root?
Well i dont want it on the root folder.

so like this

This is how i have it setup

www.mysitehere.com

then my boards are at

www.mysitehere.com/forum

I want to install it to www.mysitehere.com/forum/folderx/then your bbmessenger

C.Birch
07-10-2004, 06:07 PM
heres a updated pic of the new main messenger interface window ;)

rebelsrock06
07-10-2004, 06:10 PM
Well i dont want it on the root folder.

so like this

This is how i have it setup

www.mysitehere.com

then my boards are at

www.mysitehere.com/forum

I want to install it to www.mysitehere.com/forum/folderx/then your bbmessenger
Im just wondering if it would be at all possible and all i need to know is a list of files to edit and what to change

C.Birch
07-10-2004, 06:11 PM
Well i dont want it on the root folder.

so like this

This is how i have it setup

www.mysitehere.com

then my boards are at

www.mysitehere.com/forum

I want to install it to www.mysitehere.com/forum/folderx/then your bbmessenger


you need to edit the paths in vb3.inc.php then and maybe in some other files.

rebelsrock06
07-10-2004, 06:13 PM
you need to edit the paths in vb3.inc.php then and maybe in some other files.
just add the entire http://forum......+files to it. I dont know much php do i do something like the line instead of./ make it/.. i dont know ?

twoseven
07-10-2004, 06:19 PM
cbirch can i say wow and thanks alot for all the effort you have put into this

Holidazed
07-10-2004, 06:19 PM
thats the return link for after you have logged it, you spot when you have logged in your forums will reload to the index page. this is because the code was taken from the messengers login page where you see once you have logged in the login page auto loads the forums index.So, I really do not need that bit of code then. Right? Because I am not loading the index page.

Also, in your instructions to me you said to put the code in the header template when it should have gone int headinclude template.

BTW, the 1.5b version looks awesome in the picture.

MissKalunji
07-10-2004, 06:22 PM
what versions of php and mysql is your server running?


MySQL version 4.0.18-standard and

PHP version 4.3.7


ps the new look looks wicked :up:

rebelsrock06
07-10-2004, 08:14 PM
MySQL version 4.0.18-standard and

PHP version 4.3.7


ps the new look looks wicked :up:
ive edited all of the source codes in the files and i still get the error telling me it cant find my board version

C.Birch
07-10-2004, 08:41 PM
ive edited all of the source codes in the files and i still get the error telling me it cant find my board version

It be alot easyer to just install it to where it was designed to be installed. Not being funny but i try and give support if its a prob on my part but your making this error yourself by trying to install it where its not designed to be installed.

rebelsrock06
07-10-2004, 08:43 PM
It be alot easyer to just install it to where it was designed to be installed. Not being funny but i try and give support if its a prob on my part but your making this error yourself by trying to install it where its not designed to be installed.
im sorry C.Birch. I didnt mean to upset you. I thank you very much for releasing this

C.Birch
07-10-2004, 08:47 PM
MySQL version 4.0.18-standard and

PHP version 4.3.7


ps the new look looks wicked :up:

what version of vb3 are you running?

rebelsrock06
07-10-2004, 08:51 PM
It be alot easyer to just install it to where it was designed to be installed. Not being funny but i try and give support if its a prob on my part but your making this error yourself by trying to install it where its not designed to be installed.
If i do that ill have to wait two weeks to install. The reason for that is i am only a co-admin, i dont have access to the root folder, i have access to a sub folder. I guess ill just have to wait

C.Birch
07-10-2004, 08:57 PM
If i do that ill have to wait two weeks to install. The reason for that is i am only a co-admin, i dont have access to the root folder, i have access to a sub folder. I guess ill just have to wait

yep because installing in a user sub folder would not be a very good idea due to how call's to other files are made. anyway in a few weeks i might even have the new look posted up if i get time to do the chat window.

rebelsrock06
07-10-2004, 09:02 PM
yep because installing in a user sub folder would not be a very good idea due to how call's to other files are made. anyway in a few weeks i might even have the new look posted up if i get time to do the chat window.
cool, i might be able to get ahlod of jason sooner than two weeks but if i have to wait then i have to wait. oh well

thank you for all your support on this addon cbirch

RichieBoy67
07-11-2004, 02:16 AM
I must be missing something but the only install file I see is install.css ?????

where is the install file??

I have it..it's the index file

Romeos Tune
07-11-2004, 03:55 AM
I'm having the same error as MissKalunji and running 3.01 VB..... Everything works except the latest news..... Actually, here is my exact error:

mysql error: Table 'vb.thread' doesn't exist

My table prefix is vb3 so where can I go to change this in the program?

solboy
07-11-2004, 05:28 AM
I have installed the BB Messenger and it works fine.
I must say that I have never seen an addon like this before. It really is amazing!

I would suggest that C.Birch continue to make it better than it is now and lets see how far this thing can fly.

Here are a few suggested addons:

1.Ability to add users to your buddylist directly from the messenger by their username.
2.The ability to accept or reject users wanting to be added to your buddylist.
3.The ability to block and remove users on your list.
4.Users' avatar displays when you are chatting with them one on one.
5.I have HiveMail installed on my site. Can I get a notification in BB Messenger when a new email arrives? :)
6.I have V3Arcade installed in my forum. Can I challenge and play games with my buddys in BB Messenger?
7.Add a radio stream of your choice to BB Messenger.
8.Webcam and Audio.
9.Send files and photos.
10.Send links.

Really all I am suggesting are the typical features you would find in messengers like MSN and Yahoo. I am sure that if we put our minds together we can come up with new ideas that those guys never thought of.

If the BB Messenger got this far then why not?

Romeos Tune
07-11-2004, 05:44 AM
I'll just be happy when I figure out where to put my database prefix.... lol And it's a must to only allow it to certain usergroups....

Oldfart
07-11-2004, 07:07 AM
Great hack, thanks for sharing.

I have one little problem with it tho. When I click on the link for the java I don't get any chat window. How does the chat window work? What makes the chat window pop up? Does another person need to have the java open to be able to call to them to chat with? Sorry if I sound dumb on this.

C.Birch
07-11-2004, 07:10 AM
I'll just be happy when I figure out where to put my database prefix.... lol And it's a must to only allow it to certain usergroups....

in marquee.php

find:

// connect to the database and pull the info we need.

$latestposts = $DB_site->query("
SELECT threadid, forumid, title, replycount, lastposter, postuserid, postusername
FROM thread
ORDER BY lastpost
DESC LIMIT " . THREAD_LIMIT . ""
);

and if your prefix it vb3 replace the above with:

// connect to the database and pull the info we need.

$latestposts = $DB_site->query("
SELECT vb3_threadid, vb3_forumid, vb3_title, vb3_replycount, vb3_lastposter, vb3_postuserid, vb3_postusername
FROM thread
ORDER BY lastpost
DESC LIMIT " . THREAD_LIMIT . ""
);

C.Birch
07-11-2004, 07:12 AM
Great hack, thanks for sharing.

I have one little problem with it tho. When I click on the link for the java I don't get any chat window. How does the chat window work? What makes the chat window pop up? Does another person need to have the java open to be able to call to them to chat with? Sorry if I sound dumb on this.

what link do you mean? the one to open the messenger or are you clicking on a user's name thats showing online in the messenger interface.

Oldfart
07-11-2004, 07:22 AM
what link do you mean? the one to open the messenger or are you clicking on a user's name thats showing online in the messenger interface.

I am clicking on both. I just don't see how the chat window is supposed to open to chat with someone

Oldfart
07-11-2004, 07:24 AM
The marquee opens fine when I go to the index.php file. I made a quick link on my navbar using the call to the javascript you posted earlier. I have a couple of buddies listed in the marquee window but how do I chat with them?

C.Birch
07-11-2004, 07:25 AM
New main messenger window interface

to use this new interface download the below zip file and upload the bbmessenger folder in it to your forums root, so the files with in it copy other the other bbmessenger files with the same name.

Please note that this interface is a beta interface for a planned v2 and due to this the my status and other buttons down the side apart from the top 2 will not work, there just there ready for when other stuff gets added.

https://vborg.vbsupport.ru/external/2004/07/1.php?attachmentid=19627

C.Birch
07-11-2004, 07:28 AM
The marquee opens fine when I go to the index.php file. I made a quick link on my navbar using the call to the javascript you posted earlier. I have a couple of buddies listed in the marquee window but how do I chat with them?

if you have buddys listing in the online buddy part of the messenger or the online users part you just click on there names.

if there in the offline part clicking on there names will take you to the user pm system.

also always make sure that no popup blockers are stopping the windows from poping up.

Oldfart
07-11-2004, 07:33 AM
if you have buddys listing in the online buddy part of the messenger or the online users part you just click on there names.

if there in the offline part clicking on there names will take you to the user pm system.

also always make sure that no popup blockers are stopping the windows from poping up.

Ok I see.

Well how does a buddy show up in the buddies listing in the online buddy part? How does it get the buddy to be listed there? I'm very sorry for being dumb about this. I guess I don't understand how this is supposed to work exactly, sorry.

Oldfart
07-11-2004, 07:35 AM
Just taking an educated guess here... the other buddie would have to have his bb|Messenger open to correct?

Oldfart
07-11-2004, 07:38 AM
Just taking an educated guess here... the other buddie would have to have his bb|Messenger open to correct?

If this is correct is then is there a function that would notify your buddy to open his bb|Messenger if doesn't have his bb|Messenger open at the time you would like to talk to them. LIke a popup on his screen or something?

C.Birch
07-11-2004, 08:02 AM
If this is correct is then is there a function that would notify your buddy to open his bb|Messenger if doesn't have his bb|Messenger open at the time you would like to talk to them. LIke a popup on his screen or something?

no there was a user invite but it stopped working in one of the vb3 betas and its not been fixed up yet.

MindTrix
07-11-2004, 08:32 AM
Hack = Amazing :) Would be nice if the images were easier to edit lol that womans annoying me :)

Umm i uploaded to my forum folder but i always get this message

Sorry, we could not auto-detect what type of forum you are using, please make sure the bbmessenger folder is within your forum's root folder.

MindTrix
07-11-2004, 08:52 AM
Bleh i fixed it in the end ;)

C.Birch
07-11-2004, 09:03 AM
what did you do to fix incase others have same prob, you dont need to go to that screen to load it you can just put a link on your forums somewhere the java for this is posted somewhere in this topic

MindTrix
07-11-2004, 09:50 AM
My ftp didnt upload all the files correctly, simple error :) But now messages arent going through to anyone :s

Oh and its showing someone whos on it, as offline lol

Romeos Tune
07-11-2004, 10:52 AM
Thanks C! What an awesome hack.... :) These were all ok..... threadid, forumid, title, replycount, lastposter, postuserid, postusername. It was the "thread" that needed to be changed and I must've been tired last night because I was changing it or so I thought... Changed it again this morning and it works perfectly! :) Thanks again!


in marquee.php

find:

// connect to the database and pull the info we need.

$latestposts = $DB_site->query("
SELECT threadid, forumid, title, replycount, lastposter, postuserid, postusername
FROM thread
ORDER BY lastpost
DESC LIMIT " . THREAD_LIMIT . ""
);

and if your prefix it vb3 replace the above with:

// connect to the database and pull the info we need.

$latestposts = $DB_site->query("
SELECT vb3_threadid, vb3_forumid, vb3_title, vb3_replycount, vb3_lastposter, vb3_postuserid, vb3_postusername
FROM thread
ORDER BY lastpost
DESC LIMIT " . THREAD_LIMIT . ""
);

Erwin
07-11-2004, 11:02 AM
New main messenger window interface

to use this new interface download the below zip file and upload the bbmessenger folder in it to your forums root, so the files with in it copy other the other bbmessenger files with the same name.

Please note that this interface is a beta interface for a planned v2 and due to this the my status and other buttons down the side apart from the top 2 will not work, there just there ready for when other stuff gets added.

https://vborg.vbsupport.ru/attachment.php?attachmentid=19627
Nice. :) Just 1 question - did you add any new features or is this update just cosmetic? Asking because I've already modified all your files, and I won't update if it's just cosmetic.

Thanks, mate. :)

GamerzWorld
07-11-2004, 11:18 AM
Tested this on vb 3.03. Installed fine, was able to login but messages not getting through between different users. I tested myself on two networked computers..... sending messages between two different accounts and nothing arrived. Checked the DB via phpmyadmin and the message entries were there.... messages automatically deleted automatically as expected but never displayed on either messenger screen.

A pity. This looks a great hack... the messenger interface itself looks awesome.

Im getting exactly the same :ermm:

GamerzWorld
07-11-2004, 11:57 AM
W00t got it all working :) Now all i need to do is edit the smilies :S Anyway i can get my smilies from forum?

p.s is there a way to edit @ BB Messenger to @forumdomain.com

Erwin
07-11-2004, 12:04 PM
It's an interesting way you have made it check for user permissions - based on cookies. :) It's causing some issues with some members on my site... but I think I may have fixed it. Will report here if I have. For most members this is working well. I'll see if I can modify this to require global.php, so this can use all the normal vB variables - which means you can use the normal vB style colors, as well as normal vB permissions - no need to add extra queries to do this, plus queries to check censored words etc.

GamerzWorld
07-11-2004, 12:08 PM
It would be great if you could intergreate it more. E.g. permissions, maybe avatars from each member forum account , the styles etc. Also shouldnt this be moved into final releases?

C.Birch
07-11-2004, 12:35 PM
Nice. :) Just 1 question - did you add any new features or is this update just cosmetic? Asking because I've already modified all your files, and I won't update if it's just cosmetic.

Thanks, mate. :)

just cosmetic to test a design.

C.Birch
07-11-2004, 12:39 PM
W00t got it all working :) Now all i need to do is edit the smilies :S Anyway i can get my smilies from forum?

p.s is there a way to edit @ BB Messenger to @forumdomain.com

yes it can be edited via the database.

MindTrix
07-11-2004, 12:47 PM
hmm messages dont seem 2 want to work for me :) No-one seems to receive them

C.Birch
07-11-2004, 12:57 PM
hmm messages dont seem 2 want to work for me :) No-one seems to receive them

does your ISP run a proxy? and what browser are you useing?

this hack use's alot of java to make it work so there will always be probs at a guess.

GamerzWorld
07-11-2004, 12:58 PM
I had that error. Mindtrix i looked at it on your site but cant work out how to fix error.

GamerzWorld
07-11-2004, 12:59 PM
does your ISP run a proxy? and what browser are you useing?

this hack use's alot of java to make it work so there will always be probs at a guess.

Birch is there anyway to intergrate your current forum smilies. Also on your next style relkease is it possible to add avatars of each user from there forum user account :)

Its very good hack. Abit clumsy compared to something lkike msn noticeably. The only thing is it keeps renewing (including images) is there a way to stop images renewing. Would make it alot less clumsey looking

Kevorkian
07-11-2004, 01:01 PM
hmm messages dont seem 2 want to work for me :) No-one seems to receive them
same problem :/

C.Birch
07-11-2004, 01:08 PM
Birch is there anyway to intergrate your current forum smilies. Also on your next style relkease is it possible to add avatars of each user from there forum user account :)

Its very good hack. Abit clumsy compared to something lkike msn noticeably. The only thing is it keeps renewing (including images) is there a way to stop images renewing. Would make it alot less clumsey looking

dont forget msn is software ;) where just useing php and java things have to reload so the page can update with the new text.

yes av's are planned but like i say i dont have much free time so can not support and do much more work on this but keep ideas coming because anyones free to make stuff for this be it new ideas or fix's.

GamerzWorld
07-11-2004, 01:22 PM
dont forget msn is software ;) where just useing php and java things have to reload so the page can update with the new text.

yes av's are planned but like i say i dont have much free time so can not support and do much more work on this but keep ideas coming because anyones free to make stuff for this be it new ideas or fix's.

I understand :) Just a few minor changes. The main one being the Style with avatar. Also intergrating it more with VB. Another cool feature maybe blocking also add buddy option.

M1th
07-11-2004, 02:04 PM
Asking this again, is there a way which we could restrict this to Staff only? :) I've tried adding permission checks but it doesnt work.

C.Birch
07-11-2004, 02:24 PM
Asking this again, is there a way which we could restrict this to Staff only? :) I've tried adding permission checks but it doesnt work.

there is a away to do it, you can edit the database and the bbsettings table i think it is and edit the info for the banned users groups this will tell them there banned if trying to load the messenger

dndog
07-11-2004, 08:27 PM
Asking this again, is there a way which we could restrict this to Staff only? :) I've tried adding permission checks but it doesnt work.

Password protect the directory to the bbmessenger and don't tell any of the users...

M1th
07-11-2004, 08:34 PM
Actually, C.Birch's idea worked. I added the usergroup ids to the banned column via phpmyadmin. Thanks. :)

MindTrix
07-11-2004, 08:55 PM
nope i dont believe it does. Its just odd because not a single member receives a message.

MissKalunji
07-11-2004, 09:45 PM
what version of vb3 are you running?

it says vb 2. something

Lurk
07-11-2004, 10:07 PM
this is for vBulletin 3.0.x

MissKalunji
07-11-2004, 10:44 PM
this is for vBulletin 3.0.x

he says it works for both vb2 and vb3
everything works only a lil fatar error....

MissKalunji
07-12-2004, 01:11 AM
[center]
[B]To Install:

upload all the files in the same way that they are in side the zip.

once all files are upload load the page http://www.yourdomain.com/bbmessenger/
note that the address before bbmessenger/ will be the path to the folder on your site.

Follow the install page and your all done.



One Question what am i suppose to do with the Install.inc.php????

When i load thed page it says black.....do i really need dis? could dis be the problem?? caz everything else works fine....

solboy
07-12-2004, 02:01 AM
dont forget msn is software ;) where just useing php and java things have to reload so the page can update with the new text.

yes av's are planned but like i say i dont have much free time so can not support and do much more work on this but keep ideas coming because anyones free to make stuff for this be it new ideas or fix's.

Yeah!
I am sure some hacker is working on his own version now.

C.Birch
07-12-2004, 08:04 AM
it says vb 2. something

thats your prob then, this is for vb3. for it to work on vb2 you need to remove the latest topics part.

C.Birch
07-12-2004, 08:05 AM
One Question what am i suppose to do with the Install.inc.php????

When i load thed page it says black.....do i really need dis? could dis be the problem?? caz everything else works fine....


you dont do anything with that you install it via going to /bbmessenger/index.php

MissKalunji
07-12-2004, 11:37 AM
thats your prob then, this is for vb3. for it to work on vb2 you need to remove the latest topics part.


Oh okay thx :D now ill find a way to show up some else
thx againnnnnnnnnnnn

nighteyes
07-12-2004, 11:59 AM
nope i dont believe it does. Its just odd because not a single member receives a message.

Glad I'm not the only one reporting this problem now. :)

nighteyes
07-12-2004, 12:01 PM
I had that error. Mindtrix i looked at it on your site but cant work out how to fix error.

How did you fix this on your site?

MissKalunji
07-12-2004, 01:53 PM
thats your prob then, this is for vb3. for it to work on vb2 you need to remove the latest topics part.


Thanks again for re uploading the hack ;) Works fine got to make the latest topic show

Thats the Hack of the year big up :up:

GamerzWorld
07-12-2004, 06:30 PM
I dont know how i fixed it :(

blitzkrg
07-13-2004, 02:13 AM
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?

Sypher
07-13-2004, 03:50 AM
i installed it as admin... my userid is 1...

when i try running it myself i get a "You are a banned user group" message"

I login as a member and it works fine... what's up? I'm thinking because my ID is 1?

My usergroup is a special usergroup (not a custom one in vb).. is that the problem? Is there anyplace to change the ALLOWED usergroups?

Please help...love the hack :)

C.Birch
07-13-2004, 08:00 AM
i installed it as admin... my userid is 1...

when i try running it myself i get a "You are a banned user group" message"

I login as a member and it works fine... what's up? I'm thinking because my ID is 1?

My usergroup is a special usergroup (not a custom one in vb).. is that the problem? Is there anyplace to change the ALLOWED usergroups?

Please help...love the hack :)

whats the user group id that your part of because thats more and likely the prob.

Sypher
07-13-2004, 11:38 AM
im in usergroup id 8... and while im at it.. i want to make sure usergroup id's 8,10, 2 and 3 work.

thanks for your help

lAndyl
07-13-2004, 11:57 AM
Hey im a little lost where to i go to change the style of the messenger to match my forums.

blitzkrg
07-13-2004, 12:13 PM
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?

anybody?????????

starfantazy
07-13-2004, 12:45 PM
um not to sound like a complete fool, but where exactly do the files go?

Sypher
07-13-2004, 01:52 PM
um not to sound like a complete fool, but where exactly do the files go?
heh, don't worry

the bbmessenger folder and marquee.php both go directly into your forum directory
...so you should have yoursite.com/forum/marquee.php and yoursite.com/forum/bbmessenger/

Sypher
07-13-2004, 01:53 PM
Hey im a little lost where to i go to change the style of the messenger to match my forums.
look in the php files and change the color scheme... I dunno if the new skin has the ability to change colors... but I remember him saying that it's all css based... so changing the color is located in the php files.. forgot which one... try index.php of your bbmessenger folder

C.Birch
07-13-2004, 02:38 PM
to edit the colours you need to edit the css in the .html.php files you find in the style folder.

the new look that i posted on one the pages can not be easyly edited because there jpg files but if a v2 is made that will sport that look from the start and the png files will come with it.

C.Birch
07-13-2004, 02:44 PM
im in usergroup id 8... and while im at it.. i want to make sure usergroup id's 8,10, 2 and 3 work.

thanks for your help

being in usergroup 8 is your prob because thats down as a banned usergroup. to fix this you need to edit the bbm_config table in the database where you see banned usergroups.

Sypher
07-13-2004, 03:19 PM
bah, sorry to be a burden... i looked at my database and i found this:

......
it isn't the solution because that is my current data

Sypher
07-13-2004, 03:21 PM
nvm!

was in structure... clicked on browse and found the gui you have on that image... 8 is in banned usergroups... will change.. thanks a bunch!

Sypher
07-13-2004, 07:41 PM
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

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
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
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
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?



anybody?????????

can anyone comment on this? please

Sypher
07-14-2004, 02:01 AM
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.

Steve123
07-20-2004, 11:02 PM
C.Birch ive tested it on a new install of 3.0.2 and people cant get msg's.

I even leave the message window open on both sides but it wont show up at all..

Its weird..

I am behind a proxy but ive tested it where there was no proxy and still wont work.. using normal ie browser with no pop up protection (which wont matter if the window is open already)

C.Birch
07-21-2004, 07:58 PM
C.Birch ive tested it on a new install of 3.0.2 and people cant get msg's.

I even leave the message window open on both sides but it wont show up at all..

Its weird..

I am behind a proxy but ive tested it where there was no proxy and still wont work.. using normal ie browser with no pop up protection (which wont matter if the window is open already)

not much i can do because it works for me on my server. useing both my pc and laptop and both ie and firefox. so i really am out of ideas because im only able to guess because im unable to get it to do the prob your having.

where do you have it installed or is it just a local server?

FWF
07-25-2004, 06:07 PM
this hack looks awesome, i cant wait to see it go full release wow

ChrisBaktis
07-27-2004, 12:01 AM
works fine for me - just looking forward to some new features...would love to see it where it asks if you want it on when you come to the site. Or maybe you can set it as a default in your settings so it does it automaticly (would be great to see this also as a registration choice).

Install

DrkFusion
07-27-2004, 01:44 AM
Great work on this! I have implemented this seemlessly into my board and has come really useful for my case. *install*

remlle
07-28-2004, 04:00 PM
1) add the following java to the header:

<script language="Javascript1.3">
function launchbbm()
{
s001 = window.open("index.php?func=m_frameset", "", "width=233, height=450, address=no, toolbar=no, status=yes");
location.href="../index.php";
}

</script>


then where every you want your link add the link like this:

<a href="javascript:void(0)" onclick="launchbbm()">your link</a>

or any other type of link you want be it a img or what main thing is that the link stops as:

href="javascript:void(0)" onclick="launchbbm()">

because thats calling the java.

2) not me personaly because im to busy to support this hack but yes it can be done if someone feel's like it.

3) yes but again someone else will have to do it.

4) not really not with out doing alot of recoding and basicy aking the hack again.

5) no because it use's vb's cookies and user info.

i could be wrong about some points but like i say people are free to help out with this hack.


Has anyone else been able to get #1 to work? I LOVE the script my users are too lazy to press the link on the screen lol please help me.

remlle
07-28-2004, 05:41 PM
Thank you. Seems to have done the trick. However, I had the change index.php?func=m_frameset to bbmessenger/index.php?func=m_frameset.

What is the location.href="../index.php"; for?

The above fixed my issue as well. but here is another problem Im having.

i know there are people online and on the board but none are showing up in my buddy list. when I add someone who I know is on the website to my list they show up in the offline buddies. why is this and how do I fix.

C.Birch
07-28-2004, 06:24 PM
because they dont have the messenger loaded, to show as online on the messenger they must have the messenger loaded there selfs also.

remlle
07-28-2004, 08:59 PM
do you think it would be possible to have it message them or to put a message icon next to their name so you could messege them even when they are not using the system?

NuclioN
07-28-2004, 11:38 PM
Maybe it can work together with the sms hack :)

remlle
07-29-2004, 02:50 AM
do you have a link for this Sms hack?

C.Birch
07-29-2004, 04:19 PM
do you think it would be possible to have it message them or to put a message icon next to their name so you could messege them even when they are not using the system?

anythings possible if you have the time what i dont have, plus i dont personaly use this on my own site anymore because i have a personaly jabber server and a edited messager exe that use's vb's user login.

remlle
07-29-2004, 07:09 PM
could you e-mail me or allow me to e-mail you about what you have done I would be glad to pay for your time and services.
thakns

MissKalunji
07-29-2004, 07:11 PM
anythings possible if you have the time what i dont have, plus i dont personaly use this on my own site anymore because i have a personaly jabber server and a edited messager exe that use's vb's user login.


Same here i dont mind to pay for this one

Buczilla
07-30-2004, 06:16 AM
Fantastic! I love it!

Thank you very much :)

anubis
07-30-2004, 07:39 PM
I still can not use ........
Always show log in page ..........= =|||

COOKIE Have already set up

MissKalunji
07-30-2004, 08:04 PM
I still can not use ........
Always show log in page ..........= =|||

COOKIE Have already set up


When u log in vbulletin you have to check remember my password....then try to log in the messenger it will work.....

Dats a lil bug i found...

anubis
07-30-2004, 09:52 PM
When u log in vbulletin you have to check remember my password....then try to log in the messenger it will work.....

Dats a lil bug i found...
thank you.......^^
I try your suggestion, but situation unaltered .........

※And I ascertain me have already logged in

remlle
07-31-2004, 01:02 PM
there is an error on in the script that you have to edit i forget what I edited to get it to work properly. do some searchig in the script to find it though.

Kru
08-07-2004, 11:48 AM
I still can not use ........
Always show log in page ..........= =|||

COOKIE Have already set up

I have the same problem.

jamesk
08-08-2004, 03:57 AM
personaly jabber server and a edited messager exe that use's vb's user login

Do you mind sharing the edited messenger exe that you have, because i would preferably like to avoid the popup messenger seeing alot of users have popup blockers. Although the bbmessenger installed perfectly great job with this hack by the way :)

C.Birch
08-09-2004, 10:32 AM
no point putting it here because about 90% would not beable to use it due to the fact you have to install a jabber server what means having root to your server.

Steve123
08-09-2004, 11:19 AM
no point putting it here because about 90% would not beable to use it due to the fact you have to install a jabber server what means having root to your server.
you would be surprised... most of the larger forums i know off have there own servers as they can suck resources..

i run a fair few of my own servers and would be very intrested in a "jabber server"..

I was going to do some research on it but havent had the time..

jamesk
08-09-2004, 02:56 PM
I tried installing bbmessenger again on a subdomain and im getting this error message.

The only difference was the user name and password i supplied at install it didnt have rights to the database then i added the rights to that user and still nothing.

I noticed also it is not displaying the correct db it should be 'live_vbulletin' not 'live_vbulletin.thread'

Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT vb3_threadid, vb3_forumid, vb3_title, vb3_replycount, vb3_lastposter, vb3_postuserid, vb3_postusername
FROM thread
ORDER BY lastpost
DESC LIMIT 20
mysql error: Table 'live_vbulletin.thread' doesn't exist

mysql error number: 1146

Date: Monday 09th of August 2004 11:44:22 AM
Script: http://xxx.xxx.com/forums/marquee.php
Referer: http://xxx.xxx.com/forums/bbmessenger/index.php?func=m_interface
Username: xxxxx
IP Address: xx.xx.xx.xx

Erwin
08-10-2004, 03:32 AM
anythings possible if you have the time what i dont have, plus i dont personaly use this on my own site anymore because i have a personaly jabber server and a edited messager exe that use's vb's user login.
Very cool. :) That would be a better solution. But this hack still runs well on my large forums site

jamesk
08-11-2004, 02:20 AM
found the problem in marquee.php was pulling the wrong data vb3_ is used for my tables not my fields. Works fine now :)

I changed this:

// connect to the database and pull the info we need.

$latestposts = $DB_site->query("
SELECT vb3_threadid, vb3_forumid, vb3_title, vb3_replycount, vb3_lastposter, vb3_postuserid, vb3_postusername
FROM thread
ORDER BY lastpost
DESC LIMIT " . THREAD_LIMIT . ""
);

while ($latestthread = $DB_site->fetch_array($latestposts)) {



To this:


// connect to the database and pull the info we need.

$latestposts = $DB_site->query("
SELECT threadid, forumid, title, replycount, lastposter, postuserid, postusername
FROM vb3_thread
ORDER BY lastpost
DESC LIMIT " . THREAD_LIMIT . ""
);

while ($latestthread = $DB_site->fetch_array($latestposts)) {

lulala
08-16-2004, 02:30 PM
May i use this BB-Messenger in other language.
I want to use it in chinese characters.
I got some errors when typing Chinese
It's ok to use English, but not Chinese

ex:A send :妳好嗎?
B receive:%u59B3%u597D%u55CE%uFF1F

Can anyone solve this problems.....
thanks for your help.

Codeman05
08-16-2004, 04:51 PM
Just installed this hack. Very NICE!

I am having two problems though.

a) When someone is sent a message, nothing happens. The sender gets the chatroom, the reciever gets nothing.

b) If I'm logged in, and then a buddy logs in, the messenger doesn't "refresh" to update their status from offline to online.

Any idea what could be causing this?

EDIT:
Btw, using VB 3.0.3, and pop-up blockers are not being used

Infopro
08-16-2004, 06:41 PM
no point putting it here because about 90% would not beable to use it due to the fact you have to install a jabber server what means having root to your server.

Add me to the list of those with a server using jabber. Be interested if you'd share what you've done.
TIA.

Codeman05
08-16-2004, 07:56 PM
Just installed this hack. Very NICE!

I am having two problems though.

a) When someone is sent a message, nothing happens. The sender gets the chatroom, the reciever gets nothing.

b) If I'm logged in, and then a buddy logs in, the messenger doesn't "refresh" to update their status from offline to online.

Any idea what could be causing this?


EDIT:
Btw, using VB 3.0.3, and pop-up blockers are not being used


Ok, well messages appear to be getting recieved now. So that takes care of problem "A".

Problem "B" is still there.

Also...say user X sends a message to user Y. Y dosen't get the message unless he double clicks on X's name. Basically the chat window must be closed and reopened to get new messages.

Anyway to fix that?
Thanks for the help!

Dennis01
08-16-2004, 08:26 PM
Looks like one of the best hacks I saw, setting a new standaard in bulletinboards imho.

Im a bit in the middle of the users who do get messages and those who dont... Some come through others not, makes it hard to rely on.

Playing with the numbers 1 and 200000 did not change anything, it just seems the database drops the messages on initial request but sometimes already before they are actually send.

I tested it with my connection (22ms ping to the server) and two friends, one with 36ms and the other 93ms and it seems the one with the highest ping to the server loses most while 93 should be accepteble imo.

Isnt there a way to delay the drop?

MikeWalczak
08-17-2004, 12:24 AM
Im tryin to install this but when I go to the index.php file and I enter my admin details and lick login, nothing happens, it just brings me back to the same login screen.. What should i do?

Dennis01
08-17-2004, 01:21 AM
Did you read this https://vborg.vbsupport.ru/showpost.php?p=534224&postcount=188 and did a logout/login ?

C.Birch
08-17-2004, 10:04 PM
Very cool. :) That would be a better solution. But this hack still runs well on my large forums site


heres a screeny of my jabber set up, you see i have added a bit in the user pc that gives you a download link for the software plus install steps, and also says what your jabber id is because jabber can not have gaps and that so the codeing removes all that from your forum id and says what your jabber one is.

it also acts as away to auto set up a persons jabber id just by viewing the user cp save them having to go to a specail page that would set up there id.

and the other is just the user end, theres a few other ones that work but i personaly use that one because i found it the easyest to edit the server login info and that so it would auto show in the settings boxs.

MissKalunji
08-17-2004, 10:36 PM
heres a screeny of my jabber set up, you see i have added a bit in the user pc that gives you a download link for the software plus install steps, and also says what your jabber id is because jabber can not have gaps and that so the codeing removes all that from your forum id and says what your jabber one is.

it also acts as away to auto set up a persons jabber id just by viewing the user cp save them having to go to a specail page that would set up there id.

and the other is just the user end, theres a few other ones that work but i personaly use that one because i found it the easyest to edit the server login info and that so it would auto show in the settings boxs.



lawrd dat must have been some work :surprised: mind sharing? how much? dats if u intend to sale it...

Meaning the person has to install it on his cpu??

Erwin
08-17-2004, 11:01 PM
heres a screeny of my jabber set up, you see i have added a bit in the user pc that gives you a download link for the software plus install steps, and also says what your jabber id is because jabber can not have gaps and that so the codeing removes all that from your forum id and says what your jabber one is.

it also acts as away to auto set up a persons jabber id just by viewing the user cp save them having to go to a specail page that would set up there id.

and the other is just the user end, theres a few other ones that work but i personaly use that one because i found it the easyest to edit the server login info and that so it would auto show in the settings boxs.
Looks great - it would be a whole lot less server intensive than the html refreshing in the bb messenger.

I would be interested in looking at this - are you willing to share or sell this particular hack?

C.Birch
08-18-2004, 06:20 AM
lawrd dat must have been some work :surprised: mind sharing? how much? dats if u intend to sale it...

Meaning the person has to install it on his cpu??

right first of all to use it you would need full root control of your server so you be albe to install the edited jabber server.

next you have to edit a file that comes with the exe what basicly fills in the server info when the settings on the exe is loaded, this saves having to try and make your users understand what they got to fill in. make a zip with all the messenger files in it and upload to your server.

do a temp edit on vb to add th bit to the user zip.

tell your users its there then they just go to usercp what on first time of loading sets up there jabber username from there board name but pulling any gaps or things like #~* out of there names, then they just download the zip you uploaded and unzip the file to a fplder on there pc and just run the exe and login useing there forums password and jabber id.

not a matter of cost because we never do stuff for a cost its a matter of being able to put it here telling people how to install it and being albe to give support all im not able to do right now.

Kru
08-18-2004, 06:38 AM
I really can't login from my side. I tried every suggestions here but it won't work. Can anybody check if he can login from his side into it: http://www.spiritual-connections.com/forums/bbmessenger/index.php , pleas?

Thank you for your support.

lulala
08-18-2004, 09:07 AM
May i use this BB-Messenger in other language.
I want to use it in chinese characters.
I got some errors when typing Chinese
It's ok to use English, but not Chinese

ex:A send :妳好嗎?
B receive:%u59B3%u597D%u55CE%uFF1F

Can anyone solve this problems.....
thanks for your help.
Anyone can help me???

MissKalunji
08-18-2004, 01:40 PM
right first of all to use it you would need full root control of your server so you be albe to install the edited jabber server.

next you have to edit a file that comes with the exe what basicly fills in the server info when the settings on the exe is loaded, this saves having to try and make your users understand what they got to fill in. make a zip with all the messenger files in it and upload to your server.

do a temp edit on vb to add th bit to the user zip.

tell your users its there then they just go to usercp what on first time of loading sets up there jabber username from there board name but pulling any gaps or things like #~* out of there names, then they just download the zip you uploaded and unzip the file to a fplder on there pc and just run the exe and login useing there forums password and jabber id.

not a matter of cost because we never do stuff for a cost its a matter of being able to put it here telling people how to install it and being albe to give support all im not able to do right now.


Please please share :o

C.Birch
08-20-2004, 10:29 AM
I really can't login from my side. I tried every suggestions here but it won't work. Can anybody check if he can login from his side into it: http://www.spiritual-connections.com/forums/bbmessenger/index.php , pleas?

Thank you for your support.

your cookies info is still wrong look:

Kru
08-20-2004, 10:48 AM
your cookies info is still wrong look:

well, I am glad to see where the problem is, now. Anyway how can I fix it.

In my config.php stands:

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

C.Birch
08-20-2004, 11:18 AM
yeah all your other cookie info reads with bb in front of it whats right apart from sessionhash what is giving you the prob because it can not read the cookie to see if your logged in because its not bbsessionhash whats odd with all the other cookie bits having the bb in front of them.

going download the zip and look see if i can see a edit because i had to format lastnight so dont have files to hand.

C.Birch
08-20-2004, 11:35 AM
not anything in the files that could help and the main cookie is done by vb so it looks like theres a error there im not sure anyway got to fly got loads to do myself.

Kru
08-20-2004, 12:15 PM
Anyway thank you very much for your try to help me. Maybe with the time I will find a way to fix it.

Panic
08-20-2004, 03:36 PM
Hi there,

I noticed a little problem with BB Messenger when having multiple windows opened and wondered if this was a limitation with using a combination of Java/PHP or whether there was a way of turning this off, ok here's the scenario.

When conversing with two people in seperate BB Messenger windows, say you are typing a message to user 1, user 2 sends you a message. Now the window focus is hijacked to user 2 window. If you weren't looking at the monitor, you in-invertently type part of the message to the wrong person. Any way of stopping that window hijacking the focus by commenting out some code or is this just a feature of java?

Thanks for your help.

dstruct2k
08-20-2004, 06:21 PM
Javascript is pushing that window to the topmost location on your screen, this should be editable somewhere in the clientscript.

Panic
08-21-2004, 02:04 PM
ok, I edited the file /bbmessenger/style/messenger.html.php
and commented out the line :-

window["chat_{$VAR["sitecode"]}_" + id].focus();

This seems to stop the focus.

johnbruce71
08-27-2004, 08:48 AM
I've tried everything on the last few pages but i'm still not able to use bbmessenger. Could anyone see if its just a problem on my side?

http://www.thebig7.co.uk/forum/bbmessenger

username: test
password: test

Thanks

PitchouneN64ngc
08-27-2004, 10:27 AM
I have a modification to purpose who will fix all bugs with cookie setting :)

Open ./bbmessenger/sources/boardmodule/vb3.inc.php

Find:

function boardmodule_import_db_settings()
{
require_once ("../includes/config.php");
global $VAR;

Replace by:

function boardmodule_import_db_settings()
{
require_once ("../includes/config.php");
define("COOKIE_PREFIX", $cookieprefix);
global $VAR;

Find:

if (!isset($_COOKIE["bbuserid"]) OR !ereg("^[0-9]*$", $_COOKIE["bbuserid"]))
{
return PERM_LOGGED_OUT;
}
if (!isset($_COOKIE["bbpassword"]) OR !ereg("^[0-9A-Fa-f]*$", $_COOKIE["bbpassword"]))
{
return PERM_LOGGED_OUT;
}

$user = db_query("SELECT userid, username, usergroupid, membergroupids, password, salt, pmunread as unreadpms FROM {prefix}user WHERE userid=" . $_COOKIE["bbuserid"] . " LIMIT 1");

Replace by:

if (!isset($_COOKIE[COOKIE_PREFIX . "userid"]) OR !ereg("^[0-9]*$", $_COOKIE[COOKIE_PREFIX . "userid"]))
{
return PERM_LOGGED_OUT;
}
if (!isset($_COOKIE[COOKIE_PREFIX . "password"]) OR !ereg("^[0-9A-Fa-f]*$", $_COOKIE[COOKIE_PREFIX . "password"]))
{
return PERM_LOGGED_OUT;
}

$user = db_query("SELECT userid, username, usergroupid, membergroupids, password, salt, pmunread as unreadpms FROM {prefix}user WHERE userid=" . $_COOKIE[COOKIE_PREFIX . "userid"] . " LIMIT 1");

Find:

if (md5( $user["password"] . $VAR["vbulletinlicenceid"]) == $_COOKIE["bbpassword"])

Replace by:

if (md5( $user["password"] . $VAR["vbulletinlicenceid"]) == $_COOKIE[COOKIE_PREFIX . "password"])

And normally, all your problems with cookies and login will be resolved :)

And this hack is great ;)