vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to add this things (https://vborg.vbsupport.ru/showthread.php?t=229889)

Dollarsign 12-10-2009 04:01 AM

How to add this things
 
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:

Code:

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:
Quote:

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

Quote:

Originally Posted by Lynne (Post 1928345)
...(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

Quote:

Originally Posted by kh99 (Post 1928357)
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 :)


All times are GMT. The time now is 11:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01039 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete