![]() |
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 10:50 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:
|