The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
What code do i use to hide links from guests?
With phpBB i can use
Code:
$userdata['session_logged_in'] Code:
<!-- BEGIN switch_user_logged_in --> I'd like to do that to my VBulletin board too. What code do i use to do that? Thanks in advance. |
#2
|
|||
|
|||
In the templates you would use this condition..
HTML Code:
<if condition="!$show['guest']">I'm a registered User</if> <if condition="$show['guest']">I'm a Guest</if> PHP Code:
|
#3
|
||||
|
||||
You can also use $show['guest'] - this is set to true for guests, false for members.
|
#4
|
|||
|
|||
forgot that was a global variable. Updated my post for you.
|
#5
|
|||
|
|||
Thanks guys
I'm new to VB so i'm still learning the basic things. |
#6
|
|||
|
|||
No problem buddy. When your stuck and need help just post another thread and we'll see what we can do.
|
#7
|
|||
|
|||
is there a mod to hide links and images from non registered users? This is not a mod or instructions how to hide them.
|
#8
|
||||
|
||||
You can use this to hide links:
https://vborg.vbsupport.ru/showthread.php?t=99918 I've never seen anything to hide images, though. |
#9
|
|||
|
|||
Does anyone know how I can get links in threads to be hidden from members until the they reply? I have hide hack but the link comes up as plain text and can not be clicked on. Any suggestions?
Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|