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)

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


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