The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi guys,
I would like to use some acp options from my own mod in my mod templates. lets have a look at the code: Code:
<vb:if condition="is_member_of($bbuserinfo, $vbulletin->options['absence_organisation_who']) AND $vbulletin->options['absence_organisation_enabled']"> this part: Code:
AND $vbulletin->options['absence_organisation_enabled']"> that one: Code:
is_member_of($bbuserinfo, $vbulletin->options['absence_organisation_who']) if i say {vb:raw $vbulletin->options['absence_organisation_who']) somewhere else in the template it says: 5,6,7,10,11,12,15 that are the groups i want to give permissons for! it actually doesnt work out with the "is_member_of" any suggestions? all the best, bjoern EDIT: The whole template code: HTML Code:
{vb:stylevar htmldoctype} <html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> <head> <title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title> {vb:raw headinclude} {vb:raw headinclude_bottom} </head> <body> {vb:raw header} {vb:raw navbar} <vb:if condition="is_member_of($bbuserinfo, $vbulletin->options['absence_organisation_who']) AND $vbulletin->options['absence_organisation_enabled']"> <div id="pagetitle"> <h1>{vb:raw pagetitle}</h1> </div> <h2 class="blockhead">Abweseneheits Übersicht</h2> <div class="blockbody"> <div class="blockrow"> <div id="absence_information"> <p> Auf dieser Seite seht ihr wer zur Zeit keine Zeit hat, wer im Urlaub ist oder wegen anderen Gründen nicht verfügbar ist. Falls ihr also im Vorraus wisst, dass ihr von X bis Y nicht verfügbar seid für das Team, dann tragt euch bitte hier ein. Die Vorteile sind klar auf der Hand, man kann Team Meetings besser planen und die generelle Zusammenarbeit im Team funktioniert so besser, da andere auch dann anders im Vorraus planen können. </p> </div> </div> </div> <h2 class="blockhead">Zur Zeit abwesend</h2> <div class="blockbody"> <div class="blockrow"> {vb:raw currently_absence} </div> </div> <h2 class="blockhead">Künftige Abwesenheiten</h2> <div class="blockbody"> <div class="blockrow"> {vb:raw future_absence} </div> </div> <h2 class="blockhead">Archiv</h2> <div class="blockbody"> <div class="blockrow"> {vb:raw history_absence} </div> </div> <div style="text-align:center; margin-top:25px;"> www.entwickler-runde.de | Abwesenheits Liste V1.0 </div> </vb:if> {vb:raw footer} </body> </html> |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|