vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   pm user on thread modoration (https://vborg.vbsupport.ru/showthread.php?t=104656)

Delphiprogrammi 01-05-2006 10:00 PM

pm user on thread modoration
 
hi,

This is a port of this and i'm posting this with the original authors permission (yes i did ask him)

This extension will send a pm to the threadstarter when a modorator or admin takes "administrative action" currently supported are
  • stuck / unstuck
  • open / close
  • edit *
  • delete *
  • move
  • merge
  • split

* = means you need to modify some vbulletin files to make it work correctly

plugins = 7
phrased = yes

The installation is pretty simple.Goto yourforum.tld/admincp.Choose plugin system => manage products => add product browse to product-modautopm.xml and import it

next you needto goto the vbulletin options group "message posting and editing postings and there you'll find some settings regarding this extension

everything good ? => hit save

you cannot skip this step or you'll receive SQL errors !!

detailed install instructions are in readme.txt

Wired1 01-06-2006 08:16 PM

Nice hack, I think I may install this later. Question: Can this also be expanded in a future use to e-mail the user? Some users don't really get the concept of PMs :)

Cyricx 01-06-2006 08:58 PM

Very nice!!

Question, does the pm come from a specific person? or from the moderator who performed the action?

Delphiprogrammi 01-06-2006 09:03 PM

Quote:

Originally Posted by Cyricx
Very nice!!

Question, does the pm come from a specific person? or from the moderator who performed the action?

you can specify that on the settings page but offcource you can enter only one id (to prevent pm flooding) and the userid must be a moderator

VaaKo 01-06-2006 09:07 PM

im wondering bout something, I have a hidden recycle bin, and whenever I wanna delete a topic, I move it there, but in this case, if I moved a topic there, it will pm the user telling him about that hidden forum which no one knows about...

any suggestion?

Delphiprogrammi 01-06-2006 09:36 PM

Quote:

Originally Posted by Don Corleone
im wondering bout something, I have a hidden recycle bin, and whenever I wanna delete a topic, I move it there, but in this case, if I moved a topic there, it will pm the user telling him about that hidden forum which no one knows about...

any suggestion?

yes it will show the url but if this user has no rights he can't view the hidden stuff.If you don't want this at all you can simple deactivate the move plugin and no pm's for will be send at all (for moved topics)

Delphiprogrammi 01-06-2006 09:38 PM

Quote:

Originally Posted by Wired1
Nice hack, I think I may install this later. Question: Can this also be expanded in a future use to e-mail the user? Some users don't really get the concept of PMs :)

well i'm playing with an idea to add a "custom profile field" which would allow to choose between receiving a pm or an email.This could be possible throug a setting to some users hate private messages i did know that

msimplay 01-06-2006 09:53 PM

Quote:

Originally Posted by Delphiprogrammi
well i'm playing with an idea to add a "custom profile field" which would allow to choose between receiving a pm or an email.This could be possible throug a setting to some users hate private messages i did know that

will it be possible in future versions to not say "opened or closed" but instead say the action that was taken via conditionals ?

Daniel 01-07-2006 02:38 AM

You've been porting some really great hacks. If you ever release so there's not a file modification, this will be a definite must for me to be installing. Thanks!

Snake 01-07-2006 07:46 AM

Thanks!

kadafi_alive 01-07-2006 08:19 AM

Hmm,

This doesn't work with the inline moderation tool though.

IrPr 01-07-2006 09:11 AM

is compatible with vBRecycle ?

Delphiprogrammi 01-07-2006 11:18 AM

Quote:

Originally Posted by kadafi_alive
Hmm,

This doesn't work with the inline moderation tool though.

true not yet but i think i'm adding this since the "inline mod" became a vb standard in the 3.5.x series

Delphiprogrammi 01-07-2006 11:19 AM

Quote:

Originally Posted by Moosa
is compatible with vBRecycle ?

No it contains no special code to "deal" with any other hacks

Floris 01-08-2006 06:18 PM

This is pretty cool. Good idea and nice of you to write it out and share it with us. I will llook into this for my sites.

YLP1 01-10-2006 01:42 AM

Ok newbie here....go gently on me... how do you edit the xml file?

Delphiprogrammi 01-10-2006 07:45 AM

Quote:

Originally Posted by YLP1
Ok newbie here....go gently on me... how do you edit the xml file?

my advice would be don't edit XML files directly what would you like to change ?

cnprint 04-20-2006 04:51 PM

it don't work on vb 3.54?

Delphiprogrammi 04-20-2006 05:37 PM

Quote:

Originally Posted by cnprint
it don't work on vb 3.54?

i see no reason why it wouldn't work.Before you ask this does not work with the new "inlinemod" system and i doubt i will ever add that functionality because it can be "server sensitive" if you receives (send) allot of pm's

stinger2 04-20-2006 06:38 PM

nice hack ..thx

cnprint 04-21-2006 03:22 AM

Quote:

Originally Posted by Delphiprogrammi
i see no reason why it wouldn't work.Before you ask this does not work with the new "inlinemod" system and i doubt i will ever add that functionality because it can be "server sensitive" if you receives (send) allot of pm's

oh,because i use plugin_accelerator_RC3 hack,but after i rebuild the hack,your hack worked very well.sorry.
thanks.

jndeakin 04-25-2006 08:39 AM

The first time I installed this it failed, due I think to it being into an upgrade of a previously-hacked forum. It failed when it couldn't create table entries in settings or phrases, as they were already there. It didn't show as installed in the product manager at that point, so I couldn't delete it either. I had to go into phpmyadmin, and manually delete the tables it needed to create, but then it installed ok. It failed even with overwrite selected before that though.

I've not tried the template mods yet, but the basics seem good :) Thanks

COBRAws 04-26-2006 10:24 AM

Quote:

Originally Posted by VaaKo
im wondering bout something, I have a hidden recycle bin, and whenever I wanna delete a topic, I move it there, but in this case, if I moved a topic there, it will pm the user telling him about that hidden forum which no one knows about...

any suggestion?

Any future plans of this for a future release?

thank you. Ill install so I know if this happens.

cnprint 04-26-2006 11:28 AM

Quote:

Originally Posted by jndeakin
The first time I installed this it failed, due I think to it being into an upgrade of a previously-hacked forum. It failed when it couldn't create table entries in settings or phrases, as they were already there. It didn't show as installed in the product manager at that point, so I couldn't delete it either. I had to go into phpmyadmin, and manually delete the tables it needed to create, but then it installed ok. It failed even with overwrite selected before that though.

I've not tried the template mods yet, but the basics seem good :) Thanks

oh , you can delete the relavant mysql query in the product-modautopm.xml ,
and import the product-modautopm.xml, there is ok.

stinger2 05-06-2006 04:47 PM

just installed this on a test board 3.5.4...works fine

how ever .....if a thread has 10 posters........do they all get a PM when moderating the thread??

thanks ..click install

edit
\
only the thread starter gets the PM

great hack.....but would have been greater IF it was applied to POST as wel as THREAD

Delphiprogrammi 06-04-2006 10:28 AM

hi,

Well here is a similair system but it supports inline moderation.Mine doesn't support it

stinger2 06-08-2006 03:42 PM

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:
DELETE FROM test_setting WHERE CONVERT(product USING utf8)='modautopm';

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'USING utf8)='modautopm'' at line 1
Error Number : 1064
Date : Thursday, June 8th 2006 @ 09:36:30 PM
Script : http://www.mysite/forums/admincp/apm_product.php
Referrer : http://www.mysite/forums/admincp/apm...d=modautopm&s=
IP Address : XXXXXXXXXXXX
Username : stinger2
Classname : vb_database
hi
i am trying to uninstall the product to upgrade to vb3.6 and install the other one you suggested.but i am getting the following database error....

in otherwords ..i can NOT uninstall the product

i also mass deleted all PM's just in case they can cause a problem..but no luck

any help appreciated

thanks in advance

Delphiprogrammi 06-08-2006 07:40 PM

Quote:

Originally Posted by stinger2
hi
i am trying to uninstall the product to upgrade to vb3.6 and install the other one you suggested.but i am getting the following database error....

in otherwords ..i can NOT uninstall the product

i also mass deleted all PM's just in case they can cause a problem..but no luck

any help appreciated

thanks in advance

run this

Code:

DELETE FROM test_setting WHERE varname LIKE 'modpm_%';
that should remove the settings used by the hack

stinger2 06-08-2006 07:57 PM

thanks erik for your response
however after running that query...it kept hanging for about 10 minutes at 40%..and now i can NOT get in phpmyadmin.for a while then i loged in again...i did it twice.......and it keeps hanging..the website is still operational though...

would appreciate any help and thanks again
there is something else though
i can uninstall the product from local host which is a copy of the website...except the database is created with latin character while the live database is made with en-iso-8859-1 language set....

maybe this helps....

again thanks

stinger2 06-09-2006 10:16 AM

fixed with 2 queries from erik...thank erik

JompaMP 08-02-2006 06:31 AM

i have installed this mod and test it but it is no pm sended to you and now i can“t uninstall it

JompaMP 08-02-2006 06:42 AM

Quote:

Originally Posted by Delphiprogrammi
run this

Code:

DELETE FROM test_setting WHERE varname LIKE 'modpm_%';
that should remove the settings used by the hack

were i find that?


All times are GMT. The time now is 02:33 AM.

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.02889 seconds
  • Memory Usage 1,805KB
  • 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_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete