PDA

View Full Version : Private Link In Footer


Jamie107
04-26-2012, 09:25 PM
How do I add a private link next to ACP, Contact Us, Homepage, Archive etc which can only be seen by admins?

ForceHSS
04-26-2012, 10:28 PM
if you look at the admin link see how it was done that will give you an idea how to do it

DAMINK
04-27-2012, 12:34 AM
ACP / Style Manager / YOUR STYLE / Edit Templates / Footer
Then find this.
<vb:if condition="$vboptions['archiveenabled']"><li><a href="archive/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase archive}</a></li></vb:if>
And add your link after it or before it or whatever. Thats the archive link.
So just add something like this.
<a href="http://www.YOURDOMAIN.com">YOUR TEXT</a>

Jamie107
05-10-2012, 02:37 PM
I can add a link but its not private and I cant seem to figure out how, It needs to be seen by admins only

kh99
05-10-2012, 02:42 PM
Try this:

<vb:if condition="is_member_of($bbuserinfo, 6)">
link code
</vb:if>

Jamie107
05-17-2012, 01:05 PM
Thanks Kh99 that worked perfect!