The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I've decided to do away with the vB icons and change them to text...
http://www.automotiveforums.com/vbulletin/index.php you can see how on top it says Free Registration! in red and all other links on the right. I tried to make it so that only guests will see the Free Registration! link. In global.php I added this: PHP Code:
thanks |
#2
|
|||
|
|||
if ($bbuserinfo['userid']!=0) {
$registertext=" "; means something like: if the visitor already has a userid, then don't display the register link. Why would you want to display the register link to people who are already registered? I guess the script works like it should |
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
do you have this yet?
PHP Code:
|
#5
|
|||
|
|||
nope, still doesnt work
still shows up no matter what, even if the person is logged in. |
#6
|
|||
|
|||
Completely missed the "diss" in dissappear
Anyway, there's something to be learned from this part: $unregwelcomemessage=''; in index.php, all the way at the bottom |
#7
|
|||
|
|||
my code finally worked when Brad suggested that I move it to another location inside global.php...
|
#8
|
|||
|
|||
ok.. auto can post the code used.. but in the global.php file you search and find this line :
// ###################### Referrer Stuff ######################### and right above that... you place the code.. then it will work.. or so it seems add this above that PHP Code:
it is really a nice hack or addition to the site, especially the way you have it setup and want to set it up |
#9
|
||||
|
||||
i like your registerpopup.js where can i get that?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|