vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How hide banned user from last registered? (https://vborg.vbsupport.ru/showthread.php?t=214391)

Dr House 05-23-2009 08:17 PM

How hide banned user from last registered?
 
How show only user from group 2 in the last registered user in the home page?
Thanks

Paul M 05-23-2009 09:37 PM

There is no facility to do this, afaik it is a cached data item that is only updated when a new user registers.

Dr House 05-24-2009 07:54 AM

Yes but could I let it update only if it is in the user group?

Where I find the code of the last registered?
Thanks

Lynne 05-24-2009 02:56 PM

Actually, I don't think it's the registration code you need to look at, it's the code from when you ban them. At that point, you would need to change the cache to remove their name if it was the last registered user. So, I'd start by looking first at the ban code (modcp/banning.php ?) and seeing if there is a plugin to use and then look at the register.php page to see where the last username is cached so you can steal that code.

Have you tried a search in the modifications forums? I thought I had seen a mod to do this before.


All times are GMT. The time now is 11:50 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.00995 seconds
  • Memory Usage 1,706KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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