The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Sidebar f?r G?ste ausblenden
Hey everyone,
I hope you can help me. I have in my 4.2. (only in the forum.php) the sidebar in it and would like it is not visible to guests. Here's what I've done and it works well, but unfortunately wrong exactly. What do I have here in the code so change it so the guests can not see. So I have created a plug-in Hook (forumhome_start) with the following code: Code:
if ( $vbulletin->userinfo['userid'] ) $vbulletin->options['enablesidebar'] = false; EDIT: Has done to have found the error. If someone needs the correct code is: Code:
if (is_member_of($vbulletin->userinfo, 1)) $vbulletin->options['enablesidebar'] = false; |
#2
|
|||
|
|||
We only talk English here
|
#3
|
|||
|
|||
Yes, and some of us speak English better than others do
|
#4
|
|||
|
|||
Sorry, rewrote it in English
|
#5
|
|||
|
|||
My English is perfect, so not sure what you mean, even if it was a joke there is a time and a place for jokes
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|