![]() |
Add to quick links VB 4.1.8
OK I have researched and really don't understand where to modify and add to the quick links or get them from. The links I want to add to the quick links are below. Thanks for the help.
-subscribed threads (already there) -private messages -profile settings -my posts -my threads -who's online (already there) |
You would edit the navbar template and add those links in. Or, just use the template_hooks that are there:
HTML Code:
{vb:raw template_hook.navbar_quick_links_menu_pos1} |
OK, I'm still confused, lol. Can you give me a break down how to do that. Thanks JJ
|
To do what?
To edit the template - Style Manager > find style > Edit templates > find navbar > add in your links To write plugin, Plugin Manager > add new plugin > hook location is probably "process_templates_complete" and then just add in the code like this: PHP Code:
|
Thanks for the help!
|
The problem with this solution is that the link to member profile is variable depending on the user ID, so, is there a way to add this type of code to a link:
Code:
<vb:if condition="$memberinfo['musername']">{vb:raw memberinfo.musername}<vb:else />{vb:raw memberinfo.username}</vb:if> |
You could use a variable to define it first (I think the function is something like fetch_seo_url). It's php, so just write php to define the url and then insert it into the link.
PHP Code:
|
Lynne --- is this still valid info?
I've added a plugin to product "vBulletin" at the "process_templates_complete" hook. The PHP code is: PHP Code:
However, I can't find the text anywhere on the page or in its HTML source... :confused: I am running 4.2.0 --- did the navigation update change this? --------------- Added [DATE]1340893800[/DATE] at [TIME]1340893800[/TIME] --------------- Quote:
|
All times are GMT. The time now is 07:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|