Quote:
Originally Posted by Andreas
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)
|
It is working !!! I just created a new phrase group called "Digg style plugin" and inside this phrase group I created a phrase "test_hello" ! Please take a look at the attached picture.
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;