The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
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)) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|