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 v2.0.1 (https://vborg.vbsupport.ru/showthread.php?t=115677)

Alan @ CIT 05-14-2006 10:00 PM

Moderation Auto-PM v2.0.1
 
Moderation Auto-PM
Version 2.0.1

What is it?
Moderation Auto-PM will automaticly send a Private Message to the user whenever their thread, post or attachment is moderated using the Thread Tools or Inline Moderation Tools.

It has support for the following types of moderation:
  • Thread: Move
  • Thread: Delete
  • Thread: Undelete
  • Thread: Stick
  • Thread: Unstick
  • Thread: Open
  • Thread: Close
  • Thread: Approve
  • Thread: Unapprove
  • Thread: Title Edit
  • Post: Edit
  • Post: Move
  • Post: Delete
  • Post: Undelete
  • Post: Approve
  • Post: Unapprove
  • Attachment: Approve
  • Attachment: Unapprove
All options can be turned on/off in the AdminCP. Moderation Auto-PM will not show the user where their thread is being moved to/from if they do not have permission to view the forum. You can also set a "master" exclude list of forum IDs that will never be touched by Moderation Auto-PM.

What's new in Version 2.0.1?
  • Added support for opening and closing threads by double-clicking on the thread icon
  • Fixed a bug caused by a missing phrase
Credit for this release goes to ConqSoft, as he notice the missing phrase bug, and suggested the new Ajax open/close feature :)

What's new in Version 2.0?
  • Fully compatible with both vB 3.5.4 and vBulletin 3.6 Beta 2 or above! :banana:
  • Support for editing posts / titles using the ajax quick edit bits
  • Support for deleting posts via quick edit
  • Don't send a PM if you are moderating your own thread
  • Send a Delete PM instead of a Move PM if moved to a particular forum (ie, a recycle bin type forum)
  • Age Cutoff Point - if the item is over a certain age, a PM won't be sent
  • A couple of tiny bugfixes that no-one noticed :D
How do I install / configure it?
Please see the install.txt file contained within the zip.


How do I upgrade?
If you are upgrading from a previous version of this mod (any version), just upload the 3 PHP files, making sure to overwrite the old ones and re-import the Product XML, making sure you set "Allow Overwrite" to Yes.

If you are upgrading from PM on Thread Move, please uninstall that hack first, then install this one following the instructions in install.txt


Thanks go to redlabour for kindly providing a German translation for the phrases and to everyone who nominated this mod or voted for this mod in HotM June :)

Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though :) See you all in early September! :D

Note The screenshots below are only an example of the messages. The message text is fully editable :)

Alan @ CIT 05-15-2006 05:49 PM

Known Bugs

None!

soulface 05-15-2006 05:58 PM

nice...

/me installed..& testing..

Yorixz 05-15-2006 05:58 PM

Great work, I'll be installing this later this week, thanks a lot, I've been waiting for this!

Ncturnal 05-15-2006 06:03 PM

So I'm assuming we should uninstall the other mod?

rob30UK 05-15-2006 06:05 PM

Please can you supply instructions for migrating from the old mod, to this mod?

DJ XtAzY 05-15-2006 06:10 PM

awesome... this way users can now know why their threads are mysteriously gone

Omranic 05-15-2006 06:11 PM

Wow !

How Great Is this

I clicked Install & now I'll install it on my forums

Thanks very × very much

Ncturnal 05-15-2006 06:17 PM

Hmm, I got it installed but it doesn't seem to be doing anything.

EDIT: Ok, the PM on thread move is the only part that seems to be working. Close, Sticky, Delete, etc. do not work. I previously had the PM on thread move hack installed, but I uninstalled it prior to installing this one. The install was fine, and the default Yes to all options are still set.

rmxs 05-15-2006 06:21 PM

Cool i click INSTALL

Boofo 05-15-2006 06:26 PM

I've been waiting for this. Good job! ;)

thc 05-15-2006 06:51 PM

thank

Ncturnal 05-15-2006 06:56 PM

So is this working ok for everyone else?

tei727 05-15-2006 07:18 PM

Nothing's happening for me either except for the moved.

IrPr 05-15-2006 07:25 PM

Alan Rocks!!

Vitz 05-15-2006 07:27 PM

I've been waiting a long time for this. Thanks!

VaaKo 05-15-2006 08:00 PM

/me clicks install!

excellent job!

tei727 05-15-2006 08:08 PM

Quote:

Originally Posted by tei727
Nothing's happening for me either except for the moved.

Is this happening to anyone else? The hack only working for moved threads?

GoNz00 05-15-2006 08:23 PM

u uninstalled the old hack 1st ?

tei727 05-15-2006 08:25 PM

Quote:

Originally Posted by GoNz00
u uninstalled the old hack 1st ?

I never had it.

tommyxv 05-15-2006 09:32 PM

The best hack ever. Should be part of vb. Thanks Alan!!

Stop 05-15-2006 09:45 PM

Simply,,,,,,YOU ROCK.

I would give all my hacks up in the sake of this hack. Wow I feel so existed.

FleaBag 05-15-2006 10:30 PM

In the words of Peter Griffin... "Freaking sweet!". Thanks Alan! :)

Sidewindr 05-16-2006 12:14 AM

I uninstalled the old product and installed the new one .. It's only working for moved threads for me as well. No PM's being sent for any other moderator activity.

COBRAws 05-16-2006 01:08 AM

omfg!!

/me humpz this hack

dirtycrow 05-16-2006 01:45 AM

Quote:

Originally Posted by Sidewindr
I uninstalled the old product and installed the new one .. It's only working for moved threads for me as well. No PM's being sent for any other moderator activity.

same thing here, except move posts does work.

Ncturnal 05-16-2006 02:28 AM

Ok, I figured out what it is. You have to have a at least one value in the block for excluded forums. Everything works once I put a valid forum ID there.

Boofo 05-16-2006 02:34 AM

Quote:

Originally Posted by Ncturnal
Ok, I figured out what it is. You have to have a at least one value in the block for excluded forums. Everything works once I put a valid forum ID there.

What if you don't want to exclude any forums and which ones would you exclude?

Ncturnal 05-16-2006 02:37 AM

Quote:

Originally Posted by Boofo
What if you don't want to exclude any forums and which ones would you exclude?

I didn't want to exclude any forums either. I tried putting in a zero, but that didn't work. Categories show up as a forum ID, so I put in one of those, which does work. So far, it doesn't seem to have affected any of the sub-forums in that category since they are all different forum IDs, and being a category, there are no posts/threads under it anyway, so it accomplished what I wanted.

Boofo 05-16-2006 02:40 AM

Ahh, ok, a work-a-round for now. Whatever it takes has always been my motto. Thanks! ;)

I got to thinking that maybe Staff forums could be excluded from this. ;)

Dr.Viggy 05-16-2006 02:41 AM

great hack.

*installed

q8manar 05-16-2006 03:10 AM

Quote:

Originally Posted by Ncturnal
Hmm, I got it installed but it doesn't seem to be doing anything.

EDIT: Ok, the PM on thread move is the only part that seems to be working. Close, Sticky, Delete, etc. do not work. I previously had the PM on thread move hack installed, but I uninstalled it prior to installing this one. The install was fine, and the default Yes to all options are still set.

Same Thing

Is there any sulotion

Alan @ CIT 05-16-2006 04:25 AM

For those having a problem with the exclude list, for now, just disable it by doing the following:

1: Open /includes/functions_autopm.php
2: Delete lines 48 - 54

I'll create a proper fix for it tonight.

Thanks,
Alan.

Smiry Kin's 05-16-2006 05:29 AM

doesnt seem to work for me?

Alan @ CIT 05-16-2006 05:52 AM

What part doesn't work for you?

Snake 05-16-2006 07:29 AM

Excellent. Thanks!

EvilHawk 05-16-2006 08:40 AM

/me clicks "Nominate for Mod of the month"

Alan @ CIT 05-16-2006 10:15 AM

Quote:

Originally Posted by EvilHawk
[high]* EvilHawk clicks "Nominate for Mod of the month"[/high]

Splendid, thank you :)

Ncturnal 05-16-2006 11:32 AM

Great work Alan, we love it; especially the fact that you can specify the ID that the PMs originate from. We try to keep who the mods are under raps and this is a big help. :)

tei727 05-16-2006 11:47 AM

Quote:

Originally Posted by Ncturnal
Ok, I figured out what it is. You have to have a at least one value in the block for excluded forums. Everything works once I put a valid forum ID there.

Works great now! Thanks!!


All times are GMT. The time now is 07:14 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.01357 seconds
  • Memory Usage 1,809KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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