The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
What is wrong with this query?
I'm trying to custom write a user title color hack and I almost got it... However when the page loads online and I update the settings for some reason it's not making changes to the database row in the user table which is called titlecolor.
// ############################### Edit Title Color ############################### if ($_REQUEST['do'] == 'edittitlecolor') { $templatename = 'titlecolor'; } // ############################### Update Title Color ############################### if ($_POST['do'] == 'updatetitlecolor') { globalize($_POST, array('titlecolor' => STR)); // Support tags HTML grog6 $titlecolor = strip_tags($titlecolor); $DB_site->query(" UPDATE " . TABLE_PREFIX . "user SET titlecolor = '" . addslashes($titlecolor) ."' WHERE userid = $bbuserinfo[userid] "); echo "titlecolor"; $url = "usercp.php?$session[sessionurl]"; eval(print_standard_redirect('redirect_updatethank s')); } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|