The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I looked through the footer template seeing if I could add another link and I see how most are written. However, I'd like to be able to add my own link.
Code:
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if> That's beautiful, and exactly what I'm looking for. I have made a usergroup (name: stn writers id: 9) for the writers on my website. My goal is for a link to show up so they can reach the article submission form. My general idea would be this... and I KNOW this is not the correct way, I'm just showing you the idea... Code:
<if condition="$show['stnwriterslink']"><a href="/forums/article_form.php">$vbphrase[writers]</a> -</if> ![]() If someone can explain how to do this to me, it'd be much appreciated! Thanks! |
#2
|
||||
|
||||
![]()
If you want a specific Usergroup to see the link then use the Usergroup's ID in the conditional. Such as:
Code:
<if condition="is_member_of($bbuserinfo, x)"> <a href="/forums/article_form.php">$vbphrase[writers]</a></if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|