The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Create Custom Phrase Types
I'd like to be able to add my own phrase groups... Could someone please come up with something that would make this possible? Adding it in manually via phpMyAdmin doesn't work. Gives errors in the admincp.
Please & thank you. |
#2
|
||||
|
||||
It does work, if you are executing the correct queries
Take a look at add_phrase_type() in includes/adminfunctions_language.php. Unfortunetely there is no GUI to add Phrase Types. There was a Hack for vB 3.0.X to do so, but AFAIK it has not been ported yet. |
#3
|
||||
|
||||
Well, I mean just entering it in directly to the rows. Not through queries or anything. I just inserted a new row. Didn't work. I also tried changing one of the rows that said reserved. Didn't work. >_<;
|
#4
|
||||
|
||||
As said, you must use the apropriate Queries.
Take a look at the function I mentioned. |
#5
|
||||
|
||||
Well, I don't know what any of that means... so that means someone needs to make something for me to use. =D
|
#6
|
||||
|
||||
This is most likely not gonna happen (too soon)
So if you want custom Phrase Types, you'll have to look at the code. |
#7
|
||||
|
||||
newfilename.php
PHP Code:
|
#8
|
||||
|
||||
It's not working...
Fatal error: Call to a member function on a non-object in /home/???/domains/???/public_html/pp/admincp/create_new_phrase.php on line 12 |
#9
|
||||
|
||||
Sorry I had a typo on the add_phrase_type line near the end
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#10
|
||||
|
||||
No, the cause of the error is that your code is for 3.0.x, not 3.5.0.
Here's your code changed for 3.5.0: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|