PDA

View Full Version : Code to alter the text of a phrase?


JamesAB
11-17-2008, 02:59 AM
I've done some reading and searching, but I haven't found the answer to this yet.

I manually added a global phrase in the AdminCP named testing123
Now I'd like to write some code that will change the text of my phrase testing123

Is there a built-in vBulletin function to use for changing the text of an existing phrase?
Or will I need to do a mySQL query to set the text of the phrase?

I understand that after the value is changed, I'll need to call:

build_language(-1)

Any help or advice would be appreciated.

Thanks,
James