Quote:
Originally Posted by Lynne
Add this at the top of your config.php file right under <?php :
HTML Code:
$config['Misc']['debug'] = true;
I would suggest only doing this on your test site, or putting a condition around that to only show it to your IP.
|
Thanks for that, i don't have a test site and i think it will be ok as it will only be for a few minutes
--------------- Added [DATE]1244483578[/DATE] at [TIME]1244483578[/TIME] ---------------
Lynne, could you tell me which hook i should use for the plugin?
Hooks Called:
init_startup
fetch_userinfo_query
style_fetch
cache_templates
global_start
parse_templates
notifications_list
global_setup_complete
I have this line to remove from the count:
PHP Code:
if (in_array($foruminfo['forumid'], array('52'))) {
$db->query_write("UPDATE vb_user SET ctoptip = ctoptip -1 WHERE userid=" . $vbulletin->userinfo['userid'] . " and ctoptip > 0");
--------------- Added [DATE]1244485448[/DATE] at [TIME]1244485448[/TIME] ---------------
The above were the hooks called prior to me choosing soft or permanent delete!