![]() |
Language and Template Mod installations
Hey guys. I was wondering if anyone could help me with this:
First off, I have had conflicting information regarding the creation of phrases (mostly phrasegroups) in modifications. The most frequent problem is that the very first time the phrases in my installs are, erm, installed - they do not seem to get built even calling build_language(); - that means the first time installed - the user frequnetly has to edit a phrase and then save it in order to have the phrasegroup built. I was told that I was inserting into languageid 0 and I should be installing into languageid -1. I changed over to that only to find that since its the master language, the phrases are wiped out after a vb upgrade. What is the actual process for creating and building a phrasegroup? Here is what I do (pseudocode): PHP Code:
Whenever I upgrade vb, I can count on random templates vanishing for no reason whatsoever. This is not isolated to my mods, but several others as well (all of my vBa installs are prone to this). Anyway to prevent that from happening? Thanks guys |
For my phrasegroups and phrase I do so :
I insert phrasetype this way : PHP Code:
Then add phrase this way : PHP Code:
And after all phrases added : PHP Code:
For templates, maybe it's due to the removal of custom templates in MASTER style during vb upgrade. I asked Jelsoft to allow custom template to be kept during upgrade, I'm waiting for the answer :). |
THanks for that... ill give it a go.
|
All times are GMT. The time now is 06:22 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:
|