![]() |
to bad it's such a pain to paste all the text in google cause i cant read german :(
|
LOL. Don't think that I do. You just have to figure it out by trial and error. So far, the release builder, the phrase type manager, the add phrase, the product builder which inserts the entire database queries for you in your product are my favorites
|
Wooo hooooo. New toys.
Thanks for the pointer. -- hugh |
Using what SirAdrian has in his SVN, I wrote a layer to make it work with plugins and (I think) didn't break anything with the template editing, though I'm only using one style so it's difficult to test thoroughly. There are likely a few bugs in it, so I could use some help testing it.
I can post it here if SirAdrian doesn't mind. |
What would be awesome for it to do, is work how the release builder / devtools does.
When you export your product (in this case style), it creates the appropriate XML from the templates listed on the file system. for theme dev, you would have something like.. ForumRoot / ThemeDev / MyThemeName / Templates ForumRoot / ThemeDev / MyThemeName / CSS ForumRoot / ThemeDev / MyThemeName / Whatever and if you wanted to change/update/modify the postbit template, you create in the Templates directory postbit.tpl and add the appropriate template information. The plugin would then pick this new template file up and use it over the default master postbit. |
Quote:
From here you have two options, Export an existing template (Requires chmod'ing files / directories)
Create New Template style for modifcation.
Adding new Modifications to your style.
The Screenshots attached should show you a little bit of what to look for. I'm looking through and seeing how i can hack CSS support that it would write out a CSS file that can be imported in some fashion back to the database. |
For off-line template editing and more you can check vBProductManager development environment. One screenshot from program's help file:
https://vborg.vbsupport.ru/external/2009/02/13.png Cheers |
Hey Guys,
I have been doing a ton of vBulletin mods lately and not having this stuff fully implemented is killing me, so I will be further developing this ASAP. The new system I'm working on has two components: 1) Runtime loading of project data (templates, plugins, phrases, etc.) 2) Product XML builder - probably with CLI support and Web support There will be a ./projects directory, and each project is a directory under it. Project folders will contain a templates, plugins, phrases, etc. dir for the relevant content. A lot of it will be taken from what I had in SVN, and some new. I am taking a different approach on the runtime component: instead of checking for changes and rebuilding everything, I'm just loading it into memory so nothing ever gets imported into the database. After a lot of thinking, I have concluded that it's not necessary and is going to cause way too much overhead for larger projects. On a side note, I will not be using SourceForge for the new code - it will be on a public git (github) repo instead. |
I wish this could work on vb4, tried it, but no luck!
|
All times are GMT. The time now is 07:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|