Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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
  #132  
Old 11-18-2008, 06:29 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by petchat View Post
hmm no
this looks better
Reply With Quote
  #133  
Old 11-18-2008, 07:02 PM
petchat petchat is offline
 
Join Date: Oct 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, that's looking much better!
Reply With Quote
  #134  
Old 11-18-2008, 08:51 PM
1Matthew1 1Matthew1 is offline
 
Join Date: Apr 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
open /includes/functions_modpm.php and find

PHP Code:
if(($modpm_checker->exclude !== FALSE) AND (in_array($source,array($modpm_checker->exclude)) OR in_array($dest,array($modpm_checker->exclude))))
 {
  return 
false;
 } 
below add

PHP Code:
if(!$vbulletin->userinfo['userid'])
{
      return 
false;

that should stop the errors


This doesen?t work :/
Reply With Quote
  #135  
Old 11-18-2008, 09:08 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1Matthew1 View Post
This doesen?t work :/
yes it does i made a guestpost on my testboard after that i logged in and deleted it no error whatsoever ... a possible solution depending on where guests can post on your site.For example if you allow them to post only in one forum (eg the "guest forum") you could add "guest forum" id to the exclude options

you also did not clicked install you naughty boy
Reply With Quote
  #136  
Old 11-18-2008, 09:30 PM
petchat petchat is offline
 
Join Date: Oct 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works like a charm! Thanks very much!
Reply With Quote
  #137  
Old 11-19-2008, 02:01 AM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

was this updated cuz it was 2.0.1 already
Reply With Quote
  #138  
Old 11-19-2008, 09:23 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Keyser S?ze View Post
was this updated cuz it was 2.0.1 already
yes but for such a small code change in 1 PHP file i didn't increased the number
Reply With Quote
  #139  
Old 11-19-2008, 12:00 PM
Sixpackmark Sixpackmark is offline
 
Join Date: May 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After upgrading with the latest mod, we are having problem deleting a post / thread

it is showing the ff:
Code:
Array ( [0] => Invalid recipient username. Please press the back button, enter the correct username and try again. Click Here to See the Members List )
Any solution to this?
Reply With Quote
  #140  
Old 11-19-2008, 12:30 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sixpackmark View Post
After upgrading with the latest mod, we are having problem deleting a post / thread

it is showing the ff:
Code:
Array ( [0] => Invalid recipient username. Please press the back button, enter the correct username and try again. Click Here to See the Members List )
Any solution to this?
i don't get this error and i can only think of one reason it could happen is by any chance the post / thread you are trying to delete made by a guest ?
Reply With Quote
  #141  
Old 11-19-2008, 06:05 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fixer View Post
hello

I got this error:
---------------------------------
Warning: include_once([path]/includes/class_modpm_checker.php) [function.include-once]: failed to open stream: No such file or directory in [path]/inlinemod.php(382) : eval()'d code on line 3

Warning: include_once() [function.include]: Failed opening '[path]/includes/class_modpm_checker.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/inlinemod.php(382) : eval()'d code on line 3

Warning: include_once([path]/includes/class_modpm_parser.php) [function.include-once]: failed to open stream: No such file or directory in [path]/inlinemod.php(382) : eval()'d code on line 4

Warning: include_once() [function.include]: Failed opening '[path]/includes/class_modpm_parser.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/inlinemod.php(382) : eval()'d code on line 4

Warning: include_once([path]/includes/functions_modpm.php) [function.include-once]: failed to open stream: No such file or directory in [path]/inlinemod.php(382) : eval()'d code on line 5

Warning: include_once() [function.include]: Failed opening '[path]/includes/functions_modpm.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/inlinemod.php(382) : eval()'d code on line 5

Fatal error: Call to undefined function mod_pm() in /home/fixer/public_html/stock/inlinemod.php(382) : eval()'d code on line 25

-----------------------------------------------
you did not uploaded the PHP files to your vBulletin includes directory that is why you get all of these errors upload the PHP files from the zip to your vBulletin includes and those errors will disappaer
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:24 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08852 seconds
  • Memory Usage 2,323KB
  • 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
  • (2)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