Quote:
Originally Posted by louis_chypher
FYI:
Age Lock - Global Setup
changed:
PHP Code:
$agelock_qry = $db->query_first("SELECT * FROM forum WHERE forumid='".$fid."'");
To:
PHP Code:
$agelock_qry = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "forum WHERE forumid='".$fid."'");
The query in the global_start hook did not have the TABLE_PREFIX included in the query making the modification fail on my board. With the change as indicated above the modification now works. For Ver 3.5.X
Thank you very much. I NEEDED this!
|
What program do I use to edit an xml file?
Notepad worked.