The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
A little quetion with bug problems
How do i create codes like $forumbit etc.
And how do i set them into templates who i create myself? (my english is bad!) |
#2
|
|||
|
|||
Bits are hard to work with but assign variables in phpinclude like so:
Code:
$somevar = "something"; |
#3
|
||||
|
||||
Just to help, here's the papi mod. It will make coding phpinclude mods way easier:
http://www.vbulletintemplates.com/mo...highlight=PAPI |
#4
|
|||
|
|||
I've been working on PAPI recently and made it more swissarmyknifelike, about to release it in final form
|
#5
|
||||
|
||||
And I'll do some mods with it. I've never done much with phpinclude so I'll get used to the normal code before papi.
|
#6
|
|||
|
|||
Quote:
PHP Code:
|
#7
|
|||
|
|||
Ah, but with PAPI that mess becomes:
Code:
eval(makeevaltemplatecode("stickbox", "newreply_stickbox")); |
#8
|
||||
|
||||
PAPI certainly is a great feature
|
#9
|
|||
|
|||
Quote:
|
#10
|
|||
|
|||
Without PAPI it's what Tyreäl posted.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|