PDA

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?

kh99
12-10-2009, 01:09 PM
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).

kh99
12-10-2009, 02:10 PM
...(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.

kh99
12-10-2009, 02:57 PM
That's good enough for me. :)

Dollarsign
12-12-2009, 02:09 AM
Thankyou friends I figure it out :)