vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/showthread.php?t=71992)

sv1cec 11-20-2004 10:00 PM

Advanced Warning System (AWS)
 
Advanced Warning System Version 3.5.0

The AWS version for vB 3.5 has been released. You can download it and get support in this thread:

https://vborg.vbsupport.ru/showthread.php?p=770032


Advanced Warning System Version 3.4.16 (latest stable release for vB 3.0.x)


LATEST ANNOUNCEMENT

The AWS has its own Premium Forum here at vBulletin.org, so please use that for questions and discussion on this hack.

The Permium Forum is located at :

https://vborg.vbsupport.ru/forumdisplay.php?f=105





This Warning System owes its existence to Zero Tolerance's Warning Hack (https://vborg.vbsupport.ru/showthread.php?t=65336). I liked the idea, so I installed Zero's hack in my forums site. However, as in most cases, I was not fully satisfied with the way it worked, so I started customizing it. Other people in the thread above, asked questions, which I had already answered by my customizing work, so I answered, giving away those parts of the code, that I had modified.

In the long run, I almost hijacked the thread and the hack from Zero, so I guess I owe him an apology. However, the mods I did have compiled a new, more complete warning system, with much more functionality. Several members from that thread, asked if this could be released as a new hack, so after discussing it with Zero, here it is.

What it does? Well, it is a Warning System, which means it allows you (the administrative team of your site, in other words the admins, the supermods and the mods), to define offences, which the members of your forum should NOT commit. But as we all know, there are instances where members do not follow the rules. In that case, this warning system, allows you to issue a warning to the member who commited the offence. The warning has some points associated with it, as well as a period over which it is valid. When a member gathers enough points, he is banned from your forums, for a predefined period of time. That's mostly it, but below, you can find a short list of features:

Full warning system with:

- post- and non-post-related warnings
- hierarchical warning schema
- hidden or real warners
- customizable maximum warning points
- automatically bans members who reached the maximum warning points
- customizable ban days
- customizable ban user group and permanent ban user group
- customizable restore user group, where users are restored after they get unbanned
- customizable option for who can see the warning level of the members
- automatically issued warnings for posts which contain censored words
- automatically issued warnings for private messages which contain censored words
- supports incremental banning periods
- supports multiple warnings for the same post
- warned members are notified either by Private Message or e-mail when they are warned and when one of the warnings they have received is either deleted or expired
- maintains historical listings of issued warnings (even if deleted or expired)
- customizable warning types
- each warning type has predefined warning points associated with it
- each warning type has predefined maturity period, after which it is automatically deleted
- reports for admin, mods and members
- cron job included to automatically remove matured warnings
- uses vBulletin's cron job, to automatically unban banned users
- all options are setable in your AdminCP
- user warning points and number of bans viewable in your AdminCP User Manager.
- statistics show warning per type, warnings per warner, bans per user.
- Allows you to warn a user from your AdminCP/User Manager.
- Large "Warn" sign, in posts which have received a warning, for mods, supermods and admins, to easily distinguish those posts.
- Ability to remove user's avatar, signature or usage of the Private Messaging system, depending on the warning points he has collected.
- Supports non-standard admins, supermods and mods user groups.
- Allows you to save a copy of the warning send to the warned user, in a predefined forum.
- Allows you to issue "Alerts" (warnings without warning points, for first-time offenders)
- Allows you to add private or public notes for a user, either post-specific or not. Notes appear in the postbit, above each user's message.
- etc.

Admitedly, this is not an easy hack to install. It requires 20 new templates and modifications to some existing ones too. It requires five new tables and modifications to some others. It requires several new phrases. I've tried to make the installation, as easy as I could, by automating certain tasks in an automatic installer. The installer will add the new templates for you, add the new tables required and change the existing ones, and will add the required new phrases. You will have to manually edit the existing templates and the php files though. I also included an upgrade script, which will upgrade those who are using Zero Tolerance's warning hack (version 1.5) to this one. An uninstaller is also included, which removes what the installer installs.

Please keep in mind, that this is a very difficult hack to install. For this reason, I strongly recommend that you back up your database before starting the installation. I also suggest that you keep copies of each file and template you edit, so that you can always revert to a previous stable condition. Finally, I strongly suggest that you always run the latest release.

The zip file always contains both the instructions and the files required to install the latest version. If you have installed a previous version and want to upgrade to the latest, there is a text file attached, in the zip with upgrade instructions. Follow them.

In this thread, you will also find a more detailed document describing the features of this hack, as well as a document describing its version evolution.

Also keep in mind that the installer, will add the AWS templates only to your default style. If you want to use them in another one, you may try this Zero Tolerance's hack, which copies the templates to other styles you may have.

Another thing, the installation instructions were written when vB was at release 3.0.3, so you may expect to find some differences, with the latest files and templates. As far as I can tell, I haven't faced any such case, but I post this reservation here, since I do not have the time to recheck all the instructions for compliance with the latest vB release. The hack has been installed and is working fine with the vBulletin version shown at the top of this thread.

Finally, if you are using more than one style, the installer will install the templates only in the default one. If you want to use the rest of your styles, here is a hack, that will do this for you.

This hack can also be integrated with Zero Tolerance's vBChat. However, since I am using a heavily-modified version of vBChat, I haven't included instructions, on how to patch the original vBChat files, in the documentation. If you are interested in having AWS issue automatic warnings when one of your user enters a censored word in a vBChat message, or if you want your moderators to be able to warn a user, who misbehaves in vBChat, please post a thread in this forum and I'll help you through.

This is my first officially released hack, so please don't be to harsh with me, if I broke any rules or made any mistakes. The mods have been tested extensively, both by me and two volunteers (thank you gentlemen), but I am only human.

Closing, let me thank Zero Tolerance, who got me started in this, and who owns a big part of the code of this hack. I definnitely couldn't have done it, without his code.

Special Note
For those who upgrade from Zero Tolerance's hack to my AWS, even though I have included a script which will do some of the work automatically, not everything is done by that script. Read the installation instructions carefully. You have to run the upgrade script first and then do several things manually. If you just run the upgrade script and just upload the files, the AWS will not work properly. If you have any questions, please do not hesitate to post here.

Also, let me add here, that version 3.3.0 wouldn't have been possible without the contribution of Revan.

And a couple of warnings:

PLEASE DOWNLOAD THE LATEST ZIP FILE FROM HERE, BEFORE YOU START INSTALLING THIS HACK. JUST BECAUSE YOU DOWNLOADED IT A COUPLE OF DAYS AGO, THAT DOES NOT MEAN IT IS THE LATEST VERSION. MAKE SURE YOU DOWNLOAD THE ZIP, JUST BEFORE YOU START INSTALLING THIS HACK.


LATEST VERSION

Version 3.4.16 (released Thursday August 25th, 2005 GMT 18:18)

A couple of bugs fixed in this version. One is related to the Notes feature, and it allowed plain users to see the notes entered, if the "Who can view warning points" setting was set to "All".

Features.txt a new version of this file has been uploaded on April 4th2 005 GMT 09:30, which covers the latest additions to the hack. The original Features.txt file hasn't been updated since the first release of this hack, so it was time for an update.

John

MindTrix 11-21-2004 11:14 AM

Looks nice, well done. I need something like this because i think i need to get firmer on my members, their just going awall lol. So you can define via usergroups who can give warnings etc?

alkatraz 11-21-2004 12:14 PM

awesome !
thx

jluerken 11-21-2004 01:08 PM

Great hack, many thanks.

1. How can I use the installer to add the templates to another than the default skin?

2. Is there an uninstall function?

burrelly 11-21-2004 01:36 PM

Parse error: parse error in /home/virtual/site5/fst/var/www/html/admincp/upgrade_warn.php on line 41

sv1cec 11-21-2004 01:43 PM

Quote:

Originally Posted by MindTrix
Looks nice, well done. I need something like this because i think i need to get firmer on my members, their just going awall lol. So you can define via usergroups who can give warnings etc?

The three usergroups which can warn, are the admins, supermods and mods. If you use the hierarchical schema, the mods can warn the users, the supermods can warn users and mods and the admins can warn everybody. No same-level warning allowed, in other words a mod cannot warn another mod.

sv1cec 11-21-2004 01:47 PM

Quote:

Originally Posted by jluerken
Great hack, many thanks.

1. How can I use the installer to add the templates to another than the default skin?

2. Is there an uninstall function?

I do not know about additional skins, sorry, I do not have any other skin in my forums site, so I have no idea. I'll check with Zero Tolerance if he can help us out on this.

And sorry, no uninstaller. You can delete the tables and all templates starting with "warn" but the phrases, the existing templates and the files have to be reverse-edited.

Rgds

burrelly 11-21-2004 01:49 PM

That error is from the upgrade script!

If i remove the } on line 41 it does the template addition by get data base errors when it tried to run the sql queries

jluerken 11-21-2004 01:52 PM

Quote:

Originally Posted by sv1cec
I do not know about additional skins, sorry, I do not have any other skin in my forums site, so I have no idea. I'll check with Zero Tolerance if he can help us out on this.
Rgds

Ok, would be nice. Actually this hack can only be used with my default skin but I am running 3 others also :D

burrelly 11-21-2004 01:52 PM

Database error in vBulletin 3.0.3:
Invalid SQL: delete from template (title>='warn' AND title<'warn_z')
mysql error: You have an error in your SQL syntax near '(title>='warn' AND title<'warn_z')' at line 1
mysql error number: 1064
Date: Sunday 21st of November 2004 03:52:21 PM
Script: http://www.mysite.com/admincp/upgrade_warn.php
Referer: http://www.mysite.com/admincp/upgrade_warn.php
Username: Burrelly

burrelly 11-21-2004 02:03 PM

Are there any file updates for the upgrade?

Help file doesent tell you what ones to use for the upgrade!!

sv1cec 11-21-2004 02:39 PM

Quote:

Originally Posted by burrelly
Are there any file updates for the upgrade?

Help file doesent tell you what ones to use for the upgrade!!

Please download the new zip, I've corrected the mistake in the upgrade script.

What do you mean file updates? If you are refering to the php files, and the standard templates, you will have to undo them yourself.

Sorry, that's the best I can do for the upgrade. Creating an uninstall script for Zero's hack is not something I will do right now.

Rgds

burrelly 11-21-2004 02:54 PM

Database error in vBulletin 3.0.3:
Invalid SQL: insert into warnings values('','5','1','1101055996','You Have Been Warned!','504','2')
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
Date: Sunday 21st of November 2004 04:53:16 PM
Script: http://www.mysite.com/Warn.php
Referer: http://www.mysite.com/Warn.php?do=Wa...&id=5&post=504

When i try to warn members using the link above the users posts!

Warning: Invalid argument supplied for foreach() in /home/virtual/site5/fst/var/www/html/includes/functions.php on line 1815

When i try to warn using link at top of profile

jluerken 11-21-2004 02:59 PM

Quote:

Originally Posted by sv1cec
Please download the new zip, I've corrected the mistake in the upgrade script.

What do you mean file updates? If you are refering to the php files, and the standard templates, you will have to undo them yourself.

Sorry, that's the best I can do for the upgrade. Creating an uninstall script for Zero's hack is not something I will do right now.

Rgds

Ok here is a way to add the template to other styles.
I used PHPMyAdmin to do so:

PHP Code:

INSERT INTO vb3_template VALUES (3646,7,'warn_addwarn','<form action=\\\"Warn.php\\\" method=\\\"post\\\">\r\n<input type=\\\"hidden\\\" name=\\\"do\\\" value=\\\"DoWarnUser\\\">\r\n<input type=\\\"hidden\\\" name=\\\"id\\\" value=\\\"{$_GET[\'id\']}\\\">\r\n<input type=\\\"hidden\\\" name=\\\"post\\\" value=\\\"{$_GET[\'post\']}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"2\\\">Warning User $user[username]<div class=\\\"smallfont\\\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">User Info:</td>\r\n    <td class=\\\"alt1\\\">\r\n\r\n<a href=\\\"member.php?u=$_GET[id]\\\"  onclick=\\\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n\" . (($user[warning_level]>0) ? (\"\r\n<Font color=\\\"red\\\">User Current Warning Level: {$user[\'warning_level\']}</font> \r\n\") : (\"\")).\"\r\n\" . (($user[warning_bans]>0) ? (\"\r\n<Font color=\\\"red\\\"> - User Number of Bans: {$user[\'warning_bans\']}</font>\") : (\"\")).\"<br />\r\n\r\n\" . (($user[warning_level]>0) ? (\"\r\n<a href=\\\"Warn.php?do=ViewWarnings&id=$user[userid]\\\"  onclick=\\\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">View Existing Warnings for $user[username]</a>\r\n\") : (\"\")).\"\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt2\\\">Warned Post:</td>\r\n    <td class=\\\"alt2\\\">\r\n\r\n<a href=\\\"showthread.php?p=$_GET[post]\\\" onclick=\\\"window.open(\'showthread.php?p=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">Review Warned Post, Post ID: $_GET[post]</a>\r\n\r\n\" . (($warning_multiwarns1<>\'\') ? (\"\r\n<br><Font color=\\\"red\\\">$warning_multiwarns1</font><br>\r\n<A HREF=\\\"Warn.php?do=ViewPostWarnings&post=$_GET[post]\\\"  onclick=\\\"window.open(\'Warn.php?do=ViewPostWarnings&post=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">$warning_multiwarns2</a>\") : (\"\")).\"</td>\r\n\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">Warning Selection:</td>\r\n    <td class=\\\"alt1\\\"><select name=\\\"warningid\\\" class=\\\"smallfont\\\">\r\n        <optgroup label=\\\"Choose A Warning\\\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt2\\\">\r\n        Moderator Comments:</td>\r\n    <td class=\\\"alt2\\\"><input type=\\\"text\\\" name=\\\"comment\\\" size=\\\"50\\\" class=\\\"bginput\\\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"tfoot\\\" align=\\\"center\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\" Add Warning \\\" class=\\\"bginput\\\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','<form action=\"Warn.php\" method=\"post\">\r\n<input type=\"hidden\" name=\"do\" value=\"DoWarnUser\">\r\n<input type=\"hidden\" name=\"id\" value=\"{$_GET[\'id\']}\">\r\n<input type=\"hidden\" name=\"post\" value=\"{$_GET[\'post\']}\">\r\n<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"2\">Warning User $user[username]<div class=\"smallfont\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">User Info:</td>\r\n    <td class=\"alt1\">\r\n\r\n<a href=\"member.php?u=$_GET[id]\"  onclick=\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n<if condition=\"$user[warning_level]>0\">\r\n<Font color=\"red\">User Current Warning Level: {$user[\'warning_level\']}</font> \r\n</if>\r\n<if condition=\"$user[warning_bans]>0\">\r\n<Font color=\"red\"> - User Number of Bans: {$user[\'warning_bans\']}</font></if><br />\r\n\r\n<if condition=\"$user[warning_level]>0\">\r\n<a href=\"Warn.php?do=ViewWarnings&id=$user[userid]\"  onclick=\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">View Existing Warnings for $user[username]</a>\r\n</if>\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt2\">Warned Post:</td>\r\n    <td class=\"alt2\">\r\n\r\n<a href=\"showthread.php?p=$_GET[post]\" onclick=\"window.open(\'showthread.php?p=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">Review Warned Post, Post ID: $_GET[post]</a>\r\n\r\n<if condition=\"$warning_multiwarns1<>\'\'\">\r\n<br><Font color=\"red\">$warning_multiwarns1</font><br>\r\n<A HREF=\"Warn.php?do=ViewPostWarnings&post=$_GET[post]\"  onclick=\"window.open(\'Warn.php?do=ViewPostWarnings&post=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">$warning_multiwarns2</a></if></td>\r\n\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">Warning Selection:</td>\r\n    <td class=\"alt1\"><select name=\"warningid\" class=\"smallfont\">\r\n        <optgroup label=\"Choose A Warning\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt2\">\r\n        Moderator Comments:</td>\r\n    <td class=\"alt2\"><input type=\"text\" name=\"comment\" size=\"50\" class=\"bginput\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"tfoot\" align=\"center\" colspan=\"2\"><input type=\"submit\" value=\" Add Warning \" class=\"bginput\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3647,7,'warn_addwarn_nopost','<form action=\\\"Warn.php\\\" method=\\\"post\\\">\r\n<input type=\\\"hidden\\\" name=\\\"do\\\" value=\\\"DoWarnUserNoPost\\\">\r\n<input type=\\\"hidden\\\" name=\\\"id\\\" value=\\\"{$_GET[\'id\']}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"2\\\">Warning User $user[username]<div class=\\\"smallfont\\\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">User Info:</td>\r\n    <td class=\\\"alt1\\\">\r\n\r\n    <a href=\\\"member.php?u=$_GET[id]\\\"  onclick=\\\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n\" . (($user[warning_level]>0) ? (\"\r\n<Font color=\\\"red\\\">User Current Warning Level: {$user[\'warning_level\']}</font>\") : (\"\")).\"\r\n\" . (($user[warning_bans]>0) ? (\"\r\n<Font color=\\\"red\\\"> - User Number of Bans: {$user[\'warning_bans\']}</font>\") : (\"\")).\"\r\n<br />\r\n\r\n\" . (($user[warning_level]>0) ? (\"\r\n<a href=\\\"Warn.php?do=ViewWarnings&id=$user[userid]\\\"  onclick=\\\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">View Existing Warnings for $user[username]</a>\r\n\") : (\"\")).\"\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">Warning Selection:<br><div class=\\\"smallfont\\\">(not post-related)</div></td>\r\n    <td class=\\\"alt1\\\"><select name=\\\"warningid\\\" class=\\\"smallfont\\\">\r\n        <optgroup label=\\\"Choose A Warning\\\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt2\\\">\r\n        Moderator Comments:<br><div class=\\\"smallfont\\\">(Please be very specific, since no offensive<br>item is linked to this warning.)</div></td>\r\n    <td class=\\\"alt2\\\"><input type=\\\"text\\\" name=\\\"comment\\\" size=\\\"50\\\" class=\\\"bginput\\\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"tfoot\\\" align=\\\"center\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\" Add Warning \\\" class=\\\"bginput\\\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','<form action=\"Warn.php\" method=\"post\">\r\n<input type=\"hidden\" name=\"do\" value=\"DoWarnUserNoPost\">\r\n<input type=\"hidden\" name=\"id\" value=\"{$_GET[\'id\']}\">\r\n<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"2\">Warning User $user[username]<div class=\"smallfont\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">User Info:</td>\r\n    <td class=\"alt1\">\r\n\r\n    <a href=\"member.php?u=$_GET[id]\"  onclick=\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n<if condition=\"$user[warning_level]>0\">\r\n<Font color=\"red\">User Current Warning Level: {$user[\'warning_level\']}</font></if>\r\n<if condition=\"$user[warning_bans]>0\">\r\n<Font color=\"red\"> - User Number of Bans: {$user[\'warning_bans\']}</font></if>\r\n<br />\r\n\r\n<if condition=\"$user[warning_level]>0\">\r\n<a href=\"Warn.php?do=ViewWarnings&id=$user[userid]\"  onclick=\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">View Existing Warnings for $user[username]</a>\r\n</if>\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">Warning Selection:<br><div class=\"smallfont\">(not post-related)</div></td>\r\n    <td class=\"alt1\"><select name=\"warningid\" class=\"smallfont\">\r\n        <optgroup label=\"Choose A Warning\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt2\">\r\n        Moderator Comments:<br><div class=\"smallfont\">(Please be very specific, since no offensive<br>item is linked to this warning.)</div></td>\r\n    <td class=\"alt2\"><input type=\"text\" name=\"comment\" size=\"50\" class=\"bginput\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"tfoot\" align=\"center\" colspan=\"2\"><input type=\"submit\" value=\" Add Warning \" class=\"bginput\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3648,7,'warn_em','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because :\r\n\r\n$warn_type[warn_desc]\r\n(Warning Type = \'$warn_type[warn_name]\') \r\n\r\nFor this violation, you have been given $warn_type[warn_points] point(s).\r\n\r\nThe post for which you are warned can be seen here:\r\n\r\n$vboptions[bburl]/showthread.php?p=$_POST[post].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n$_POST[comment]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: $level point(s).\r\n\r\nIf you reach the maximum of $warn_options[points_before_banned], you will be banned from the Forums, for $peruserbanlimit days.\r\n\r\nTo see details about all the warnings you have received, until now, please click here:\r\n\r\n$vboptions[bburl]/Warn.php?do=ViewMyWarnings\r\n\r\nPlease reply back if you have a dispute.\r\n\r\n----------------\r\n\r\n$vboptions[bbtitle] Team','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because :\r\n\r\n$warn_type[warn_desc]\r\n(Warning Type = \'$warn_type[warn_name]\') \r\n\r\nFor this violation, you have been given $warn_type[warn_points] point(s).\r\n\r\nThe post for which you are warned can be seen here:\r\n\r\n$vboptions[bburl]/showthread.php?p=$_POST[post].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n$_POST[comment]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: $level point(s).\r\n\r\nIf you reach the maximum of $warn_options[points_before_banned], you will be banned from the Forums, for $peruserbanlimit days.\r\n\r\nTo see details about all the warnings you have received, until now, please click here:\r\n\r\n$vboptions[bburl]/Warn.php?do=ViewMyWarnings\r\n\r\nPlease reply back if you have a dispute.\r\n\r\n----------------\r\n\r\n$vboptions[bbtitle] Team','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3649,7,'warn_error','<table class=\\\"tborder\\\" cellpadding=\\\"6\\\" cellspacing=\\\"1\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n    <tr>\r\n        <td class=\\\"tcat\\\">\r\n            <a style=\\\"float:right\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'forumhome_error\')\\\"><img id=\\\"collapseimg_forumhome_error\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat.gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n            <div align=\'center\'>Error</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_forumhome_error\\\" style=\\\"\\\">\r\n    <tr>\r\n        <td class=\\\"thead\\\" width=\\\"100%\\\">An Error Has Occured!</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>An error has occured, the following message has been left below:<br/><br/>{$message}</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"tfoot\\\" width=\\\"100%\\\" align=\'center\'>[ <a href=\'javascript:history.go(-1)\'>Back</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<table class=\"tborder\" cellpadding=\"6\" cellspacing=\"1\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n    <tr>\r\n        <td class=\"tcat\">\r\n            <a style=\"float:right\" href=\"#top\" onclick=\"return toggle_collapse(\'forumhome_error\')\"><img id=\"collapseimg_forumhome_error\" src=\"$stylevar[imgdir_button]/collapse_tcat.gif\" alt=\"\" border=\"0\" /></a>\r\n            <div align=\'center\'>Error</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\"collapseobj_forumhome_error\" style=\"\">\r\n    <tr>\r\n        <td class=\"thead\" width=\"100%\">An Error Has Occured!</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>An error has occured, the following message has been left below:<br/><br/>{$message}</td>\r\n</tr>\r\n<tr>\r\n<td class=\"tfoot\" width=\"100%\" align=\'center\'>[ <a href=\'javascript:history.go(-1)\'>Back</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3650,7,'warn_pm','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because: \r\n\r\n[b][i] $warn_type[warn_desc] [/i][/b]\r\n(Warning Type = $warn_type[warn_name]) \r\n\r\nFor this violation, you have been given : [b] $warn_type[warn_points] [/b] point(s).\r\n\r\nThe post for which you are warned can be seen [URL=\\\"$vboptions[bburl]/showthread.php?p=$_POST[post]\\\"]here[/URL].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n[i]$_POST[comment][/i]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: [b] $level [/b] point(s).\r\n\r\nIf you reach the maximum of [b]$warn_options[points_before_banned][/b], you will be banned from the Forums, for [b] $peruserbanlimit [/b] days.\r\n\r\nTo see details about all the warnings you have received, until now, please click [URL=\\\"$vboptions[bburl]/Warn.php?do=ViewMyWarnings\\\"]here[/URL].\r\n\r\nPlease reply back if you have a dispute.','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because: \r\n\r\n[b][i] $warn_type[warn_desc] [/i][/b]\r\n(Warning Type = $warn_type[warn_name]) \r\n\r\nFor this violation, you have been given : [b] $warn_type[warn_points] [/b] point(s).\r\n\r\nThe post for which you are warned can be seen [URL=\"$vboptions[bburl]/showthread.php?p=$_POST[post]\"]here[/URL].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n[i]$_POST[comment][/i]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: [b] $level [/b] point(s).\r\n\r\nIf you reach the maximum of [b]$warn_options[points_before_banned][/b], you will be banned from the Forums, for [b] $peruserbanlimit [/b] days.\r\n\r\nTo see details about all the warnings you have received, until now, please click [URL=\"$vboptions[bburl]/Warn.php?do=ViewMyWarnings\"]here[/URL].\r\n\r\nPlease reply back if you have a dispute.','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3651,7,'warn_redirect','<META HTTP-EQUIV=\\\"REFRESH\\\" CONTENT=\\\"1; URL={$url}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"6\\\" cellspacing=\\\"1\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n    <tr>\r\n        <td class=\\\"tcat\\\">\r\n            <a style=\\\"float:right\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'forumhome_redirect\')\\\"><img id=\\\"collapseimg_forumhome_redirect\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat.gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n            <div align=\'center\'>Redirecting..</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_forumhome_redirect\\\" style=\\\"\\\">\r\n    <tr>\r\n        <td class=\\\"thead\\\" width=\\\"100%\\\">Please Wait..</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>{$message}<br/><br/>Your browser is now redirecting you</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"tfoot\\\" width=\\\"100%\\\" align=\'center\'>[ <a href=\'{$url}\'>Click here if you are not redirected</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"1; URL={$url}\">\r\n<table class=\"tborder\" cellpadding=\"6\" cellspacing=\"1\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n    <tr>\r\n        <td class=\"tcat\">\r\n            <a style=\"float:right\" href=\"#top\" onclick=\"return toggle_collapse(\'forumhome_redirect\')\"><img id=\"collapseimg_forumhome_redirect\" src=\"$stylevar[imgdir_button]/collapse_tcat.gif\" alt=\"\" border=\"0\" /></a>\r\n            <div align=\'center\'>Redirecting..</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\"collapseobj_forumhome_redirect\" style=\"\">\r\n    <tr>\r\n        <td class=\"thead\" width=\"100%\">Please Wait..</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>{$message}<br/><br/>Your browser is now redirecting you</td>\r\n</tr>\r\n<tr>\r\n<td class=\"tfoot\" width=\"100%\" align=\'center\'>[ <a href=\'{$url}\'>Click here if you are not redirected</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3652,7,'warn_viewb_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"10\\\" align=\\\"right\\\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<tr>\r\n    <td class=\"tfoot\" colspan=\"10\" align=\"right\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3653,7,'warn_viewb_row','<tr>\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"alt1\\\"><div  class=\\\"smallfont\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></div></td>\") : (\"\")).\"\r\n    <td class=\\\"alt1\\\"><div  class=\\\"smallfont\\\" align=\\\"center\\\">\" . (($warn[warned_post]!=0) ? (\"<a href=\\\"showthread.php?p=$warn[warned_post]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Post ID<br>$warn[warned_post]<br>Review<br>Post</a>\") : (\"\")).\"\" . (($warn[warned_post]==0) ? (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Not a post-related warning\") : (\"\")).\"</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] at $warn[time]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warned_reason]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">Inactive</font>\") : (\"Active\")).\"</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warn_permban\']!=\'Yes\' AND $warn[\'warned_status\']!=\'I\') ? (\"\r\n<a href=\'Warn.php?do=RemoveWarning&id=$warn[wid]\'>Remove Warning</a>\") : (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"Non-removable Warning\")).\"</td>\r\n</tr>','<tr>\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"alt1\"><div  class=\"smallfont\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>$warn[wusername]</a></div></td></if>\r\n    <td class=\"alt1\"><div  class=\"smallfont\" align=\"center\"><if condition=\"$warn[warned_post]!=0\"><a href=\"showthread.php?p=$warn[warned_post]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Post ID<br>$warn[warned_post]<br>Review<br>Post</a></if><if condition=\"$warn[warned_post]==0\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Not a post-related warning</if></div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] at $warn[time]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warned_reason]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\">Inactive</font><else />Active</if></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warn_permban\']!=\'Yes\' AND $warn[\'warned_status\']!=\'I\'\">\r\n<a href=\'Warn.php?do=RemoveWarning&id=$warn[wid]\'>Remove Warning</a><else /><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>Non-removable Warning</if></td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3654,7,'warn_viewb_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"10\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n    <td class=\\\"thead\\\">Warned Post</td>\r\n    <td class=\\\"thead\\\">Warned Date</td>\r\n    <td class=\\\"thead\\\">Warning Type</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n        <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n    <td class=\\\"thead\\\">Comment</td>\r\n    <td class=\\\"thead\\\">Status</td>\r\n    <td class=\\\"thead\\\">Remove</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"10\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n    <td class=\"thead\">Warned Post</td>\r\n    <td class=\"thead\">Warned Date</td>\r\n    <td class=\"thead\">Warning Type</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n        <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n    <td class=\"thead\">Comment</td>\r\n    <td class=\"thead\">Status</td>\r\n    <td class=\"thead\">Remove</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3655,7,'warn_viewc_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"9\\\" align=\\\"right\\\"><a href=\\\"javascript:window.top.close();\\\"><IMG SRC=\\\"images/closeOFF.gif\\\"></A></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<tr>\r\n    <td class=\"tfoot\" colspan=\"9\" align=\"right\"><a href=\"javascript:window.top.close();\"><IMG SRC=\"images/closeOFF.gif\"></A></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3656,7,'warn_viewc_row','<tr>\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"alt1\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></td>\") : (\"\")).\"\r\n\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] at $warn[time]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n</tr>','<tr>\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"alt1\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[wusername]</a></td></if>\r\n\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] at $warn[time]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3657,7,'warn_viewc_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"9\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Viewing Warning Information For Post ID: $_GET[post]<div class=\\\"smallfont\\\">(Grey lines are inactive warnings)</div>\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n    <td class=\\\"thead\\\">Warned Date</td>\r\n    <td class=\\\"thead\\\">Warning Type</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n        <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"9\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Viewing Warning Information For Post ID: $_GET[post]<div class=\"smallfont\">(Grey lines are inactive warnings)</div>\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n    <td class=\"thead\">Warned Date</td>\r\n    <td class=\"thead\">Warning Type</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n        <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3658,7,'warn_viewtype_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"7\\\" align=\\\"right\\\">Warning limit before being banned: $warn_options[points_before_banned] points. Initial banning period: $warn_options[banned_limit] days.</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n','<tr>\r\n    <td class=\"tfoot\" colspan=\"7\" align=\"right\">Warning limit before being banned: $warn_options[points_before_banned] points. Initial banning period: $warn_options[banned_limit] days.</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3659,7,'warn_viewtype_row','<tr>\r\n    <td class=\\\"alt1\\\"><b>{$warn[\'warn_name\']}</b></td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_desc\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_points\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_maturity\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_permban\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_type\']}</td>\r\n</tr>','<tr>\r\n    <td class=\"alt1\"><b>{$warn[\'warn_name\']}</b></td>\r\n    <td class=\"alt1\">{$warn[\'warn_desc\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_points\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_maturity\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_permban\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_type\']}</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3660,7,'warn_viewtype_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"6\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_listtype\')\\\"><img id=\\\"collapseimg_warn_listtype\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Warning Types\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_listtype\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    <td class=\\\"thead\\\">Warning Name</td>\r\n    <td class=\\\"thead\\\">Warning Description</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n    <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n    <td class=\\\"thead\\\">Post-related</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"6\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_listtype\')\"><img id=\"collapseimg_warn_listtype\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Warning Types\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_listtype\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <td class=\"thead\">Warning Name</td>\r\n    <td class=\"thead\">Warning Description</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n    <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n    <td class=\"thead\">Post-related</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3661,7,'warn_view_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"9\\\" align=\\\"right\\\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table><br/>','<tr>\r\n    <td class=\"tfoot\" colspan=\"9\" align=\"right\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table><br/>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3662,7,'warn_view_row','<tr>\r\n\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"smallfont\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></td>\") : (\"\")).\"\r\n\r\n    <td class=\\\"alt1\\\"><div class=\\\"smallfont\\\" align=\\\"center\\\">\" . (($warn[warned_post]!=0) ? (\"<a href=\\\"showthread.php?p=$warn[warned_post]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Post ID<br> $warn[warned_post]<br>Review<br>Post</a>\") : (\"\")).\"\" . (($warn[warned_post]==0) ? (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Not a post-related warning\") : (\"\")).\"</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] At $warn[time]</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"<div class=\\\"smallfont\\\">$warn[warned_reason]</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">Inactive</font>\") : (\"Active\")).\"</td>\r\n</tr>','<tr>\r\n\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"smallfont\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[wusername]</a></td></if>\r\n\r\n    <td class=\"alt1\"><div class=\"smallfont\" align=\"center\"><if condition=\"$warn[warned_post]!=0\"><a href=\"showthread.php?p=$warn[warned_post]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Post ID<br> $warn[warned_post]<br>Review<br>Post</a></if><if condition=\"$warn[warned_post]==0\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Not a post-related warning</if></div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] At $warn[time]</div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if><div class=\"smallfont\">$warn[warned_reason]</div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\">Inactive</font><else />Active</if></td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3663,7,'warn_view_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"9\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n    <td class=\\\"thead\\\">Warned Post</td>\r\n    <td class=\\\"thead\\\">Warned Date</td>\r\n    <td class=\\\"thead\\\">Warning Type</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n    <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n    <td class=\\\"thead\\\">Comment</td>\r\n    <td class=\\\"thead\\\">Status</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"9\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n    <td class=\"thead\">Warned Post</td>\r\n    <td class=\"thead\">Warned Date</td>\r\n    <td class=\"thead\">Warning Type</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n    <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n    <td class=\"thead\">Comment</td>\r\n    <td class=\"thead\">Status</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1'); 

How to modify this?

Change the beginning of the lines to meet your db
INSERT INTO vb3_template VALUES (3646,7,'

where 3646 in my example is the first free number. Check table 'template' for the latest ID and change the above lines so that it is always last ID+1

The 7 is my style where I want the templates to be added.
Check your admincp Style Manager to find out the correct ID.

Please backup your database before you to so and close the forum!
After adding the template manually to the DB using this way you have to create a fake table from your adminCP Style Manager so that the board cache is updated. You can delte this one again with PHPMyAdmin.

cu

sv1cec 11-21-2004 03:32 PM

Quote:

Originally Posted by burrelly
Database error in vBulletin 3.0.3:
Invalid SQL: insert into warnings values('','5','1','1101055996','You Have Been Warned!','504','2')
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
Date: Sunday 21st of November 2004 04:53:16 PM
Script: http://www.mysite.com/Warn.php
Referer: http://www.mysite.com/Warn.php?do=Wa...&id=5&post=504

When i try to warn members using the link above the users posts!

Warning: Invalid argument supplied for foreach() in /home/virtual/site5/fst/var/www/html/includes/functions.php on line 1815

When i try to warn using link at top of profile

Have you uploaded the files to your web server? The insert statement does not have all the values required.

Try uploading all the files in the proper directories, especially warn.php and admincp/admin_warn.php. Your error shows me that you are using the wrong warn.php file.

Rgds

sv1cec 11-21-2004 03:35 PM

Quote:

Originally Posted by jluerken
Ok here is a way to add the template to other styles.
I used PHPMyAdmin to do so:

PHP Code:

INSERT INTO vb3_template VALUES (3646,7,'warn_addwarn','<form action=\\\"Warn.php\\\" method=\\\"post\\\">\r\n<input type=\\\"hidden\\\" name=\\\"do\\\" value=\\\"DoWarnUser\\\">\r\n<input type=\\\"hidden\\\" name=\\\"id\\\" value=\\\"{$_GET[\'id\']}\\\">\r\n<input type=\\\"hidden\\\" name=\\\"post\\\" value=\\\"{$_GET[\'post\']}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"2\\\">Warning User $user[username]<div class=\\\"smallfont\\\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">User Info:</td>\r\n    <td class=\\\"alt1\\\">\r\n\r\n<a href=\\\"member.php?u=$_GET[id]\\\"  onclick=\\\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n\" . (($user[warning_level]>0) ? (\"\r\n<Font color=\\\"red\\\">User Current Warning Level: {$user[\'warning_level\']}</font> \r\n\") : (\"\")).\"\r\n\" . (($user[warning_bans]>0) ? (\"\r\n<Font color=\\\"red\\\"> - User Number of Bans: {$user[\'warning_bans\']}</font>\") : (\"\")).\"<br />\r\n\r\n\" . (($user[warning_level]>0) ? (\"\r\n<a href=\\\"Warn.php?do=ViewWarnings&id=$user[userid]\\\"  onclick=\\\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">View Existing Warnings for $user[username]</a>\r\n\") : (\"\")).\"\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt2\\\">Warned Post:</td>\r\n    <td class=\\\"alt2\\\">\r\n\r\n<a href=\\\"showthread.php?p=$_GET[post]\\\" onclick=\\\"window.open(\'showthread.php?p=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">Review Warned Post, Post ID: $_GET[post]</a>\r\n\r\n\" . (($warning_multiwarns1<>\'\') ? (\"\r\n<br><Font color=\\\"red\\\">$warning_multiwarns1</font><br>\r\n<A HREF=\\\"Warn.php?do=ViewPostWarnings&post=$_GET[post]\\\"  onclick=\\\"window.open(\'Warn.php?do=ViewPostWarnings&post=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">$warning_multiwarns2</a>\") : (\"\")).\"</td>\r\n\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">Warning Selection:</td>\r\n    <td class=\\\"alt1\\\"><select name=\\\"warningid\\\" class=\\\"smallfont\\\">\r\n        <optgroup label=\\\"Choose A Warning\\\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt2\\\">\r\n        Moderator Comments:</td>\r\n    <td class=\\\"alt2\\\"><input type=\\\"text\\\" name=\\\"comment\\\" size=\\\"50\\\" class=\\\"bginput\\\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"tfoot\\\" align=\\\"center\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\" Add Warning \\\" class=\\\"bginput\\\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','<form action=\"Warn.php\" method=\"post\">\r\n<input type=\"hidden\" name=\"do\" value=\"DoWarnUser\">\r\n<input type=\"hidden\" name=\"id\" value=\"{$_GET[\'id\']}\">\r\n<input type=\"hidden\" name=\"post\" value=\"{$_GET[\'post\']}\">\r\n<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"2\">Warning User $user[username]<div class=\"smallfont\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">User Info:</td>\r\n    <td class=\"alt1\">\r\n\r\n<a href=\"member.php?u=$_GET[id]\"  onclick=\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n<if condition=\"$user[warning_level]>0\">\r\n<Font color=\"red\">User Current Warning Level: {$user[\'warning_level\']}</font> \r\n</if>\r\n<if condition=\"$user[warning_bans]>0\">\r\n<Font color=\"red\"> - User Number of Bans: {$user[\'warning_bans\']}</font></if><br />\r\n\r\n<if condition=\"$user[warning_level]>0\">\r\n<a href=\"Warn.php?do=ViewWarnings&id=$user[userid]\"  onclick=\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">View Existing Warnings for $user[username]</a>\r\n</if>\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt2\">Warned Post:</td>\r\n    <td class=\"alt2\">\r\n\r\n<a href=\"showthread.php?p=$_GET[post]\" onclick=\"window.open(\'showthread.php?p=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">Review Warned Post, Post ID: $_GET[post]</a>\r\n\r\n<if condition=\"$warning_multiwarns1<>\'\'\">\r\n<br><Font color=\"red\">$warning_multiwarns1</font><br>\r\n<A HREF=\"Warn.php?do=ViewPostWarnings&post=$_GET[post]\"  onclick=\"window.open(\'Warn.php?do=ViewPostWarnings&post=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">$warning_multiwarns2</a></if></td>\r\n\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">Warning Selection:</td>\r\n    <td class=\"alt1\"><select name=\"warningid\" class=\"smallfont\">\r\n        <optgroup label=\"Choose A Warning\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt2\">\r\n        Moderator Comments:</td>\r\n    <td class=\"alt2\"><input type=\"text\" name=\"comment\" size=\"50\" class=\"bginput\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"tfoot\" align=\"center\" colspan=\"2\"><input type=\"submit\" value=\" Add Warning \" class=\"bginput\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3647,7,'warn_addwarn_nopost','<form action=\\\"Warn.php\\\" method=\\\"post\\\">\r\n<input type=\\\"hidden\\\" name=\\\"do\\\" value=\\\"DoWarnUserNoPost\\\">\r\n<input type=\\\"hidden\\\" name=\\\"id\\\" value=\\\"{$_GET[\'id\']}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"2\\\">Warning User $user[username]<div class=\\\"smallfont\\\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">User Info:</td>\r\n    <td class=\\\"alt1\\\">\r\n\r\n    <a href=\\\"member.php?u=$_GET[id]\\\"  onclick=\\\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n\" . (($user[warning_level]>0) ? (\"\r\n<Font color=\\\"red\\\">User Current Warning Level: {$user[\'warning_level\']}</font>\") : (\"\")).\"\r\n\" . (($user[warning_bans]>0) ? (\"\r\n<Font color=\\\"red\\\"> - User Number of Bans: {$user[\'warning_bans\']}</font>\") : (\"\")).\"\r\n<br />\r\n\r\n\" . (($user[warning_level]>0) ? (\"\r\n<a href=\\\"Warn.php?do=ViewWarnings&id=$user[userid]\\\"  onclick=\\\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">View Existing Warnings for $user[username]</a>\r\n\") : (\"\")).\"\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">Warning Selection:<br><div class=\\\"smallfont\\\">(not post-related)</div></td>\r\n    <td class=\\\"alt1\\\"><select name=\\\"warningid\\\" class=\\\"smallfont\\\">\r\n        <optgroup label=\\\"Choose A Warning\\\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt2\\\">\r\n        Moderator Comments:<br><div class=\\\"smallfont\\\">(Please be very specific, since no offensive<br>item is linked to this warning.)</div></td>\r\n    <td class=\\\"alt2\\\"><input type=\\\"text\\\" name=\\\"comment\\\" size=\\\"50\\\" class=\\\"bginput\\\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"tfoot\\\" align=\\\"center\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\" Add Warning \\\" class=\\\"bginput\\\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','<form action=\"Warn.php\" method=\"post\">\r\n<input type=\"hidden\" name=\"do\" value=\"DoWarnUserNoPost\">\r\n<input type=\"hidden\" name=\"id\" value=\"{$_GET[\'id\']}\">\r\n<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"2\">Warning User $user[username]<div class=\"smallfont\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">User Info:</td>\r\n    <td class=\"alt1\">\r\n\r\n    <a href=\"member.php?u=$_GET[id]\"  onclick=\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n<if condition=\"$user[warning_level]>0\">\r\n<Font color=\"red\">User Current Warning Level: {$user[\'warning_level\']}</font></if>\r\n<if condition=\"$user[warning_bans]>0\">\r\n<Font color=\"red\"> - User Number of Bans: {$user[\'warning_bans\']}</font></if>\r\n<br />\r\n\r\n<if condition=\"$user[warning_level]>0\">\r\n<a href=\"Warn.php?do=ViewWarnings&id=$user[userid]\"  onclick=\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">View Existing Warnings for $user[username]</a>\r\n</if>\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">Warning Selection:<br><div class=\"smallfont\">(not post-related)</div></td>\r\n    <td class=\"alt1\"><select name=\"warningid\" class=\"smallfont\">\r\n        <optgroup label=\"Choose A Warning\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt2\">\r\n        Moderator Comments:<br><div class=\"smallfont\">(Please be very specific, since no offensive<br>item is linked to this warning.)</div></td>\r\n    <td class=\"alt2\"><input type=\"text\" name=\"comment\" size=\"50\" class=\"bginput\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"tfoot\" align=\"center\" colspan=\"2\"><input type=\"submit\" value=\" Add Warning \" class=\"bginput\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3648,7,'warn_em','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because :\r\n\r\n$warn_type[warn_desc]\r\n(Warning Type = \'$warn_type[warn_name]\') \r\n\r\nFor this violation, you have been given $warn_type[warn_points] point(s).\r\n\r\nThe post for which you are warned can be seen here:\r\n\r\n$vboptions[bburl]/showthread.php?p=$_POST[post].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n$_POST[comment]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: $level point(s).\r\n\r\nIf you reach the maximum of $warn_options[points_before_banned], you will be banned from the Forums, for $peruserbanlimit days.\r\n\r\nTo see details about all the warnings you have received, until now, please click here:\r\n\r\n$vboptions[bburl]/Warn.php?do=ViewMyWarnings\r\n\r\nPlease reply back if you have a dispute.\r\n\r\n----------------\r\n\r\n$vboptions[bbtitle] Team','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because :\r\n\r\n$warn_type[warn_desc]\r\n(Warning Type = \'$warn_type[warn_name]\') \r\n\r\nFor this violation, you have been given $warn_type[warn_points] point(s).\r\n\r\nThe post for which you are warned can be seen here:\r\n\r\n$vboptions[bburl]/showthread.php?p=$_POST[post].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n$_POST[comment]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: $level point(s).\r\n\r\nIf you reach the maximum of $warn_options[points_before_banned], you will be banned from the Forums, for $peruserbanlimit days.\r\n\r\nTo see details about all the warnings you have received, until now, please click here:\r\n\r\n$vboptions[bburl]/Warn.php?do=ViewMyWarnings\r\n\r\nPlease reply back if you have a dispute.\r\n\r\n----------------\r\n\r\n$vboptions[bbtitle] Team','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3649,7,'warn_error','<table class=\\\"tborder\\\" cellpadding=\\\"6\\\" cellspacing=\\\"1\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n    <tr>\r\n        <td class=\\\"tcat\\\">\r\n            <a style=\\\"float:right\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'forumhome_error\')\\\"><img id=\\\"collapseimg_forumhome_error\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat.gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n            <div align=\'center\'>Error</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_forumhome_error\\\" style=\\\"\\\">\r\n    <tr>\r\n        <td class=\\\"thead\\\" width=\\\"100%\\\">An Error Has Occured!</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>An error has occured, the following message has been left below:<br/><br/>{$message}</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"tfoot\\\" width=\\\"100%\\\" align=\'center\'>[ <a href=\'javascript:history.go(-1)\'>Back</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<table class=\"tborder\" cellpadding=\"6\" cellspacing=\"1\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n    <tr>\r\n        <td class=\"tcat\">\r\n            <a style=\"float:right\" href=\"#top\" onclick=\"return toggle_collapse(\'forumhome_error\')\"><img id=\"collapseimg_forumhome_error\" src=\"$stylevar[imgdir_button]/collapse_tcat.gif\" alt=\"\" border=\"0\" /></a>\r\n            <div align=\'center\'>Error</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\"collapseobj_forumhome_error\" style=\"\">\r\n    <tr>\r\n        <td class=\"thead\" width=\"100%\">An Error Has Occured!</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>An error has occured, the following message has been left below:<br/><br/>{$message}</td>\r\n</tr>\r\n<tr>\r\n<td class=\"tfoot\" width=\"100%\" align=\'center\'>[ <a href=\'javascript:history.go(-1)\'>Back</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3650,7,'warn_pm','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because: \r\n\r\n[b][i] $warn_type[warn_desc] [/i][/b]\r\n(Warning Type = $warn_type[warn_name]) \r\n\r\nFor this violation, you have been given : [b] $warn_type[warn_points] [/b] point(s).\r\n\r\nThe post for which you are warned can be seen [URL=\\\"$vboptions[bburl]/showthread.php?p=$_POST[post]\\\"]here[/URL].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n[i]$_POST[comment][/i]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: [b] $level [/b] point(s).\r\n\r\nIf you reach the maximum of [b]$warn_options[points_before_banned][/b], you will be banned from the Forums, for [b] $peruserbanlimit [/b] days.\r\n\r\nTo see details about all the warnings you have received, until now, please click [URL=\\\"$vboptions[bburl]/Warn.php?do=ViewMyWarnings\\\"]here[/URL].\r\n\r\nPlease reply back if you have a dispute.','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because: \r\n\r\n[b][i] $warn_type[warn_desc] [/i][/b]\r\n(Warning Type = $warn_type[warn_name]) \r\n\r\nFor this violation, you have been given : [b] $warn_type[warn_points] [/b] point(s).\r\n\r\nThe post for which you are warned can be seen [URL=\"$vboptions[bburl]/showthread.php?p=$_POST[post]\"]here[/URL].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n[i]$_POST[comment][/i]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: [b] $level [/b] point(s).\r\n\r\nIf you reach the maximum of [b]$warn_options[points_before_banned][/b], you will be banned from the Forums, for [b] $peruserbanlimit [/b] days.\r\n\r\nTo see details about all the warnings you have received, until now, please click [URL=\"$vboptions[bburl]/Warn.php?do=ViewMyWarnings\"]here[/URL].\r\n\r\nPlease reply back if you have a dispute.','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3651,7,'warn_redirect','<META HTTP-EQUIV=\\\"REFRESH\\\" CONTENT=\\\"1; URL={$url}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"6\\\" cellspacing=\\\"1\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n    <tr>\r\n        <td class=\\\"tcat\\\">\r\n            <a style=\\\"float:right\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'forumhome_redirect\')\\\"><img id=\\\"collapseimg_forumhome_redirect\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat.gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n            <div align=\'center\'>Redirecting..</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_forumhome_redirect\\\" style=\\\"\\\">\r\n    <tr>\r\n        <td class=\\\"thead\\\" width=\\\"100%\\\">Please Wait..</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>{$message}<br/><br/>Your browser is now redirecting you</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"tfoot\\\" width=\\\"100%\\\" align=\'center\'>[ <a href=\'{$url}\'>Click here if you are not redirected</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"1; URL={$url}\">\r\n<table class=\"tborder\" cellpadding=\"6\" cellspacing=\"1\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n    <tr>\r\n        <td class=\"tcat\">\r\n            <a style=\"float:right\" href=\"#top\" onclick=\"return toggle_collapse(\'forumhome_redirect\')\"><img id=\"collapseimg_forumhome_redirect\" src=\"$stylevar[imgdir_button]/collapse_tcat.gif\" alt=\"\" border=\"0\" /></a>\r\n            <div align=\'center\'>Redirecting..</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\"collapseobj_forumhome_redirect\" style=\"\">\r\n    <tr>\r\n        <td class=\"thead\" width=\"100%\">Please Wait..</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>{$message}<br/><br/>Your browser is now redirecting you</td>\r\n</tr>\r\n<tr>\r\n<td class=\"tfoot\" width=\"100%\" align=\'center\'>[ <a href=\'{$url}\'>Click here if you are not redirected</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3652,7,'warn_viewb_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"10\\\" align=\\\"right\\\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<tr>\r\n    <td class=\"tfoot\" colspan=\"10\" align=\"right\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3653,7,'warn_viewb_row','<tr>\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"alt1\\\"><div  class=\\\"smallfont\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></div></td>\") : (\"\")).\"\r\n    <td class=\\\"alt1\\\"><div  class=\\\"smallfont\\\" align=\\\"center\\\">\" . (($warn[warned_post]!=0) ? (\"<a href=\\\"showthread.php?p=$warn[warned_post]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Post ID<br>$warn[warned_post]<br>Review<br>Post</a>\") : (\"\")).\"\" . (($warn[warned_post]==0) ? (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Not a post-related warning\") : (\"\")).\"</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] at $warn[time]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warned_reason]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">Inactive</font>\") : (\"Active\")).\"</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warn_permban\']!=\'Yes\' AND $warn[\'warned_status\']!=\'I\') ? (\"\r\n<a href=\'Warn.php?do=RemoveWarning&id=$warn[wid]\'>Remove Warning</a>\") : (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"Non-removable Warning\")).\"</td>\r\n</tr>','<tr>\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"alt1\"><div  class=\"smallfont\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>$warn[wusername]</a></div></td></if>\r\n    <td class=\"alt1\"><div  class=\"smallfont\" align=\"center\"><if condition=\"$warn[warned_post]!=0\"><a href=\"showthread.php?p=$warn[warned_post]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Post ID<br>$warn[warned_post]<br>Review<br>Post</a></if><if condition=\"$warn[warned_post]==0\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Not a post-related warning</if></div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] at $warn[time]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warned_reason]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\">Inactive</font><else />Active</if></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warn_permban\']!=\'Yes\' AND $warn[\'warned_status\']!=\'I\'\">\r\n<a href=\'Warn.php?do=RemoveWarning&id=$warn[wid]\'>Remove Warning</a><else /><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>Non-removable Warning</if></td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3654,7,'warn_viewb_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"10\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n    <td class=\\\"thead\\\">Warned Post</td>\r\n    <td class=\\\"thead\\\">Warned Date</td>\r\n    <td class=\\\"thead\\\">Warning Type</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n        <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n    <td class=\\\"thead\\\">Comment</td>\r\n    <td class=\\\"thead\\\">Status</td>\r\n    <td class=\\\"thead\\\">Remove</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"10\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n    <td class=\"thead\">Warned Post</td>\r\n    <td class=\"thead\">Warned Date</td>\r\n    <td class=\"thead\">Warning Type</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n        <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n    <td class=\"thead\">Comment</td>\r\n    <td class=\"thead\">Status</td>\r\n    <td class=\"thead\">Remove</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3655,7,'warn_viewc_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"9\\\" align=\\\"right\\\"><a href=\\\"javascript:window.top.close();\\\"><IMG SRC=\\\"images/closeOFF.gif\\\"></A></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<tr>\r\n    <td class=\"tfoot\" colspan=\"9\" align=\"right\"><a href=\"javascript:window.top.close();\"><IMG SRC=\"images/closeOFF.gif\"></A></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3656,7,'warn_viewc_row','<tr>\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"alt1\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></td>\") : (\"\")).\"\r\n\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] at $warn[time]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n</tr>','<tr>\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"alt1\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[wusername]</a></td></if>\r\n\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] at $warn[time]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3657,7,'warn_viewc_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"9\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Viewing Warning Information For Post ID: $_GET[post]<div class=\\\"smallfont\\\">(Grey lines are inactive warnings)</div>\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n    <td class=\\\"thead\\\">Warned Date</td>\r\n    <td class=\\\"thead\\\">Warning Type</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n        <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"9\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Viewing Warning Information For Post ID: $_GET[post]<div class=\"smallfont\">(Grey lines are inactive warnings)</div>\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n    <td class=\"thead\">Warned Date</td>\r\n    <td class=\"thead\">Warning Type</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n        <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3658,7,'warn_viewtype_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"7\\\" align=\\\"right\\\">Warning limit before being banned: $warn_options[points_before_banned] points. Initial banning period: $warn_options[banned_limit] days.</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n','<tr>\r\n    <td class=\"tfoot\" colspan=\"7\" align=\"right\">Warning limit before being banned: $warn_options[points_before_banned] points. Initial banning period: $warn_options[banned_limit] days.</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3659,7,'warn_viewtype_row','<tr>\r\n    <td class=\\\"alt1\\\"><b>{$warn[\'warn_name\']}</b></td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_desc\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_points\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_maturity\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_permban\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_type\']}</td>\r\n</tr>','<tr>\r\n    <td class=\"alt1\"><b>{$warn[\'warn_name\']}</b></td>\r\n    <td class=\"alt1\">{$warn[\'warn_desc\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_points\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_maturity\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_permban\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_type\']}</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3660,7,'warn_viewtype_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"6\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_listtype\')\\\"><img id=\\\"collapseimg_warn_listtype\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Warning Types\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_listtype\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    <td class=\\\"thead\\\">Warning Name</td>\r\n    <td class=\\\"thead\\\">Warning Description</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n    <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n    <td class=\\\"thead\\\">Post-related</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"6\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_listtype\')\"><img id=\"collapseimg_warn_listtype\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Warning Types\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_listtype\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <td class=\"thead\">Warning Name</td>\r\n    <td class=\"thead\">Warning Description</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n    <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n    <td class=\"thead\">Post-related</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3661,7,'warn_view_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"9\\\" align=\\\"right\\\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table><br/>','<tr>\r\n    <td class=\"tfoot\" colspan=\"9\" align=\"right\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table><br/>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3662,7,'warn_view_row','<tr>\r\n\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"smallfont\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></td>\") : (\"\")).\"\r\n\r\n    <td class=\\\"alt1\\\"><div class=\\\"smallfont\\\" align=\\\"center\\\">\" . (($warn[warned_post]!=0) ? (\"<a href=\\\"showthread.php?p=$warn[warned_post]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Post ID<br> $warn[warned_post]<br>Review<br>Post</a>\") : (\"\")).\"\" . (($warn[warned_post]==0) ? (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Not a post-related warning\") : (\"\")).\"</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] At $warn[time]</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"<div class=\\\"smallfont\\\">$warn[warned_reason]</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">Inactive</font>\") : (\"Active\")).\"</td>\r\n</tr>','<tr>\r\n\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"smallfont\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[wusername]</a></td></if>\r\n\r\n    <td class=\"alt1\"><div class=\"smallfont\" align=\"center\"><if condition=\"$warn[warned_post]!=0\"><a href=\"showthread.php?p=$warn[warned_post]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Post ID<br> $warn[warned_post]<br>Review<br>Post</a></if><if condition=\"$warn[warned_post]==0\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Not a post-related warning</if></div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] At $warn[time]</div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if><div class=\"smallfont\">$warn[warned_reason]</div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\">Inactive</font><else />Active</if></td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3663,7,'warn_view_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"9\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n    <td class=\\\"thead\\\">Warned Post</td>\r\n    <td class=\\\"thead\\\">Warned Date</td>\r\n    <td class=\\\"thead\\\">Warning Type</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n    <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n    <td class=\\\"thead\\\">Comment</td>\r\n    <td class=\\\"thead\\\">Status</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"9\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n    <td class=\"thead\">Warned Post</td>\r\n    <td class=\"thead\">Warned Date</td>\r\n    <td class=\"thead\">Warning Type</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n    <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n    <td class=\"thead\">Comment</td>\r\n    <td class=\"thead\">Status</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1'); 

How to modify this?

Change the beginning of the lines to meet your db
INSERT INTO vb3_template VALUES (3646,7,'

where 3646 in my example is the first free number. Check table 'template' for the latest ID and change the above lines so that it is always last ID+1

The 7 is my style where I want the templates to be added.
Check your admincp Style Manager to find out the correct ID.

Please backup your database before you to so and close the forum!
After adding the template manually to the DB using this way you have to create a fake table from your adminCP Style Manager so that the board cache is updated. You can delte this one again with PHPMyAdmin.

cu

Thanks for the tip, I'll check it out and try to incorporate it in the installation file.

Rgds

sv1cec 11-21-2004 03:40 PM

Quote:

Originally Posted by jluerken
Ok here is a way to add the template to other styles.
I used PHPMyAdmin to do so:

PHP Code:

INSERT INTO vb3_template VALUES (3646,7,'warn_addwarn','<form action=\\\"Warn.php\\\" method=\\\"post\\\">\r\n<input type=\\\"hidden\\\" name=\\\"do\\\" value=\\\"DoWarnUser\\\">\r\n<input type=\\\"hidden\\\" name=\\\"id\\\" value=\\\"{$_GET[\'id\']}\\\">\r\n<input type=\\\"hidden\\\" name=\\\"post\\\" value=\\\"{$_GET[\'post\']}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"2\\\">Warning User $user[username]<div class=\\\"smallfont\\\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">User Info:</td>\r\n    <td class=\\\"alt1\\\">\r\n\r\n<a href=\\\"member.php?u=$_GET[id]\\\"  onclick=\\\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n\" . (($user[warning_level]>0) ? (\"\r\n<Font color=\\\"red\\\">User Current Warning Level: {$user[\'warning_level\']}</font> \r\n\") : (\"\")).\"\r\n\" . (($user[warning_bans]>0) ? (\"\r\n<Font color=\\\"red\\\"> - User Number of Bans: {$user[\'warning_bans\']}</font>\") : (\"\")).\"<br />\r\n\r\n\" . (($user[warning_level]>0) ? (\"\r\n<a href=\\\"Warn.php?do=ViewWarnings&id=$user[userid]\\\"  onclick=\\\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">View Existing Warnings for $user[username]</a>\r\n\") : (\"\")).\"\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt2\\\">Warned Post:</td>\r\n    <td class=\\\"alt2\\\">\r\n\r\n<a href=\\\"showthread.php?p=$_GET[post]\\\" onclick=\\\"window.open(\'showthread.php?p=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">Review Warned Post, Post ID: $_GET[post]</a>\r\n\r\n\" . (($warning_multiwarns1<>\'\') ? (\"\r\n<br><Font color=\\\"red\\\">$warning_multiwarns1</font><br>\r\n<A HREF=\\\"Warn.php?do=ViewPostWarnings&post=$_GET[post]\\\"  onclick=\\\"window.open(\'Warn.php?do=ViewPostWarnings&post=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">$warning_multiwarns2</a>\") : (\"\")).\"</td>\r\n\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">Warning Selection:</td>\r\n    <td class=\\\"alt1\\\"><select name=\\\"warningid\\\" class=\\\"smallfont\\\">\r\n        <optgroup label=\\\"Choose A Warning\\\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt2\\\">\r\n        Moderator Comments:</td>\r\n    <td class=\\\"alt2\\\"><input type=\\\"text\\\" name=\\\"comment\\\" size=\\\"50\\\" class=\\\"bginput\\\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"tfoot\\\" align=\\\"center\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\" Add Warning \\\" class=\\\"bginput\\\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','<form action=\"Warn.php\" method=\"post\">\r\n<input type=\"hidden\" name=\"do\" value=\"DoWarnUser\">\r\n<input type=\"hidden\" name=\"id\" value=\"{$_GET[\'id\']}\">\r\n<input type=\"hidden\" name=\"post\" value=\"{$_GET[\'post\']}\">\r\n<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"2\">Warning User $user[username]<div class=\"smallfont\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">User Info:</td>\r\n    <td class=\"alt1\">\r\n\r\n<a href=\"member.php?u=$_GET[id]\"  onclick=\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n<if condition=\"$user[warning_level]>0\">\r\n<Font color=\"red\">User Current Warning Level: {$user[\'warning_level\']}</font> \r\n</if>\r\n<if condition=\"$user[warning_bans]>0\">\r\n<Font color=\"red\"> - User Number of Bans: {$user[\'warning_bans\']}</font></if><br />\r\n\r\n<if condition=\"$user[warning_level]>0\">\r\n<a href=\"Warn.php?do=ViewWarnings&id=$user[userid]\"  onclick=\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">View Existing Warnings for $user[username]</a>\r\n</if>\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt2\">Warned Post:</td>\r\n    <td class=\"alt2\">\r\n\r\n<a href=\"showthread.php?p=$_GET[post]\" onclick=\"window.open(\'showthread.php?p=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">Review Warned Post, Post ID: $_GET[post]</a>\r\n\r\n<if condition=\"$warning_multiwarns1<>\'\'\">\r\n<br><Font color=\"red\">$warning_multiwarns1</font><br>\r\n<A HREF=\"Warn.php?do=ViewPostWarnings&post=$_GET[post]\"  onclick=\"window.open(\'Warn.php?do=ViewPostWarnings&post=$_GET[post]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">$warning_multiwarns2</a></if></td>\r\n\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">Warning Selection:</td>\r\n    <td class=\"alt1\"><select name=\"warningid\" class=\"smallfont\">\r\n        <optgroup label=\"Choose A Warning\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt2\">\r\n        Moderator Comments:</td>\r\n    <td class=\"alt2\"><input type=\"text\" name=\"comment\" size=\"50\" class=\"bginput\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"tfoot\" align=\"center\" colspan=\"2\"><input type=\"submit\" value=\" Add Warning \" class=\"bginput\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3647,7,'warn_addwarn_nopost','<form action=\\\"Warn.php\\\" method=\\\"post\\\">\r\n<input type=\\\"hidden\\\" name=\\\"do\\\" value=\\\"DoWarnUserNoPost\\\">\r\n<input type=\\\"hidden\\\" name=\\\"id\\\" value=\\\"{$_GET[\'id\']}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"2\\\">Warning User $user[username]<div class=\\\"smallfont\\\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">User Info:</td>\r\n    <td class=\\\"alt1\\\">\r\n\r\n    <a href=\\\"member.php?u=$_GET[id]\\\"  onclick=\\\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n\" . (($user[warning_level]>0) ? (\"\r\n<Font color=\\\"red\\\">User Current Warning Level: {$user[\'warning_level\']}</font>\") : (\"\")).\"\r\n\" . (($user[warning_bans]>0) ? (\"\r\n<Font color=\\\"red\\\"> - User Number of Bans: {$user[\'warning_bans\']}</font>\") : (\"\")).\"\r\n<br />\r\n\r\n\" . (($user[warning_level]>0) ? (\"\r\n<a href=\\\"Warn.php?do=ViewWarnings&id=$user[userid]\\\"  onclick=\\\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\\\" target=\\\"_blank\\\">View Existing Warnings for $user[username]</a>\r\n\") : (\"\")).\"\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt1\\\">Warning Selection:<br><div class=\\\"smallfont\\\">(not post-related)</div></td>\r\n    <td class=\\\"alt1\\\"><select name=\\\"warningid\\\" class=\\\"smallfont\\\">\r\n        <optgroup label=\\\"Choose A Warning\\\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"alt2\\\">\r\n        Moderator Comments:<br><div class=\\\"smallfont\\\">(Please be very specific, since no offensive<br>item is linked to this warning.)</div></td>\r\n    <td class=\\\"alt2\\\"><input type=\\\"text\\\" name=\\\"comment\\\" size=\\\"50\\\" class=\\\"bginput\\\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\\\"tfoot\\\" align=\\\"center\\\" colspan=\\\"2\\\"><input type=\\\"submit\\\" value=\\\" Add Warning \\\" class=\\\"bginput\\\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','<form action=\"Warn.php\" method=\"post\">\r\n<input type=\"hidden\" name=\"do\" value=\"DoWarnUserNoPost\">\r\n<input type=\"hidden\" name=\"id\" value=\"{$_GET[\'id\']}\">\r\n<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"2\">Warning User $user[username]<div class=\"smallfont\">All links below, will open a new browser window, close it to return here.</div></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">User Info:</td>\r\n    <td class=\"alt1\">\r\n\r\n    <a href=\"member.php?u=$_GET[id]\"  onclick=\"window.open(\'member.php?u=$_GET[id]}\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">User Profile for $user[username] - User ID: $_GET[id]</a><br />\r\n<if condition=\"$user[warning_level]>0\">\r\n<Font color=\"red\">User Current Warning Level: {$user[\'warning_level\']}</font></if>\r\n<if condition=\"$user[warning_bans]>0\">\r\n<Font color=\"red\"> - User Number of Bans: {$user[\'warning_bans\']}</font></if>\r\n<br />\r\n\r\n<if condition=\"$user[warning_level]>0\">\r\n<a href=\"Warn.php?do=ViewWarnings&id=$user[userid]\"  onclick=\"window.open(\'Warn.php?do=ViewWarnings&id=$user[userid]\',\'\',\'width=1000, height=500, resizable=yes, scrollbars=yes\'); return false;\" target=\"_blank\">View Existing Warnings for $user[username]</a>\r\n</if>\r\n        </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt1\">Warning Selection:<br><div class=\"smallfont\">(not post-related)</div></td>\r\n    <td class=\"alt1\"><select name=\"warningid\" class=\"smallfont\">\r\n        <optgroup label=\"Choose A Warning\">\r\n        $warnopts\r\n        </optgroup>\r\n    </select></td>\r\n</tr>\r\n<tr>\r\n    <td class=\"alt2\">\r\n        Moderator Comments:<br><div class=\"smallfont\">(Please be very specific, since no offensive<br>item is linked to this warning.)</div></td>\r\n    <td class=\"alt2\"><input type=\"text\" name=\"comment\" size=\"50\" class=\"bginput\">\r\n    </td>\r\n</tr>\r\n<tr>\r\n    <td class=\"tfoot\" align=\"center\" colspan=\"2\"><input type=\"submit\" value=\" Add Warning \" class=\"bginput\"></td>\r\n</tr>\r\n</table>\r\n</form>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3648,7,'warn_em','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because :\r\n\r\n$warn_type[warn_desc]\r\n(Warning Type = \'$warn_type[warn_name]\') \r\n\r\nFor this violation, you have been given $warn_type[warn_points] point(s).\r\n\r\nThe post for which you are warned can be seen here:\r\n\r\n$vboptions[bburl]/showthread.php?p=$_POST[post].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n$_POST[comment]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: $level point(s).\r\n\r\nIf you reach the maximum of $warn_options[points_before_banned], you will be banned from the Forums, for $peruserbanlimit days.\r\n\r\nTo see details about all the warnings you have received, until now, please click here:\r\n\r\n$vboptions[bburl]/Warn.php?do=ViewMyWarnings\r\n\r\nPlease reply back if you have a dispute.\r\n\r\n----------------\r\n\r\n$vboptions[bbtitle] Team','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because :\r\n\r\n$warn_type[warn_desc]\r\n(Warning Type = \'$warn_type[warn_name]\') \r\n\r\nFor this violation, you have been given $warn_type[warn_points] point(s).\r\n\r\nThe post for which you are warned can be seen here:\r\n\r\n$vboptions[bburl]/showthread.php?p=$_POST[post].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n$_POST[comment]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: $level point(s).\r\n\r\nIf you reach the maximum of $warn_options[points_before_banned], you will be banned from the Forums, for $peruserbanlimit days.\r\n\r\nTo see details about all the warnings you have received, until now, please click here:\r\n\r\n$vboptions[bburl]/Warn.php?do=ViewMyWarnings\r\n\r\nPlease reply back if you have a dispute.\r\n\r\n----------------\r\n\r\n$vboptions[bbtitle] Team','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3649,7,'warn_error','<table class=\\\"tborder\\\" cellpadding=\\\"6\\\" cellspacing=\\\"1\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n    <tr>\r\n        <td class=\\\"tcat\\\">\r\n            <a style=\\\"float:right\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'forumhome_error\')\\\"><img id=\\\"collapseimg_forumhome_error\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat.gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n            <div align=\'center\'>Error</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_forumhome_error\\\" style=\\\"\\\">\r\n    <tr>\r\n        <td class=\\\"thead\\\" width=\\\"100%\\\">An Error Has Occured!</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>An error has occured, the following message has been left below:<br/><br/>{$message}</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"tfoot\\\" width=\\\"100%\\\" align=\'center\'>[ <a href=\'javascript:history.go(-1)\'>Back</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<table class=\"tborder\" cellpadding=\"6\" cellspacing=\"1\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n    <tr>\r\n        <td class=\"tcat\">\r\n            <a style=\"float:right\" href=\"#top\" onclick=\"return toggle_collapse(\'forumhome_error\')\"><img id=\"collapseimg_forumhome_error\" src=\"$stylevar[imgdir_button]/collapse_tcat.gif\" alt=\"\" border=\"0\" /></a>\r\n            <div align=\'center\'>Error</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\"collapseobj_forumhome_error\" style=\"\">\r\n    <tr>\r\n        <td class=\"thead\" width=\"100%\">An Error Has Occured!</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>An error has occured, the following message has been left below:<br/><br/>{$message}</td>\r\n</tr>\r\n<tr>\r\n<td class=\"tfoot\" width=\"100%\" align=\'center\'>[ <a href=\'javascript:history.go(-1)\'>Back</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3650,7,'warn_pm','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because: \r\n\r\n[b][i] $warn_type[warn_desc] [/i][/b]\r\n(Warning Type = $warn_type[warn_name]) \r\n\r\nFor this violation, you have been given : [b] $warn_type[warn_points] [/b] point(s).\r\n\r\nThe post for which you are warned can be seen [URL=\\\"$vboptions[bburl]/showthread.php?p=$_POST[post]\\\"]here[/URL].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n[i]$_POST[comment][/i]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: [b] $level [/b] point(s).\r\n\r\nIf you reach the maximum of [b]$warn_options[points_before_banned][/b], you will be banned from the Forums, for [b] $peruserbanlimit [/b] days.\r\n\r\nTo see details about all the warnings you have received, until now, please click [URL=\\\"$vboptions[bburl]/Warn.php?do=ViewMyWarnings\\\"]here[/URL].\r\n\r\nPlease reply back if you have a dispute.','Dear $user[username],\r\n\r\nYou have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because: \r\n\r\n[b][i] $warn_type[warn_desc] [/i][/b]\r\n(Warning Type = $warn_type[warn_name]) \r\n\r\nFor this violation, you have been given : [b] $warn_type[warn_points] [/b] point(s).\r\n\r\nThe post for which you are warned can be seen [URL=\"$vboptions[bburl]/showthread.php?p=$_POST[post]\"]here[/URL].\r\n\r\nThe admin/moderator who warned you, entered this comment: \r\n\r\n=======================================\r\n[i]$_POST[comment][/i]\r\n=======================================\r\n\r\nYour total Warning Level at the moment is: [b] $level [/b] point(s).\r\n\r\nIf you reach the maximum of [b]$warn_options[points_before_banned][/b], you will be banned from the Forums, for [b] $peruserbanlimit [/b] days.\r\n\r\nTo see details about all the warnings you have received, until now, please click [URL=\"$vboptions[bburl]/Warn.php?do=ViewMyWarnings\"]here[/URL].\r\n\r\nPlease reply back if you have a dispute.','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3651,7,'warn_redirect','<META HTTP-EQUIV=\\\"REFRESH\\\" CONTENT=\\\"1; URL={$url}\\\">\r\n<table class=\\\"tborder\\\" cellpadding=\\\"6\\\" cellspacing=\\\"1\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n    <tr>\r\n        <td class=\\\"tcat\\\">\r\n            <a style=\\\"float:right\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'forumhome_redirect\')\\\"><img id=\\\"collapseimg_forumhome_redirect\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat.gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n            <div align=\'center\'>Redirecting..</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_forumhome_redirect\\\" style=\\\"\\\">\r\n    <tr>\r\n        <td class=\\\"thead\\\" width=\\\"100%\\\">Please Wait..</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>{$message}<br/><br/>Your browser is now redirecting you</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"tfoot\\\" width=\\\"100%\\\" align=\'center\'>[ <a href=\'{$url}\'>Click here if you are not redirected</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"1; URL={$url}\">\r\n<table class=\"tborder\" cellpadding=\"6\" cellspacing=\"1\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n    <tr>\r\n        <td class=\"tcat\">\r\n            <a style=\"float:right\" href=\"#top\" onclick=\"return toggle_collapse(\'forumhome_redirect\')\"><img id=\"collapseimg_forumhome_redirect\" src=\"$stylevar[imgdir_button]/collapse_tcat.gif\" alt=\"\" border=\"0\" /></a>\r\n            <div align=\'center\'>Redirecting..</div></td>\r\n    </tr>\r\n</thead>\r\n<tbody id=\"collapseobj_forumhome_redirect\" style=\"\">\r\n    <tr>\r\n        <td class=\"thead\" width=\"100%\">Please Wait..</td>\r\n    </tr>\r\n<tr>\r\n<td class=\'alt2\' align=\'center\' width=\'100%\'>{$message}<br/><br/>Your browser is now redirecting you</td>\r\n</tr>\r\n<tr>\r\n<td class=\"tfoot\" width=\"100%\" align=\'center\'>[ <a href=\'{$url}\'>Click here if you are not redirected</a> ]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3652,7,'warn_viewb_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"10\\\" align=\\\"right\\\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<tr>\r\n    <td class=\"tfoot\" colspan=\"10\" align=\"right\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3653,7,'warn_viewb_row','<tr>\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"alt1\\\"><div  class=\\\"smallfont\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></div></td>\") : (\"\")).\"\r\n    <td class=\\\"alt1\\\"><div  class=\\\"smallfont\\\" align=\\\"center\\\">\" . (($warn[warned_post]!=0) ? (\"<a href=\\\"showthread.php?p=$warn[warned_post]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Post ID<br>$warn[warned_post]<br>Review<br>Post</a>\") : (\"\")).\"\" . (($warn[warned_post]==0) ? (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Not a post-related warning\") : (\"\")).\"</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] at $warn[time]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warned_reason]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">Inactive</font>\") : (\"Active\")).\"</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warn_permban\']!=\'Yes\' AND $warn[\'warned_status\']!=\'I\') ? (\"\r\n<a href=\'Warn.php?do=RemoveWarning&id=$warn[wid]\'>Remove Warning</a>\") : (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"Non-removable Warning\")).\"</td>\r\n</tr>','<tr>\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"alt1\"><div  class=\"smallfont\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>$warn[wusername]</a></div></td></if>\r\n    <td class=\"alt1\"><div  class=\"smallfont\" align=\"center\"><if condition=\"$warn[warned_post]!=0\"><a href=\"showthread.php?p=$warn[warned_post]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Post ID<br>$warn[warned_post]<br>Review<br>Post</a></if><if condition=\"$warn[warned_post]==0\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Not a post-related warning</if></div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] at $warn[time]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warned_reason]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\">Inactive</font><else />Active</if></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warn_permban\']!=\'Yes\' AND $warn[\'warned_status\']!=\'I\'\">\r\n<a href=\'Warn.php?do=RemoveWarning&id=$warn[wid]\'>Remove Warning</a><else /><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>Non-removable Warning</if></td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3654,7,'warn_viewb_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"10\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n    <td class=\\\"thead\\\">Warned Post</td>\r\n    <td class=\\\"thead\\\">Warned Date</td>\r\n    <td class=\\\"thead\\\">Warning Type</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n        <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n    <td class=\\\"thead\\\">Comment</td>\r\n    <td class=\\\"thead\\\">Status</td>\r\n    <td class=\\\"thead\\\">Remove</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"10\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n    <td class=\"thead\">Warned Post</td>\r\n    <td class=\"thead\">Warned Date</td>\r\n    <td class=\"thead\">Warning Type</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n        <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n    <td class=\"thead\">Comment</td>\r\n    <td class=\"thead\">Status</td>\r\n    <td class=\"thead\">Remove</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3655,7,'warn_viewc_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"9\\\" align=\\\"right\\\"><a href=\\\"javascript:window.top.close();\\\"><IMG SRC=\\\"images/closeOFF.gif\\\"></A></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','<tr>\r\n    <td class=\"tfoot\" colspan=\"9\" align=\"right\"><a href=\"javascript:window.top.close();\"><IMG SRC=\"images/closeOFF.gif\"></A></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<br />','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3656,7,'warn_viewc_row','<tr>\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"alt1\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></td>\") : (\"\")).\"\r\n\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] at $warn[time]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n        <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n</tr>','<tr>\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"alt1\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[wusername]</a></td></if>\r\n\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] at $warn[time]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n        <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3657,7,'warn_viewc_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"9\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Viewing Warning Information For Post ID: $_GET[post]<div class=\\\"smallfont\\\">(Grey lines are inactive warnings)</div>\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n    <td class=\\\"thead\\\">Warned Date</td>\r\n    <td class=\\\"thead\\\">Warning Type</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n        <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"9\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Viewing Warning Information For Post ID: $_GET[post]<div class=\"smallfont\">(Grey lines are inactive warnings)</div>\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n    <td class=\"thead\">Warned Date</td>\r\n    <td class=\"thead\">Warning Type</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n        <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3658,7,'warn_viewtype_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"7\\\" align=\\\"right\\\">Warning limit before being banned: $warn_options[points_before_banned] points. Initial banning period: $warn_options[banned_limit] days.</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n','<tr>\r\n    <td class=\"tfoot\" colspan=\"7\" align=\"right\">Warning limit before being banned: $warn_options[points_before_banned] points. Initial banning period: $warn_options[banned_limit] days.</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3659,7,'warn_viewtype_row','<tr>\r\n    <td class=\\\"alt1\\\"><b>{$warn[\'warn_name\']}</b></td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_desc\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_points\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_maturity\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_permban\']}</td>\r\n    <td class=\\\"alt1\\\">{$warn[\'warn_type\']}</td>\r\n</tr>','<tr>\r\n    <td class=\"alt1\"><b>{$warn[\'warn_name\']}</b></td>\r\n    <td class=\"alt1\">{$warn[\'warn_desc\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_points\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_maturity\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_permban\']}</td>\r\n    <td class=\"alt1\">{$warn[\'warn_type\']}</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3660,7,'warn_viewtype_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"6\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_listtype\')\\\"><img id=\\\"collapseimg_warn_listtype\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Warning Types\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_listtype\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    <td class=\\\"thead\\\">Warning Name</td>\r\n    <td class=\\\"thead\\\">Warning Description</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n    <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n    <td class=\\\"thead\\\">Post-related</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"6\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_listtype\')\"><img id=\"collapseimg_warn_listtype\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Warning Types\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_listtype\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <td class=\"thead\">Warning Name</td>\r\n    <td class=\"thead\">Warning Description</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n    <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n    <td class=\"thead\">Post-related</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3661,7,'warn_view_end','<tr>\r\n    <td class=\\\"tfoot\\\" colspan=\\\"9\\\" align=\\\"right\\\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table><br/>','<tr>\r\n    <td class=\"tfoot\" colspan=\"9\" align=\"right\">Total Warning Points: $user[warning_level] / $warn_options[points_before_banned] - Number of Bans: $user[warning_bans]</td>\r\n</tr>\r\n</tbody>\r\n</table><br/>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3662,7,'warn_view_row','<tr>\r\n\r\n\" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"smallfont\\\"><a href=\\\"member.php?u=$warn[wuserid]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[wusername]</a></td>\") : (\"\")).\"\r\n\r\n    <td class=\\\"alt1\\\"><div class=\\\"smallfont\\\" align=\\\"center\\\">\" . (($warn[warned_post]!=0) ? (\"<a href=\\\"showthread.php?p=$warn[warned_post]\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Post ID<br> $warn[warned_post]<br>Review<br>Post</a>\") : (\"\")).\"\" . (($warn[warned_post]==0) ? (\"\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"Not a post-related warning\") : (\"\")).\"</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"On $warn[date] At $warn[time]</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_name]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_points]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_maturity]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">\") : (\"\")).\"$warn[warn_permban]</td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <font color=\\\"grey\\\">\") : (\"\")).\"<div class=\\\"smallfont\\\">$warn[warned_reason]</div></td>\r\n    <td class=\\\"alt1\\\">\" . (($warn[\'warned_status\']==\'I\') ? (\"\r\n   <div class=\\\"smallfont\\\"><font color=\\\"grey\\\">Inactive</font>\") : (\"Active\")).\"</td>\r\n</tr>','<tr>\r\n\r\n<if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"smallfont\"><a href=\"member.php?u=$warn[wuserid]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[wusername]</a></td></if>\r\n\r\n    <td class=\"alt1\"><div class=\"smallfont\" align=\"center\"><if condition=\"$warn[warned_post]!=0\"><a href=\"showthread.php?p=$warn[warned_post]\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Post ID<br> $warn[warned_post]<br>Review<br>Post</a></if><if condition=\"$warn[warned_post]==0\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if>Not a post-related warning</if></div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>On $warn[date] At $warn[time]</div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_name]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_points]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_maturity]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\"></if>$warn[warn_permban]</td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <font color=\"grey\"></if><div class=\"smallfont\">$warn[warned_reason]</div></td>\r\n    <td class=\"alt1\"><if condition=\"$warn[\'warned_status\']==\'I\'\">\r\n   <div class=\"smallfont\"><font color=\"grey\">Inactive</font><else />Active</if></td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1');
INSERT INTO vb3_template VALUES (3663,7,'warn_view_top','<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\r\n<thead>\r\n<tr>\r\n    <td class=\\\"tcat\\\" colspan=\\\"9\\\">\r\n        <a style=\\\"float:$stylevar[right]\\\" href=\\\"#top\\\" onclick=\\\"return toggle_collapse(\'warn_list\')\\\"><img id=\\\"collapseimg_warn_list\\\" src=\\\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\\\" alt=\\\"\\\" border=\\\"0\\\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\\\"collapseobj_warn_list\\\" style=\\\"$vbcollapse[collapseobj_warn_list]\\\">\r\n<tr>\r\n    \" . ((is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)) ? (\"<td class=\\\"thead\\\">Warned By</td>\") : (\"\")).\"\r\n    <td class=\\\"thead\\\">Warned Post</td>\r\n    <td class=\\\"thead\\\">Warned Date</td>\r\n    <td class=\\\"thead\\\">Warning Type</td>\r\n    <td class=\\\"thead\\\">Warning Points</td>\r\n    <td class=\\\"thead\\\">Warning Maturity</td>\r\n    <td class=\\\"thead\\\">Permanent Ban</td>\r\n    <td class=\\\"thead\\\">Comment</td>\r\n    <td class=\\\"thead\\\">Status</td>\r\n</tr>','<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">\r\n<thead>\r\n<tr>\r\n    <td class=\"tcat\" colspan=\"9\">\r\n        <a style=\"float:$stylevar[right]\" href=\"#top\" onclick=\"return toggle_collapse(\'warn_list\')\"><img id=\"collapseimg_warn_list\" src=\"$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_warn_list].gif\" alt=\"\" border=\"0\" /></a>\r\n        Viewing Warning Information For $user[username]\r\n    </td>\r\n</tr>\r\n</thead>\r\n<tbody id=\"collapseobj_warn_list\" style=\"$vbcollapse[collapseobj_warn_list]\">\r\n<tr>\r\n    <if condition=\"is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 6) OR is_member_of($bbuserinfo, 7)\"><td class=\"thead\">Warned By</td></if>\r\n    <td class=\"thead\">Warned Post</td>\r\n    <td class=\"thead\">Warned Date</td>\r\n    <td class=\"thead\">Warning Type</td>\r\n    <td class=\"thead\">Warning Points</td>\r\n    <td class=\"thead\">Warning Maturity</td>\r\n    <td class=\"thead\">Permanent Ban</td>\r\n    <td class=\"thead\">Comment</td>\r\n    <td class=\"thead\">Status</td>\r\n</tr>','template',1100330326,'sv1cec','3.0.1'); 

How to modify this?

Change the beginning of the lines to meet your db
INSERT INTO vb3_template VALUES (3646,7,'

where 3646 in my example is the first free number. Check table 'template' for the latest ID and change the above lines so that it is always last ID+1

The 7 is my style where I want the templates to be added.
Check your admincp Style Manager to find out the correct ID.

Please backup your database before you to so and close the forum!
After adding the template manually to the DB using this way you have to create a fake table from your adminCP Style Manager so that the board cache is updated. You can delte this one again with PHPMyAdmin.

cu

Thanks for the tip, I'll see if I can include it in the installation file.

Rgds

TCattitude 11-21-2004 04:09 PM

¡Nice work sv1cec!

This is the best useful hack for vb.

burrelly 11-21-2004 04:12 PM

Got it working :)

Another hack was messing it up :)

sv1cec 11-21-2004 06:13 PM

Quote:

Originally Posted by burrelly
Got it working :)

Another hack was messing it up :)

Glad you made it.

Enjoy!

WAR 11-21-2004 10:26 PM

sv1cec,

I had installed all of your modifications from ZT's original hack already.

Do I need to upgrade or change anything with this new release. or did you just bundle everything from there up in a new package?

sv1cec 11-22-2004 04:50 AM

I've added two new columns in the warnings table, called removed_by and removed_date. Just add those two and upload the warn.php and admin_warn files to your web server.

Rgds

Torqued 11-22-2004 10:34 AM

Quote:

Originally Posted by sv1cec
I've added two new columns in the warnings table, called removed_by and removed_date. Just add those two and upload the warn.php and admin_warn files to your web server.

Rgds

so how do we add the columns? :)

sv1cec 11-22-2004 11:18 AM

Quote:

Originally Posted by Torqued
so how do we add the columns? :)

ALTER TABLE warnings add `removed_by` int(15), add `removed_date` int(15)

Careful if you are using a TABLE_PREFIX.

But still, I got some more work for you to do, just uploaded a new version, 1.2, which you have to install. You just can't get rid of me, can you?

LoL

Torqued 11-22-2004 11:37 AM

lol!

Thanks for all of your work. I will try to install this evening when I get home. :)

reteep 11-22-2004 11:52 AM

Quote:

Originally Posted by sv1cec
I've added two new columns in the warnings table, called removed_by and removed_date. Just add those two and upload the warn.php and admin_warn files to your web server.

Rgds

Nothing else to change when using ZT's hack? Aren't there any new templates or template changes?

sv1cec 11-22-2004 12:00 PM

Quote:

Originally Posted by stormblast
Nothing else to change when using ZT's hack? Aren't there any new templates or template changes?

If you are using ZT version 1.5 hack, there are a lot of changes to be done. Read the instructions. If you are using the mods I've released in ZT's thread though, and you have installed all of them, then the only changes are the ones mentioned above.

There is an upgrade script which can help you, if you are using ZT's 1.5.

Rgds

hello 11-22-2004 03:22 PM

when i try to warn someone i get a blank page and when i try to look at mine or someone elses warnings how can i fix this?

sv1cec 11-22-2004 04:09 PM

Quote:

Originally Posted by hello
when i try to warn someone i get a blank page and when i try to look at mine or someone elses warnings how can i fix this?

Check that you have done the changes as instructed. This hack is working in several sites, so you must have missed something.

Rgds

hello 11-22-2004 08:03 PM

i have several times and i still get a blank page

Koutaru 11-22-2004 08:11 PM

Perhaps a missing template or phrase?

sv1cec 11-22-2004 09:15 PM

Quote:

Originally Posted by Koutaru
Perhaps a missing template or phrase?

Has anybody else got a blank page? No matter what I try, I can't make it come up with a blank page. Hello, are you sure you have done all the steps described in the instructions?

Rgds

mcyates 11-23-2004 12:03 PM

mysql error: Unknown column 'hierarchical' in 'field list'

ERROR BELOW::


Database error in vBulletin 3.0.3:

Invalid SQL: update warning_options set
hierarchical='Yes',
warner='0',
banned_limit='7',
points_before_banned='10',
banned_usergroup_id='8',
troll_usergroup_id='8',
protected_usergroups='6',
incr_ban_days='Yes',
max_no_bans='3',
multiple_per_post='Yes',
send_pm_warning='Yes',
send_em_warning='Yes',
historical='Yes',
allowoffpost='Yes',
warnings_per_page='10'
where oid='1'
mysql error: Unknown column 'hierarchical' in 'field list'

mysql error number: 1054

Date: Tuesday 23rd of November 2004 01:45:59 PM
Script: http://www.myfootballforum.com/10293...admin_warn.php
Referer: http://www.myfootballforum.com/10293...=manageoptions
Username: boro_boy
IP Address: 62.254.64.19

==============================================

This is possible because I can't find anything containing 'hierarchical' in the SQL below I think the 'hierarchical' bit of the script which is missing should be above line 3 below, (above `warner` int(10) unsigned, )

CREATE TABLE `".TABLE_PREFIX."warning_options` (
`oid` int(15) NOT NULL auto_increment,
`warner` int(10) unsigned,
`banned_limit` int(15) NOT NULL,
`points_before_banned` int(15) NOT NULL default '0',
`banned_usergroup_id` int(15) default '0',
`protected_usergroups` varchar(10),
`troll_usergroup_id` varchar(10),
`incr_ban_days` char(3),
`max_no_bans` int(5),
`multiple_per_post` char(3),
`send_pm_warning` char(3),
`send_em_warning` char(3),
`historical` char(3),
`allowoffpost` char(3),
`warnings_per_page` int(3),
PRIMARY KEY (`oid`)
) TYPE=MyISAM


This erro keeps coming up when i change the settings in the admin cp.

Cheers

mcyates 11-23-2004 12:07 PM

I fixed it my adding this

Code:

ALTER TABLE `warning_options` ADD `hierarchical` VARCHAR( 3 ) DEFAULT NULL AFTER `oid` ;

Revan 11-23-2004 12:16 PM

Sounds nice, Im gonna chill with Erwin's hack until the number of users reporting bugs <= 0 ;)

mcyates 11-23-2004 12:31 PM

Quote:

Originally Posted by Revan
Sounds nice, Im gonna chill with Erwin's hack until the number of users reporting bugs <= 0 ;)

that's the only bug i've found. Eveything else is fine, great hack!!

Installed

sv1cec 11-23-2004 01:58 PM

And this is not a bug, the installation script and the upgrade script include this column, in the warning_options table, check for yourself. Probably mcyates didn't run the scripts, maybe he upgraded manually, from an earlier version which I've published in ZT's thread?

Rgds

mcyates 11-23-2004 02:20 PM

I ran the script but it didn't do anything so i had to do it manually. It was the upgrade script that i ran.

sv1cec 11-23-2004 02:25 PM

Quote:

Originally Posted by mcyates
I ran the script but it didn't do anything so i had to do it manually. It was the upgrade script that i ran.

What you mean it didn't do anything? Didn't it upgraded your tables etc? Oh heck, time to work on that Sun, I need to do something about its disk space, before I can use it as a test environment again.

Agent Jones 11-23-2004 02:45 PM

Clean install works fine! Thanks!

* clicks install


All times are GMT. The time now is 05:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04289 seconds
  • Memory Usage 2,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete