Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: ▓▒RapidBelgrade▒▓ on March 29, 2011, 11:21:08 PM

Title: Create a topic when a post is reported
Post by: ▓▒RapidBelgrade▒▓ on March 29, 2011, 11:21:08 PM

Create a topic when a post is reported

LINK TO MOD (http://custom.simplemachines.org/mods/index.php?mod=2985)

QuoteThis mod is designed to create a topic in a specified board when someone reports a post to the moderators.
When this mod is active it can optionally turn off the emails sent due to the report.

This feature and be turned on and off and board specified in:
SMF 1.1.X: Admin -> Boards -> Settings

Version History:

Version 0.2:
-If the user is subscribed to the board they will still recieve notifications (SMF 1.1 only).

Admin -> Boards -> Settings
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg838.imageshack.us%2Fimg838%2F1979%2Fprijave1.jpg&hash=3dccc17016f207e723f6ffd58f7effb5919fa304)

make new board (visible only for staff)....
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg859.imageshack.us%2Fimg859%2F4236%2Fprijave2.jpg&hash=0f77de19b876ea36e71e9ade6e9dea752d8d5e68)

list reported post
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg828.imageshack.us%2Fimg828%2F4959%2Fprijave3.jpg&hash=9688f0a906a1aa6ab37a15852b882c3f0bebb098)

Application layout.....
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg534.imageshack.us%2Fimg534%2F5976%2Fprijave4.jpg&hash=f409e271dbc45500b212590e85ccdd561d577a85)

enjoy...    ;)
Title: Re: Create a topic when a post is reported
Post by: Masterd on March 30, 2011, 05:43:00 AM
Nice mod, Rapid! It's nice to see that it's finally on the mod site! :D
Title: Re: Create a topic when a post is reported
Post by: Skipper. on March 30, 2011, 07:23:37 AM
Good job Rapid  ;)
Title: Re: Create a topic when a post is reported
Post by: HunterP on March 30, 2011, 10:13:17 AM

What exactly is the difference with vReportBoardMod??

http://custom.simplemachines.org/mods/index.php?mod=392

I've used this in 1.1.13 and worked perfectly.
Title: Re: Create a topic when a post is reported
Post by: Arantor on March 30, 2011, 10:16:59 AM
It's much more streamlined than vReportBoard is; this one doesn't get into making the board look different or dealing with PMs quite the same way.
Title: Re: Create a topic when a post is reported
Post by: HunterP on March 30, 2011, 10:23:05 AM
Quote from: Arantor on March 30, 2011, 10:16:59 AM
It's much more streamlined than vReportBoard is; this one doesn't get into making the board look different or dealing with PMs quite the same way.

Sorry, I don't want to be annoying or spoil anyone's effort, but I've used vReportBoard a long time and I don't see any big differences. vReportBoard doesn't make the board look different, besides the solved / unsolved icons and as far as I can see, this is something missing in this new mod.

But if anyone likes this one better, it's okay  :)
Title: Re: Create a topic when a post is reported
Post by: Arantor on March 30, 2011, 10:24:26 AM
I didn't look too closely at what vReportBoard did, I only saw it made edits to how things were displayed so I knew it had to be doing something with making the topic look different.

This one is literally what it says on the tin.
Title: Re: Create a topic when a post is reported
Post by: rocknroller on March 30, 2011, 12:22:37 PM
Nice mod.
Title: Re: Create a topic when a post is reported
Post by: NoPasaran on April 01, 2011, 03:37:00 AM
we want for smf 2
Title: Re: Create a topic when a post is reported
Post by: ▓▒RapidBelgrade▒▓ on April 01, 2011, 06:39:20 AM
for now MOD work only on 1.1.X version...   
we will try update to 2.0 as soon as possible ...


Thanks for Your Patience
If you have any questions please do not hesitate to contact us
RapidBelgrade™
Title: Re: Create a topic when a post is reported
Post by: ▓▒RapidBelgrade▒▓ on April 03, 2011, 10:59:04 AM
Version V3:
added Modification.turkish.php
Thanks member [istay10.com]  for translate...
Title: Re: Create a topic when a post is reported
Post by: dimitrisglaros on April 06, 2011, 11:18:13 AM
thanks   great job
Title: Re: Create a topic when a post is reported
Post by: Madzgo on April 08, 2011, 02:08:42 PM
Awesome! :D
Title: Re: Create a topic when a post is reported
Post by: coldy316 on April 14, 2011, 08:57:03 PM
is there any chances of getting this updated for the new forum software such as 2.0RC3 , 2.0RC4 & 2.0RC5
considering there is alot of board owners with the latest versions now..
Title: Re: Create a topic when a post is reported
Post by: Arantor on April 14, 2011, 08:57:56 PM
Quote from: coldy316 on April 14, 2011, 08:57:03 PM
is there any chances of getting this updated for the new forum software such as 2.0RC3 , 2.0RC4 & 2.0RC5
considering there is alot of board owners with the latest versions now..

2.0 RC3 and RC4 aren't "latest versions"
Title: Re: Create a topic when a post is reported
Post by: ▓▒RapidBelgrade▒▓ on April 22, 2011, 10:37:17 AM
for 2.0 RC5     see  this topic

http://www.simplemachines.org/community/index.php?topic=429154.0

waiting to approve MOD
http://custom.simplemachines.org/mods/index.php?mod=3011


Title: Re: Create a topic when a post is reported
Post by: PLAYBOY on April 24, 2011, 03:33:57 AM
Good job. Very nice mod. Smart.
Easy to install even on a very much customized theme. Thank you.

Does it create a topic for reported PMs too?
Is there a way to customize the post itself? Because of language barriers?
Title: Re: Create a topic when a post is reported
Post by: plp on April 28, 2011, 10:58:20 PM
Found a small bug
if the post you are reporting has an apostrophe in it
you get an error :(

quick fix
In: sources/SendTopic.php
find: $subject = htmlspecialchars($subject);
replace with:  $subject = htmlspecialchars($subject, ENT_QUOTES);

This worked for me on my forum :)
Title: Re: Create a topic when a post is reported
Post by: Cristian10 on May 07, 2011, 12:00:53 PM
Cool
thanks!
What theme are you using because it looks cool ;) ?
Title: Re: Create a topic when a post is reported
Post by: OzzyGuy on June 28, 2011, 07:17:43 AM
Need some help. My "Report To Moderator" link is missing. I uninstalled the mod and it's still not there. Any idea on how to get it working again please?

v 1.1.14

If you need url let me know.

Also, when I access report url directly I get the following error after hitting report button

Database 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 'm newwwwbie :D by Raven', 1, 255), SUBSTRING('Raven has been reported by Dee (ad' at line 4
File: /mounted-storage/home139/sub026/sc76133-TDAN/ausbands.com/Sources/Subs-Post.php
Line: 1535

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.14, while your database is at version 1.1.11. The above error might possibly go away if you execute the latest version of upgrade.php.


Error seems to be saying directory files are 1.1.14 but database is 1.1.11. how can this be so when i performed automatic upgrade through admin panel?