![]() |
function Forumlist If Guest
ok so i have the column mod installed tweak so users can enable or disable it, but for guests its automatically disabled, i want it to be enabled for guests by default.
Code:
if ($vbulletin->userinfo['field5'] == 'yes' OR GUEST AND THIS_SCRIPT == 'index' AND $forum['subforumcolumns'] != 1 AND ($subsonly OR $depth < MAXFORUMDEPTH)) $show['guestuser'] $userinfo['guestuserid'] $vbulletin->$userinfo['guestuserid'] and a few other ways like adding == 1 i cant seem to get it right though any help would be greatly appreciated --------------- Added [DATE]1374837552[/DATE] at [TIME]1374837552[/TIME] --------------- UPDATE* i seem to got it working by using Code:
if ($vbulletin->userinfo['field5'] == 'yes' OR is_member_of($vbulletin->userinfo, 1) AND THIS_SCRIPT == 'index' AND $forum['subforumcolumns'] != 1 AND ($subsonly OR $depth < MAXFORUMDEPTH)) |
That looks fine, bud.
|
All times are GMT. The time now is 06:48 PM. |
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:
|