The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I developed a custom page and I am thinking to use the build-in phrase-system from Vbulletin for all the texts that will be displayed in my custom page. In order to add a phrase to an existing group of phrases you need to go to "ACP >> Languages & Phrases >> Phrase Manager >> Add New Phrase". The problem is that I would like to keep things organized. Is it possible to have my own custom phrase group ? Or perhaps there is an already existing group used for custom phrases ? (unfortunately, I listed all the phrases from VB and I did not found anything like this, but I was thinking that it could not hurt to ask) Regards, Razvan M. |
#2
|
||||
|
||||
![]()
Turn on Debug Mode, and see what happens
![]() |
#3
|
|||
|
|||
![]()
But I am working with DEBUG mode ON !
![]() What should I look for ? |
#4
|
||||
|
||||
![]()
When debug mode is on you are then able to create Phrasegroups
|
#5
|
|||
|
|||
![]()
I attach a screen shot of my "language manager" and "phrase manager". There is no option to create "phrase groups".
Where exactly must I look for the option to create "phrase groups" ? |
#6
|
|||
|
|||
![]()
Anybody else ?
|
#7
|
|||
|
|||
![]()
I can't find it either, where i should add a custom phrase group. I also have put debug mode on.
|
#8
|
|||
|
|||
![]()
Is this possible or not ?! I looked at the damn options 100 times. There is no option to create phrase groups. If this is not possible please don't suggest that the debug mode will allow me to do this.
Instead of loosing time, I would be looking for alternatives. |
#9
|
||||
|
||||
![]()
It is possible, but there is no GUI for doing that.
1) Create a new entry in table phrasetype (editrows=3, special=0) 2) Add a new field phrasegroup_fieldname to table langage (MEDIUMTEXT NULL) |
#10
|
|||
|
|||
![]() Quote:
Thank you for providing this information. Now my project will be a bit better organized. Regarding the procedure of adding a custom phrase group: I don't think that the Vbulletin team choosed the best solution in this case. I mean, adding a new phrase group is an operation that many plugin developers might want to do. It should involve inserting some rows in some tables, not ALTERING tables in order to add new columns. I certainly hope that they will change this design in the future. Regards, Razvan M. NB: These are the SQL commands that I used to create a new phrase group: Code:
insert into ro_phrasetype (fieldname, title, editrows, product, special) values ('diggplugin', 'Digg style plugin', 3, '', 0); ALTER TABLE ro_language ADD phrasegroup_diggplugin MEDIUMTEXT AFTER phrasegroup_infractionlevel; |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|