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)

Bounce 10-15-2008 07:45 PM

This message is to advise that your thread titled "test" has been Deleted by Jamie.

The thread is located at this URL Deleted ...

thread was Deleted because :

*===================================
The reason field is not supported on this action
===================================


If you have any questions, you can ask an administrator for assistance

Sincerely,
-------------------------------------------------------------------
*Why does it do this?

I entered a reason in the deletion box of the thread.. I'm testing this on my own account and deleting my own posts :D

Bounce 10-15-2008 07:49 PM

Quote:

Originally Posted by dknelson (Post 1638005)
Well, my only issue with this mod is the problem with the "reason for deleted" field. Even if I do a soft delete, the reason is not given. Just the message "this action not supported". Anybody else seeing this?

Yes :D:erm:

Delphiprogrammi 10-15-2008 08:12 PM

Quote:

Originally Posted by foxygti6 (Post 1642567)
Thanks :)

Is there a way of modifying it to work without using thread tools?

yeah sure but let's look it at this way.Say for example you want to delete 15 threads at once using the inlinemodsystem.Then depending on your settings it will eiether send 15 private messages or 15 emails

1) private messages = your host will be yelling at you because you use to much resources

2) emails = your mailserver(s) will get in trouble with major RBL's (spamhaus , spamcop etc)

you do not want that or you do ... ?

BiZiMDiYaR 10-17-2008 11:43 PM

Hi,

If it sends out 15 PM, would not that much of a problem... can you make the inlinemodsystem to send pm also when deleting 1 post... ?

Thanks.

emperatour 10-22-2008 10:22 AM

this plugin has problem with persian language?

screenshot:

http://i35.tinypic.com/jto3du.jpg

Delphiprogrammi 10-22-2008 12:33 PM

Quote:

Originally Posted by emperatour (Post 1650314)
this plugin has problem with persian language?

screenshot:

http://i35.tinypic.com/jto3du.jpg

yes that doesn't look correct please make sure you edit the phrases carefull {reason} do not enter it with a $ or without the {} arround them besides that i'm afraid i cannot provide any more help persion is a language i do not understand maybe it is a problem with some weird character set ?

Wheezy 10-25-2008 02:13 AM

YES!!!

When I first joined this site, I was looking for exactly this modification. My waiting paid off.

[high]* Wheezy installs gleefully!!![/high]

EDIT: I keep getting the following error when I have certain forums excluded (set via AdminCP modpm -> General Options):

1. this forum cannot contain threads or it is a link please choose another forum.

Any suggestions?

Namaless 10-26-2008 09:24 AM

Please add one check: if user exist...

I have some deleted user and the threads with these users get me error because not found for sending PM.

Thanks.

user02934123123 10-26-2008 10:06 AM

I've just installed this new version form a fresh download; but the system still uses the old phrase systems for sending PM notifications, not a definable template, as is advertised in the screenshots, etc.

misuzuu 10-26-2008 03:37 PM

hmm hello, sorry to bother

but i cant move threads or close after i install this ;/
whats wrong? =O

if i try to close a thread for example, it gives me this message


Quote:

vBulletin Message
Invalid Forum specified. If you followed a valid link, please notify the administrator

tavarish 10-26-2008 04:09 PM

Recycle Bin Forum
If you have a forum where you move deleted threads to, choose the Forum here.

Could you elaborate i bit how this function works?

misuzuu 10-28-2008 02:59 PM

Quote:

Originally Posted by tavarish (Post 1653174)
Recycle Bin Forum
If you have a forum where you move deleted threads to, choose the Forum here.

Could you elaborate i bit how this function works?

I think that if you have a forum where you move unwanted threads you can put the ID in there.

tavarish 10-28-2008 06:12 PM

For what use?
Does it move it for me? etc. etc .. more info on this would be great

misuzuu 10-29-2008 02:25 PM

No i think that if you have a forum for that, and a mod/admin move it there the PM will say Your thread has been trashed or something like that

wito 10-30-2008 02:19 PM

There's a bug. You can't delete user's post when his PM box is full. (there's a notice that his box is full and post is not deleted).

Delphiprogrammi 10-30-2008 02:39 PM

Quote:

Originally Posted by Wheezy (Post 1652156)
YES!!!

When I first joined this site, I was looking for exactly this modification. My waiting paid off.

[high]* Wheezy installs gleefully!!![/high]

EDIT: I keep getting the following error when I have certain forums excluded (set via AdminCP modpm -> General Options):

1. this forum cannot contain threads or it is a link please choose another forum.

Any suggestions?

that will happen if you choose a forum that is closed to posting (cancontainthreads setting) i will however check the function to see it's not throwing an error when it shouldn't do it

Delphiprogrammi 10-30-2008 02:40 PM

Quote:

Originally Posted by Namaless (Post 1652970)
Please add one check: if user exist...

I have some deleted user and the threads with these users get me error because not found for sending PM.

Thanks.

hmm good idea and shouldn't be to hard either

misuzuu 10-30-2008 02:57 PM

If an user has disabled pms then you cant close a thread or anything, could you fix that please?

tavarish 10-30-2008 06:37 PM

Delphiprogrammi could you answer my question please?

Delphiprogrammi 10-30-2008 06:53 PM

Quote:

Originally Posted by tavarish (Post 1656166)
Delphiprogrammi could you answer my question please?


PHP Code:

function check_recycle_bin()
 {
  if ((
$this->dest == $this->vbulletin->options['be_modpm_recyclebin']) AND ($this->item_type == 'thread') AND ($this->action == 'move'))
  {
   
$this->action 'delete';
  }
 } 

a thread move action to a "recyclebin forum" will appaer to the user like his thread whas deleted the pmed users will not know his thread still exists nor he / she will have have access to your recyclebin forum

tavarish 10-30-2008 08:12 PM

I have this activated, and i move posts and threads.. and users gets a pm that the post/thread was moved and the new link to the bin forum..

tavarish 10-31-2008 04:27 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1656173)
PHP Code:

function check_recycle_bin()
 {
  if ((
$this->dest == $this->vbulletin->options['be_modpm_recyclebin']) AND ($this->item_type == 'thread') AND ($this->action == 'move'))
  {
   
$this->action 'delete';
  }
 } 

a thread move action to a "recyclebin forum" will appaer to the user like his thread whas deleted the pmed users will not know his thread still exists nor he / she will have have access to your recyclebin forum

Ah, ok i guess it works then, but could you make it for posts aswell?

Delphiprogrammi 10-31-2008 08:09 PM

Quote:

Originally Posted by misuzuu (Post 1656047)
If an user has disabled pms then you cant close a thread or anything, could you fix that please?

allthrough it worked fine on my testboard there is a codechange that might help vBulletin 3.7.x does no longer use $botpermissions['adminpermissions'] = 2; i will upload changes later

Delphiprogrammi 10-31-2008 08:12 PM

Quote:

Originally Posted by wito (Post 1656012)
There's a bug. You can't delete user's post when his PM box is full. (there's a notice that his box is full and post is not deleted).

that is not a bug actually

PHP Code:

die(print_r($pmdm->errors)); 

changed it a pm is always sended regardless if the system is disabled or the user pmbox is full

misuzuu 11-04-2008 02:42 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1656809)
allthrough it worked fine on my testboard there is a codechange that might help vBulletin 3.7.x does no longer use $botpermissions['adminpermissions'] = 2; i will upload changes later

thank you, this is the only thing stopping me from using it =3 since it doesnt work properly =| actually no pms are sent either

:(

raja811 11-06-2008 12:44 AM

thanks

anhpt 11-07-2008 05:49 AM

I always see this error:
Code:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_modpm.php on line 19
When user disable his PM funtion, I can't delete or edit his post/thread.

Delphiprogrammi 11-07-2008 09:17 AM

Quote:

Originally Posted by anhpt (Post 1661001)
I always see this error:
Code:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_modpm.php on line 19
When user disable his PM funtion, I can't delete or edit his post/thread.

the error about in_array() is known if you need to edit something temporarly disable the product for now an update which addresses the problem will come this afternoon

Forum Lover 11-07-2008 11:56 AM

Wish there is a option to send email too.

m0rk 11-07-2008 12:03 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1661056)
the error about in_array() is known if you need to edit something temporarly disable the product for now an update which addresses the problem will come this afternoon

Just got the update email - excellent work

m0rk 11-07-2008 12:23 PM

I don't get that bug any more, nice work

Delphiprogrammi 11-07-2008 12:55 PM

Quote:

Originally Posted by Forum Lover (Post 1661121)
Wish there is a option to send email too.

i tryed it and i whas unable to get it working properly.I mean an email whas sended but it whas all messed up and the wrong phrases for the wrong action etc etc so i gave up i might try again through

dmknights 11-11-2008 12:21 AM

*Installed*
Now This Mod I Do Like

tavarish 11-15-2008 09:47 PM

Anyone got the recycle forum function to work?

Delphiprogrammi 11-16-2008 02:52 PM

Quote:

Originally Posted by tavarish (Post 1666424)
Anyone got the recycle forum function to work?

you must choose the recycle forum and the choose forumid must be within the exclude options

tavarish 11-16-2008 06:13 PM

I have set forum id to the recycle forum, and in the exclude field.. but when i move a post or thread into the recycle forum nothing happens. no pm..

Delphiprogrammi 11-16-2008 07:11 PM

Quote:

Originally Posted by tavarish (Post 1666967)
I have set forum id to the recycle forum, and in the exclude field.. but when i move a post or thread into the recycle forum nothing happens. no pm..

that's the whole purpose of the function.... it's working as intended

tavarish 11-16-2008 09:31 PM

But shouldn't the user get a pm that the post is "deleted" ? Now they just ask where their posts are..

In my head the best solution for this would be:
If a thread or post gets moved into the recycle forum the user(s) get a pm that their thread/post is deleted, and not like now that it is moved into a forum with no name..

If its gonna be used like now, we first need to soft delete and then move into recycle forum..

Possible to change this? or make it as an option?

Nadeemjp 11-17-2008 02:03 AM

those who are upgrading, we hsould only re-import the product right?

Delphiprogrammi 11-17-2008 08:53 AM

Quote:

Originally Posted by tavarish (Post 1667086)
But shouldn't the user get a pm that the post is "deleted" ? Now they just ask where their posts are..

In my head the best solution for this would be:
If a thread or post gets moved into the recycle forum the user(s) get a pm that their thread/post is deleted, and not like now that it is moved into a forum with no name..

If its gonna be used like now, we first need to soft delete and then move into recycle forum..

Possible to change this? or make it as an option?


open functions_modpm.php and find

PHP Code:

$modpm_parser->check_recycle_bin(); 

comment that out

PHP Code:

//$modpm_parser->check_recycle_bin 

now it should always send pm's but be aware your users will see your recycle forum


All times are GMT. The time now is 01: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.01430 seconds
  • Memory Usage 1,842KB
  • 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
  • (5)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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