The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
including templates with a product
This may be a dumb question, but it's the last thing I'm trying to figure out for this little hack I'm working on.
As part of my product, I want to include one change to a calendar template. I can create the new template as part of MASTER STYLE and associate it with the product, but how do I make sure the end user ends up with it enabled? It is a replacement for calendar_showeventsbit. Once I get this together I'll post it for you all to pick apart. |
#2
|
||||
|
||||
I'm also having problems whith templates.
I'm creating a product addon ti which belong some templates. But when I try to export the product, the templates won't be includes in the product-XML. I checked the templates, and the all belong to the product "vBulletin" instead of my own product. This happens although I create the template and assign it to the product. But when I open the template after its creation, it belongs to vBulletin instead of my product!? How can I make a template to be stuck on my product and not switch back to vB?? |
#3
|
|||
|
|||
Edit your template again and set it to your product.
|
#4
|
||||
|
||||
Quote:
And if I create a new template and set the product to MyProduct, it will be stored for the product vBulletin, no matter what I selected... |
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
Hm ... things can be so easy!
Thanks. //EDIT: OK, doesn't seem to be so easy at all. I activated the debug mode, but I still can't change a template's product assignment, and I still can't create a template belonging to a different product than vBulletin. I can select my Plugin's name from a dropdown box, but the product will change back to vBulletin after saving. I gave my Product a name beginning with "vB". This should not be an issue, since you just are not allowed to let the Product ID begin with "vB2, but not the title. Also, I checked it with another Product named "test", and the Style manager won't "remember" the product assignment, too. Does anybody know the reason for this strange behaviour? |
#7
|
||||
|
||||
//EDIT 2:
OK, I figured it out: I have to create the new templates in the MASTER-STYLE. |
#8
|
||||
|
||||
All Templates, Phrases, Settings must be created in the MASTER set if you want to include them with your product.
|
#9
|
|||
|
|||
if i am modifying existing templates for my product, and modify the master set templates, will importing my product completely over-write the existing forum's templates?
it seems like this would be the case. as such, is there another way to provide these changes or do i basically have to explain the detailed template modification instructions (ie find this line: $attachoption. insert this code after line: ... )? |
#10
|
|||
|
|||
For modifications you will need to write instructions yes.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|