The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Can plugins or products create phrases?
Is it possible for a plugin or product to create a phrase? If it is, could you point me to some docs or code?
Thanks, Nick |
#2
|
||||
|
||||
Well, I'm pretty sure the answer is "yes."
Create a phrase, and assign it to whatever product you wish. And when you export the product, it should add the phrase information in the XML file. When you import the XML file, it should create the phrase for you. |
#3
|
||||
|
||||
You're right! That was much easier than I thought!
Thanks, mate. |
#4
|
||||
|
||||
If you haven't already, enable debug mode. You will see many other options (e.g. creating option groups).
|
#5
|
||||
|
||||
Quote:
I don't really understand what you're referring to when you say "many other options (...)". Would you mind explaining in a bit more detail? |
#6
|
||||
|
||||
Go into vBulletin Options. You'll see "Create Settings Group". Go into the Style Manager. You'll see the Master Style.
Etcetera |
#7
|
||||
|
||||
Hey Dismounted. In vBulletin Options > vBulletin Options, I don't see anything titled "Create Settings Group".
Also, I'm not sure what you're suggesting I do in Styles & Templates > Style Manager. Thanks, Nick |
#8
|
||||
|
||||
Are you sure you have Debug Mode enabled? How are you doing it?
I'm just illustrating what debug mode reveals - you can do whatever you want. |
#9
|
||||
|
||||
Quote:
PHP Code:
Quote:
Cheers, Nick |
#10
|
||||
|
||||
Basically, what Dismounted was saying, is if you want to export template edits with the product, you have to add it to the master style. The only way to see/edit the master style is with debug mode ON. So it's just one more advantage you have with the debug mode ON.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|