The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello all, I am in a diddle of a pickle at the moment.
I recently upgraded to vBulletin 3.5.0 from 3.0.8. All was fine till I realised the code I had on my site (an external login script) would not function. So I have come to you guys with a request. I am after a External Login Code which can be placed on my .php page, which will let users login, then be re-directed back to the page they logged in from, with a little messege which says "Welcome back Paul_Hollibone, Click Here to Logout". Now something like this is absolutoly mandatory, as a vital function for members logged in only cannot be used (due to some sort of cookies conflict with the code, and 3.5.0), meaning they cannot access the area I like to call "The Memories Sector", so has anyone attempted to make another code for this function, or is anyone able to? Thanks in advance, Paul. |
|
#2
|
|||
|
|||
|
Same question here. Is there a way? I used this:
Code:
require_once('/home/customer/domains/bla.com/public_html/forum/global.php');
error_reporting(E_ALL & ~E_NOTICE);
if (!in_array($bbuserinfo['usergroupid'], array(6))) print_no_permission();
|
|
#3
|
|||
|
|||
|
That would never have worked. Do a chdir to your forumhome directory and then require ./global.php
|
|
#4
|
|||
|
|||
|
Quote:
, i made an symlink of includes dir to the dir where my script is in , but not with 3.5
|
|
#5
|
|||
|
|||
|
3.5 Don't work with relative paths anymore (except for the initial load og global.php). Full paths are used.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|