Author |
Topic |
kovan
Junior Member
134 Posts |
Posted - 05 May 2001 : 22:14:33
|
Title: Report To Moderator Version: 1.0 Download: http://www.alkitab.net/test/ReportToModerator.zip Installation: read the included instructions.txt file for installation instructions. Description: If a user makes unapproperiate topics or replies to a thread or starts a new thread, and another user sees this as unapproperiate content, the user can report that post or topic to a moderator or administrator, then moderators or admin can go to "Complaint Manager", view all the complaints, then take approperiate actions Once a complaint has been "solved" it will no longer appear when Comlaint Manager page is refreshed.. Demo: http://www.magicmushrom.org.uk Support: Please post questions and problems with this MOD in the Help: http://forum.snitz.com/forum/forum.asp?FORUM_ID=94&CAT_ID=10&Forum_Title=Help%3A+MOD+Implementation Features: Delete Post or Topic that was unapproperiate Email the author of the original post View the reporter profile Solve Problems .. more features to come
if you want any more features added, please reply to this with your request
Edited by - kovan on 05 May 2001 22:15:15
Edited by - kovan on 05 May 2001 22:15:59
Edited by - kovan on 06 May 2001 10:36:18 |
|
swatijain
Starting Member
48 Posts |
Posted - 05 May 2001 : 23:09:54
|
Error...
Microsoft OLE DB Provider for SQL Server error '80040e14'
Invalid column name 'FALSE'.
/forums/complaintmanager.asp, line 131
Got a fix for it. If you're on SQL Server you will need to change FALSE on Line 131 to 0. It should work then.
-Swati
Edited by - swatijain on 05 May 2001 23:20:27 |
|
|
Aznknight
Senior Member
USA
1373 Posts |
Posted - 06 May 2001 : 00:04:29
|
nice mod
some comments and suggestions: the instructions was kinda unclear on where to add stuff to the topic.asp because the line numbers and examples of where you added yours were way off from the topic.asp from snitz31sr4. Good thing I kinda know where you were talking about to add it, but i would imagine others would have a harder time. maybe adding the "report to moderator" link above the horizontal line might be better than adding after the strMessage. since reply, edit, delete and such are already there. use forum layout variables more like font settings and such. have option to edit post as well as just deleting a post when resolving a reported topic/reply
- Alan www.iamviet.com www.calvsa.net Snitz Resource |
|
|
swatijain
Starting Member
48 Posts |
Posted - 06 May 2001 : 00:08:37
|
I edited one of the files (and am going to edit the other files) so the forum variables are used...should I simply post them here. (anyone interested?)
And I also agree on the instructions. You had some mods installed that I hadn't. I had to know myself where to put the script. Oh and I also had to rename the .asp file to .dbs so it installs the tables....
There are also some spelling errors. (only some, though) It's a great MOD and I had been looking for one all day. Thanks so much!
-Swati
|
|
|
Aznknight
Senior Member
USA
1373 Posts |
Posted - 06 May 2001 : 00:14:45
|
quote:
I edited one of the files (and am going to edit the other files) so the forum variables are used...should I simply post them here. (anyone interested?)
nah i think having only one version handled by main guy who posted a mod would be better than having several versions of same mod floating around. 2cents
quote:
And I also agree on the instructions. You had some mods installed that I hadn't. I had to know myself where to put the script. Oh and I also had to rename the .asp file to .dbs so it installs the tables....
about the .asp for the setup files, that's because this mod uses the new admin_mod_dbsetup.asp which no longer use the .dbs files.
oh one more thing about this mod, it's doesn't accept an apostrophe in the message to moderator. just wanted to let the you know.
- Alan www.iamviet.com www.calvsa.net Snitz Resource |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 06 May 2001 : 00:31:58
|
I changed mine to report to admin.
But a awesome mod to this would be... Have it email you when someone reports a post
Test Site www.eastpasco.com HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser. |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 06 May 2001 : 00:53:18
|
Ok.. I put the Report Topic into the horizontal line with the other Icons. All I need is a Better Icon.. Hint Hint! I'm using the reporterprofile.gif icon for now.
Here is what I did... Please Note I'm running Huwr's forum.
A round 533:
<% '***********************************START REPORT TO MODERATOR POST********************************* %> <font size="1"><a href='ComplainToModerator.asp?IsTopic=0&action=REPORT&REPLY_ID=<% =rs("REPLY_ID") %>&TOPIC_ID=<% =Request.QueryString("TOPIC_ID") %>&FORUM_ID=<% =Request.QueryString("FORUM_ID") %>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&ReporterID=<%=rs("MEMBER_ID")%>&TOPIC_TITLE=<%=Request.QueryString("Topic_Title")%>'><img border="0" src="<%=strImageURL %>reporterprofile.gif" alt="Report Post To Admin" width="20" height="14"></a></font> <% '***********************************END REPORT TO MODERATOR*********************************** %>
Around Line 777:
<% '***********************************START REPORT TO MODERATOR TOPIC********************************* %> <font size="1"><a href='ComplainToModerator.asp?IsTopic=1&action=REPORT&TOPIC_ID=<% =Request.QueryString("TOPIC_ID") %>&FORUM_ID=<% =Request.QueryString("FORUM_ID") %>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&ReporterID=<%=rs("MEMBER_ID")%>'&TOPIC_TITLE=<%=Request.QueryString("Topic_Title")%>><img border="0" src="<%=strImageURL %>reporterprofile.gif" alt="Report Post To Admin" width="20" height="14"></a></font> <% '***********************************END REPORT TO MODERATOR*********************************** %>
Test Site www.eastpasco.com HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
Edited by - rick7165 on 06 May 2001 01:28:16 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 06 May 2001 : 03:04:44
|
quote:
Oh and I also had to rename the .asp file to .dbs so it installs the tables....
This should not have been necesary had you used the setup from the zip file
|
|
|
swatijain
Starting Member
48 Posts |
Posted - 06 May 2001 : 08:29:47
|
Oops. Sorry...I didn't extract that file to the forum..my mistake.
Did anyone else get an error when they try to access the Complaint Manager as a moderator? Or is it just on the SQL Server....I found a fix for it, but I am not sure if its just SQL Server.
quote:
quote:
Oh and I also had to rename the .asp file to .dbs so it installs the tables....
This should not have been necesary had you used the setup from the zip file
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 06 May 2001 : 08:34:28
|
everyone should change the FALSE to 0, kovan's original scripts used an access yes/no field, I changed these to ints to be compatable with SQL.
it may be wrth checking if it crops up in any of the other queries.
|
|
|
kovan
Junior Member
134 Posts |
Posted - 06 May 2001 : 10:29:59
|
sorry about the = FALSE thing i had changed it in the original but forgot to send it to huwr..
forum layout variables.. yes, i definately will use those, i just wanted to get it to work then i would go and figure out what variables are used for what sections..
Editing posts.. next release as there is even a link (not working currently) for editing posts..
Apostrphases, next release hopefully
quote:
I changed mine to report to admin.
the original reports to both moderators and admin when logged on or you mean sending emails and stuff?
next release or next version will contain a better admin options
about having different versions, i think az is right, no need for different versions, if you could post your fixes here, it would be better to compile all into one version
|
|
|
Ribkick
Junior Member
USA
296 Posts |
Posted - 06 June 2001 : 18:54:01
|
quote:
Ok.. I put the Report Topic into the horizontal line with the other Icons. All I need is a Better Icon.. Hint Hint! I'm using the reporterprofile.gif icon for now.
Here is what I did... Please Note I'm running Huwr's forum.
Try these, I added mine to the top line as well then created these icons (one for Topic, one for Posts). I also added a hover to let members know what the icon did. I've included the snippit of code below.
This is more code than you'll use. I added some so you'd see where to place it.
=<% =Request.QueryString("CAT_ID")%>&ReporterID=<%=rs("MEMBER_ID")%>&TOPIC_TITLE=<%=Request.QueryString("Topic_Title")%>'><img src="reportpost.gif" height=15 width=15 alt="Report this post to Administrator" border="0" align="absmiddle" hspace="6"></a></font> <%
|
|
|
Ribkick
Junior Member
USA
296 Posts |
Posted - 08 June 2001 : 20:33:20
|
small problem, BIG problem:
When a report is made about an individual post (not the topic) and you go to view thread in the view message window, all I get is a portion of the edit/post box with two buttons "post" and "reset fields", that's it.
All functions work fine if the report is made on the topic, just not the individual post. How or where do I correct this problem?
Below are the two edits done to Topic.asp if that helps:
FOR POSTS:
<% '***********************************START REPORT TO MODERATOR POST********************************* %> <font size="1"><a href='ComplainToModerator.asp?IsTopic=0&action=REPORT&REPLY_ID=<% =rs("REPLY_ID") %>&TOPIC_ID=<% =Request.QueryString("TOPIC_ID") %>&FORUM_ID=<% =Request.QueryString("FORUM_ID") %>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&ReporterID=<%=rs("MEMBER_ID")%>&TOPIC_TITLE=<%=Request.QueryString("Topic_Title")%>'><img src="reportpost.gif" height=15 width=20 alt="Report this post to Administrator" border="0" align="absmiddle" hspace="6"></a></font> <% '***********************************END REPORT TO MODERATOR*********************************** %>
FOR TOPICS:
<% '***********************************START REPORT TO MODERATOR TOPIC********************************* %> <font size="1"><a href='ComplainToModerator.asp?IsTopic=1&action=REPORT&TOPIC_ID=<% =Request.QueryString("TOPIC_ID") %>&FORUM_ID=<% =Request.QueryString("FORUM_ID") %>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&ReporterID=<%=rs("MEMBER_ID")%>&TOPIC_TITLE=<%=Request.QueryString("Topic_Title")%>><img src="reportopic.gif" height=15 width=20 alt="Report this topic to Administrator" border="0" align="absmiddle" hspace="6"></a></font> <% '***********************************END REPORT TO MODERATOR*********************************** %>
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 13 July 2001 : 21:02:23
|
I have this working but there seems to be a few problems.
It doesn't seem to like the way it identifies the moderator and get an error when they try to access it. Only admin can check.
It would be cool if you could delete the notifications instead of just checking them as resolved and having them remain in the database.
I get messages from members on other members but the person that sent the report to me is not recorded so I have no way of looking at both sides or following up.
@tomic
|
|
|
kovan
Junior Member
134 Posts |
Posted - 15 July 2001 : 03:06:33
|
quote:
small problem, BIG problem:
When a report is made about an individual post (not the topic) and you go to view thread in the view message window, all I get is a portion of the edit/post box with two buttons "post" and "reset fields", that's it.
All functions work fine if the report is made on the topic, just not the individual post. How or where do I correct this problem?
Below are the two edits done to Topic.asp if that helps:
FOR POSTS:
<% '***********************************START REPORT TO MODERATOR POST********************************* %> <font size="1"><a href='ComplainToModerator.asp?IsTopic=0&action=REPORT&REPLY_ID=<% =rs("REPLY_ID") %>&TOPIC_ID=<% =Request.QueryString("TOPIC_ID") %>&FORUM_ID=<% =Request.QueryString("FORUM_ID") %>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&ReporterID=<%=rs("MEMBER_ID")%>&TOPIC_TITLE=<%=Request.QueryString("Topic_Title")%>'><img src="reportpost.gif" height=15 width=20 alt="Report this post to Administrator" border="0" align="absmiddle" hspace="6"></a></font> <% '***********************************END REPORT TO MODERATOR*********************************** %>
FOR TOPICS:
<% '***********************************START REPORT TO MODERATOR TOPIC********************************* %> <font size="1"><a href='ComplainToModerator.asp?IsTopic=1&action=REPORT&TOPIC_ID=<% =Request.QueryString("TOPIC_ID") %>&FORUM_ID=<% =Request.QueryString("FORUM_ID") %>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&ReporterID=<%=rs("MEMBER_ID")%>&TOPIC_TITLE=<%=Request.QueryString("Topic_Title")%>><img src="reportopic.gif" height=15 width=20 alt="Report this topic to Administrator" border="0" align="absmiddle" hspace="6"></a></font> <% '***********************************END REPORT TO MODERATOR*********************************** %>
i am really not sure what you mean by TOPIC and INDIVIDUAL
When a POST (reply or original post) is reported, the id of that post is sent around so that it can be viewed if the admin or moderator wants to
i am kinda lost at where your problem is so i am not making a lot sense
Edited by - kovan on 15 July 2001 03:07:36 |
|
|
kovan
Junior Member
134 Posts |
Posted - 15 July 2001 : 03:09:29
|
quote:
I have this working but there seems to be a few problems.
It doesn't seem to like the way it identifies the moderator and get an error when they try to access it. Only admin can check.
It would be cool if you could delete the notifications instead of just checking them as resolved and having them remain in the database.
I get messages from members on other members but the person that sent the report to me is not recorded so I have no way of looking at both sides or following up.
@tomic
Whats the error your getting?
about deleting them out of the db, you can modify the code to delete instead of checking it off
i didnt put the delete code in there because i want the complaints to be recorded for future reference
|
|
|
Topic |
|