The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
VBExperience 4 - allow variables everywhere
Hi there,
I'm pretty proficient with HTML, PHP and MYSQL but I have never dabbled with vBulletin plugins / products. I would like to use variables from VBExperience such as user points everywhere on my forum. I know that this variable isn't registered in the header template so I know I'll have to change some PHP but every attempt I make fails and nothing shows up. I would like the logged in users points to be visible in the header template. Some explanation of how variables and templates work would be a great start, I don't expect to be spoon fed. Thanks! |
#2
|
||||
|
||||
Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.
Although you can read through this article, https://vborg.vbsupport.ru/showthread.php?t=228078 |
#4
|
|||
|
|||
Quote:
HTML Code:
{vb:raw bbuserinfo.xperience} Is there a way to list all variables within bbuserinfo? |
#5
|
||||
|
||||
create a plugin using the global_complete hook
with: PHP Code:
|
#6
|
|||
|
|||
And in case you don't want to use a hook or plugin, you can do it in a template as well:
PHP Code:
|
#7
|
|||
|
|||
Thats fantastic! Really valuable information thanks a lot!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|