AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Report to Forums (https://forums.alliedmods.net/showthread.php?t=211126)

Doc-Holiday 03-18-2013 16:17

[ANY] Report to Forums
 
7 Attachment(s)
Report To Forums
Version 1.1.7f

Description:
This plugin was made in response to this request. It allows players from in game to report another player for breaking the rules of your server. Once a player is reported the plugin automatically makes a post on your forums formatted with the information needed to track the players and investigate the report.

Supported Boards:
  1. vBulletin - http://www.vbulletin.com/
  2. MyBB - http://www.mybb.com/
  3. Small Machine Forums - http://www.simplemachines.org/
  4. phpBB - https://www.phpbb.com/
  5. WBB Lite - http://www.woltlab.com/de/
  6. Advanced Electron Forum - http://www.anelectron.com/
  7. UseBB - http://www.usebb.net/
  8. eXtreme Message Board - http://www.xmbforum2.com/
  9. Invision Power Boards - http://www.invisionpower.com/apps/board/
  10. XenForo Forums - http://xenforo.com/

Note: Support for more boards available upon request. Free boards I can obtain the info on my own. If this is a paid board please view the list below for instructions to get the tables i need. (Or PM me access to your PHPMyAdmin.

Obtaining Your Database Table Info:
  1. Login to PHPMyAdmin and go to your database.
  2. Select 'Export' on the top.
  3. Select Custom under Export Metod
  4. Select the tables: fourms/boards, topics/threads, posts/messages, members/users (Names may vary those are the only ones I have come across yet) (Select Multiple tables my holding ctrl)
  5. Select SQL from the Format dropdown box.
  6. Under Format-Specific Options Find 'Dump Table' and make sure its set to 'Structure'
  7. Scroll to the bottom and press 'GO'
  8. Post it here inside [code][/code] tags or post a linke to pastebin.

ToDo List:
  • Add Updater Support
  • Add Forum Support for Most Popular boards
  • Add SourceIRC Support.
  • Add SourceTV Support.
  • Fix custom report feature.
  • Add Support for Watchlist Plugin.
  • Add API

Cvars:
  • For a full list of ConVars and Commands Click Here

Bug Tracker and Feature Requests:
  • Submit Feature Requests
  • Submit Bug Reports

Requirements:
Server(s):

Credits:
  • Lyric - Plugin Idea
  • jasonfrog - Protection against SQL_Insertion.
  • Asherkin - Providing Correct Usage of SQL_EscapeString()
  • winterghost - Fixing SMF Support
  • Bacardi - Method for reading the KeyValue file to create the menu's

View the Changelog Here

Installation Instructions

View the Source Here
Download the Plugin Here
Download the Config Files Here


Newest Dev Build: Enjoy (This has not been updated in a while please use this at your own risk. I will be updating this shortly.)
Info: Wiki
Source Code for v2.0-dev
Configs
Main API
CallAdmin Module
API Test Plugin

Wilczek 03-18-2013 17:19

Re: [ANY] Report to Forums
 
Any chance for SMF forum support?

Doc-Holiday 03-18-2013 17:30

Re: [ANY] Report to Forums
 
Quote:

Originally Posted by Wilczek (Post 1915242)
Any chance for SMF forum support?

Downloading SMF and phpBB real fast.. Ill have a test board up as soon as possible i will post back with details.

lyric 03-18-2013 18:10

Re: [ANY] Report to Forums
 
You should add a link for folks to donate for all your hardwork Doc-Holiday. You deserve some money for taking all the time you take to install forums and do testing. Great work!

island55 03-18-2013 18:36

Re: [ANY] Report to Forums
 
this is an amazing plugin, great work. would it be possible to add support for IPBoard? (www.invisionpower.com)

lyric 03-18-2013 18:42

Re: [ANY] Report to Forums
 
I found a bug, it seems it's not capturing the right person down for the Reporting Party. I had several friends try to report and it always says the same guy is the reporting party and not the person who did the !report.

Example: Bob reports Steve for griefing. Report is sent just fine. Steve reports Mark for Spamming. Report says Bob is the reporting party. Jessica reports Bob for Hacking. Report says Bob is the reporting party.

killjoy64 03-18-2013 19:42

Re: [ANY] Report to Forums
 
Could you make this run along side SourceIRC, so if someone reports a player, a ticket is sent to the irc channel and a report made in the forum?

Doc-Holiday 03-18-2013 19:49

Re: [ANY] Report to Forums
 
Quote:

Originally Posted by lyric (Post 1915280)
I found a bug, it seems it's not capturing the right person down for the Reporting Party. I had several friends try to report and it always says the same guy is the reporting party and not the person who did the !report.

Example: Bob reports Steve for griefing. Report is sent just fine. Steve reports Mark for Spamming. Report says Bob is the reporting party. Jessica reports Bob for Hacking. Report says Bob is the reporting party.

is your test server on the LAN?? or am i able to go in and test..

If I cant connect can you connect to my tf2 test server and try it there? ip in first post.

lyric 03-18-2013 20:03

Re: [ANY] Report to Forums
 
Quote:

Originally Posted by Doc-Holiday (Post 1915304)
is your test server on the LAN?? or am i able to go in and test..

If I cant connect can you connect to my tf2 test server and try it there? ip in first post.

Sure, I'll connect to your server now and report.

Doc-Holiday 03-18-2013 20:03

Re: [ANY] Report to Forums
 
Update to 1.0.2
Made SMF Support
Created a debug file in case you are having issues with any part of the SQL. It writes all of the SQL queries to a file in logs/rtf_debug_<boardname>.txt

Changed the databases.cfg file. It is now different for each board you use. Easier for my testing lol.

Code:

"rtfsettings_<boardname>"
{
        "driver"                        "default"
        "host"                                "localhost"
        "database"                        "dbName"
        "user"                                "UserName"
        "pass"                                "Password"
}

The below is an example for the mybb board. Replace mybb with smf or vb4 if those are the boards your using.
Code:

"rtfsettings_mybb"
{
        "driver"                        "default"
        "host"                                "localhost"
        "database"                        "dbName"
        "user"                                "UserName"
        "pass"                                "Password"
}



All times are GMT -4. The time now is 09:50.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.