Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 Jan 2010, 19:14
Brother Malachi Brother Malachi is offline
 
Join Date: Jun 2008
Real name: Nick
Displaying breadcrumb in showthreads

I'm trying to add the breadcrumb to the bottom of every thread.
I added {vb:raw navbits.breadcrumb} in the showthreads template, but I'm guessing I have to register the variable??


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

???
What if it is an array?
Reply With Quote
  #2  
Old 01 Jan 2010, 20:48
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I wrote a mod to do this. It's in my profile.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 01 Jan 2010, 21:16
Brother Malachi Brother Malachi is offline
 
Join Date: Jun 2008
Real name: Nick
Alright.

Just for future reference though, how would I preRegister already defined variables?
If I was to simply paste {vb:raw navbits.breadcrumb} into SHOWTHREADS, is that how we are suppose to preRegister it?
Reply With Quote
  #4  
Old 01 Jan 2010, 21:37
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Take a look at this article - http://www.vbulletin.org/forum/showthread.php?t=228078
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 01 Jan 2010, 22:56
Brother Malachi Brother Malachi is offline
 
Join Date: Jun 2008
Real name: Nick
Lynne, that article doesn't explain whether we need to register an already registered(or rather..predefined) vbulletin variable.

I'm trying to use a pre-defined vbulletin variable in a non-custom template.
Reply With Quote
  #6  
Old 01 Jan 2010, 23:43
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
You need to register *every* variable you plan to use in a template for use in *any* template you plan to use it in. The only ones that you might not need to register are bbuserinfo, stylevar, option, and session variables. So, if navbits was not previously registered for use in the SHOWTHREAD template, then you would need to register it (or preregister it, as the case may be).
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 23:11.

Layout Options | Width: Wide Color: