Custom report script?
#1
I have a website using MyBB for the forum software and general user stuff. However there are pages outside of the form that may contain content users have uploaded and I would like to use MyBB's report system to allow reporting of this content.

Is this possible, and how do I create a report? Can I have custom reasons?
Reply
#2
It sounds like you need a totally separate system, the report system is designed to report posts on the forum, not arbitrary external content - it would need rewriting of things like the unread reports notice and Mod CP section to support this in the existing system. Where would suers go to report said content?
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#3
You can definitely create custom reasons for a report, but as Matt said there's not really any way you could report external stuff using MyBB's built in reporting system. The only way that could work (that I can think of, not even saying it necessarily will work) would be just having the "report" links on your external site link to the MyBB reporting system and user's would just have to report through the MyBB system using the 'report_types' hook I would think. Not sure how nicely that would work and I don't know if you'd need any core edits.
My Plugins: [1.8]|[1.6]

** Selling custom plugin that enables Bitcoin payments. PM me if interested in purchasing! **
Reply
#4
Yeah, thing is all the rest of the code to load the actual reports is tied to post IDs, so you'd have to fake that, or override it... it'd be easier to have a separate system that works alongside the default report system.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)