vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Moderators Functions - Show New Users without Visitor Messages (https://vborg.vbsupport.ru/showthread.php?t=187591)

briansol 08-08-2008 10:00 PM

Show New Users without Visitor Messages
 
I made this as a paid gig, but the requester never told me he hired someone else while I was working on it..... :rant:

Req: https://vborg.vbsupport.ru/showthread.php?t=187563

So, he can pay the other guy anyway and you can have mine for free since it's already made. :eek:


This mod shows New users from X days (config option) on the forum home footer to groups of your choice (default = mod/admin/supermod)

0 template edits.
obviously adds queries, but only for your staff.

Requires vb 3.7.x
and mysql version that supports inline queries (i think 4.2 and up is good)

I've added these 2 dependencies into the product.

briansol 08-08-2008 10:21 PM

reserved

briansol 08-09-2008 04:45 AM

hrm, appears the templates didn't export properly... will be updating the file shortly.

briansol 08-09-2008 05:14 AM

Hello,

templates have been included. I've also fixed an error in the query. This should be 100% now. Sorry for the initial bad product.

nirvana43 08-10-2008 10:59 AM

Thanks man! nice share :)

BucWiLd 08-10-2008 02:59 PM

nice feature, thanks

Webnower 09-16-2008 07:15 AM

This is probably one of the most helpful mods I've seen in a long time. No crazy features, no code bloat... Nicely done. Installed.

briansol 10-08-2008 04:39 PM

Quote:

Originally Posted by Webnower (Post 1623212)
This is probably one of the most helpful mods I've seen in a long time. No crazy features, no code bloat... Nicely done. Installed.

Thanks for the kind words.

It certainly isn't the best mod every built, but it does what it needs to do, and that's it.
It's clean and simple, like all admin/staff mods should be :)

Voltar 11-22-2008 08:07 AM

I know this isn't supported, but I thought I would post this for anyone who might have installed this.

In one of the plugins, the template names to cache are incorrect, so if you have this enabled and haven't caught this already, you'll have two extra queries on your forumhome.

In 'SKM NUVM Prep and cache', change

PHP Code:

if ($vbulletin->options['skm_visitmsgcnt_onoff']) 
{  

$ugroups explode(',',$vbulletin->options['skm_visitmsgcnt_displaygroups']);  
    if (
is_member_of($vbulletin->userinfo,$ugroups) OR $ugroups[0] == 0)  
 { 
        
$show['skm_visitmsgcnt'] = true
        
$globaltemplates[] = 'skm_visitmsgcnt_body'
        
$globaltemplates[] = 'skm_visitmsgcnt_linkbit'
    } 
    else  
    { 
        
$show['skm_visitmsgcnt']= false
    } 

else 

    
$show['skm_visitmsgcnt']= false


To:

PHP Code:

if ($vbulletin->options['skm_visitmsgcnt_onoff']) 
{  

$ugroups explode(',',$vbulletin->options['skm_visitmsgcnt_displaygroups']);  
    if (
is_member_of($vbulletin->userinfo,$ugroups) OR $ugroups[0] == 0)  
 { 
        
$show['skm_visitmsgcnt'] = true
        
$globaltemplates[] = 'skmnuvm_visitmsgcnt_body'
        
$globaltemplates[] = 'skmnuvm_visitmsgcnt_linkbit'
    } 
    else  
    { 
        
$show['skm_visitmsgcnt']= false
    } 

else 

    
$show['skm_visitmsgcnt']= false


And you should be great. I also had a change for the display (personal preference). I'd be happy to fix this up and repack it if the author doesn't want to support it at all.

Aside from that, awesome mod.

-Dave


All times are GMT. The time now is 06:27 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.01063 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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