View Full Version : How to add this things
Dollarsign
12-10-2009, 04:01 AM
I am trying to add following links to "breadcrumb".
http://img268.imageshack.us/img268/6898/12899060.jpg
When I right click on the hyperlink it has following link:
http://www.website.com/search.php?do=finduser&u=USERNUMBER&starteronly=1
might be more to just simply adding links into the template, as it has to grab a user number for that person?
Try replacing USERNUMBER with $vbulletin->userinfo['userid']
Lynne
12-10-2009, 02:03 PM
The breadcrumbs are actually the part of the page that tell where you are:
vBulletin.org Forum / vBulletin 3 Discussion / vB3 Programming Discussions
https://vborg.vbsupport.ru/external/2009/12/11.gif How to add "Find Your: Posts, Threads, Quotes"
But, the part you want to change is in the same template - the navbar. The solution is in the post above (although I use $bbuserinfo instead of $vbulletin->userinfo when in templates).
...(although I use $bbuserinfo instead of $vbulletin->userinfo when in templates).
Cool. Is there a reason for that (like, I assume it works in more places or something)?
Lynne
12-10-2009, 02:47 PM
Cool. Is there a reason for that (like, I assume it works in more places or something)?
I was just 'taught' to use $vbulletin->userinfo in php and $bbuserinfo in templates. That is what vB does, so that is what I do.
That's good enough for me. :)
Dollarsign
12-12-2009, 02:09 AM
Thankyou friends I figure it out :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.