![]() |
Allow members to report own posts
What this plugin does:
vBulletin does not (no longer) allow a user to report their own posts. This plugin allows you to enable (or disable by deactivation) reporting own posts. On some forums there are quite a few threads started and after a set period members want to report those threads to be moved by moderators. without it, members need to PM moderators and provide a link to the post and/or thread, which is a lot of make-work, especially when some members don't know how to provide links, so they'll PM something like "Go to that sub-forum, look in page 7, second thread from the top"! This can alternatively be done by editing two templates (per template set), postbit and legacy psotbit. But you will need to make those edits to disable/enable this behavious. A plugin is much cleaner, and easier. Installation: Upload the plugin xml file through your admincp plugin manager. Please click Install if you have installed this mod. |
Installed. :) Good work.
|
Thanks. I expected the first reply to this thread to be "Who would want this?" :)
|
Nah I am using it on my scripting site already. ;)
|
Quote:
Seriously, I'm curious why anyone would report their own post(s) ? |
Quote:
Or if had second thoughts about your post and want it to be removed and you dont have perms to delete your own posts. |
vb.org has a good example as well. Say you post a beta hack, and after testing, you want to notify mods that it's no longer in beta, and needs to be moved soemwhere else. To be able to report it, saves you the time to decide which mod to PM, and cut and paste the link, etc, and a lot less clicks.
|
Good reasons I guess. :)
|
I'd think it would just be easier to edit the template and remove the $show conditional... but thats me and all...
|
Were is the fun in that. ;) lol
|
Quote:
|
The conditional to report someones post has been there since 3.0.0 and in the betas as well.
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=83034 It's holding up the spell checkers release, and I'm stomped. |
Not a js guru, Scott or Kier would have to respond to that, and my poking won't help that much :\
|
Quote:
|
It allowed me to report my own post with RC1, but I didn't get a notification e-mail yet. That may be my server though, so I'll wait it out and post an update.
|
This shows up in pms now but when you click it, it gives a no permissions error.
|
Ofcourse it will also show in pm's, since pm's use the same template. It will cause an error because clicking on it will call the report.php script, which expects a postid, and there is no postid in a pm
|
And, Marco, what would we need to do to fix this issue? ;)
|
I don't think you have access to the type of object that is using the postbit in 'postbit_display_complete', so you can not add a test to see if it is a post or a pm.
what you could do is create a 'postbit_factory' plugin, that save the $postbit_type. For example in postbit_factory: PHP Code:
PHP Code:
|
Plugin updated with this :)
PHP Code:
|
Just looking back at this line now, why do you put the userid in a boolean variable?
|
Quote:
|
Then just use:
PHP Code:
|
Quote:
|
Not really, what if some script somewhere will do a real boolean test, and you put a number in there?
|
Quote:
BTW, this code is stock from vBulletin, prior to disabling the ability to report own post. It could be done as if/then/else or iif, or left as is. |
PHP Code:
|
Quote:
Quote:
|
PHP Code:
So i guess you are talking about implementing 3.0.x code into vB3.5 I think we better stop this discussion because i have the feeling it is turning into a i am right, no i am right one. |
Quote:
|
Thanks very much for this!
We're using this in conjunction with 3.54 Reported post creates new thread in specified private forum which allows for member usergroup to view and reply to their own reported post. (and mods/admin can correspond to) Can Post Threads - Yes Can View Others' Threads - No Can Reply to Own Threads - Yes Will be trying this plugin later tonight on 3.6 RC1 using the new default Reported post creates new thread in specified forum. Here's to hoping it will work. Cheers, Mark |
Re: Member can report own post in 3.6 RC2 ... Freddie says in this post
"I believe it is still hidden in the postbit template so you'll just need to modify the template." But I don't know how to do that, so we installed this plugin in our 3.6 RC2 and it seems to work fine. Thanks! Mark |
All times are GMT. The time now is 02:08 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|