Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Moderation Auto-PM v3.0.1 Details »»
Moderation Auto-PM v3.0.1
Version: 3.0.1, by Delphiprogrammi Delphiprogrammi is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.7.x Rating:
Released: 09-29-2008 Last Update: 11-24-2008 Installs: 237
Uses Plugins
Re-useable Code Code Changes Translations  
No support by the author.

hi Folks,

This is a port of this for vBulletin 3.0.3 (long time ago)

I ported it to vBulletin 3.5.4 with the permission of the original author here

i see user requested it for vBulletin 3.7.3 here

so this hack does
  • send a pm to the threadstarter upon moderation actions
  • The pm content is completely phrased to allow easy translation for people not running an english board
  • the pm automatically comes from the moderator who actually performes the moderation(if you leave the setting forthis blank)
  • no pm when a user edits / deleted his own threads / posts
  • support for the inlinemod system
this hack does not
  • send an email instead of a pm
  • split thread / posts not supported
Installation:

upload all *.php files to /includes
import the product xml (set allow overwrite to yes if you are updating from a previous version) There are three setting groups look under vbulletin options -> modpm_*

that's it

Show Your Support

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

Comments
  #102  
Old 10-30-2008, 08:12 PM
tavarish tavarish is offline
 
Join Date: May 2007
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this activated, and i move posts and threads.. and users gets a pm that the post/thread was moved and the new link to the bin forum..
Reply With Quote
  #103  
Old 10-31-2008, 04:27 AM
tavarish tavarish is offline
 
Join Date: May 2007
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
PHP Code:
function check_recycle_bin()
 {
  if ((
$this->dest == $this->vbulletin->options['be_modpm_recyclebin']) AND ($this->item_type == 'thread') AND ($this->action == 'move'))
  {
   
$this->action 'delete';
  }
 } 
a thread move action to a "recyclebin forum" will appaer to the user like his thread whas deleted the pmed users will not know his thread still exists nor he / she will have have access to your recyclebin forum
Ah, ok i guess it works then, but could you make it for posts aswell?
Reply With Quote
  #104  
Old 10-31-2008, 08:09 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by misuzuu View Post
If an user has disabled pms then you cant close a thread or anything, could you fix that please?
allthrough it worked fine on my testboard there is a codechange that might help vBulletin 3.7.x does no longer use $botpermissions['adminpermissions'] = 2; i will upload changes later
Reply With Quote
  #105  
Old 10-31-2008, 08:12 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wito View Post
There's a bug. You can't delete user's post when his PM box is full. (there's a notice that his box is full and post is not deleted).
that is not a bug actually

PHP Code:
die(print_r($pmdm->errors)); 
changed it a pm is always sended regardless if the system is disabled or the user pmbox is full
Reply With Quote
  #106  
Old 11-04-2008, 02:42 PM
misuzuu misuzuu is offline
 
Join Date: May 2007
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
allthrough it worked fine on my testboard there is a codechange that might help vBulletin 3.7.x does no longer use $botpermissions['adminpermissions'] = 2; i will upload changes later
thank you, this is the only thing stopping me from using it =3 since it doesnt work properly =| actually no pms are sent either

Reply With Quote
  #107  
Old 11-06-2008, 12:44 AM
raja811 raja811 is offline
 
Join Date: Oct 2006
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #108  
Old 11-07-2008, 05:49 AM
anhpt anhpt is offline
 
Join Date: May 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I always see this error:
Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_modpm.php on line 19
When user disable his PM funtion, I can't delete or edit his post/thread.
Reply With Quote
  #109  
Old 11-07-2008, 09:17 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by anhpt View Post
I always see this error:
Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_modpm.php on line 19
When user disable his PM funtion, I can't delete or edit his post/thread.
the error about in_array() is known if you need to edit something temporarly disable the product for now an update which addresses the problem will come this afternoon
Reply With Quote
  #110  
Old 11-07-2008, 11:56 AM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wish there is a option to send email too.
Reply With Quote
  #111  
Old 11-07-2008, 12:03 PM
m0rk m0rk is offline
 
Join Date: Oct 2004
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
the error about in_array() is known if you need to edit something temporarly disable the product for now an update which addresses the problem will come this afternoon
Just got the update email - excellent work
Reply With Quote
Reply

Thread Tools

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 03:57 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.04334 seconds
  • Memory Usage 2,312KB
  • 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_code
  • (2)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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