![]() |
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. |
In the templates you would use this condition..
HTML Code:
<if condition="!$show['guest']">I'm a registered User</if> PHP Code:
|
You can also use $show['guest'] - this is set to true for guests, false for members.
|
forgot that was a global variable. Updated my post for you.
|
Thanks guys :)
I'm new to VB so i'm still learning the basic things. |
No problem buddy. When your stuck and need help just post another thread and we'll see what we can do. :)
|
is there a mod to hide links and images from non registered users? This is not a mod or instructions how to hide them.
|
You can use this to hide links:
https://vborg.vbsupport.ru/showthread.php?t=99918 I've never seen anything to hide images, though. |
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 |
All times are GMT. The time now is 08:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|