vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Not Show New Member Name Right Away (https://vborg.vbsupport.ru/showthread.php?t=46300)

Diva 12-02-2002 12:24 PM

Not Show New Member Name Right Away
 
Hi. I have a guy that's been harassing me. He signs up with derogatory remarks towards members. My board is on moderation at this point.

Is there a way to not show the new member on the front page until I okay the membership? {Where it says Newest Member}

Thanks bunches!

Xenon 12-02-2002 01:14 PM

hmm, not sure, but you can try this:

open index.php
find:
PHP Code:

// get newest member
$getnewestusers=$DB_site->query_first("SELECT userid,username FROM user WHERE userid=$numbersmembers[max]");
$newusername=$getnewestusers['username'];
$newuserid=$getnewestusers['userid']; 

and change it to
PHP Code:

// get newest member
$getnewestusers=$DB_site->query_first("SELECT userid,username FROM user WHERE userid<=$numbersmembers[max] AND usergroupid=2 ORDER BY userid DESC");
$newusername=$getnewestusers['username'];
$newuserid=$getnewestusers['userid']; 

i think it should work..

Diva 12-02-2002 07:15 PM

It doesn't work. :(

Any way to do this for whosonline, too?

Erwin 12-02-2002 08:52 PM

I think there's a hack that does this already - look in Full Releases. It stops new members usernames from showing up until they are approved.

Diva 12-02-2002 09:19 PM

Hi Erwin! My hero arrives. :) I could only find this in the search. But it's a year old and the last post looks as if it didn't work. Is there another one that you know off?

Diva 12-02-2002 10:25 PM

Hi Erwin. I found the hack... but it doesn't work :( It's this thread.

Erwin 12-02-2002 10:28 PM

No, it's not that one... I can't find it either... but I am certain I saw it - I posted in that thread as well. :) Keep looking...

Diva 12-02-2002 11:49 PM

You mean you posted in the one that I am looking for?

The last one does exactly what I want... if only it would work. *pouts* Right now I have to periodically turn off the signups because he's gotten so bad with the names. I guess I never thought anyone would use such words.... :(

Erwin 12-02-2002 11:55 PM

Yeah, that's the one actually. :)

Instead of stopping signups, ban his IP address.

Or to prevent him from using free email addresses to register, ban free email addresses.

Diva 12-03-2002 12:17 AM

If I ban his IP, he just goes with AOL. Then I won't know which one he is. Unfortunately he is also posting my personal info. It's a mess. Is there a way to help me with that hack?


All times are GMT. The time now is 08:49 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.01034 seconds
  • Memory Usage 1,737KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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