Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Allow members to report own posts Details »»
Allow members to report own posts
Version: 1.00, by tamarian tamarian is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 06-11-2005 Last Update: 08-24-2005 Installs: 35
Uses Plugins
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-14-2005, 07:35 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
I'd think it would just be easier to edit the template and remove the $show conditional... but thats me and all...
It would it be easier if you guys didn't disable it in the first place, it was working fine before 3.0.7
Reply With Quote
  #13  
Old 06-14-2005, 07:38 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The conditional to report someones post has been there since 3.0.0 and in the betas as well.
Reply With Quote
  #14  
Old 06-14-2005, 07:50 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
The conditional to report someones post has been there since 3.0.0 and in the betas as well.
Zachery, while we have your attention could I get you to check this for me (or forward it to the WYSIWYG guru in dev):

https://vborg.vbsupport.ru/showthread.php?t=83034

It's holding up the spell checkers release, and I'm stomped.
Reply With Quote
  #15  
Old 06-14-2005, 07:52 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not a js guru, Scott or Kier would have to respond to that, and my poking won't help that much :\
Reply With Quote
  #16  
Old 06-14-2005, 08:00 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
Not a js guru, Scott or Kier would have to respond to that, and my poking won't help that much :\
These guys are "unpokable" at the moment I take it. I'll send a PM and see what happens.
Reply With Quote
  #17  
Old 07-31-2005, 01:01 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 08-25-2005, 09:55 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This shows up in pms now but when you click it, it gives a no permissions error.
Reply With Quote
  #19  
Old 08-25-2005, 11:27 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 08-25-2005, 11:30 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And, Marco, what would we need to do to fix this issue?
Reply With Quote
  #21  
Old 08-25-2005, 11:38 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
global $show;
$show['hack_postbit_type'] = $postbit_type
Then in the 'postbit_display_complete' you would put:
PHP Code:
global $show;
if (
$show['hack_postbit_type'] == 'post')
{
$show['reportlink'] = $this->registry->userinfo['userid'];

Not tested this, but something like this should work.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04757 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete