The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Simple Code
Is there a simple code to see if a user has signed into vbulletin or not???
|
#2
|
|||
|
|||
You can use
Code:
$show[member] Code:
$show[guest] Code:
$bbuserinfo[userid]!=0 |
#3
|
|||
|
|||
How would the code look if i wanted it to say
if a user is login then show link 1 - link2 - link3 else show link a - linkb - linkc thanks |
#4
|
|||
|
|||
something along the lines of
Code:
<if condition="$show[member]"> Member stuff here <else /> guest stuff here </if> |
#5
|
|||
|
|||
would that be th same if u put it on a php page which also contains the forum?
|
#6
|
|||
|
|||
No, this is just for in the templates. The code you would need for in the php file is completely different and unless the file is linked to vBulletin then the required variables (which I can't remember off the top of my head) won't work.
|
#7
|
|||
|
|||
is there a way to change the size of the navbar so it fits into the page properly and the search box is under the search box and not 10cm to the side?
|
#8
|
|||
|
|||
That will be due to a problem with your template, probably due to a modification to it that has not been correctly applied.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|