if($vb_userid)
{
// The guest is logged in
// Exemple
$output = "Welcome $vb_username";
}
else
{
// The guest is not logged in
// Exemple
$output = "Welcome " . $_SERVER['REMOTE_ADDR'] . " , you are not connected to the forum";
}
@Princeton: with pleasure
@abdobasha2004: vb3 - vb4
--> for vb5 I don't have this version but I think it is the same. You can do a simple test only with vbconnect.php (with little modification)
Go to www.yourdomain.com/vbconnect.php and see the result :)
4- In your php file (external file and not in directory of the forum)
Change XXX with your prefix using in jquery_vbulletin.js file
Hello, If you could please explain about part 4?
I dont really understand if I should create a php file or where its located if there is one! Thank you very much in advance
Hello, If you could please explain about part 4?
I dont really understand if I should create a php file or where its located if there is one! Thank you very much in advance
This would be the file you create, as this is about working with external pages, note the bit that reads "(external file and not in directory of the forum)". This would be the page/file you want to do something like this in:
// The guest is logged in
}
else
{
// The guest is not logged in