Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 18 Aug 2012, 16:10
xrvel xrvel is offline
Join Date: Jul 2011
Question Adding row to setting table, but not loaded on $vbulletin

I am trying to do manual data insertion to setting table using manual query ($vbulletin->db->query_write() ), for example the varname is "something", the row is inserted correctly (confirmed from phpmyadmin that that row is inserted).

But when i run this code on some hooks

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That varname isn't there.

How to load "manually inserted" option into $vbulletion->options ?

Update: nvm, after i check adminfunctions_options.php, it seems i have to call build_options() everytime i write / update the setting row.
Hi there !

Last edited by xrvel; 18 Aug 2012 at 16:45.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 19:24.

Layout Options | Width: Wide Color: