The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Updating language table for cached phrases
Ok, I've written a short PHP script that runs on my hourly system cron and updates a phrase in the global phrase group. It works just fine... The problem is that there is a cached value for the phrase in the language table in the "phrasegroup_global" field. There's also a couple hundred other phrases in there and I'm really not sure how to "update" this cache. Any help on how to trigger the update on the language table when I update the value of the phrase with my script?
EDIT: Found it. Nm! require_once('/forum/includes/adminfunctions_language.php'); build_language(-1); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|