The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
using navbits variables in plugin
Hi there
I am trying to access the navbits variables (the breadcrumb) in a plugin that I am creating. I need to extract some of the data from it and output this data in some javascript. I want to get each section of the breadcrumb trail into seperate javascript variables. I know that $navbits[lastelement] exists but I am not sure how to get other navbits. If the breadcrumb was My Forum -> Cars -> Sedans, I would want something like Code:
$myplugin = echo "<script type='text/javascript'> var a = " . $navbits[firstelement] . "; var b = ". $navbits[midelement] . "; var c = " . $navbits[lastelement] "; </script>"; |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|