Version: 1.00, by SuperTaz
Developer Last Online: Mar 2022
Category: Forum Display Enhancements -
Version: 3.8.x
Rating:
Released: 01-10-2009
Last Update: 02-04-2009
Installs: 172
Template Edits
Re-useable Code Code Changes Translations
No support by the author.
Description:
This template edit displays quick and easy links to your navigation.
Installation Time: Less than 1 minute
I got the inspiration from "yoyoyoyo" who made a similar mod for 3.6.8. Although his might work fine for this also, I decided to alter it a bit and cleaned up some code.
I did PM yoyoyoyo to use a variation of his hack but, since he has not been online since September 2008, I can't get a response.
Since yoyoyoyo came up with this type of template edit, all the credit goes to him.
If you want to show a link only to members use this:
Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td>
</if>
If you want to show a link only to members, and a different link to guests use this:
Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://url.com">Member Link Title Goes Here</a></td>
<else />
<td class="vbmenu_control"><a href="http://url.com">Guest Link Title Goes Here</a></td>
</if>
To make the link open in a new window use this URL instead:
Code:
<td class="vbmenu_control"><a href="http://url.com" target="_blank">Link Title Goes Here</a></td>
To make the link(s) only visible to certain usergroups use this:
Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)">
<td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td>
</if>
Substitute X, Y, Z with the ID numbers of the groups that you want to allow to see the link. If you only want one usergroup to be able to see the link then use: $bbuserinfo, X and substitute X with the ID number of the group that you want to allow to see the link.
Of Course you want to change the URL's to your site URL and direct the link to any site or feature you want for your site.
Any problems, let me know.
Make sure if you use this template edit to CLICK INSTALL.
IT actually used to be a drop down list. I dont know why vBulletin changed it. Maybe they can shed some light on how to do that. I am working on another mod right now, but I will try to look into it for you, kronnos.
Nice, but can the links be made with dropdows like here on vb.org. So when clicking on User Cp it gives you all the options of it.
Yup...i want like that too cause i want to put may links....
Quote:
Originally Posted by Warden-B-
IT actually used to be a drop down list. I dont know why vBulletin changed it. Maybe they can shed some light on how to do that. I am working on another mod right now, but I will try to look into it for you, kronnos.
Thanks a lot....i really need for that code, cause too many links that i will show up if just in one row, if too many row, its makes bad, people can confuse, so i just want in your code but some of drop down links menu like USERCP...thanks alot...i will waiting...