Quote:
Today at 06:15 AM Oblivion Knight said this in Post #26
I'm expecting that should be replace instead of add after, since there'd be no reason for wanting 2 instances of warnlink, and your code seems to add a <br> already.
|
Yearh, it should be...fixed it...
Quote:
Also.. I wouldn't recommend doing this step:
Code:
1. OPEN admin/template.php
FIND AND REMOVE:
---------------------------------
// +++++++ Warning Hack 2.0 [ g-force2k2 ] +++++++
$only['warn'] = 'Warning System Hack';
// +++++++ Warning Hack 2.0 [ g-force2k2 ] +++++++
---------------------------------
CLOSE admin/template.php
Since it leaves the templates without a category in the Default templates..
|
Again, my preferences seem different than those of others...I like it without...so I added a note saying that part is optional.
Finally, anyone who ran the upgrade before this post, please run this query, which I seemed didn't paste into the final upgrade file....but I'll do that now.
Code:
DELETE FROM template WHERE title IN('warn_warnlink','warn_viewlink','warn_userinfo','warn_show_warn','warn_show','warn_seelink','warn_redirect_warnsuccess','warn_redirect_userban','warn_pmyes','warn_pmno','warn_pmemail_subject','warn_pmemail_notify','warn_listing','warn_list','warn_Getinfo_warning','warn_error_whywarnself','warn_error_noexist','warn_error_nowarnings','warn_error_noaccess','warn_error_maxwarnlimit','warn_error_emptyreason','warn_error_cantwarngroup','warn_banemail_subject','warn_banemail_notify','warn_add');
*sigh* Screw the wicked...there is no peace unto me...