nightvision - 7-1-2012 at 06:59 PM
Note: Has been posted at other forum as well.
XMB v1.9.11 Patch #13
Hi folks, I'm relatively good with PHP but this one has me stumped.
Objective:
Instead of having post reports sent to staff members U2U inbox's, I want the reports posted as a "new thread".Reason being, I want my staff to first
review and discuss the post in question before taking action. Also, I don't want my staff members inbox's filled with reports.
How I have gone so far:
So far, I have changed template vtmist_report and added a similar template to post_newthread with the form link going to the specific forum titled
"Complaints".
I have set the forum permissions in admincp as members can post new threads but not reply or view the forum.
However, when a member goes to hit submit, it shows "Error; Sorry, you are not permitted to view this forum"... and doesn't submit the new thread.
Is there a way to reroute this to allow members to post complaints as threads without viewing the dedicated forum?
nightvision. ![:xmb:](./images/smilies/xmb.gif)
Mouser - 7-1-2012 at 08:50 PM
I think your approach is ... Very good![:)](./images/smilies/smile.gif)
What you can do;
Not reroute your users with a link to a forum.
Use the vtmisc_report template.
The values POST'd by this template, you can use to create a post..
Check the coding (and SQL queries) used in post.php
That way you loose the security checks to see if someone is allowed to post or not.
Plastic - 7-5-2012 at 11:01 PM
Plz let this happen guys, amazing idea.