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
  #142  
Old 11-19-2008, 07:36 PM
fixer fixer is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i uploaded the files

i am sure about that

the errors does not disappear
Reply With Quote
  #143  
Old 11-19-2008, 08:10 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

i just checked the code.That errors are coming from hook "inlinemod_start" but the code is absolutely correct i'm afraid you are having some kind of path issue this error message for example

Quote:
Fatal error: Call to undefined function mod_pm() in /home/fixer/public_html/stock/inlinemod.php(382) : eval()'d code on line 25
what is "stock" that is not a standard vBulletin directory you must upload the PHP files to the "includes" directory from your vBulletin installation
Reply With Quote
  #144  
Old 11-19-2008, 08:16 PM
fixer fixer is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

stock is the forum folder

like here

https://vborg.vbsupport.ru/showthrea...192344&page=10
http://www.xxxxx.com/stock/index.php
Reply With Quote
  #145  
Old 11-19-2008, 08:24 PM
fixer fixer is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ooooooooops

i am so sorry about my mistake

yes you were correct

i uploaded them to www/includes
insted of www/stock/incudes directory
Reply With Quote
  #146  
Old 11-19-2008, 08:31 PM
fixer fixer is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works very good

thanks
Reply With Quote
  #147  
Old 11-19-2008, 08:37 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
ooooooooops

i am so sorry about my mistake

yes you were correct

i uploaded them to www/includes
insted of www/stock/incudes directory
no problem it can happen
Reply With Quote
  #148  
Old 11-19-2008, 08:50 PM
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

Quote:
Originally Posted by Delphiprogrammi View Post
yes but for such a small code change in 1 PHP file i didn't increased the number
u really should, smal update gets a small ver update, like 2.0.2
Reply With Quote
  #149  
Old 11-21-2008, 03:03 PM
Sixpackmark Sixpackmark is offline
 
Join Date: May 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
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 ?
We have registered members only, so we delete member's post only not guest.
Reply With Quote
  #150  
Old 11-21-2008, 04:20 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
We have registered members only, so we delete member's post only not guest.
can't reproduce this what's your vBulletin version , PHP version and MySQL version ? also you could change some code in functions_modpm.php

PHP Code:
$pmdm =& datamanager_init('PM',$vbulletin,ERRTYPE_ARRAY); 
change to

PHP Code:
$pmdm =& datamanager_init('PM',$vbulletin,ERRTYPE_SILENT); 
PHP Code:
die(print_r($pmdm->errors)); 
remove that line and add

PHP Code:
return false
Reply With Quote
  #151  
Old 11-22-2008, 04:10 PM
Sixpackmark Sixpackmark is offline
 
Join Date: May 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We are using the ff:
vbulletin 3.7 Gold
PHP: 5.2.6
MySQL: 5.0.51a

it was doing ok, but after the upgrade it is having that error. Will try what you suggested. Thanks

After changing the code you provided, the mod hack was working well as it is. Thanks!
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:48 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.04609 seconds
  • Memory Usage 2,316KB
  • 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
  • (4)bbcode_php
  • (5)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