vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Un-Activated User Management 3.1 (https://vborg.vbsupport.ru/showthread.php?t=124530)

AScherff 04-07-2009 06:27 AM

i like this Mod, because it helps manage the unactivated users.

The days are calculated as float, so you will not get the exact days after registering, that causes the "bug" posts before...

I modified the php sources to calculate the days other way - and the mod now is working very well also on 3.8.2

My hack lookes like this:

PHP Code:

    $tag=date('Ymd',$user[joindate]);
    
$heute=date("Ymd");
    
    
$j=(int)substr($tag,0,4);
    
$m=(int)substr($tag,4,2);
    
$t=(int)substr($tag,6,2);

    
$datum3=date('Ymd',mktime(0,0,0,$m,$t+3,$j));
    
$datum5=date('Ymd',mktime(0,0,0,$m,$t+5,$j));
    
$datum8=date('Ymd',mktime(0,0,0,$m,$t+8,$j));
    
$datum10=date('Ymd',mktime(0,0,0,$m,$t+10,$j));
...
    if (
$heute == $datum3// Email users who have not activated after 3 days.
... 


GamblerZ 09-24-2009 03:37 PM

Is it possible to change the number of days to extend the period (ie. 3, 7, 14, 30)?

AScherff 09-24-2009 03:47 PM

Quote:

Originally Posted by GamblerZ (Post 1889986)
...to extend the period (ie. 3, 7, 14, 30)?

sure: ;)

PHP Code:

    $datum3=date('Ymd',mktime(0,0,0,$m,$t+3,$j));
    
$datum5=date('Ymd',mktime(0,0,0,$m,$t+7,$j));
    
$datum8=date('Ymd',mktime(0,0,0,$m,$t+14,$j));
    
$datum10=date('Ymd',mktime(0,0,0,$m,$t+30,$j)); 


I.am 11-19-2009 09:06 AM

Hello, this mod work on vb 3.8.x ??

ckgreenman 12-03-2009 01:43 PM

Quote:

Originally Posted by I.am (Post 1917115)
Hello, this mod work on vb 3.8.x ??

Judging by the previous posts on this page, yes but with a nasty bug that emails everyday regardless of the settings.

skariko 12-23-2009 07:51 AM

Anyone try this on VB4?

TransAmDan 12-27-2009 06:57 AM

Quote:

Originally Posted by skariko (Post 1936147)
Anyone try this on VB4?

I was wondering this too. It seems like a handy mod that I'd like to use, but dont want to just try it in VB4 until someone else has. :)

skariko 12-28-2009 12:17 PM

Me too. :D
I am terrified to have all the user deleted or something similar. :D

greenchicken 01-19-2010 06:41 PM

wonder if this will be available for vb4?

This is a great tool

MrD 02-02-2010 03:21 PM

Push for VB4 :)


All times are GMT. The time now is 05:05 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.01282 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (3)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