Quote:
Originally Posted by Nathan
These were custom created for you at the time.
In the footer template you will want to add a link to the vendorcp wrapped in a conditional only to allow the the usergroup(s) that have VendorCP permissions.
The navbar template would require the same.
Code would be such as this with the number being the usergroup that have VendorCP access. If multiple groups have access separate with a comma.
PHP Code:
<if condition="is_member_of($bbuserinfo, 16)">
<a href="$vboptions[bburl]/vendorcp">Vendor CP</a>
</if>
|
Thanks Nathan,
Didn't seem to work though as i got this error:
The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
That code didn't seem like the links for the admin cp, etc:
<
vb:if condition="$show['admincplink']"><li><a href="{
vb:raw admincpdir}/index.php{
vb:raw session.sessionurl_q}">{
vb:rawphrase admin}</a></li></
vb:if>