The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
help with vb3 mod ....database problems
i have a small script that i wrote.....
the purpose : to allow my moderators to turn on and off a banner on my main page ....... im using a phrase named livechat ...... and a conditional on the main page checking to see if livechat = on and if so show banner. works fine if i change it from the phrase manager . however if i change the value of livechat with this . Code:
$text="off"; $query = "UPDATE phrase SET text = \"$text\" WHERE varname = 'livechat'"; $result= mysql_query($query) or die ("$admtext[cannotexecutequery]: $query"); and i can change back by just changing the value of $text...... however the conditional im using on the main page does not see the change unless i use the phrase manager to do so ..... what is going on ........ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|