The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Advanced Warning System (Beta Version) Details »» | |||||||||||||||||||||||||
Advanced Warning System
IF YOU ARE RUNNING vB 3.6, THERE IS A NEW THREAD FOR THIS HACK UNDER THAT VERSION. vB 3.6 USERS GO HERE: https://vborg.vbsupport.ru/showthread.php?t=124477 This is a direct port of the Advanced Warning System, as it was implemented in vB 3.0.x. This port has all the features of AWS version 3.4.16, except the Notes. For a complete description of AWS capabilities, please refer to the following thread: https://vborg.vbsupport.ru/showthread.php?p=574374 The vB 3.5 compliant version of AWS includes: 1 Product XML (17 Plugins, 107 Phrases, 26 Templates, 43 Settings) 1 ACP Navigation XML 1 PHP Functions File 3 Images 2 PHP Frontend Files 1 PHP Admin CP File 1 PHP Mod CP File 3 PHP Cronjob Files This port would not be possible, without the help of KirbyDE, to whom I am greatful. KirbyDE will also be responsible for supporting you here, with questions related to this particular release. Also, this port would not have been possible, without the help of Juan P hernandez, who offered me a free test system, in which the porting was performed. The hack has been tested and it is believed to be bug-free, however since this is a major hack, I release it today (September 9th 2005) as beta. I hope you all enjoy it. History (Productversion) 3.5.b Initial Version 3.5.b1 Fixed a typo that caused Errors in User Datamanager. Fixed a wrong object reference in functions_warning.php 3.5.b2 Fixed a Bug that caused PHP Error Messages. Fixed a Typo in the Install Code that causes mySQL Errors. Updated the Template Edit instructions to be (hopefully) compatible with RC3 3.5.b3 Fixed User not showing up in automatic warning PMs Fixed 2 missing Phrases Fixed Hidden Warner being Used for Automatic Warnings Fixed "View x's Warnings" Button in Usermanager not working 3.5.b4 Removed one unsued Phrase, added one missing Phrase Fixed a Typo that caused PHP Errors when sending PMs Fixed a Typo that caused PHP Errors upon Installation Changed Product ID for Admin CP Navigation XML from vbulletin to aws, so it won't show up any longer if AWS is uninstalled/disabled. A bug was found which didn't allow you to delete an entered Warning Type. Bug fixed in the current distribution file. If you found a Bug, please report it at http://bugs.kirbydemos.ath.cx This helps to keep issues organized, which can't be guaranteed if it's only posted in the Thread. Thank you. P.S.1: After you install the hack per the instructions, please update your installation with the separate files listed. They are newer files not included in the zip. P.S.2: If you want to use the Notes feature, as it existed in AWS 3.4.16, please install AWS per the instructions in the zip file, and THEN follow the instructions included in the warn_notes_update_instructions.txt. IMPORTANT NOTE: Please keep in mind that this hack is not supported. What this means is that I have no obligation to support it. The reason for that, is because I have no access to a vB 3.5 system any more, so I can't work on this hack any more. Andreas (or KirbyDE) who undertook the support of this version of the AWS hack in the beginning, is obviously too busy to support it. So you are on your own, at least as far as the interaction with vB is concerned. If you have an issue with the hack files themselves, I'll do my best to solve it, but without a test environment, it is not easy. So users of vB 3.5 beware! P.S. May 31st 2006: The zip file uploaded today, should contain all the debugging done by Delphi, so it should be fine as it is. You do not need the other files listed at the right, only the zip. Download it and follow the instructions in it, for installing the hack. I leave the other files there, just in case some one needs them, they will be deleted later. SV1CEC Supporters / CoAuthors Show Your Support
|
Comments |
#42
|
||||
|
||||
This is sweet.
Some problems I have are: I removed the joindate bit out of my postbit_legacy so I have no where to put the warned sign code, i've tried to put it in a bunch of other places but it never worked and screwed up some tables. And, I need to know if it's possible to NOT allow a certain usergroup to use the warning system. I don't want my Moderators to be able to use it, I want to allow admins and super mods only? |
#43
|
||||
|
||||
No, this is currently not possible.
I'll have to check if there is a way to do this for future Versions though. |
#44
|
||||
|
||||
Here's my current postbit_legacy:
Code:
<!-- post #$post[postid] --> <if condition="$show['spacer']"> $spacer_open <if condition="!$post['islastshown']"> <div style="padding:0px 0px 0px 0px"> <else /> <if condition="$post['toppadding']"> <div style="padding:$stylevar[cellpadding]px 0px 0px 0px"> </if> </if> <div id="edit$post[postid]"> </if> <table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr valign="top"> <td class="<if condition="$post[postcount] % 2">alt2<else />alt1</if>" width="200"> <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> <if condition="$show['avatar']"> <div class="smallfont"> <br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </div> </if> <if condition="$show['warning']"><br /><br /><div class="smallfont">$post[warning]</div></if> <div class="smallfont"> <br /> <!-- checks for warning system --> <if condition="THIS_SCRIPT=='showthread' AND $buttons=='Text'"> <if condition="$showwarnlink==1"> <if condition="$vboptions['warn_allownotes']==1"> <a href='Warn.php?do=NoteUser&id=$post[userid]&post=$post[postid]'>Add Note for $post[username]</a> </if> <a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[username]</a> </if> <if condition="$showviewwarnlink==1"> <a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View Warnings</a> </if> <if condition="$showviewyourslink==1"> <a href='Warn.php?do=ViewMyWarnings'>View My Warnings</a> </if> </if> <if condition="THIS_SCRIPT=='showthread' AND $buttons=='Buttons'"> <if condition="$showwarnlink==1"> <if condition="$vboptions['warn_allownotes']==1"> <a href='Warn.php?do=NoteUser&id=$post[userid]&post=$post[postid]'><input type="button" class="button" name="warn" value="Add Note for $post[username]" accesskey="n" onClick="window.location='Warn.php?do=NoteUser&id=$post[userid]&post=$post[postid]'"></a> </if> <a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'><input type="button" class="button" name="warn" value="Warn $post[username]" accesskey="w" onClick="window.location='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'"></a> </if> <if condition="$showviewwarnlink==1"> <a href='Warn.php?do=ViewWarnings&id=$post[userid]'><input type="button" class="button" name="warn" value="View Warnings" accesskey="v" onClick="window.location='Warn.php?do=ViewWarnings&id=$post[userid]'"></a> </if> <if condition="$showviewyourslink==1"> <a href='Warn.php?do=ViewMyWarnings'><input type="button" class="button" name="warn" value="View My Warnings" accesskey="v" onClick="window.location='Warn.php?do=ViewMyWarnings'"></a> </if> </if> <!-- end of warning system --> <if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if> <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> </div> </td> <if condition="$show['moderated']"> <td class="<if condition="$post[postcount] % 2">alt2<else />alt1</if>" id="td_post_$post[postid]"> <else /> <td class="<if condition="$post[postcount] % 2">alt2<else />alt1</if>" id="td_post_$post[postid]"> </if> <if condition="$show['messageicon'] OR $post['title']"> <!-- icon and title --> <div class="smallfont"> <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if> <if condition="$post['title']"><strong>$post[title]</strong></if> </div> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <!-- / icon and title --> </if> <!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> <if condition="$show['attachments']"> <!-- attachments --> <div style="padding:$stylevar[cellpadding]px"> <if condition="$show['thumbnailattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_thumbnails]</legend> <div style="padding:$stylevar[formspacer]px"> $post[thumbnailattachments] </div> </fieldset> </if> <if condition="$show['imageattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <div style="padding:$stylevar[formspacer]px"> $post[imageattachments] </div> </fieldset> </if> <if condition="$show['imageattachmentlink']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_images]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[imageattachmentlinks] </table> </fieldset> </if> <if condition="$show['otherattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attached_files]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[otherattachments] </table> </fieldset> </if> <if condition="$show['moderatedattachment']"> <fieldset class="fieldset"> <legend>$vbphrase[attachments_pending_approval]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> $post[moderatedattachments] </table> </fieldset> </if> </div> <!-- / attachments --> </if> <if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> <if condition="$show['postedited']"> <!-- edit note --> <div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <em> <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>. <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if> </em> </div> <!-- / edit note --> </if> </td> </tr> <tr> <td class="<if condition="$post[postcount] % 2">alt2<else />alt1</if>"> $post[onlinestatus] <if condition="$show['reputationlink']"><a href="#" onclick="reputation($post[postid]); return false;"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if> <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if> $post[iplogged] <span class="smallfont"> <if condition="!$show['start_until_end']"> $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if> <else /> <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase> </if> </span> </td> <if condition="$show['moderated']"> <td class="<if condition="$post[postcount] % 2">alt2<else />alt1</if>" align="$stylevar[left]"> <else /> <td class="<if condition="$post[postcount] % 2">alt2<else />alt1</if>" align="$stylevar[left]"> </if> <!-- controls --> <if condition="$post['editlink']"> <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a> </if> <if condition="$post['forwardlink']"> <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a> </if> <if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> <if condition="$show['quickreply'] AND !$show['threadedmode']"> <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a> </if> <if condition="$show['moderated']"> <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" /> </if> <if condition="$show['postcount']"># <a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow"><strong>$post[postcount]</strong></a></if> <if condition="$show['inlinemod']"> <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" /></if> </td> <!-- / controls --> </td> </tr> </table> <!-- post $post[postid] popup menu --> <div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$post[username]</td> </tr> <if condition="$show['profile']"> <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr> </if> <if condition="$show['pmlink']"> <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr> </if> <if condition="$show['emaillink']"> <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr> </if> <if condition="$show['homepage']"> <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr> </if> <if condition="$show['search']"> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr> </if> <if condition="$post['userid'] AND $show['member']"> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr> </if> </table> </div> <!-- / post $post[postid] popup menu --> <if condition="$show['spacer']"></div><if condition="!$post['islastshown']"></div></if>$spacer_close</if> <!-- / post #$post[postid] --> |
#45
|
||||
|
||||
Updated, details see first Post.
|
#46
|
||||
|
||||
Thanks for that update, worked perfectly!
|
#47
|
|||
|
|||
I am using v1.0.2 of this product on a live RC3 Forum.
The automatic warnings work fine, except, when a PM is sent to the user from the Automatic Warner, it doesn't actually show who the PM was sent by. Also, in the AdminCP AWS navgroup, when i click on "View Auto-Warned PMs" i get this vBulletin message: Could not find phrase 'warning_warn_noautomaticpm' Otherwise, all is good at the moment. |
#48
|
||||
|
||||
Quote:
I am missing: error_moveillegalforum warning_warn_noautomaticpm I'm guessing just two phrases got skipped over in the new XML document. I also tried opening up a phrase and saving it as I've seen other hacks ask you to do before to update the phrase system and this did not help. I signed up for the bug tracker but, I'm still waiting on the confirmation e-mail. |
#49
|
||||
|
||||
Don't know where these Phrases came from (they don't seem to be in the 3.0 Version), but I've added them.
But as this is just a cosmetic issue I will not update the ZIP now ...w wating for more problems @TruthElixirX You should have gotten the eMail immediately. Spam Filter? Edit: I guess you will never get it ... xyz@gmailc.om is what you've entered Gonna change that manually now. |
#50
|
||||
|
||||
Quote:
So can we jsut add those phrases into the system and make thier text jsut a blank space? |
#51
|
||||
|
||||
Leave the phrases as-is at the moment, they will be included when the ZIP gets the next Update.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|