![]() |
BB| Messenger 1.5
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: PHP Code:
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....&postcount=164 Zip will get updated when next version is out. |
Install Screen
|
Launch Screen
|
Messenger Windows
|
First to say thanks for the amazing hack! :) Well done dude!
|
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. |
Quote:
|
Can't open it. The link to /forums/bbmessenger/index.php shoots right back to the loginscreen.
|
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).
|
Quote:
NuclioN abit more info would be nice eg what are you trying to do, install or load the messenger it self. |
an easy setting would be to have a permission based messenger, so users with permission are displayed only... ;)
|
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. " ?? |
Quote:
im guessing a cookie prob of some type. |
Quote:
|
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. |
Maybe the cookie prefix is the problem but i realy don't know how to fix this.
|
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...) |
Quote:
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. |
I hope someone can look to the code again to let it work with vb3. :( :)
|
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. |
I like Nex.... idea of only allowing to talk with admins or mods...gives the site a "live support" touch.
|
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.,
|
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 ... |
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: PHP Code:
So as you can see, we have a directory problem here. |
simple:
Code:
chdir('../'); |
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.
|
Quote:
|
wow, this hack looks nice!
|
Quote:
Code:
<?php |
It's a clean installed vb 303 with only the vbadvanced portal. After entering that code the problem remains. :(
|
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.
|
<a href="http://www.cyberty.nl/forums/" target="_blank">http://www.cyberty.nl/forums/</a> right above the footer is the link
|
Quote:
ok it defo looks like cookies try the following: in vb3.inc.php find: PHP Code:
PHP Code:
because my vb cookies save as bbpassword and so on where yours are saveing as vbpassword |
heres a pic of how your cookie names are not the same as mine or vb.org's
|
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? |
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"); |
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.
|
Ok it works :) Tnx for your help C. Birch. It's a great addon.
|
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. |
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 ! |
All times are GMT. The time now is 07:35 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|