Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [swissbob] Auth_vBulletin and Authentication

Quote Reply
Re: [swissbob] Auth_vBulletin and Authentication In reply to
You could use SSI

<!--#include virtual="/vb.php"-->

my vb.php is something like this.

Code:

<?php
chdir("path/to/forum");
require('../forum/global.php');
include('../forum/includes/functions_user.php');

// user logged in
if ($vbulletin->userinfo['userid'])
{
echo "<a href=/forum/login.php?$session[sessionurl]do=logout&amp;logouthash=$logouthash";
echo $vbulletin->userinfo['logouthash'];
echo ">";
echo " Log Out";
echo "</a>";
}

// user logged out
if ($vbulletin->userinfo['userid'] == '')
{
print '<a href="/forum/register.php" rel="nofollow">Register</A>';
if ($vbulletin->userinfo['userid'] == 0)
{
echo "<a href=\"/cgi-bin/dir/user.cgi?url=" . $_SERVER['REQUEST_URI'] . "\" rel=\"nofollow\">Login</a>";
}
}
?>

Last edited by:

garrynz: Nov 19, 2006, 2:03 AM
Subject Author Views Date
Thread; hot thread Auth_vBulletin and Authentication Red5 16386 Sep 23, 2006, 10:55 AM
Thread; hot thread Re: [Red5] Auth_vBulletin and Authentication
swissbob 15836 Sep 30, 2006, 8:24 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
jdgamble 15828 Sep 30, 2006, 8:41 AM
Thread; hot thread Re: [jdgamble] Auth_vBulletin and Authentication
swissbob 15813 Sep 30, 2006, 9:01 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
swissbob 15794 Sep 30, 2006, 9:31 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
jdgamble 15798 Sep 30, 2006, 9:34 AM
Thread; hot thread Re: [jdgamble] Auth_vBulletin and Authentication
swissbob 15840 Sep 30, 2006, 9:40 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
swissbob 15805 Sep 30, 2006, 9:43 AM
Post; hot thread Re: [swissbob] Auth_vBulletin and Authentication
Red5 15748 Sep 30, 2006, 9:46 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
jdgamble 15802 Sep 30, 2006, 9:46 AM
Thread; hot thread Re: [jdgamble] Auth_vBulletin and Authentication
swissbob 15795 Sep 30, 2006, 9:55 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
jdgamble 15779 Sep 30, 2006, 10:33 AM
Thread; hot thread Re: [jdgamble] Auth_vBulletin and Authentication
swissbob 15806 Sep 30, 2006, 10:41 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
jdgamble 15864 Sep 30, 2006, 11:08 AM
Thread; hot thread Re: [jdgamble] Auth_vBulletin and Authentication
swissbob 15781 Sep 30, 2006, 11:17 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
jdgamble 15741 Sep 30, 2006, 11:34 AM
Thread; hot thread Re: [jdgamble] Auth_vBulletin and Authentication
swissbob 15743 Sep 30, 2006, 11:39 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
jdgamble 15758 Sep 30, 2006, 12:04 PM
Post; hot thread Re: [jdgamble] Auth_vBulletin and Authentication
swissbob 15694 Sep 30, 2006, 12:20 PM
Thread; hot thread Re: [jdgamble] Auth_vBulletin and Authentication
Red5 15702 Sep 30, 2006, 12:22 PM
Thread; hot thread Re: [Red5] Auth_vBulletin and Authentication
jdgamble 15794 Sep 30, 2006, 1:12 PM
Thread; hot thread Re: [jdgamble] Auth_vBulletin and Authentication
Red5 15709 Sep 30, 2006, 2:35 PM
Thread; hot thread Re: [Red5] Auth_vBulletin and Authentication
jdgamble 15705 Sep 30, 2006, 3:01 PM
Thread; hot thread Re: [jdgamble] Auth_vBulletin and Authentication
Red5 15743 Sep 30, 2006, 3:08 PM
Post; hot thread Re: [Red5] Auth_vBulletin and Authentication
swissbob 15652 Oct 1, 2006, 3:47 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
Red5 8209 Oct 1, 2006, 4:42 AM
Thread; hot thread Re: [Red5] Auth_vBulletin and Authentication
swissbob 8137 Oct 1, 2006, 9:01 AM
Post; hot thread Re: [swissbob] Auth_vBulletin and Authentication
Red5 8099 Oct 1, 2006, 9:05 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
aus_dave 8135 Oct 4, 2006, 12:05 AM
Thread; hot thread Re: [aus_dave] Auth_vBulletin and Authentication
swissbob 8161 Oct 4, 2006, 5:53 AM
Post; hot thread Re: [swissbob] Auth_vBulletin and Authentication
aus_dave 8094 Oct 4, 2006, 6:28 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
swissbob 8139 Nov 15, 2006, 3:06 PM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
brewt 8180 Nov 15, 2006, 5:57 PM
Thread; hot thread Re: [brewt] Auth_vBulletin and Authentication
swissbob 8061 Nov 15, 2006, 7:28 PM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
brewt 8126 Nov 15, 2006, 7:41 PM
Thread; hot thread Re: [brewt] Auth_vBulletin and Authentication
swissbob 8119 Nov 16, 2006, 3:41 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
garrynz 8040 Nov 19, 2006, 2:00 AM
Post; hot thread Re: [garrynz] Auth_vBulletin and Authentication
swissbob 8058 Nov 19, 2006, 10:42 AM
Thread; hot thread Re: [swissbob] Auth_vBulletin and Authentication
aus_dave 8102 Nov 19, 2006, 7:41 PM
Thread; hot thread Re: [aus_dave] Auth_vBulletin and Authentication
swissbob 8077 Nov 24, 2006, 7:25 AM
Post; hot thread Re: [swissbob] Auth_vBulletin and Authentication
swissbob 8009 Nov 29, 2006, 5:47 AM