![]() |
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; |
We only talk English here
|
Quote:
|
Sorry, rewrote it in English
|
Quote:
|
All times are GMT. The time now is 09:00 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:
|