The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Auto-solve report threads Details »» | |||||||||||||||||||||||||
In our forum we have a category for reports and when a report is "solved" we move them into "Reported Archive" and put a [solved] in front of their title.
We used to do this manually, until today that I thought of a way to make the process automatic, and it only requires a template edit! I'm releasing this for any forum that has a similar moderation regime. In your SHOWTHREAD template add somewhere (not inside a form though) the following code: HTML Code:
<if condition="can_moderate() AND $forumid==$vboptions['rpforumid']"> <form method="post" action="postings.php?do=domovethread&t=$threadid"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="t" value="$threadid" /> <input type="hidden" name="do" value="domovethread" /> <input type="hidden" name="title" value="[solved] $threadinfo[title]" /> <input type="hidden" name="destforumid" value="88" /> <input type="hidden" name="redirect" value="none" /> <input type="submit" value="Solve report"> </form> </if> FAQ I get an "Invalid Action Specified" or "You did not select any posts" error. https://vborg.vbsupport.ru/showpost....8&postcount=11 I get a no permission error https://vborg.vbsupport.ru/showpost....50&postcount=9 How do I get the moderator's name to show in the moved thread's title as well? https://vborg.vbsupport.ru/showpost....2&postcount=18 Show Your Support
|
Comments |
#42
|
|||
|
|||
The "Solve report" button appears in the lower left corner for me on the report thread.
Hope that helps |
#43
|
|||
|
|||
Installed it again and I don't see the report thread, what do you mean by that.. And thanks for the help..
|
#44
|
|||
|
|||
I mean when someone reports a post a report thread is created in a forum of your choosing right?
When I look at the report the "Solve report" button is at the bottom of the report in the lower left corner. It could be different on mine because I'm using a custom style but I would imagine either way the button would appear at the bottom of the report. I was pointing that out because I thought I was going crazy not seeing any difference and I didn't even notice the button was there. On my board it could be easily over looked if your didn't where it was ; ) |
#45
|
|||
|
|||
I have installed this mod and it seems to work for me...I was thinking about adding the Trash option as well, but feel there should be a condition AND NOT in the top line so that threads already in the reported threads forum won't have the "Trash" option...is this reasonable?
|
#46
|
|||
|
|||
if you search within the template for </form> you will see the section mentioned is further down the template (that's how I found it)
|
#47
|
|||
|
|||
reserved
|
#48
|
|||
|
|||
i really need this thing to work but here is what i have maybe you can help me
can i have it add the phrase ( solved) infront of the thread title when ever that thread was solved i have a forum for mobile problems where member comes and place their problem we discuss the sloution inside that thread in another way can that work like its done in the nokia discussion forum i mean adding the phrase (solved) to the thread title without removing it to another forum |
#49
|
|||
|
|||
Quote:
|
#50
|
|||
|
|||
i also need it to appear in a spicific forum
can we do that thanx |
#51
|
|||
|
|||
as I said, it can be done, but I don't have the time to do it for you. Perhaps someone else does.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|