PDA

View Full Version : Forum Integration issue


Tchrin
07-21-2004, 09:16 AM
Hi,

Just installed Subdreamer pro and have generally been very impressed, thanks for a great piece of s/w. However, whenever I enable Forum Integration everything seems to work fine...except

a) logging into site or forum doesn't log you into the other.
b) Secondly users don't stay logged in to subdreamer and have to relogin every page. But do stay logged in on the forums. As soon as I disable forum integration users stay logged into subdreamer without a problem.

Which shouts some kind of cookie problem to me, The cookie settings in Vb (v3.0.0) are -

Path to Save Cookies:/
Cookie Domain:

Which is how it should be from what I can tell from other posts here.

Linkage -
Site - www.atitd.net/home
Forum - www.atitd.net/forum

Anyhelp would be greatly appreciated, thanks in advance.

Ziad
07-21-2004, 02:06 PM
I think Subdreamer is having trouble locating your vblicense number (it needs that number for integration since passwords are multiplyed by it). Try this:

1. Download via ftp and open file: ./forum/includes/vbulletin_credits.php
2. Look for your vblicense number, it should be on the 4th line located after "Licence Number"
3. Download via ftp and open file: ./subdreamer/includes/usersystems/vbulletin3.php
4. Look for the following code (should start on line 25) in the vbulletin3.php file:


$filename = $usersystem['folderpath'].'includes/vbulletin_credits.php';

$fp = fopen($filename, "r");

for($line = 1; $line <= 4; $line++)
{
$buffer = fgets($fp, 4096);
}

$vblicensenumber = substr(trim($buffer), -8);

fclose($fp);


Now, replace that code with this:


$vblicensenumber = ""; // enter your license number bettween these quotes


Make sure to enter your vb license number between those quotes.

5. Upload the file you just made changes to (vbulletin3.php) back to: ./subdreamer/includes/usersystems/

That should work :)

Tchrin
07-22-2004, 07:36 AM
Thanks for the quick response I'll try that out. (might be a day or so as my home PC died last night so need to fix it first)

Tchrin
07-22-2004, 07:51 AM
Managed to get FTP to work from work so managed to test this already.

Your suggested fix didn't do any harm, but it didn't make a difference, I'm still getting the same symptoms unfortunately. Any other ideas please?

Ziad
07-22-2004, 02:29 PM
If you login to the forum with Internet Explorer and then exit that window and open a new Explorer window, you will be logged out from the forum. Which means cookies are not working on your server. You will need to contact your server admin about this and ask him/her why your site's cookies aren't being saved.

Tchrin
07-23-2004, 09:10 PM
My host tells me the server had the wrong date (it was set to last year sometime), so thats why cookies weren't working!

Thanks a lot for your help. :)