vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Moderators Functions - Moderation Auto-PM v3.0.1 (https://vborg.vbsupport.ru/showthread.php?t=192344)

Delphiprogrammi 09-29-2008 10:00 PM

Moderation Auto-PM v3.0.1
 
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

Blackhat 09-30-2008 07:32 PM

This is good stuff. You should try make it possible so the mod who is moderating is also the sender :up:

Keyser S?ze 09-30-2008 10:22 PM

are u going to later code support for those things not supported?

good hack been using it since vb3.x

Delphiprogrammi 10-01-2008 05:49 AM

Quote:

Originally Posted by Keyser S?ze (Post 1634250)
are u going to later code support for those things not supported?

good hack been using it since vb3.x


Well an email instead of a pm that should not be a problem but ....

split threads = this is a good place for possible errors because the user who's posts are getting splitted might not be the original threadstarter i don't know if you can get around this

inlinemod = well you do not want to send 100's of pm's (or emails for that matter) at once do you ? your host will be yelling at you !

Delphiprogrammi 10-01-2008 07:15 AM

hi,

Email instead of pm option is added (but not uploaded yet) i'm testing this.It's a switch in the admincp if you have users on your board yelling at you they hate private messages :D

logicuk 10-01-2008 07:45 AM

Looking forward to this addon which should be included in vb by default

Keyser S?ze 10-01-2008 02:41 PM

question, if i delete a post in a thread, just that post not the thread itself, shouldnt the person get an auto PM?

Delphiprogrammi 10-01-2008 03:02 PM

Quote:

Originally Posted by Keyser S?ze (Post 1634721)
question, if i delete a post in a thread, just that post not the thread itself, shouldnt the person get an auto PM?

yes it should depending on the settings you have i will check right now on my testboard

edit

it is indeed not sending anything if you edit a post within a thread (go advanced and choose delete there) hmmmz that is not what i wanted naughty vBulletin

Delphiprogrammi 10-01-2008 03:37 PM

hi,

Fixed in cvs as they say it is sending the message now when deleting a post but i want to perform some more tests before i upload an update also i added the reason field for example if a moderator typed "please do not spam" the pmed / emailed user will see that there one downside to that that field (reason) is not defined everywhere only on editpost and deletepost so sometimes it is empty i don't know of a way to hide in this case yet

Keyser S?ze 10-01-2008 07:43 PM

wouldnt it be something like <if=!""> code code code </if>


All times are GMT. The time now is 09:51 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.01568 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete