PDA

View Full Version : Administrative and Maintenance Tools - Advanced Warning System 3.6.7


Pages : 1 [2] 3

Burley
04-21-2007, 05:52 PM
Thanks for this great hack!

It works great, allthough during the install there were several times that the code in the template wasn't the same as the one in the manual, mostly span and div tags.

And also I was wondering, why you didn'add the vbphrases for the "quick links" user menu but decided to put in the actual words in the code?

But, like I said; GREAT HACK >> clicks install

sv1cec
04-22-2007, 12:03 PM
Well, the lack of phrases is not Delphi's mistake. When I started writing this hack, a couple of years ago (for vB 3.0.xx), I was not very good at php or at the way vB worked. Actually, it wasn't even me who started this hack. I got the core of the code from another programmer here, Zero Tolerance. As it usually happens, there were several issues with Zero's hack, which were not exactly to my liking, so I decided to study the code to make it more suitable for my site. In reality I learned php by studying vB's code. Evidently some of the initial code was not ... according to vB standards, hence no phrases etc.

I thought I should clarify that, since it was not Delphi's bad coding, but mine.

Burley
04-22-2007, 06:38 PM
Thanks for clearing that up. But really I wasn't trying to put the blame on anyone.

I was just wondering why, with a hack which has that much effort put in, something as small as that wasn't in there (these were the only 2 I could find) and perhaps the creator could put it in there when updating it (if nescesary) the next time.

sv1cec
04-23-2007, 07:42 AM
That's up to Delphi to decide. I no longer work on this version of the hack.

vB 3.5 and 3.6 is too complicated for me to bother.

:D :)

Burley
05-08-2007, 12:48 PM
Ok, so my next question go's out to Delphi then ;)

I was reading about disabling the infraction system wit the <!-- -->, I edited the postbit_legacy as you instructed.

BUT then there is the memberinfo template, did I comment out the right code?


$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar

<!-- main info - avatar, profilepic etc. -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<!-- Advanced Warning System -->

<tr>
<td class="tcat">
<!-- checks for warning system -->
<span class="smallfont" style="float:$stylevar[right]">
<if condition="THIS_SCRIPT=='member' AND $vboptions[warn_allowoffpost]==1 AND $buttons=='Text'">
<if condition="$showwarnlink==1">
<if condition="$vboptions['warn_allownotes']==1">
<a href='Warn.php?do=NoteUser&id=$post[userid]&post=0'><phrase 1="$userinfo[username]">$vbphrase[aws_addnote_profile_link]</phrase></a>&nbsp;</if>
<a href='Warn.php?do=WarnUserNoPost&id=$userinfo[userid]'><phrase 1="$userinfo[username]">$vbphrase[aws_addwarn_profile_link]</phrase></a>&nbsp;<a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'><phrase 1="$userinfo[username]">$vbphrase[aws_view_warnings_profile]</phrase></a>
</if>
<if condition="$showviewyourslink==1">
<a href='Warn.php?do=ViewMyWarnings'>$vbphrase[aws_view_your_warnings_profile]</a>
</if>
</if>

<if condition="THIS_SCRIPT=='member' AND $vboptions[warn_allowoffpost]==1 AND $buttons=='Buttons'">
<if condition="$showwarnlink==1">
<if condition="$vboptions['warn_allownotes']==1">
<a href='Warn.php?do=NoteUser&id=$post[userid]&post=0'><input type="button" name="warn" value="<phrase 1='$post[username]'>$vbphrase[aws_addnote_profile]</phrase>" accesskey="n" onClick="window.location='Warn.php?do=NoteUser&id=$post[userid]&post=0'"class="button"></a> &nbsp;
</if>
<a href='Warn.php?do=WarnUserNoPost&id=$userinfo[userid]'><input type="button" name="warn" value="<phrase 1='$post[username]'>$vbphrase[aws_addwarn_profile]</phrase>" accesskey="w" class="button" onClick="window.location='Warn.php?do=WarnUserNoPost&id=$userinfo[userid]'"></a>&nbsp;<a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'><input type="button" class="button" name="warn" value="View $post[username]'s Warnings" accesskey="v" onClick="window.location='Warn.php?do=ViewWarnings&id=$userinfo[userid]'"></a>
</if>
<if condition="$showviewyourslink==1">
<a href='Warn.php?do=ViewMyWarnings'><input type="button" class="button" name="warn" value="View Your Warnings" accesskey="v" onClick="window.location='Warn.php?do=ViewMyWarnings'"></a>
</if>
</if>
</span>
<!-- end of warning system -->

<!-- Advanced Warning System -->


<tr>
<td class="alt2">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="border-bottom:1px solid $stylevar[tborder_bgcolor]" width="100%" colspan="2">
<if condition="$userinfo['rank'] OR $userinfo['reputationdisplay']">
<div style="float:$stylevar[right]; padding:4px">
<if condition="$userinfo['rank']"><div align="center">$userinfo[rank]</div></if>
<if condition="$userinfo['reputationdisplay']"><div align="center">$userinfo[reputationdisplay]</div></if>
</div>
</if>
<div class="bigusername">$userinfo[musername] $userinfo[onlinestatus]</div>
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
</td>

<!-- Advanced Warning System -->

<td style="border-bottom:1px solid $stylevar[tborder_bgcolor]" align="$stylevar[right]" nowrap="nowrap">
<div class="smallfont">
<b>User ID :</b> $userinfo[userid]<br />
<if condition="$showpoints==1">
<if condition="$userinfo[alerts]>0">
<font color="#ff0000">
<phrase 1="$userinfo[alerts]">$vbphrase[aws_alerts_member_profile]</phrase><BR>
<font color="#000000">
</if>
<if condition="$userinfo[warns]>0">
<font color="#ff0000">
<phrase 1="$userinfo[warns]">$vbphrase[aws_warnings_member_profile]</phrase><BR>
<font color="#000000">
</if>
<if condition="$userinfo[warning_level]>0">
<font color="#ff0000">
<phrase 1="$userinfo[warning_level]">$vbphrase[aws_warninglevel_member_profile]</phrase><BR>
<font color="#000000">
</if>
<if condition="$userinfo[warning_bans]>0">
<font color="#ff0000">
<phrase 1="$userinfo[warning_bans]">$vbphrase[aws_warningbans_member_profile]</phrase><BR>
<font color="#000000">
</if>
</if>
</td>

<!-- Advanced Warning System -->

<!-- Advanced Warning System -->
<if condition="$show['profilepic'] AND (($vboptions[warn_pic_thresshold]<0 AND $userinfo[warning_level]<=$vboptions[warn_pic_thresshold]) OR $vboptions[warn_pic_thresshold] == 0)">

<!-- Advanced Warning System -->

<td valign="top" align="$stylevar[right]" rowspan="2">
<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
</td>
</if>
</tr>
<tr valign="top">

<!-- Advanced Warning System -->

<if condition="$show['avatar'] AND (($vboptions[warn_avatar_thresshold]<0 AND $userinfo[warning_level]<=$vboptions[warn_avatar_thresshold]) OR $vboptions[warn_avatar_thresshold] == 0)">

<!-- Advanced Warning System -->

<td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>
<else />
<td>&nbsp;</td>
</if>
<td class="smallfont" valign="bottom" align="$stylevar[right]">
<if condition="$show['lastactivity']">
<div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span>&nbsp;</div>
</if>
<if condition="$show['currentlocation']">
<div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]&nbsp;</div>
</if>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- / main info - avatar, profilepic etc. -->

<!-- button row -->
<if condition="$show['profilelinks']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$userinfo['showvcard']">
<td class="vbmenu_control"><a href="member.php?$session[sessionurl]do=vcard&amp;u=$userinfo[userid]" rel="nofollow">$vbphrase[download_vcard]</a></td>
</if>
<if condition="$show['member']">
<td class="vbmenu_control">
<if condition="$show['addbuddylist']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a>
<else />
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>
</if>
</td>
<td class="vbmenu_control">
<if condition="$show['addignorelist']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a>
<else />
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
</if>
</td>
</if>
<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
</if>
<!--<if condition="$show['giveinfraction']">
<td class="vbmenu_control"><a href="infraction.php?$session[sessionurl]do=report&amp;u=$userinfo[userid]">$vbphrase[give_infraction]</a></td>
</if>-->
</tr>
</table>
</if>
<!-- / button row -->

<br />

<!-- infractions row
<if condition="$show['infractions']">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="$colspan"><span style="float:$stylevar[right]" class="smallfont"><phrase 1="$userinfo[ipoints]">$vbphrase[x_points_total]</phrase>&nbsp; &nbsp;</span>$vbphrase[infractions]</td>
</tr>
<tr>
<td class="thead" colspan="2">&nbsp; &nbsp;$vbphrase[post]</td>
<td class="thead">$vbphrase[date]</td>
<td class="thead">$vbphrase[expires]</td>
<td class="thead">$vbphrase[points]</td>
<td class="thead">$vbphrase[reason]</td>
<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
<if condition="$show['reverse']"><td class="thead">$vbphrase[details]</td></if>
</tr>
$infractionbits
</table>
<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="bottom">
<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>

<br />
</if>
/ infractions row -->

<!-- Advanced Warning System -->

<if condition="$pnotes!='' AND $vboptions['warn_allownotes']==1">

<table border="1" width="100%" align="center" class="alt2">
<tr>
<td align="center" class="thead" colspan="5">
<div class="smallfont">$vbphrase[aws_noteslist_profile]</div>
</td>
</tr>
<tr>
<td align="center" class="smallfont" width="10%">
$vbphrase[aws_noteslist_profile_moderator]
</td>
<td align="center" class="smallfont" width="15%">
$vbphrase[aws_noteslist_profile_time]
</td>
<td align="center" class="smallfont">
$vbphrase[aws_noteslist_profile_moderator_note]
</td>
<td align="center" class="smallfont" width="5%">
$vbphrase[aws_noteslist_profile_post]
</td>
<td width="5%" class='smallfont' align='center'>
$vbphrase[aws_noteslist_profile_remove]
</td>
</tr>
$pnotes
</table>
<br>
</if>

<!-- Advanced Warning System -->

<!-- Advanced Warning System -->
<if condition="$show['signature'] AND (($vboptions[warn_sig_thresshold]<0 AND $userinfo[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)">

<!-- Advanced Warning System -->

<!-- signature row -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">$vbphrase[signature]</td>
</tr>
<tr>
<td class="alt1" title="$vbphrase[signature]">$userinfo[signature]</td>
</tr>
</table>
<!-- / signature row -->
<br />
</if>


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" width="50%">$vbphrase[forum_info]</td>
<td class="tcat" width="50%">$vbphrase[contact_info]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[join_date]: <strong>$userinfo[datejoined]</strong>
</div>
</div>

<fieldset class="fieldset">
<legend>$vbphrase[posts]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
</td>
</tr>
<if condition="$vboptions['profilelastpost']">
<tr>
<td>
$vbphrase[last_post]:<br />
<a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br />
$userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span>
</td>
</tr>
</if>
<tr>
<td><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
</tr>
<tr>
<td><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;s earchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
</table>
</fieldset>

<if condition="$vboptions['usereferrer']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[referrals]: <strong>$referrals</strong>
</div>
</div>
</if>

<!-- SR Classified light -->

<if condition="$vboptions[sr_classifieds_active] == '1'">
<fieldset class="smallfont"><legend>$vbphrase[sr_classifieds]</legend>
<div><b>$vbphrase[sr_classifieds_feedscore]:</b> $userinfo[sr_classifieds_score]</div>
<div><b>$vbphrase[sr_classifieds_posfeed]:</b> $userinfo[sr_classifieds_pcnt]</div>
</fieldset>
</if>

<!-- SR Classified light -->



<if condition="$show['usernotes']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[user_notes]:
<if condition="$show['usernoteview']">
<strong>$usernote[total]</strong> [<a href="usernote.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[view]</a>]
</if>
<if condition="$show['usernotepost']">
[<a href="usernote.php?$session[sessionurl]do=newnote&amp;u=$userinfo[userid]">$vbphrase[post_user_note]</a>]
</if>
<if condition="$show['usernoteview']">
<br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
</if>
</div>
</div>
</if>

</div>
</div>
</td>

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="!$show['contactlinks']">
<tr>
<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_has_no_contact_info]</phrase></strong></td>
</tr>
</if>
<if condition="$show['homepage']">
<tr>
<td>
$vbphrase[home_page]:<br />
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
</td>
</tr>
</if>
<if condition="$show['email']">
<tr>
<td>
$vbphrase[email]:<br />
<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a>
</td>
</tr>
</if>
<if condition="$show['pm']">
<tr>
<td>
$vbphrase[private_message]:<br />
<a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>
</td>
</tr>
</if>
</table>
</div>

<if condition="$show['hasimicons']">
<fieldset class="fieldset">
<legend>$vbphrase[instant_messaging]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="$show['textimicons']">
<if condition="$userinfo['showicq']">
<tr>
<td>$vbphrase[icq]</td>
<td>$userinfo[icq]</td>
</tr>
</if>
<if condition="$userinfo['showaim']">
<tr>
<td>$vbphrase[aim]</td>
<td>$userinfo[aim]</td>
</tr>
</if>
<if condition="$userinfo['showmsn']">
<tr>
<td>$vbphrase[msn]</td>
<td>$userinfo[msn]</td>
</tr>
</if>
<if condition="$userinfo['showyahoo']">
<tr>
<td>$vbphrase[yahoo]</td>
<td>$userinfo[yahoo]</td>
</tr>
</if>
<if condition="$userinfo['skype']">
<tr>
<td>$vbphrase[skype]</td>
<td>$userinfo[skype]</td>
</tr>
</if>
<else />
<if condition="$userinfo['showicq']">
<tr>
<td>$userinfo[icqicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
</tr>
</if>
<if condition="$userinfo['showaim']">
<tr>
<td>$userinfo[aimicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
</tr>
</if>
<if condition="$userinfo['showmsn']">
<tr>
<td>$userinfo[msnicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
</tr>
</if>
<if condition="$userinfo['showyahoo']">
<tr>
<td>$userinfo[yahooicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
</tr>
</if>
<if condition="$userinfo['showskype']">
<tr>
<td>$userinfo[skypeicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
</tr>
</if>
</if>
</table>
</fieldset>
</if>


</div>
</div>
</td>

</tr>
<tr>
<td class="tcat" width="50%">$vbphrase[additional_information]</td>
<td class="tcat" width="50%">$vbphrase[group_memberships]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<if condition="$show['extrainfo']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="$show['birthday']">
<tr>
<td>
<strong>$vbphrase[birth_date]</strong>:<br />
$userinfo[birthday]
</td>
</tr>
</if>
<if condition="$show['age']">
<tr>
<td>
<strong>$vbphrase[age]</strong>:<br />
$userinfo[age]
</td>
</tr>
</if>
$customfields
</table>
<else />
<em>$vbphrase[n_a]</em>
</if>
</div>

</div>
</div>
</td>

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<if condition="$show['membergroups']">
<td></td>
<else />
<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td>
</if>
</tr>
$membergroupbits
</table>
</div>

</div>
</div>
</td>

</tr>
</table>

$footer

</body>
</html>

Delphiprogrammi
05-08-2007, 01:19 PM
looks good did you get an error when from the vb templateparser ? i must admit i am not "that busy" to this anymore then i use to

Burley
05-08-2007, 02:08 PM
No, not a single error.
I guess that means I did fine? ;)

Mrdby
05-13-2007, 12:07 PM
3.6.6?

Delphiprogrammi
05-16-2007, 03:34 PM
3.6.6?

yes it will run fine as long as you meet the requirements including the new 3.6.7

Quarantine
05-23-2007, 03:15 AM
Hi, I recently installed this mod. Everything works fine except for the occasional MySQL errors that I obtain via e-mail. One of them is as the following:

Invalid SQL:

INSERT INTO vbulletin_pmtext_warned
(fromuserid, fromusername, title, before_title, message, before_message, touserarray, dateline)
VALUES
(,
'',
'',
'<i>The user did not enter a title</i>',
'',
'CHO ANIKI!?\n\nDo you KNOW what Cho Aniki is???\n\nhttp://upload.wikimedia.org/wikipedia/en/<i><u>b|tch</u></i>/<i><u>b|tch</u></i>4/Cho-aniki-bakaretsu5.gif\n\n<i><u>homo</u></i> erotic men ftw.',
'',
1179889958);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
'',
'',
'<i>The user did not enter a title</i>',
'',
'CHO A' at line 4

Any ideas how I can correct this? It seems that the SQL syntax is wrong, of which I'm not familiar with. Thanks in advance!

Delphiprogrammi
05-23-2007, 12:26 PM
Hi, I recently installed this mod. Everything works fine except for the occasional MySQL errors that I obtain via e-mail. One of them is as the following:



Any ideas how I can correct this? It seems that the SQL syntax is wrong, of which I'm not familiar with. Thanks in advance!

that is caused by the featured called "automatic warnings" some user at your board is being caught to use words you have defined to be censored in either a thread or a private message you can get around by turning that feature of in the system settings

sv1cec
05-23-2007, 01:20 PM
Yes, but look at the SQL error. There is no user id, or user name. And why did that insert statement produced an error? It doesn't seem to be anything wrong with it, except the fact that there is no userid and username. Maybe the userid is a required field? I do not remember.

Quarantine
05-23-2007, 01:28 PM
that is caused by the featured called "automatic warnings" some user at your board is being caught to use words you have defined to be censored in either a thread or a private message you can get around by turning that feature of in the system settings

Thanks! I don't think there is a need for that feature for me anyway, so I'll disable it right away.

Delphiprogrammi
05-24-2007, 06:02 PM
Yes, but look at the SQL error. There is no user id, or user name. And why did that insert statement produced an error? It doesn't seem to be anything wrong with it, except the fact that there is no userid and username. Maybe the userid is a required field? I do not remember.

Yeah i did mean turn it of until i had a look into it.I'm trying to move stuff to the vb datamanagers.The savecopy option (that creates a thread in the predefined forum) is moved to the datamanager and working.The pm datamanager is giving me errors.I will try to dig them out

Celtkin
05-26-2007, 01:30 PM
I got the following errors when I imported the XML file to upgrade from 3.6.4:

The following dependencies were not met:

1. This product is not compatible with version 5.2.1-pl3-gentoo of PHP. (Compatible starting with 4.4.7 / Incompatible with 5.0.0 Beta 1 and greater)


Do I just need to remove the following from the XML;


<dependency dependencytype="php" minversion="4.4.7" maxversion="5.0.0 Beta 1" />

Delphiprogrammi
05-26-2007, 01:43 PM
I got the following errors when I imported the XML file to upgrade from 3.6.4:

The following dependencies were not met:

1. This product is not compatible with version 5.2.1-pl3-gentoo of PHP. (Compatible starting with 4.4.7 / Incompatible with 5.0.0 Beta 1 and greater)


Do I just need to remove the following from the XML;


Yeah but PHP 5 is not supported at the moment.I really should think about upgrading my server.I wanted to wait until php.net stopped with PHP 4 so php 5 whas the only supported release.

Celtkin
05-26-2007, 01:47 PM
Yeah but PHP 5 is not supported at the moment.I really should think about upgrading my server.I wanted to wait until php.net stopped with PHP 4 so php 5 whas the only supported release.

I thought so. Thanks Erik. I imported the product and my AWS is still showing as 3.6.1 and I am still getting this error when I try to add a new user

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/user.php(464) : eval()'d code on line 9

Delphiprogrammi
05-26-2007, 04:13 PM
I thought so. Thanks Erik. I imported the product and my AWS is still showing as 3.6.1 and I am still getting this error when I try to add a new user

this happens when you use admincp => users => add a new user ? i just tested that on my testboard and it whas working without errors so that is 95% sure a PHP 5 problem hmmmz that version should update maybe i forgot something always possible

I will upgrade my Cpanel server to PHP5 and see if get that error or catch other ones

Celtkin
05-26-2007, 07:48 PM
this happens when you use admincp => users => add a new user ? i just tested that on my testboard and it whas working without errors so that is 95% sure a PHP 5 problem hmmmz that version should update maybe i forgot something always possible

I will upgrade my Cpanel server to PHP5 and see if get that error or catch other ones

Thanks Erik :)

The hack also interfered with posting. I got the following errors after modifying and loading the product file:

Parse error: syntax error, unexpected ')' in includes/class_dm_threadpost.php(772) : eval()'d code on line 2

Fatal error: Field vbbux is not defined in $validfields in class vB_DataManager_Post in /includes/class_dm.php on line 485

Delphiprogrammi
05-27-2007, 08:53 AM
Thanks Erik :)

The hack also interfered with posting. I got the following errors after modifying and loading the product file:

the second error message seems to be caused by another hack (vbucks)

this one


Parse error: syntax error, unexpected ')' in includes/class_dm_threadpost.php(772) : eval()'d code on line 2


It's possible this is coming from aws as the system uses the datamanager but those functions are working normally at my board.The only suggestion i can make here is turn off anything else then aws if those errors are stil there then you can be *sure* they are caused by this hack.I upgraded my Server to PHP5 and the system is working fine so far

Delphiprogrammi
05-27-2007, 08:08 PM
pm datamanager is working on my testboard and all fields updating as they should update :D.The newly added check for the "receivepm" permission does seem to cause an array_merge error under PHP5 with pm's sended from admin_warn.php.I will see what i can do about it

evanoo
05-31-2007, 02:48 AM
hey bro delphi u forgot to put the warn.gif in the folder of hack lol:p can i have that gif

Bravo
05-31-2007, 04:21 AM
My hosting is still using 4.4.4 and the hack checks for minium of 4.4.7

I bypassed it but there a error everytime you reply to a post. Is there another way to fix it for 4.4.4, or should I wait to see if my host ever upgrades to 4.4.7?

Delphiprogrammi
05-31-2007, 06:36 AM
hey bro delphi u forgot to put the warn.gif in the folder of hack lol:p can i have that gif

the package has been updated with the missing images i knew i forgot something now i know what

Delphiprogrammi
05-31-2007, 06:40 AM
My hosting is still using 4.4.4 and the hack checks for minium of 4.4.7

I bypassed it but there a error everytime you reply to a post. Is there another way to fix it for 4.4.4, or should I wait to see if my host ever upgrades to 4.4.7?

You could post the error message maybe you're lucky and we know a solution ....Your host should however upgrade to at least 4.4.7 because anything below that including 4.4.4 has security holes in it there might be a reason why your host does not upgrade you would have to ask them

Bravo
05-31-2007, 09:43 AM
You could post the error message maybe you're lucky and we know a solution ....Your host should however upgrade to at least 4.4.7 because anything below that including 4.4.4 has security holes in it there might be a reason why your host does not upgrade you would have to ask them

It's really weird but mainly when someone replys to a post, it comes up with this

"The following errors occurred when this message was submitted

Okay "

and make it seem like it never posted, but if you reload the page the post is there. it only fixes when I disable AWS :(

EDIT: my host said they only run that version, but that I could change my config and have it use php 5.0+

Delphiprogrammi
05-31-2007, 05:06 PM
It's really weird but mainly when someone replys to a post, it comes up with this

"The following errors occurred when this message was submitted

Okay "

and make it seem like it never posted, but if you reload the page the post is there. it only fixes when I disable AWS :(

EDIT: my host said they only run that version, but that I could change my config and have it use php 5.0+

that is indeed weird only that text "ok" hmmmz then it won't matter if you use PHP 4 or PHP 5 that looks like you have a modification somewhere that messes things up.Create a new style (choose no parent) that will force it to use the default templates then upload all original vBulletin files no other idea :(

Bravo
05-31-2007, 07:44 PM
the thing is, it was working fine, untill I installed the new AWS 3.6.1 then after that, this started happening.

Even on the default skin it does it, and the default skin has no modifications.

everything only fixes when I disable AWS

evanoo
06-01-2007, 01:31 AM
somethin is messing up i also got the same error while opening the thread and whitle posting i jus got error like Bravo2007 The following errors occurred when this message was submitted

while opening a thread
Parse error: parse error, unexpected ')' in ***\httpdocs\forum\includes\class_dm_threadpost.ph p(772) : eval()'d code on line 4

Fatal error: Field vbbux is not defined in $validfields in class vB_DataManager_Post in \includes\class_dm.php on line 485

every thing works fine when i disable AWS

i think AWS is messing with Vbux system somewhere

is this error can be bcz of php 5 ?

look into it bro delphi

Delphiprogrammi
06-01-2007, 12:23 PM
somethin is messing up i also got the same error while opening the thread and whitle posting i jus got error like Bravo2007 The following errors occurred when this message was submitted

while opening a thread


every thing works fine when i disable AWS

i think AWS is messing with Vbux system somewhere

is this error can be bcz of php 5 ?

look into it bro delphi

vbux is known to have security holes in it ..... That hack is even removed from here because of the holes in it and the author not being active to fix them the only thing i can suggest is get rid of vbux

Silver_Seagull
06-01-2007, 02:46 PM
I can confirm the error with PHP 4.4.4 (and presumably lower)

When posting a message, users receive the error "This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to that thread."

as well as a server response injected into the page, reading
Parse error: parse error, unexpected ')' in *real path to forums*\includes\class_dm_threadpost.php(656) : eval()'d code on line 2

4.4.7 may fix it, I'll have to talk at my host today.

Silver_Seagull
06-02-2007, 02:47 PM
PHP has been updated on my host and I still receive the same error. I do not have "vBux" installed, or any other hack that would interfere. It throws the error on the default skin as well with all other hacks disabled.

Let me know if I can do anything else to help get this solved.

Delphiprogrammi
06-02-2007, 03:12 PM
PHP has been updated on my host and I still receive the same error. I do not have "vBux" installed, or any other hack that would interfere. It throws the error on the default skin as well with all other hacks disabled.

Let me know if I can do anything else to help get this solved.

this error message


Parse error: parse error, unexpected ')' in ***\httpdocs\forum\includes\class_dm_threadpost.ph p(772) : eval()'d code on line 4


is possible to it is caused by aws the system does use that datamanager

while this one


Fatal error: Field vbbux is not defined in $validfields in class vB_DataManager_Post in \includes\class_dm.php on line 485


is impossible to come from the aws system that is as the error messages indicates a problem with vbux (evanoo post)

it is however possible you only get the first one because you don't have vbux installed

try this.Goto in your admincp => product system => plugins manager and temporarly disable the aws plugin at hook postdata_start (set it to inactive) then try again it the error message disappaers we know it's been caused by that plugin

edit

make sure the plugin phpcode for hook postdata_start is


$this->validfields['title'][VF_CODE] = '$dm->set_info(\'orgtitle\', $data); return $dm->verify_title($data);';
$this->validfields['pagetext'][VF_CODE] = '$dm->set_info(\'orgmessage\', $data); return $dm->verify_pagetext($data);';




there is a difference in the package currently availible i will update it

package has been update with this change

Bravo
06-03-2007, 02:38 AM
Delphiprogrammi, do you recommend PHP 4.4.4 or PHP 5.2.2 ? those are the only 2 I can use on my hosting account

Delphiprogrammi
06-03-2007, 07:17 AM
Delphiprogrammi, do you recommend PHP 4.4.4 or PHP 5.2.2 ? those are the only 2 I can use on my hosting account

then i would choose 5.2.2 the depency type has been removed from the package so you should not see vBulletin complaining about the used PHP version.The error message a couple of posts back should be gone to

Bravo
06-03-2007, 07:28 AM
then i would choose 5.2.2 the depency type has been removed from the package so you should not see vBulletin complaining about the used PHP version.The error message a couple of posts back should be gone to

ok thanks, I'll re-install it and let you know :)

The Bouncer 611
06-03-2007, 08:55 AM
Im having the same issue that bravo2007 is having.I had aws installed and it ran perfectly until I upgraded to the new verison and now I cant edit post.I disabled every hack and still cant edit post.So I went back to the older verison until this issue is fixed.

Celtkin
06-03-2007, 02:47 PM
Hi Erik,

I am having the same problem but no longer have vbBux or vbPlaza installed. I get error briefly when someone posts:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in .../httpdocs/boardvb2/includes/class_dm_threadpost.php(656) : eval()'d code on line 1

ginger22
06-06-2007, 12:49 PM
Same error
[06-Jun-2007 17:44:59] PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /hq/site/foo/www/includes/class_dm_threadpost.php(656) : eval()'d code on line 1

[06-Jun-2007 17:46:05] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /hq/site/foo/www/includes/class_dm_threadpost.php(829) : eval()'d code on line 64

I have installed Favorite Smiles, ipInfo, vbAnonymizer.

Delphiprogrammi
06-06-2007, 01:10 PM
is that error still there damn it :mad: gonna test it right now

ginger22
06-06-2007, 01:16 PM
This error:
[06-Jun-2007 17:44:59] PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /hq/site/foo/www/includes/class_dm_threadpost.php(656) : eval()'d code on line 1
Dissappear when I disabled postdata_start hook.
But, what happend if this be disabled? Or I need to enable this agayn?

Second error still here...

Delphiprogrammi
06-06-2007, 01:34 PM
i tested it on my testboard with a post related warning and a non post related warning no errors at all (both of them didn't showed up) the postdata_start hook at wrong code PHP code in it true but you need to manually edit the plugin at that hook and no you need that hook or some data will be missing.I'll see later to package the fix as a plugin that you can import.This is not your fault but mine i forgot to mention you need to manually update that hook otherwise vBulletin will not update it

here it is imprt this through admincp => product system => download/ upload plugins

ginger22
06-06-2007, 01:39 PM
The second error will be fixed?

Silver_Seagull
06-06-2007, 06:46 PM
I am still getting errors on 4.4.7 after applying the fix and the updated files.

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in C:\<path>\includes\class_dm_threadpost.php(656) : eval()'d code on line 1

and

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\<path>\includes\class_dm_threadpost.php(829) : eval()'d code on line 64

I've disabled all other hacks except this and I am still getting these errors, even on the default skin. Had to disable, since I don't have the old version lying around.

Delphiprogrammi
06-06-2007, 09:05 PM
hmmmz,

I do drink much but it doesn't contain any alcohol. :rolleyes:


this->validfields['title'][VF_CODE] = '$dm->set_info(\'orgtitle\', $data); return $dm->verify_title($data);';
$this->validfields['pagetext'][VF_CODE] = '$dm->set_info(\'orgmessage\', $data); return $dm->verify_pagetext($data);';


should be

$this->validfields['title'][VF_CODE] = '$dm->set_info(\'orgtitle\', $data); return $dm->verify_title($data);';
$this->validfields['pagetext'][VF_CODE] = '$dm->set_info(\'orgmessage\', $data); return $dm->verify_pagetext($data);';


i forgot a "$" $this is a PHP variable refering to the "current" object.The newly attached error_fix.xml contains the change and this time it's gonna work or you can shoot me :D

ginger22
06-07-2007, 04:59 AM
Wow! Great! This work!
But i still get
[07-Jun-2007 09:57:54] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /hq/site/foo/www/includes/class_dm_threadpost.php(829) : eval()'d code on line 64

ginger22
06-07-2007, 07:23 AM
And also: How can I do another language template?

Delphiprogrammi
06-07-2007, 09:21 AM
And also: How can I do another language template?

You are free to Translate the phrases into any language you wish to use.. that's why the phrases system excist

as for the error message you still see that is coming from the postdata_postsave hook and that one is used by the automatic warnings feature which can be turned off in the system settings

The package availible for download has been updated to include the fix for the PHP error message and the original error_fix.xml is removed to avoid confusion

ginger22
06-07-2007, 09:34 AM
You are free to Translate the phrases into any language you wish to use.. that's why the phrases system excist

No, I mean, how can I create a language .xml file only for Language?

as for the error message you still see that is coming from the postdata_postsave hook and that one is used by the automatic warnings feature which can be turned off in the system settings
Can you say, what exactly I should to do?

Delphiprogrammi
06-07-2007, 11:49 AM
No, I mean, how can I create a language .xml file only for Language?

Can you say, what exactly I should to do?

admincp => languages & phrases => {YOUR LANUGAGE} => translate phrases
admincp => language.php?do=files => product advanced Warning System
for each language you have installed vBulletin will display a corrosponding "translation box"
please note you must be able to translate "from english"
you will need the phrasetype id's used (you can see that in the product XML)automatic warnings can be turned of by going to admincp => advanced warning system => manage system settings => use automatic warnings from posts and use automatic warnings from private messages set that to no

in case you get confused by the XML coding.You can also find the phrases you'll need to translate by quering your database like this


SELECT * FROM vb3_phrase WHERE product = 'aws' ORDER BY fieldname DESC


if you use another table prefix (or none at all) you will need to replace that in the above example

ginger22
06-08-2007, 07:34 AM
Many thanks, but I have found many phrases in file ~/admincp/admin_warn.php.
Did you plan in the future transfer this to vBulletin language settings?

Delphiprogrammi
06-09-2007, 07:58 AM
everything that can use phrases already does except for the info if a new warning is issued (or viewed) the rows displayed in the system tables.That can also use phrases but it would require construct_phrase(); calls and that functions confuses me :( for example if you view the warninglog in the admincp the reason and such will *always* display in english

ginger22
06-11-2007, 12:08 PM
Maybe this canhelp you?

Delphiprogrammi
06-11-2007, 07:50 PM
Maybe this canhelp you?

ow did you do that ? you phrased the mesages the systems outputs that's fine but you gotta be verry carefull you do not open any holes if it does work for you i have no problem with it.I never understood nor i ever will the use of construct_phrase()

tanand79
06-12-2007, 01:00 PM
Iam getting this error....pls help me

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/apache/htdocs/includes/class_dm_threadpost.php(939) : eval()'d code on line 64

Delphiprogrammi
06-12-2007, 03:20 PM
Iam getting this error....pls help me

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/apache/htdocs/includes/class_dm_threadpost.php(939) : eval()'d code on line 64

hmmz are you sure that's coming from thishack ?

tanand79
06-12-2007, 05:49 PM
hmmz are you sure that's coming from thishack ?

Yes...
when i uninstall this hack its not happening...

Delphiprogrammi
06-13-2007, 10:38 AM
Yes...
when i uninstall this hack its not happening...

line 939 of /includes/class_dm_threadpost.php is a comment.My guess would be you modified that file and you didn't do that correctly ... i'm talking about vBulletin version 3.6.7PL1 here if you run another you must tell

tanand79
06-13-2007, 10:43 AM
line 939 of /includes/class_dm_threadpost.php is a comment.My guess would be you modified that file and you didn't do that correctly ... i'm talking about vBulletin version 3.6.7PL1 here if you run another you must tell

Iam using....VB 3.6.3

Silver_Seagull
06-13-2007, 03:40 PM
I've had to uninstall this hack- it just isn't working. I run 3.6.7PL1 and receive the whitespace error. When I disable or uninstall this mod, it stops happening.

I am no expert, but it appears that the mod is passing something that is escaping to class_dm_threadpost, as I have no modified .php files on my board, which means it's something this mod is passing.

I'll be happy to reinstall when this bug is definitively fixed!

jian
06-13-2007, 04:27 PM
I've installed it today and it works, the only thing is the options on the left bar of the admincp is no longer there.

I saw the options to add new types before but now they aren't there. Please help.

Delphiprogrammi
06-14-2007, 07:38 PM
allright that error is working on my nerves i will see if i can catch it and come up with solution

Delphiprogrammi
06-14-2007, 07:41 PM
I've installed it today and it works, the only thing is the options on the left bar of the admincp is no longer there.

I saw the options to add new types before but now they aren't there. Please help.

you mean you have no "options menu" at the left frame ? that's handeled by cpnav_aws.xml that file must be in your /includes/xml/ directory and has appricate permissions

lil7rocket
06-16-2007, 12:39 PM
one of my forums this works but the quickreply doesnt work at all.
on the other forum i disabled posting quickreply without first clicking the quick reply trigger and it works great

freemchr
06-19-2007, 07:15 AM
Im having exactly the same problem with 3.6.7PL1

tanand79
06-19-2007, 07:39 AM
Iam using....VB 3.6.3

Any updates for this version...as in how to fix the errors....

thanks

Delphiprogrammi
06-19-2007, 10:47 AM
one of my forums this works but the quickreply doesnt work at all.
on the other forum i disabled posting quickreply without first clicking the quick reply trigger and it works great

There whas indeed a problem with quickreply verry annoying this should fix it

admincp => products & plugins => down & upload plugins

freemchr
06-20-2007, 07:53 AM
Just wondering how i fix the following error with the latest version of the forum software.

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/torq/public_html/forum/includes/class_dm_threadpost.php(829) : eval()'d code on line 64

Delphiprogrammi
06-20-2007, 09:35 AM
Just wondering how i fix the following error with the latest version of the forum software.

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/torq/public_html/forum/includes/class_dm_threadpost.php(829) : eval()'d code on line 64

known problem (http://www.delphiprogramming.be/forums/bugtracker.php?do=viewbug&bugtracker_bugid=23)however i cannot reproduce that error in that case it isn't easy to provide fixes.On my vBulletin 3.6.7PL1 that error is not there

freemchr
06-20-2007, 10:47 AM
Your more than welcome to look at my board and try and figure it out.. site isnt launched yet.

Delphiprogrammi
06-20-2007, 04:44 PM
Your more than welcome to look at my board and try and figure it out.. site isnt launched yet.

Allright send that info through a pm and i will have a look

tuanvic
06-21-2007, 06:33 AM
I have same problem with freechr can you put solution when you figure out. I am using 3.6.7 PL1 also thanks so much and another problem that when I click edit. After edit I click save, the change is not response. I need to click refresh page to see the change thanks

Delphiprogrammi
06-21-2007, 07:01 AM
installing quick_reply fix above will fix it

tanand79
06-21-2007, 12:43 PM
Iam still getting this error.....

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/apache/htdocs/includes/class_dm_threadpost.php(939) : eval()'d code on line 64

Vbulletin Version 3.6.3

Delphiprogrammi
06-21-2007, 01:48 PM
Iam still getting this error.....

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/apache/htdocs/includes/class_dm_threadpost.php(939) : eval()'d code on line 64

Vbulletin Version 3.6.3

hmmmz line 939 of /includes/class_dm_threadpost.php is a comment and cannot be the source of any errors at least on 3.6.7PL1 it is.I can however download 3.6.3 and look at it's sourcefiles i will do that

Magnumutz
06-21-2007, 02:40 PM
Great hack man... it took me A LOT to integrate it in to my skin.. there was NO WAY i could do it like in the instructions... so i had to actually think :P

Anyways, it's a VERY nice hack... if it had an "image warning bar" like Inferno Warning system... it would be the best there is. Without that it's the second best :P

tuanvic
06-21-2007, 09:52 PM
I installed quick reply fix but I still have problem with edit. Do you know why is that thanks so much

Delphiprogrammi
06-22-2007, 07:19 PM
I installed quick reply fix but I still have problem with edit. Do you know why is that thanks so much

do you mean quickediting a post ? and the results of your edits are not showing up (you have to refresh the page to see the changes you made) if that is the problem you have then make sure that the plugin "AWS setup postdm" contains this code


$this->validfields['title'][VF_CODE] = '$dm->set_info(\'orgtitle\', $data); return $dm->verify_title($data);';
$this->validfields['pagetext'][VF_CODE] = '$dm->set_info(\'orgmessage\', $data); return $dm->verify_pagetext($data);';

Delphiprogrammi
06-23-2007, 09:26 AM
hi,

People please temprarly disable automatic warnings from posts.vBulletin is not passing it's information and when used it will result in errors from PHP and MySQL.I will see what can be done maybe it's time for a "class_dm_aws.php" that deals with the pmtext_warned table


if(!class_exists('vB_DataManager'))
{
exit;
}
class vB_DataManager_Aws extends vB_DataManager
{
var $validfields = array(
);
}


and so on ...

Silver_Seagull
06-24-2007, 04:20 AM
Is it possible for you to add the previous version? I had no problem with that one, only after your last "minor" update did I get all these problems.

I've lost track of the number of times I've tried one or all of your recent fixes and I'm so fed up with these micro-patches and manual edits of your code that I'm tempted to go back to the inferior 'Smith' warning system just so my moderators can actually DO something.

PLEASE review what you changed and fix it with a versioned update or release the older version, as this one seems to be broken for a lot of people.

:edit:
It's the auto-edit feature I needed so badly :(

Delphiprogrammi
06-24-2007, 06:44 AM
Is it possible for you to add the previous version? I had no problem with that one, only after your last "minor" update did I get all these problems.

I've lost track of the number of times I've tried one or all of your recent fixes and I'm so fed up with these micro-patches and manual edits of your code that I'm tempted to go back to the inferior 'Smith' warning system just so my moderators can actually DO something.

PLEASE review what you changed and fix it with a versioned update or release the older version, as this one seems to be broken for a lot of people.

:edit:
It's the auto-edit feature I needed so badly :(

you use the system but why i do not see "installed" ? QuickEdit is working fine by the way

Bravo
06-24-2007, 07:22 AM
Hey Delphiprogrammi,

when the warning system makes a post on a defined forum It's supose to Close/Lock the Thread, But everytime it postes it leaves it open/unlocked. Any ideas what could be going on?


EDIT--

Nm I fixed it I had to change

$threaddm->set('open',1);

anyway I have two other small bugs first when I do a complete removable of a warning from the admicp It removes the warning but this errors shows on top of the page

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/admin_warn.php on line 1933

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /admincp/admin_warn.php on line 1933

and in the MEMBER INFO and POSTBIT page when someone is banned because of exceeding the warning it should show

Warnings: 1
Warning Level : 3
Warning Bans: 1

Im lucky if I even see it the first time cause once you refresh the page it then shows

Warnings: 1
Warning Level : 3

even though the user is still banned. I dont get why it disappears once you refresh the page and wont show in niether Member Info or PostBit's

Any Ideas on both bugs?
Thanks

Delphiprogrammi
06-24-2007, 08:25 AM
Hey Delphiprogrammi,

when the warning system makes a post on a defined forum It's supose to Close/Lock the Thread, But everytime it postes it leaves it open/unlocked. Any ideas what could be going on?


EDIT--

Nm I fixed it I had to change

$threaddm->set('open',1);

anyway I have two other small bugs first when I do a complete removable of a warning from the admicp It removes the warning but this errors shows on top of the page



and in the MEMBER INFO and POSTBIT page when someone is banned because of exceeding the warning it should show



Im lucky if I even see it the first time cause once you refresh the page it then shows



even though the user is still banned. I dont get why it disappears once you refresh the page and wont show in niether Member Info or PostBit's

Any Ideas on both bugs?
Thanks

the array_merge(); errors are typical to PHP 5 althrough easy fixable.The second one (the ban note that disappaers) that one is new and i gotta check

Delphiprogrammi
06-24-2007, 08:57 AM
the array_merge(); errors are typical to PHP 5 althrough easy fixable.The second one (the ban note that disappaers) that one is new and i gotta check

I will update the php files so the array_merge(); errors will disappaer

Bravo
06-24-2007, 10:39 AM
Yeah the ban one is weird sometimes when the warning bans people Ill see the Warning bans: x and sometimes I don't and either way its gone when refreshed.

does it record that to the SQL? so I can see if its still in the database or if its gone from the database.

Delphiprogrammi
06-24-2007, 05:05 PM
Yeah the ban one is weird sometimes when the warning bans people Ill see the Warning bans: x and sometimes I don't and either way its gone when refreshed.

does it record that to the SQL? so I can see if its still in the database or if its gone from the database.

That feature is working as it should i checked and it does not disappaer when i do a refresh probably some other modificcation you have installed is causing the problem

tuanvic
06-25-2007, 05:09 AM
Hi, again

I already see the plug in you told me in AWS setup postdm this contain the code you mentioned but this still do not work :( any another solutions thanks

Delphiprogrammi
06-25-2007, 04:15 PM
Hi, again

I already see the plug in you told me in AWS setup postdm this contain the code you mentioned but this still do not work :( any another solutions thanks

is this happening when you view a thread / post and you click the edit button (make your changes) and click save ? what happends after it ? you get a white page ? no white page but it doesn't show the changes as you made them to refresh ? Quickedit is working fine here note this function uses AJAX ...

Bravo
06-26-2007, 10:45 PM
That feature is working as it should i checked and it does not disappaer when i do a refresh probably some other modificcation you have installed is causing the problem

In regards to that I see something wierd, maybe you can also do it and see if the same happends

Well I warned someone today enough for a temp ban, now on the postbit it did indeed show the ban and I refreshed it many times and it was still there.. but then I clicked on his name to view his Profile page and the Warning Ban: 1 was gone, then I went back to the postbit and it too was gone.. weird... I then, in the admincp go to Usermanager and select his name and under "Warning Information" it shows the Warnings and Warning points but the ban is "0" .. its like whenever I vist the users profile page it deletes it or something very very weird

can you replicate that for assurance?

Delphiprogrammi
06-27-2007, 10:47 AM
In regards to that I see something wierd, maybe you can also do it and see if the same happends

Well I warned someone today enough for a temp ban, now on the postbit it did indeed show the ban and I refreshed it many times and it was still there.. but then I clicked on his name to view his Profile page and the Warning Ban: 1 was gone, then I went back to the postbit and it too was gone.. weird... I then, in the admincp go to Usermanager and select his name and under "Warning Information" it shows the Warnings and Warning points but the ban is "0" .. its like whenever I vist the users profile page it deletes it or something very very weird

can you replicate that for assurance?

Nope i tested again the warning_bans counter is working fine did you downloaded the package from here ? i have found some modified versions floating around here and there using such a version might be the cause.....

Bravo
06-27-2007, 11:05 AM
Nope i tested again the warning_bans counter is working fine did you downloaded the package from here ? i have found some modified versions floating around here and there using such a version might be the cause.....

I got it from here =/

Its bugging my mind lol its so weird that when I click on that persons profile page it deletes the ban.

Delphiprogrammi
06-27-2007, 11:56 AM
I got it from here =/

Its bugging my mind lol its so weird that when I click on that persons profile page it deletes the ban.

Then allow me to have a look at your site send me a pm with the info and i'll see if i can dig it out and yes i know what a pain it can be sometimes

Bravo
07-04-2007, 12:02 AM
Then allow me to have a look at your site send me a pm with the info and i'll see if i can dig it out and yes i know what a pain it can be sometimes

Sorry for the late reply I was out of town

but sure, as soon as I can I'll make you a account and PM you the INFO

Thanks

Delphiprogrammi
07-10-2007, 10:44 AM
hi people,

The last few days i have been busy to rebuild the system.currently the new system is not completely done yet so what's new ?


phrases you asked for them even the manageoptions page is phrased
new templates (updated to use the phrases)
updated all *.php source files
usage of the vBulletin datamanager classes
You can have the system in any language allthrough the translation from english is not my job hehe :D for this there is no need to ask for permission translations are always welcomed
peace

Bellardia
07-11-2007, 04:49 PM
How do I make it so that everyone can view each other's warnings?

Not on the topic, like 'View XYZ's Warnings" public?

Also : The PM system is not working. I have it on but no one gets any PMs when they get warned.

Delphiprogrammi
07-11-2007, 09:03 PM
How do I make it so that everyone can view each other's warnings?

Not on the topic, like 'View XYZ's Warnings" public?


Also : The PM system is not working. I have it on but no one gets any PMs when they get warned.

1) admincp => Advanced Warning System => Manage Warning Options => viewingoptions => who can view the warning points and bans == all
2)there are currently no known issues with the pm system it's almost sure that would not be coming from this hack you have anything installed that interfere's with pm's ?

Bellardia
07-11-2007, 10:17 PM
1) admincp => Advanced Warning System => Manage Warning Options => viewingoptions => who can view the warning points and bans == all
2)there are currently no known issues with the pm system it's almost sure that would not be coming from this hack you have anything installed that interfere's with pm's ?

1. I have it set on all, but when I go on my test account who's a simple member, I can't see the button 'View XYZ's Warnings".

2. I didn't install anything on this board besides this Warning System.

EdQ
07-12-2007, 04:43 AM
When the cron job turns an warning inactive, doesn't it remove the warning from the users account?

I see the inactive warning. But the users still sees the warning in the postbit.

I want the user to see their warnings till they mature. Then I want them dropped off their account. Can they be done?

sv1cec
07-12-2007, 05:09 AM
The members can not see the details of the warnings, they can see how many warning points other members have and how many warnings, but not the details.

The cron job will either render the warnings "Inactive" or it will remove them all together. It depends on your settings in the AdminCP. If you are using the Historical option, warnings are never deleted completely. They always remain in the members accounts, so that (a) they act as reminders for the members and (b) they show the members past history to the admin team. If you want the warnings to be completely deleted, you may select not to maintain historical data.

Bellardia
07-12-2007, 05:49 AM
The members can not see the details of the warnings, they can see how many warning points other members have and how many warnings, but not the details.




Is there a way to make it so everyone can see the details of the warnings? Because I go to another forum with this MOD and everyone can see each other's warning details.

Delphiprogrammi
07-12-2007, 07:30 AM
indeed the system is not designed to show that button there when you select all in the viewing options only the number of warningpoints and such will be visible if this is visible to normal members you probably did something wrong in installing the system.You need to be carefull you do not alter any template hooks.The installation instructions are a little outdated i need to update them

if you want to completely delete all warnings at once you can goto admin_warn.php?do=prune and enter a value of "0" (zero) into the days field and click the button BUT gone == gone

Bellardia
07-12-2007, 01:18 PM
Yes, but I want normal members to see that button and warning details. What do I have to alter to do that?

Delphiprogrammi
07-12-2007, 02:29 PM
Yes, but I want normal members to see that button and warning details. What do I have to alter to do that?

that would have to wait i'm almost done rebuilding the current system

Bellardia
07-12-2007, 03:24 PM
Can you add an option to allow all users to view warning details in your new system? =\

EdQ
07-12-2007, 04:41 PM
The members can not see the details of the warnings, they can see how many warning points other members have and how many warnings, but not the details.

The cron job will either render the warnings "Inactive" or it will remove them all together. It depends on your settings in the AdminCP. If you are using the Historical option, warnings are never deleted completely. They always remain in the members accounts, so that (a) they act as reminders for the members and (b) they show the members past history to the admin team. If you want the warnings to be completely deleted, you may select not to maintain historical data.

I tried not maintaining the historical data. The warnings drop of when they mature (which is what I want) But now the bans drop off when the ban ends. Not when they mature.

Bellardia
07-12-2007, 07:00 PM
Nevermind, I got it. Had to change some scripts.

aakhan136
07-14-2007, 04:18 PM
Thanks

Bravo
07-16-2007, 09:20 AM
Spelling error/Grammar error?

on the new update.
"You do not enter sufficient simbols in comment field to issue warning"

Also, I just warned someone and went to there post and it dont show the counts in the postbit anymore, it did before the update
screenshot included

Delphiprogrammi
07-16-2007, 11:04 AM
Spelling error/Grammar error?

on the new update.
"You do not enter sufficient simbols in comment field to issue warning"

Also, I just warned someone and went to there post and it dont show the counts in the postbit anymore, it did before the update
screenshot included

yes you're right the first is a spelling error the second (the counter thing) is because of not correctly processing phrases that will be updated later today

provedel
07-16-2007, 06:42 PM
I am getting this error after install of AWS and wanto to change anything in profile of users...

Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE user SET
### Bitfield: user.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 16, options, options + 16),
options = IF(options & 256, options - 256, options),
options = IF(options & 512, options, options + 512),
options = IF(options & 32, options - 32, options),
options = IF(options & 2048, options - 2048, options),
options = IF(options & 131072, options - 131072, options),
options = IF(options & 4096, options - 4096, options),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 4, options, options + 4),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options - 128, options),
options = IF(options & 32768, options - 32768, options),
### Bitfield: user.adminoptions ###
adminoptions = IF(adminoptions & 1, adminoptions, adminoptions + 1),
adminoptions = IF(adminoptions & 2, adminoptions - 2, adminoptions),
usertitle = 'Administra??o',
customtitle = 1,
username = 'Fabio',
email = 'fabiosz@ig.com.br',
languageid = 0,
homepage = '',
birthday_search = '0000-01-04',
birthday = '01-04-0000',
showbirthday = 3,
icq = '',
aim = '',
yahoo = '',
msn = '',
skype = '',
parentemail = '',
referrerid = 0,
ipaddress = '200.165.254.57',
posts = 3167,
alerts = 0,
warns = 0,
warning_level = 0,
warning_bans = 0,
usergroupid = 6,
displaygroupid = 0,
membergroupids = '34',
reputationlevelid = 12,
reputation = 180,
warnings = 0,
infractions = 0,
ipoints = 0,
pmpopup = 0,
autosubscribe = -1,
threadedmode = 0,
showvbcode = 2,
styleid = 0,
timezoneoffset = '-3',
daysprune = -1,
joindate = 1088773200,
lastactivity = 1184613480,
lastpost = 1184349060
WHERE userid = 270;

MySQL Error : Unknown column 'alerts' in 'field list'
Error Number : 1054
Date : Monday, July 16th 2007 @ 03:41:05 PM
Script : http://forum.plurall.org/admincp/user.php?do=update
Referrer : http://forum.plurall.org/admincp/user.php?do=edit&u=270
IP Address : 201.37.21.114
Username : Sauron
Classname : vb_database

Any help?

Delphiprogrammi
07-17-2007, 08:47 PM
I am getting this error after install of AWS and wanto to change anything in profile of users...

Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE user SET
### Bitfield: user.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 16, options, options + 16),
options = IF(options & 256, options - 256, options),
options = IF(options & 512, options, options + 512),
options = IF(options & 32, options - 32, options),
options = IF(options & 2048, options - 2048, options),
options = IF(options & 131072, options - 131072, options),
options = IF(options & 4096, options - 4096, options),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 4, options, options + 4),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options - 128, options),
options = IF(options & 32768, options - 32768, options),
### Bitfield: user.adminoptions ###
adminoptions = IF(adminoptions & 1, adminoptions, adminoptions + 1),
adminoptions = IF(adminoptions & 2, adminoptions - 2, adminoptions),
usertitle = 'Administra??o',
customtitle = 1,
username = 'Fabio',
email = 'fabiosz@ig.com.br',
languageid = 0,
homepage = '',
birthday_search = '0000-01-04',
birthday = '01-04-0000',
showbirthday = 3,
icq = '',
aim = '',
yahoo = '',
msn = '',
skype = '',
parentemail = '',
referrerid = 0,
ipaddress = '200.165.254.57',
posts = 3167,
alerts = 0,
warns = 0,
warning_level = 0,
warning_bans = 0,
usergroupid = 6,
displaygroupid = 0,
membergroupids = '34',
reputationlevelid = 12,
reputation = 180,
warnings = 0,
infractions = 0,
ipoints = 0,
pmpopup = 0,
autosubscribe = -1,
threadedmode = 0,
showvbcode = 2,
styleid = 0,
timezoneoffset = '-3',
daysprune = -1,
joindate = 1088773200,
lastactivity = 1184613480,
lastpost = 1184349060
WHERE userid = 270;

MySQL Error : Unknown column 'alerts' in 'field list'
Error Number : 1054
Date : Monday, July 16th 2007 @ 03:41:05 PM
Script : http://forum.plurall.org/admincp/user.php?do=update
Referrer : http://forum.plurall.org/admincp/user.php?do=edit&u=270
IP Address : 201.37.21.114
Username : Sauron
Classname : vb_database

Any help?


ALTER TABLE user ADD COLUMN alerts INT(5) DEFAULT '0';

Delphiprogrammi
07-17-2007, 08:50 PM
my server crashed today after looking for the problem for hours my host tech support found and solved it.I corrected the reported problems but i'm taking some time to test the changes as to "speedy" releases are never good

Bravo
07-18-2007, 12:37 AM
yes you're right the first is a spelling error the second (the counter thing) is because of not correctly processing phrases that will be updated later today

Hey Delphi, Just wondering if you fixed the counter thing? cause I updated to (B) and it still wont show the counter :confused:

provedel
07-18-2007, 03:31 PM
Hey Delphi, where I manage the warnings types?

Delphiprogrammi
07-18-2007, 03:35 PM
Hey Delphi, Just wondering if you fixed the counter thing? cause I updated to (B) and it still wont show the counter :confused:

i have just updated it

Delphiprogrammi
07-18-2007, 03:36 PM
Hey Delphi, where I manage the warnings types?

admincp => Advanced Warning System => manage warning types or just type admin_warn.php?do=view

Bravo
07-18-2007, 10:20 PM
i have just updated it

Thanks everything works perfect so far :)

BTW it seem this update also took care of the problem I was having eariler
with the BAN COUNT dispearing whenever I checked that Members Profile.
:)

Delphiprogrammi
07-19-2007, 08:49 AM
hi,

if a member warningsinfo is greater then 0 (zero) and you warning him again the "current warninginfo" displayed on the warningforms is not working as it should .I corrected this to fetch te update redownload and import product-aws.xml (set allow overwrite to yes) and make sure there is this code


<phrase 1="{$user['alerts']}">$vbphrase[aws_alerts_npr]</phrase><br>
<phrase 1="{$user['warns']}">$vbphrase[aws_warnings_npr]</phrase><br>
<phrase 1="{$user['warning_level']}">$vbphrase[aws_warnpoints_npr]</phrase><br>
<phrase 1="{$user['warning_bans']}">$vbphrase[aws_bans_npr]</phrase>


in the warn_addwarn and warn_addwarn_nopost templates

that's all folks

:)

provedel
07-19-2007, 03:14 PM
admincp => Advanced Warning System => manage warning types or just type admin_warn.php?do=view
Its strange, cannot see Advanced Warning System on admincp... :confused:

I missed anything?:erm:

Delphiprogrammi
07-19-2007, 03:18 PM
Its strange, cannot see Advanced Warning System on admincp... :confused:

I missed anything?:erm:

did you uploaded cpnav_aws.xml to /forums/includes/xml and refreshed your admincp ? anyway i found another problem in the current package and i took i temporarly away i will put it back when i fixed it

NFLfbJunkie
07-19-2007, 05:53 PM
After I installed this MOD information on my profile page got moved to the left. I tried changing some of the code around in the memberinfo template, but I can not figure it out. Can this be fixed?

Delphiprogrammi
07-19-2007, 07:26 PM
those instructions for modifying the templates are outdated i know but updating documentation is one of the tasks i hate the most but i will update them

oooh Junkie now i get what you mean your lastactivity value is shown in a new line (it looks like that in the screenshot) i will check right now

NFLfbJunkie
07-19-2007, 08:06 PM
So are you saying there is a template fix for this cosmetic problem?

Delphiprogrammi
07-19-2007, 08:38 PM
So are you saying there is a template fix for this cosmetic problem?

This is being caused by vBulletin itself i reverted the aws modifications to it and it still shows the lastactivity the verry same way as before ... code is around line 103 of MEMBERINFO template so it looks like this hack is innocent

Bravo
07-20-2007, 02:18 AM
PostBit
Warnings: 1
Warning level 8
Warning bans: 1



Members Page
Warnings 1
Warning level: 8
Warning bans:1


where can I fix it so that I can add ":" to Warning level 8 and Warnings 1

Delphiprogrammi
07-20-2007, 10:51 AM
PostBit
Warnings: 1
Warning level 8
Warning bans: 1



Members Page
Warnings 1
Warning level: 8
Warning bans:1


where can I fix it so that I can add ":" to Warning level 8 and Warnings 1

you can change that to whatever you want by editing the corrosponding phrases through you phrases manager.

admincp => language & phrases =>search in phrases there in the field "search for text enter the phrases variable name

postbit phrases


$vbphrase[aws_alerts]
$vbphrase[aws_warnings]
$vbphrase[aws_warning_level]
$vbphrase[aws_warning_bans]
member profile phrases


$vbphrase[aws_alerts_member_profile]
$vbphrase[aws_warnings_member_profile]
$vbphrase[aws_warninglevel_member_profile]
$vbphrase[aws_warningbans_member_profile]
at the buttom check "phrase text and phrase variable name" click search on the next page there will be an edit button click it now you can edit the phrase change it to your liking and save just be carefull you do not touch the parameters {1} (that are the parameters passed to it which contain the values for the counters)

provedel
07-20-2007, 01:15 PM
did you uploaded cpnav_aws.xml to /forums/includes/xml and refreshed your admincp ? anyway i found another problem in the current package and i took i temporarly away i will put it back when i fixed itHi, I found the problem...

In your package the folder for xml is XML, with capital letter, and in vB installation the folder was xml...

So, my ftp program put the files in a new XML folder...

Another error is a typo in the link in modcp to View issued warnings.

The link point to http://yoursite/modcp/mod_Warn.php but the file is without the W in capital letter.

Delphiprogrammi
07-20-2007, 01:53 PM
Hi, I found the problem...

In your package the folder for xml is XML, with capital letter, and in vB installation the folder was xml...

So, my ftp program put the files in a new XML folder...

Another error is a typo in the link in modcp to View issued warnings.

The link point to http://yoursite/modcp/mod_Warn.php but the file is without the W in capital letter.

fixed both of them you can edit that in the plugin at hook mod_index_navigation

Delphiprogrammi
07-21-2007, 11:34 AM
package has been updated when you import product-aws.xml now it will automatically add a link to Warn.php?do=ViewMyWarnings in your navbars quick links menu (this done through a template hook) and this is new in use to me maybe in th future i can make it more automatic and kill a few more template edits as this hack requirers allot of them

Delphiprogrammi
07-21-2007, 03:10 PM
hi,

Anybody have uncached templates when you try to warn a user through th quick links drop down menu "warn user" in the admincp => users => all users (your user) ? vBulletin requirers an extra MySQL query for each uncached template so every query you can kill does count ... just need a confirm before i fix it

EdQ
07-21-2007, 03:36 PM
The members can not see the details of the warnings, they can see how many warning points other members have and how many warnings, but not the details.

The cron job will either render the warnings "Inactive" or it will remove them all together. It depends on your settings in the AdminCP. If you are using the Historical option, warnings are never deleted completely. They always remain in the members accounts, so that (a) they act as reminders for the members and (b) they show the members past history to the admin team. If you want the warnings to be completely deleted, you may select not to maintain historical data.

I tried not maintaining the historical data. The warnings drop of when they mature (which is what I want) But now the bans drop off when the ban ends. Not when they mature.

Is there a option for this?

ymy
07-21-2007, 04:41 PM
package has been updated when you import product-aws.xml now it will automatically add a link to Warn.php?do=ViewMyWarnings in your navbars quick links menu (this done through a template hook) and this is new in use to me maybe in th future i can make it more automatic and kill a few more template edits as this hack requirers allot of them


Thanks for updated :up:


ymy

SilverBoy
07-21-2007, 09:08 PM
in cron jobs I get this error

Fatal error: Call to undefined function: datamanagr_init() in /home/alhandas/public_html/forum/includes/cron/kill_alerts.php on line 53

SilverBoy
07-21-2007, 11:29 PM
Strange problem !!

I have a test account on my board, and gave it a warning and everything ok, but when I loged in with that account I can't see the warning, and get nopermission error page (sefault template of vBulletin).

and that happen everytime I tried to press on view my warnnings link !!

I put (Can view warnings) option in usergroup to yes, and did the same with other secondary groups that user has.

anyway in showthread page user can see warnings and warnings level of other members !! Is it work as designed??

Delphiprogrammi
07-22-2007, 08:26 AM
in cron jobs I get this error

that's a typo on my end it should be


$userdm=& datamanager_init('User',$vbulletin,ERRTYPE_CP);

Delphiprogrammi
07-22-2007, 08:28 AM
Strange problem !!

I have a test account on my board, and gave it a warning and everything ok, but when I loged in with that account I can't see the warning, and get nopermission error page (sefault template of vBulletin).

and that happen everytime I tried to press on view my warnnings link !!

I put (Can view warnings) option in usergroup to yes, and did the same with other secondary groups that user has.

anyway in showthread page user can see warnings and warnings level of other members !! Is it work as designed??

Depends on your settings if you set setting "who can view the warnings points and bans" to all people can see that if you set that to Mgm only mods and up will see it

Magnumutz
07-22-2007, 11:19 AM
Hi, i've got this problem, when i try to warn someone, i get this error:

You do not enter sufficient symbols into the comment field to issue warning.And this warning looks like this:
Double/Triple post or thread Includes anything that does not belong where it was posted. 2 99999 No Yes No No
Any clues?

SilverBoy
07-22-2007, 11:45 AM
Depends on your settings if you set setting "who can view the warnings points and bans" to all people can see that if you set that to Mgm only mods and up will see it

my setting is Mgm, and still user can't see his warning page and get the default no permissions page.

and in the thread that he began and get his warning, he can see the warnings for other users under thier names only in that page, but can't see it in the second page of the same thread !!!!

anyeway the most imprtant point for me now is letting users to see there warnings, so what I can do?

SilverBoy
07-22-2007, 11:49 AM
now I get this error too,


Fatal error:
النص الذي أدخلته كبير جداً ($postlength حروف). الرجاء تقليله إلى $vboptions[postmaxchars] حروف .
$user[username] قام بإلغاء خاصية إستقبال رسائل خاصة . أو أنه غير مسموح لك بإرسال رسائل خاصة .
Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 765

the arabic letters said your text is too long.
or you can't send pm maybe the user disabled recieving pms.

SilverBoy
07-22-2007, 11:54 AM
me again :p

after deleting a warning I redirected to eeror page (The page cannot be found)

I get the reason of this error, because the link have a capital letters and in redirection we get the link in small case warn.php?&do=viewwarnings&id=xxx

it must be Warn.php?&do=ViewWarnings&id=

Delphiprogrammi
07-22-2007, 03:11 PM
Hi, i've got this problem, when i try to warn someone, i get this error:

You do not enter sufficient symbols into the comment field to issue warning.And this warning looks like this:

Any clues?

when you warn a user the moderator comments field must contain whatever you have defined as minium comment length

SilverBoy
07-22-2007, 04:01 PM
Iam still waiting Delphiprogrammi :confused:

Delphiprogrammi
07-22-2007, 04:25 PM
Iam still waiting Delphiprogrammi :confused:

1)The redirection error is fixed
2)if a user disabled to receive pm's an email will be send instead
3)i have checked a dozen times and i just did again only moderators and up and the user who whas warned(remember permissions) can see warning details did you edited the templates correctly ?

Magnumutz
07-22-2007, 04:33 PM
when you warn a user the moderator comments field must contain whatever you have defined as minium comment length
Dude, i don't SEE a comment field.
This is how it looks when i try to warn a member, i've done all the updates.
I've attached a screenshot, for you to see. I'll try re-installing it if you donno what's up.

Delphiprogrammi
07-22-2007, 05:08 PM
Dude, i don't SEE a comment field.
This is how it looks when i try to warn a member, i've done all the updates.
I've attached a screenshot, for you to see. I'll try re-installing it if you donno what's up.

admincp => Advanced Warning System => manage warning options => automation options => Use warning type description, as moderator comment, in post-related warnings => No

that will restore the field

Magnumutz
07-22-2007, 05:18 PM
Oh... my bad, thanks. This worked like a charm ;)

SilverBoy
07-23-2007, 12:31 AM
thanks for your help, actually iam familiar with AWS from ages, I upgraded to vb3.6.7 last week and I was working with 3.0.x for a while and installed AWS, and not upgraded my vBulletin version until I get your port of the original hack.

Any way, let me continue debuging with u (Iam computer engineer ;))

1- now kill alert cron job works without errors.
2- Iam not testing remove warning yet.
3- Iam sure I put view warning for mgm not all, and my test account have permission to view warning as you suggest, for template Iam sure from my installation, and no way to mistake because viewing warnings page installed with product not just manual editing.

I checked the Warn.php file and find the error for no permissin page


if($_GET['do'] != 'viewmywarnings')
{
if(!can_moderate())
{
print_no_permission();
}
}

from this part of code you can note only admins, mods and supermods can view page, so it's work as it designed, and that's why my test account get this error even with all right permisions.

and I will repeate, in showthread page, the user who warned can see how many warning, alerts, .... for all users which reply in the same page, and if the thread destributed on alot of pages he can see that information only in the page that get warning in the post he out in it, or maybe that happend because he is the starter of the thread !!

4- for error message when give warning for a user, I remove one errors by let private messages in my board have no character limit (It was 1600 character) and I think you have to look on this case.
but the other one still remains, because some users can't use PM yet (less than 10 posts) and I dont want to use email feature, because in old version it sends the email of the warner and I don't to let my users to know the personals emails of my staff.

SilverBoy
07-23-2007, 12:35 AM
I solved one problem

if($_GET['do'] != 'viewmywarnings')
{
if(!can_moderate())
{
print_no_permission();
}
}


again you have capital letters missed ;)

SilverBoy
07-23-2007, 01:28 AM
I tried removing warning and redirect works ok.

now I can say the problem of seeing other users warnings exist because the user is the starter of the thread and get warning in it !!! (but only in the first page of the thread)

another point :p

when give a user warning we missed warning level in "Current warnings info:" I think it is important to be there.

again for errors when give a warning with pm, the old version of this hack was ignored pm lenght and if the user can read pm :)

NFLfbJunkie
07-23-2007, 02:18 AM
I uploaded the updated plugin and now have two "Warnings > View Your Warnings" showing in my quick links menu.

NFLfbJunkie
07-23-2007, 02:58 AM
Okay I think I fixed my above problem, but now have another one. My test registered user, even with the aws permission set to allow user to view warnings, I am getting that the user is restricted from doing so.

Delphiprogrammi
07-23-2007, 09:13 AM
I solved one problem

if($_GET['do'] != 'viewmywarnings')
{
if(!can_moderate())
{
print_no_permission();
}
}


again you have capital letters missed ;)

yes indeed that will throw up a standard vBulletin permission denied page it should be


if($_GET['do'] != 'ViewMyWarnings')
{
if(!can_moderate())
{
print_no_permission();
}
}


Junkie this will also fix your problem it's in Warn.php starting line 81

NFLfbJunkie
07-23-2007, 01:37 PM
Made the changes and everything now works. Thanks.

Delphiprogrammi
07-23-2007, 06:45 PM
I tried removing warning and redirect works ok.

now I can say the problem of seeing other users warnings exist because the user is the starter of the thread and get warning in it !!! (but only in the first page of the thread)

another point :p

when give a user warning we missed warning level in "Current warnings info:" I think it is important to be there.

again for errors when give a warning with pm, the old version of this hack was ignored pm lenght and if the user can read pm :)

again my tests are showing to me that the system works as intended.If you issue a warning to the member "testmember" only "testmember" and mods (and up) can see the details about the warning.It is possible warning points and such (the counters) are visible but then you have set the viewingoption to all

I can add an option to set an emailadress that will show up in emails send out by the system this way you will not reveal personal email adresses but all your mods will have toi have access to this mailbox

SilverBoy
07-23-2007, 06:52 PM
iam sure its set to mgm :)

Bellardia
07-25-2007, 04:38 PM
There is a glitch in the AWS options.

The number of warnings before ban will not change, it stays at 10. No matter how many times I save it, it changes back to 10.

Delphiprogrammi
07-25-2007, 09:22 PM
There is a glitch in the AWS options.

The number of warnings before ban will not change, it stays at 10. No matter how many times I save it, it changes back to 10.

hmmz that is working fine in here will do some tests through

EdQ
07-27-2007, 07:52 PM
The members can not see the details of the warnings, they can see how many warning points other members have and how many warnings, but not the details.

The cron job will either render the warnings "Inactive" or it will remove them all together. It depends on your settings in the AdminCP. If you are using the Historical option, warnings are never deleted completely. They always remain in the members accounts, so that (a) they act as reminders for the members and (b) they show the members past history to the admin team. If you want the warnings to be completely deleted, you may select not to maintain historical data.

I tried not maintaining the historical data. The warnings drop of when they mature (which is what I want) But now the bans drop off when the ban ends. Not when they mature.

Is there a option for this?

Delphiprogrammi
07-27-2007, 09:25 PM
Is there a option for this?

Bans maturity periodEnter the number of days, a ban remains in a member's account. If set to '0', then the bans remain in the members accounts for ever. If set to a different number, a cron job will reduce the number of bans in a member's account by one, after so many days pass, from the day that ban was applied.
Attention: This does not mean that the user is unbanned. If you have a banning period of 7 days and you have set the bans maturity period to 5 days, the ban will be removed from the user's account after 5 days, but he will still be banned for another 2 days. In a production system, this option should always be much larger than the number of days a member is banned, when he reaches the ban limit.
This option obviously applies only to non-permanent bans.

admincp => Advanced Warning System => Manage Warning Options => Banning Options => Ban Maturity Period

EdQ
07-27-2007, 09:43 PM
Bans maturity periodEnter the number of days, a ban remains in a member's account. If set to '0', then the bans remain in the members accounts for ever. If set to a different number, a cron job will reduce the number of bans in a member's account by one, after so many days pass, from the day that ban was applied.
Attention: This does not mean that the user is unbanned. If you have a banning period of 7 days and you have set the bans maturity period to 5 days, the ban will be removed from the user's account after 5 days, but he will still be banned for another 2 days. In a production system, this option should always be much larger than the number of days a member is banned, when he reaches the ban limit.
This option obviously applies only to non-permanent bans.

admincp => Advanced Warning System => Manage Warning Options => Banning Options => Ban Maturity Period


I understand that, but does it matter if I use historical data?

I prefer not to so the warnings will come off when they mature. It seems when I use historical data, warnings are not removed when they mature. Just the warning level.


I am not sure if I am getting my point across.

Using historical data.
Warning Level is removed when matured
Warning is never removed (Not what I want)
Warning Bans stay until matured.

Not using historical data.
Warning Level is removed when matured
Warning is removed when matured
Warning Bans are removed when the ban ends. (Not what I want)

What I would like to see if either the warning or ban matures. It drops off the users account.

SilverBoy
07-28-2007, 02:23 AM
Hi again

when I viewed a warnings of a user I can't figure the diference between warnings and alerts because they mixed in the report !!

How I can make difference betwen them when display the report?

Delphiprogrammi
07-28-2007, 02:47 PM
I understand that, but does it matter if I use historical data?

I prefer not to so the warnings will come off when they mature. It seems when I use historical data, warnings are not removed when they mature. Just the warning level.


I am not sure if I am getting my point across.

Using historical data.
Warning Level is removed when matured
Warning is never removed (Not what I want)
Warning Bans stay until matured.

Not using historical data.
Warning Level is removed when matured
Warning is removed when matured
Warning Bans are removed when the ban ends. (Not what I want)

What I would like to see if either the warning or ban matures. It drops off the users account.

set ban maturity to 0then the bans stay in the members account forever that is not ideal but *close* to what you want

EdQ
07-28-2007, 07:17 PM
OK, so by using no historical data. Bans will stay in the members account forever when setting maturity to zero?
I can work with that.

Bellardia
07-29-2007, 05:52 PM
I still can't change Warning Limit to any other number besides 10, if there another way to change this without fixing the glitch? I really need it fixed asap. =\

If I reinstalled would it flush all old warnings?

Delphiprogrammi
07-29-2007, 07:58 PM
I still can't change Warning Limit to any other number besides 10, if there another way to change this without fixing the glitch? I really need it fixed asap. =\

If I reinstalled would it flush all old warnings?

try to run this


UPDATE setting SET value='the_number_you_want' WHERE varname='warn_warnings_before_banned';


if you use a table prefix you must add it accordingly that will be the most "fast" way to get it the way you want

SilverBoy
07-30-2007, 12:24 AM
I get strange problem, I have user gets warning's for his bad posts, and he get baned for that, but one of moderators give him another warning for another post, after this he get back and the baning is lefted !!

this happens 3 times with 3 members !! (I have alot of bad guys in my forum :D)

EdQ
07-30-2007, 11:26 AM
I noticed that the kill warning cron job isn't running. I manually run it, but no warnings are removed. There are no errors in the log. And it doesn't say done when I run it.

Delphiprogrammi
07-30-2007, 11:49 AM
I get strange problem, I have user gets warning's for his bad posts, and he get baned for that, but one of moderators give him another warning for another post, after this he get back and the baning is lefted !!

this happens 3 times with 3 members !! (I have alot of bad guys in my forum :D)

hmmz that should not happen checking

Delphiprogrammi
07-30-2007, 11:50 AM
I noticed that the kill warning cron job isn't running. I manually run it, but no warnings are removed. There are no errors in the log. And it doesn't say done when I run it.

also checking it should say "done"

EdQ
07-30-2007, 12:50 PM
also checking it should say "done"

It doesn't. Not sure what to check

tureby
07-31-2007, 08:26 AM
Can't make a "non-post related" warning, I'll get this warning. Running 3.6.7

An error has occured, the following message has been left below:
You do not have permissions to issue non post related warnings

Delphiprogrammi
07-31-2007, 11:01 AM
Can't make a "non-post related" warning, I'll get this warning. Running 3.6.7

An error has occured, the following message has been left below:
You do not have permissions to issue non post related warnings

you did not follow instructions .. did you rebuild your bitfields and set the usergroups permissions after you installed ? if not that's what you need to do.Rebuilding bitfields can be done in the admincp by going to index.php?do=buildbitfields then usergroups => edit and set the permissions for each group you have for admins you might wanna set that permission to yes :D

Delphiprogrammi
07-31-2007, 11:04 AM
I get strange problem, I have user gets warning's for his bad posts, and he get baned for that, but one of moderators give him another warning for another post, after this he get back and the baning is lefted !!

this happens 3 times with 3 members !! (I have alot of bad guys in my forum :D)

No if you warn a member that already has a warning which caused a ban his warning level is just increased i whas still unable to log in (got the banned message) probably your naughty user is bypassing his ban with proxys ?

Delphiprogrammi
07-31-2007, 11:08 AM
It doesn't. Not sure what to check

admincp => scheduled tasks => scheduled tasks manager it does run fine in here but i have the Maintain historical records option set to enabled

tureby
07-31-2007, 11:55 AM
Thx Delphi...Didn't see that one....:)

SilverBoy
07-31-2007, 01:02 PM
How they can do this??

anywat iam sure from this issue, and i was warning user until he get banned (temp ban not permently) and he was not online anyway, after that I found another bad post from him and give hime a warning for it, when I checked back his profile I found him not banned !!, Iam sure before 2 minutes he was banned !!

EdQ
07-31-2007, 01:56 PM
admincp => scheduled tasks => scheduled tasks manager it does run fine in here but i have the Maintain historical records option set to enabled

Thats the first place I checked. I don't see anything wrong. I enabled "Maintain historical records" then tried it again with no luck.

It was working up until 2 days ago. I hope version 3.6.8 didn't break it.

SilverBoy
07-31-2007, 11:22 PM
I have more strange issue, I have user get permently banned, because he get aperment ban warning, after one moderator gave him another warning, he moved from perment banned user group to temperaroy banned user group !!

EdQ
08-01-2007, 04:37 AM
admincp => scheduled tasks => scheduled tasks manager it does run fine in here but i have the Maintain historical records option set to enabled

I also have warnings that have matured but didn't get removed when I turned off "Maintain historical records". Before that I also changed he "Warning maturity" to a shorter time frame

Bellardia
08-01-2007, 04:45 AM
try to run this


UPDATE setting SET value='the_number_you_want' WHERE varname='warn_warnings_before_banned';


if you use a table prefix you must add it accordingly that will be the most "fast" way to get it the way you want

How do I add the table prefix? My prefix is vb_ =\

SuperTaz
08-01-2007, 04:55 AM
I needed this one. Thanks. Installed.

Delphiprogrammi
08-01-2007, 07:56 AM
How do I add the table prefix? My prefix is vb_ =\


UPDATE vb_setting SET value='number' WHERE varname='warn_warnings_before_banned';

Delphiprogrammi
08-01-2007, 08:17 AM
I have more strange issue, I have user get permently banned, because he get aperment ban warning, after one moderator gave him another warning, he moved from perment banned user group to temperaroy banned user group !!

Yes that's true i can confirm that and that should not happen it's a bug

EdQ
08-01-2007, 02:13 PM
Is there anything I can run manually so I can remove all matured warnings? I have members complaining that their warnings are still on their account.

abo sfyan
08-01-2007, 07:13 PM
Hellw
ـــــــــــــــــــــــــ ــــــــــ
Use automatic warnings from private messages?If set to 'Yes', the system will automatically issue warnings to users who are caught to use censored words in their PMsUse automatic warnings from private messages?If set to 'Yes', the system will automatically issue warnings to users who are caught to use censored words in their PMs
ـــــــــــــــــــــــــ ـــــــــــــــــــــــــ ــ
That's right
and it band user very good
ـــــــــــــــــــــــــ ـــــــــــــــــــــــــ ـــــــ
but when user use censored words in their posts
the Advanced Warning System
no do any thing
user stay in Registered Users
while he propose to transfer to Banned Users
ـــــــــــــــــــــــــ ـــــــــــــــــــــــــ ـــــــــــــ
I use .vb 3.6.8
And use the Advanced Warning System first time
And I proceed the options well

Delphiprogrammi
08-02-2007, 04:34 PM
Is there anything I can run manually so I can remove all matured warnings? I have members complaining that their warnings are still on their account.

Yes the warning log contains a "complete removal" option click it ...

Delphiprogrammi
08-02-2007, 04:37 PM
Hellw
ـــــــــــــــــــــــــــــــــــ
Use automatic warnings from private messages?If set to 'Yes', the system will automatically issue warnings to users who are caught to use censored words in their PMsUse automatic warnings from private messages?If set to 'Yes', the system will automatically issue warnings to users who are caught to use censored words in their PMs
ــــــــــــــــــــــــــــــــــــــــــــــــــ ــ
That's right
and it band user very good
ــــــــــــــــــــــــــــــــــــــــــــــــــ ـــــــ
but when user use censored words in their posts
the Advanced Warning System
no do any thing
user stay in Registered Users
while he propose to transfer to Banned Users
ــــــــــــــــــــــــــــــــــــــــــــــــــ ـــــــــــــ
I use .vb 3.6.8
And use the Advanced Warning System first time
And I proceed the options well

To use automatic warnings prom private messages

1) a warning type called 'ObsceneWords'
2) the "post related warning" must be set to auto
3)you must have some censored words in vbulletin options
4)last but not least you must enable this feature

EdQ
08-02-2007, 05:04 PM
Yes the warning log contains a "complete removal" option click it ...

I was hoping for a faster way without doing it one by one.

Is there any other info I can give you so I can make the cron job run again?

EdQ
08-02-2007, 05:16 PM
I found an old version of kill_warns.php and it works now.

Delphiprogrammi
08-02-2007, 05:50 PM
I found an old version of kill_warns.php and it works now.

oooh well i would prefer the automatic way to

EdQ
08-02-2007, 06:27 PM
Any idea if using the old kill_warns.php will be a problem?

Delphiprogrammi
08-03-2007, 11:55 AM
Any idea if using the old kill_warns.php will be a problem?

Phrases will not work you could try enabling debuginfo in that file

find


$userdm->save();


replace with


$userdm->pre_save();
if(!empty($userdm->errors))
{
die(print_r($userdm->errors));
}
else
{
$userdm->save();
}


if you try to run it now it should come up with error messages now if anything is wrong

EdQ
08-03-2007, 02:27 PM
Phrases will not work you could try enabling debuginfo in that file

find


$userdm->save();


replace with


$userdm->pre_save();
if(!empty($userdm->errors))
{
die(print_r($userdm->errors));
}
else
{
$userdm->save();
}


if you try to run it now it should come up with error messages now if anything is wrong


Thanks. I went to try that with the current kill_warns.php and now it works. :dunno:

EdQ
08-04-2007, 03:06 AM
I get this error when handing out a warning causing a ban

Fatal error:
bmyers has chosen not to receive private messages or may not be allowed to receive private messages. Therefore you may not send your message to him/her.
Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 765

abo sfyan
08-04-2007, 07:34 AM
To use automatic warnings prom private messages

1) a warning type called 'ObsceneWords'
2) the "post related warning" must be set to auto
3)you must have some censored words in vbulletin options
4)last but not least you must enable this feature

ــــــــــــــــــــــــــــــــــــــــــــــــــ ـــــ
Welcome
ـــــــــــــــــــــــــــــــــــ
I do all that but nothing happened
if you notes in my last post
I say . when the user use censored words in their PMs

The automatic warnings do ok
and it band this user
That is namely I do all this conditions
ــــــــــــــــــــــــ

1) a warning type called 'ObsceneWords'
2) the "post related warning" must be set to auto
3)you must have some censored words in vbulletin options
4)last but not least you must enable this feature
ـــــــــــــــــ
And I enable this feature
ـــــــــــــــــــــ
Use Automatic Warnings from Posts?If set to Yes, the system will automatically issue warnings to users, who are caught to use censored words in their posts.
To use this, you HAVE to define an Automatic Warner (see below) and also you have to define a Warning Type called 'ObsceneWords'. If you do not do these, unexpected results can occur.
ــــــــــــــــــــــــــــــــــــــــــــــــــ ــــــــ

Delphiprogrammi
08-11-2007, 12:00 PM
ــــــــــــــــــــــــــــــــــــــــــــــــــ ـــــ
Welcome
ـــــــــــــــــــــــــــــــــــ
I do all that but nothing happened
if you notes in my last post
I say . when the user use censored words in their PMs

The automatic warnings do ok
and it band this user
That is namely I do all this conditions
ــــــــــــــــــــــــ

1) a warning type called 'ObsceneWords'
2) the "post related warning" must be set to auto
3)you must have some censored words in vbulletin options
4)last but not least you must enable this feature
ـــــــــــــــــ
And I enable this feature
ـــــــــــــــــــــ
Use Automatic Warnings from Posts?If set to Yes, the system will automatically issue warnings to users, who are caught to use censored words in their posts.
To use this, you HAVE to define an Automatic Warner (see below) and also you have to define a Warning Type called 'ObsceneWords'. If you do not do these, unexpected results can occur.
ــــــــــــــــــــــــــــــــــــــــــــــــــ ــــــــ

the automatic warnings from threads / posts is not working i know.I liked that feature in the old days (before vBulletin 3.5.x) I know it is not working and i tryed several things to make it work but i'm failing sorry i'm to stupid :erm:

Delphiprogrammi
08-11-2007, 12:06 PM
I get this error when handing out a warning causing a ban

quick and dirty workaround

/includes/functions_warning.php find


$pmdm =& datamanager_init('PM',$vbulletin,ERRTYPE_ARRAY);


change to

$pmdm =& datamanager_init('PM',$vbulletin,ERRTYPE_SILENT);


/admincp/admin_warn.php find


$pmdm =& datamanager_init('PM',$vbulletin,ERRTYPE_CP);


change to


$pmdm =& datamanager_init('PM',$vbulletin,ERRTYPE_SILENT);


save & upload

the pm still won't be sended but at least now the error messageis gone

cynthetiq
08-11-2007, 07:21 PM
I don't seem to see the buttons on the form like in the example; I just see links. How can I change that easily? Or can I change it easily to an icon instead of the words "Add note for Pantalaimon" "Warn Pantalaimon" "View Pantalaimon's warnings"

Delphiprogrammi
08-12-2007, 08:47 AM
I don't seem to see the buttons on the form like in the example; I just see links. How can I change that easily? Or can I change it easily to an icon instead of the words "Add note for Pantalaimon" "Warn Pantalaimon" "View Pantalaimon's warnings"

Yes i noticed that to if you switch it to text it shows fine switch it again to buttons and they will show up (if you have the corrosponding warningtypes) Icons well i'm not a graphial artiest and i wouldn't have a idea how to make an image that passes the user username ? it must be possible with GD i think but i wouldn't know how

shokmuzik.com
08-13-2007, 07:16 PM
I gad an issue withe this MEMBERINFO template edit, how can I fix this?

Find the following Text in Template MEMBERINFO
--------------------------------------------------------------------------------
<if condition="$show['profilepic']">
--------------------------------------------------------------------------------

Above that, insert the following Text
--------------------------------------------------------------------------------
<td style="border-bottom:1px solid $stylevar[tborder_bgcolor]" align="$stylevar[right]" nowrap="nowrap">
<div class="smallfont">
<b>User ID :</b> $userinfo[userid]<br />
<if condition="$showpoints==1">
<if condition="$userinfo[alerts]>0">
<font color="#ff0000">
<phrase 1="$userinfo[alerts]">$vbphrase[aws_alerts_member_profile]</phrase><BR>
<font color="#000000">
</if>
<if condition="$userinfo[warns]>0">
<font color="#ff0000">
<phrase 1="$userinfo[warns]">$vbphrase[aws_warnings_member_profile]</phrase><BR>
<font color="#000000">
</if>
<if condition="$userinfo[warning_level]>0">
<font color="#ff0000">
<phrase 1="$userinfo[warning_level]">$vbphrase[aws_warninglevel_member_profile]</phrase><BR>
<font color="#000000">
</if>
<if condition="$userinfo[warning_bans]>0">
<font color="#ff0000">
<phrase 1="$userinfo[warning_bans]">$vbphrase[aws_warningbans_member_profile]</phrase><BR>
<font color="#000000">
</if>
</if>
</td>
--------------------------------------------------------------------------------

Delphiprogrammi
08-14-2007, 10:22 AM
that space there between userid and lastactivity is normal it's because the big avatar ....also make sure to carefully follow the instructions regarding editing MEMBERINFO

Brew
08-14-2007, 12:10 PM
I haven't gone through all the pages of comments in this thread (23 pages!) so I'll just post.

PHP 4 is at the end of life according to php.net:

================================================== ===========
PHP 4 end of life announcement

[13-Jul-2007] Today it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable & production-ready and as PHP 6 is on the way, PHP 4 will be discontinued.


The PHP development team hereby announces that support for PHP 4 will continue until the end of this year only. After 2007-12-31 there will be no more releases of PHP 4.4. We will continue to make critical security fixes available on a case-by-case basis until 2008-08-08. Please use the rest of this year to make your application suitable to run on PHP 5.

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

So I was just wondering if you'll be updating this to work with PHP5 "out of the box".

I've used this mod on older versions of vB and loved it.

I'm looking forward to using it again :D

Peace!

Delphiprogrammi
08-15-2007, 02:47 PM
yeah i got that to i use there RSS feed at my site.Well i already removed the product depency that whas stopping that PHP 5 whas used.I updated my server to PHP 5.2.3 and the system is running just fine.I'm not exspecting any "move" troubles

tehPARADOX
08-27-2007, 05:22 PM
I tried importing the new product with overwrite, but I received the following message:

The following dependencies were not met:
The product tms must be installed before this product may be installed. (Compatible starting with 1.0.0)

Edit: It seems in order to import the updated product, I needed to install this: https://vborg.vbsupport.ru/showthread.php?t=152931

Brew
08-28-2007, 12:41 AM
After updating to version 3.6.9, from version 3.6.8, the links in postbit and postbit_legacy are gone.

I didn't see anything in the upgrade.txt file.

Am I missing something?

Under "AWS version" in the options & Settings it still says version 3.6.8 too.

Delphiprogrammi
08-28-2007, 07:34 AM
I tried importing the new product with overwrite, but I received the following message:



Edit: It seems in order to import the updated product, I needed to install this: https://vborg.vbsupport.ru/showthread.php?t=152931

you need this

Delphiprogrammi
08-28-2007, 07:36 AM
After updating to version 3.6.9, from version 3.6.8, the links in postbit and postbit_legacy are gone.

I didn't see anything in the upgrade.txt file.

Am I missing something?

Under "AWS version" in the options & Settings it still says version 3.6.8 too.

import templateedits-aws.xml using tms (found here)

Brew
08-28-2007, 01:52 PM
import templateedits-aws.xml using tms (found here)

So you're going to rely on TMS?

Too bad.

XML Error: syntax error at Line 1 when trying to import the xml file

EDIT:

Actually the file I was trying to use is a txt file, not an xml file. It's under the docs folder. I find no templateedits-aws.xml file with the download I used.

EDIT #2:

I found a templateedits-aws.xml under includes/xml and imported that...there are changes to the postbit and postbit_legacy, though TMS shows the edits were made...they are not displayed.

Even though my style was made for vB3.6.8 TMS has never worked and just complicates the entire process.

Brew
08-28-2007, 04:03 PM
I have installed the latest version of AWS and manually updated the templates (TMS has never worked)

Am I missing something other than updating the mod and templates?

Is there a DB table to alter or something?

I am stumped as to why it is not working now.

I also have a problem in the Settings....

Under mailadress I get an error box because it is empty, even though the setting "use a custom mail from address ?" is set to "No". By inserting an email address the warning went away though.

Thanks for any help.

Delphiprogrammi
08-28-2007, 06:48 PM
I have installed the latest version of AWS and manually updated the templates (TMS has never worked)

Am I missing something other than updating the mod and templates?

Is there a DB table to alter or something?

I am stumped as to why it is not working now.

I also have a problem in the Settings....

Under mailadress I get an error box because it is empty, even though the setting "use a custom mail from address ?" is set to "No". By inserting an email address the warning went away though.

Thanks for any help.

that setting about a custom email will display an error if the field is empty yes this is to avoid people try to confuse the system .... I don't know how you can "validate vBulletin settings based on the value of another setting"

if you cannot het the tms system to work you will have to do the templateedits by hand there are instructions on howto proceed in the docs folder.

hmmmz that templates work fine in here

The thing that changed is the table warning_types is changed to warningtype

and before you will see anything (eg the warnlinks or buttons) you must have at least one post & non post related warningtype.When these do not excist those things are hidden

NFLfbJunkie
08-29-2007, 01:39 AM
I don't have the TMS MOD installed and have the AWS MOD, version 3.6.8, installed successfully. So what exactly do I need to upload and/or edit (templates/files) to upgrade to 3.6.9?

SuperTaz
08-29-2007, 03:57 AM
I got this error when I tried to update to the latest version. Image is below.

Magnumutz
08-29-2007, 05:37 AM
You have to install TMS (https://vborg.vbsupport.ru/showthread.php?t=152931) as well.

Delphiprogrammi
08-29-2007, 10:07 AM
I don't have the TMS MOD installed and have the AWS MOD, version 3.6.8, installed successfully. So what exactly do I need to upload and/or edit (templates/files) to upgrade to 3.6.9?


/docs/upgrade.txt

NFLfbJunkie
08-29-2007, 02:09 PM
I assume I first need to create the table "warningtype" and then import the SQL dump from the "warning_types" table?

Delphiprogrammi
08-29-2007, 03:05 PM
I assume I first need to create the table "warningtype" and then import the SQL dump from the "warning_types" table?

No the warningtype table will be created by the product import.However if that is your wish you can


CREATE TABLE IF NOT EXISTS warningype (
warningtypeid INT(15) NOT NULL AUTO_INCREMENT,
title varCHAR(255) NOT NULL,
warn_points INT(15) NOT NULL DEFAULT '0',
warn_desc text NOT NULL,
warn_maturity INT(5),
warn_permban tinyint(1),
warn_type tinyint(3),
warn_alert tinyint(1),
warn_alertcomment MEDIUMTEXT,
PRIMARY KEY (warningtypeid));

you just caught a bug the install code in the product file is not correct updating that ...The above query will query the new table

NFLfbJunkie
08-29-2007, 03:44 PM
So the route I need to take to upgarde to 3.6.9 is this then:

SQL Dump of the warning_types table. And what does 'dump' actually mean? Is this the same as 'export'.
Run the above query to set up the 'warningtype' table
Import what was dumped in to the new table.Anything else? Do I need to import the product and/or remove from product-aws.xml:


<dependency dependencytype="product" parentproductid="tms" minversion="1.0.0" maxversion="" />

Delphiprogrammi
08-29-2007, 04:02 PM
<dependency dependencytype="product" parentproductid="tms" minversion="1.0.0" maxversion="" />


you only need todo this if you do not have the tms installed or you are for some reason unwilling to install it this step will stop vBulletin from throwing an error message if this is not installed and you try to import the product

NFLfbJunkie
08-29-2007, 04:06 PM
I think I almost got it. From my first step that I listed, can you tell me what actually an SQL dump is of a table? Does this mean exporting the table information? And if I do the three steps above, I do not need to reimport the product-aws.xml, correct?

NFLfbJunkie
08-29-2007, 04:09 PM
If I have 'vb' as my table prefix for all of my tables, where in the above query do I need to add the prefix?

cynthetiq
08-29-2007, 05:43 PM
what does the update fix? I don't see anything about it in the OP.

I got the email but since trashed it and don't know why I need to upgrade sine I'm not sure about using TMS.

Delphiprogrammi
08-29-2007, 08:08 PM
If I have 'vb' as my table prefix for all of my tables, where in the above query do I need to add the prefix?

you would need to add your table prefix just before the table name so in your case it would become "vbwarningtype" instead of "warningtype"

you still need to import the product-aws.xml file but if you do not have tms installed remove the product depency from the XML file before you import it.

Delphiprogrammi
08-29-2007, 08:13 PM
what does the update fix? I don't see anything about it in the OP.

I got the email but since trashed it and don't know why I need to upgrade sine I'm not sure about using TMS.

besides the tms support it also corrects some typos in the folowwing templates


warn_em
warn_em_alert
warn_pm
warn_pm_alert


look for a url that's

Warn.php?do=viewmywarnings

while that should be

Warn.php?do=ViewMyWarnings

this is used in the email messages and the pm's (and the copy's in forumthreads if you have this option enabled)

kenzacm
08-30-2007, 09:59 AM
Hi Everyone Does Anyone know where i can get the TMS System for vBulletin from?

Delphiprogrammi
08-30-2007, 06:29 PM
Hi Everyone Does Anyone know where i can get the TMS System for vBulletin from?

here

tehPARADOX
09-02-2007, 04:27 AM
Inside your your archive, there are 2 txt files; both containing template instructions. Both have some differences, which should we follow to accurately install this hack?

SuperTaz
09-02-2007, 05:50 AM
Well I have installed the TMS and so far nothing has gone wrong. If something does go wrong, I will post it right away on here.

Delphiprogrammi
09-02-2007, 04:33 PM
Inside your your archive, there are 2 txt files; both containing template instructions. Both have some differences, which should we follow to accurately install this hack?

you can use both depends wheter you use tms or not a completely manual install then readme.txt will do

SpaceStar
09-07-2007, 01:21 AM
Hello

After installed the hack, I am not able to see the link, where the warning should be applied from ... se the pic below - there should be some sort of button or text - WARN THIS USER...

YsTyle
09-07-2007, 07:52 AM
The product tms must be installed before this product may be installed. (Compatible starting with 1.0.0)

it's happens when i trying to upload the XML file.. what should i do?

thanks!

Delphiprogrammi
09-07-2007, 10:46 AM
it's happens when i trying to upload the XML file.. what should i do?

thanks!

already answerd you have to read all this thread pages

Delphiprogrammi
09-07-2007, 10:47 AM
Hello

After installed the hack, I am not able to see the link, where the warning should be applied from ... se the pic below - there should be some sort of button or text - WARN THIS USER...

and the same for you it might be a good idea to read the thread pages maybe (i'm sure) the answer is already there one hint through (you have warningtypes defined ?)

d8tabyte
09-11-2007, 04:06 PM
Funny, I just searched the thread and all I found were the last few messages pertaining to product tms so why don't you just provide the answer instead of telling us to read through 32 pages of content.

edit

Here:
https://vborg.vbsupport.ru/showthread.php?p=1327218&highlight=product#post1327218

cynthetiq
09-11-2007, 04:22 PM
Funny, I just searched the thread and all I found were the last few messages pertaining to product tms so why don't you just provide the answer instead of telling us to read through 32 pages of content.

It was offered up in many posts:

https://vborg.vbsupport.ru/showpost.php?p=1326842&postcount=454
https://vborg.vbsupport.ru/showpost.php?p=1327218&postcount=456
https://vborg.vbsupport.ru/showpost.php?p=1327881&postcount=463

how many more do you expect the person to spoon feed the community?

yoyoyoyo
09-11-2007, 08:25 PM
so, for a fresh install of 3.6.9 I don't need TMS? I never liked that hack and hope I don't have to use it, because I want to use this one

Delphiprogrammi
09-11-2007, 09:38 PM
so, for a fresh install of 3.6.9 I don't need TMS? I never liked that hack and hope I don't have to use it, because I want to use this one

you do need tms but if you really don't want it then open "product-aws.xml" and find


<dependency dependencytype="product" parentproductid="tms" minversion="1.0.0" maxversion="" />


remove that line and the import should work

broonzy
09-14-2007, 04:41 PM
and the same for you it might be a good idea to read the thread pages maybe (i'm sure) the answer is already there one hint through (you have warningtypes defined ?)

Ok, I can't see the "WARN USER" things too. I did define warning types, post related and non post related. The templates modification were done both with & without using TMS (I kept a copy of my non-modificated template xml file, a copy of the manually modified one and a copy of the TMS modified one, as backups). What should I do? 32 pages is long to read.

Delphiprogrammi
09-15-2007, 10:50 AM
Ok, I can't see the "WARN USER" things too. I did define warning types, post related and non post related. The templates modification were done both with & without using TMS (I kept a copy of my non-modificated template xml file, a copy of the manually modified one and a copy of the TMS modified one, as backups). What should I do? 32 pages is long to read.

what happens when yougo this url

http://www.yourserver.com/forums/Warn.php?do=WarnUserNoPost&id=member_id

note member_id cannot be an administrator

if you get you don't have permissions you need to setup permissions first (usergroups => usergroupmanager )

broonzy
09-15-2007, 04:59 PM
what happens when yougo this url

http://www.yourserver.com/forums/Warn.php?do=WarnUserNoPost&id=member_id

note member_id cannot be an administrator

if you get you don't have permissions you need to setup permissions first (usergroups => usergroupmanager )

I forgot to say that I indeed set the permissions up for admins, supermods and mods. So the link you gave works perfectly.

Delphiprogrammi
09-16-2007, 08:57 AM
hi,

You must choose either tms or manual edits if you do both it will confuse the system and mess things up.Also reminder that the tms system only works on templates that have been customized before.You could check if the modifications actually work using the styles & templates => template modifications manager.If something is not working tms will tell you.In that case you will have to manually edit the templates using the instructions found in /docs/readme.txt

broonzy
09-16-2007, 09:01 AM
hi,

You must choose either tms or manual edits if you do both it will confuse the system and mess things up.Also reminder that the tms system only works on templates that have been customized before.You could check if the modifications actually work using the styles & templates => template modifications manager.If something is not working tms will tell you.In that case you will have to manually edit the templates using the instructions found in /docs/readme.txt

No, you didn't get it.

Backup download of my template > manual edit + setup of the hack : nothing
Then deinstalled the plugin, and upload of my backed up template file.
Then TMS + setup of the hack: nothing. TMS says everything works fine.

I didn't used both at once.

Delphiprogrammi
09-16-2007, 11:21 AM
No, you didn't get it.

Backup download of my template > manual edit + setup of the hack : nothing
Then deinstalled the plugin, and upload of my backed up template file.
Then TMS + setup of the hack: nothing. TMS says everything works fine.

I didn't used both at once.

allright try to switch it in the system options if it is currently set to buttons choose links and vica versa and submit the forum i don't know why but sometimes this is needed

broonzy
09-16-2007, 12:30 PM
allright try to switch it in the system options if it is currently set to buttons choose links and vica versa and submit the forum i don't know why but sometimes this is needed

I did it, and it doesn't seem to work. Would you mind check on the forums themselves and see what's wrong? I shoot you a pm.

Akex
09-24-2007, 05:50 PM
I don't know if it was mentionned but there is a mistake in vb options for this product :

When you decide to choose if you use Text or button link, the value stored in database is not "Text" or "Buttons" but "All" or "own" ... So you can't see the link in postbit ... Quite confusing ...

Delphiprogrammi
09-25-2007, 08:58 AM
I don't know if it was mentionned but there is a mistake in vb options for this product :

When you decide to choose if you use Text or button link, the value stored in database is not "Text" or "Buttons" but "All" or "own" ... So you can't see the link in postbit ... Quite confusing ...

agreed that is quite annoying and confusing i will check that

edit

just checked and you're right


SELECT * FROM setting WHERE varname='warn_textbutoption';


the optioncode for that option should be


<select name=\"setting[$setting[varname]]\" tabindex=\"1\" class=\"bginput\">
<option value=\"0\" " . iif($setting['value']=='0','selected="selected"') . ">Buttons
</option>
<option value=\"1\" " . iif($setting['value']=='1','selected="selected"') . ">text</option></select>

Pcparts
09-26-2007, 08:09 AM
is there some way to import the warnings given from the Smith warning system into this one?

Delphiprogrammi
09-26-2007, 12:33 PM
is there some way to import the warnings given from the Smith warning system into this one?

No but i have been thinking about something like this to be honest i'm just scared to screw up people databases :o

Pcparts
09-26-2007, 01:48 PM
thanks :)

I want to start using a different system, now that the visionsscripts is no longer operational and all the mods are abandoned.

The smithwrning system came with an import script, so maybe you can make something similar? :)

I'll see if I can come up with something myself.

Bellardia
09-29-2007, 12:16 AM
Ever since vB 3.6.8, this MOD has been giving me the following error :

This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to that thread.

jmurrayhead
09-30-2007, 04:53 PM
What code causes the buttons/text for mods and admins to warn a user appear? I viewed a user's profile to test the new warning system and the link didn't appear. I viewed a post and the link didn't appear there either. I don't think I missed anything in the readme, but it very well could have happened. Everything else appears fine (for now), just need to be able to have these buttons appear. Otherwise, I can only view the user's options and perform a non-post related warning.