Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Don't show users with 0 posts in memberlist Details »»
Don't show users with 0 posts in memberlist
Version: 1.00, by Gary King Gary King is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-05-2004 Last Update: Never Installs: 28
 
No support by the author.

Please click on INSTALL if you installed this hack! Thanks!

What does this hack do?

It will remove all users with 0 posts from the members list, so that they can't be found by other members. This is useful if you want to show only the active users, who have made at least one post, instead of the ones who only register to use member-only functions

*NOTE: Ported over from my own version of this hack for vBulletin 2.

Instructions

Open memberlist.php and find:
PHP Code:
$condition '1=1'
Below, add:
PHP Code:
$condition.=" and user.posts != 0"
That's it! All done!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-22-2004, 01:40 AM
rebelsrock06's Avatar
rebelsrock06 rebelsrock06 is offline
 
Join Date: Sep 2003
Location: Austin, TX
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Diva
This is fantastic! My list went from 15 pages to 5.
theres an option for this in the admin Cp
Reply With Quote
  #13  
Old 03-22-2004, 01:43 AM
rebelsrock06's Avatar
rebelsrock06 rebelsrock06 is offline
 
Join Date: Sep 2003
Location: Austin, TX
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rebelsrock06
theres an option for this in the admin Cp
heres a screeny


its in VB options > user listing and profile viewing
Reply With Quote
  #14  
Old 03-24-2004, 02:07 PM
Gizmo's Avatar
Gizmo Gizmo is offline
 
Join Date: Apr 2003
Location: Grenoble, France
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx Gary, i've taken it for translating into french.
Reply With Quote
  #15  
Old 03-28-2004, 02:45 PM
Aleksey Aleksey is offline
 
Join Date: Mar 2004
Location: Pennsylvania, USA.
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It says
Quote:
Database error in vBulletin 3.0.0:

Invalid SQL:
SELECT COUNT(*) AS users
FROM user AS user
LEFT JOIN userfield AS userfield USING (userid)
WHERE and user.posts != 0
AND user.usergroupid IN (0,6,7,2,5)

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'and user.posts != 0
AND user.usergroupid IN (0,6,7,2,5)' at

mysql error number: 1064

Date: Sunday 28th of March 2004 09:45:09 PM
Script: http://www.hellforums.com/memberlist.php?
Referer: http://www.hellforums.com/
Username: Aleksey
IP Address: xx.xxx.xxx.x
why does it say that?
Reply With Quote
  #16  
Old 03-28-2004, 02:49 PM
Aleksey Aleksey is offline
 
Join Date: Mar 2004
Location: Pennsylvania, USA.
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nvm I fixed it.
Reply With Quote
  #17  
Old 04-22-2004, 03:41 PM
JaNa's Avatar
JaNa JaNa is offline
 
Join Date: Apr 2004
Location: U.S, Maryland
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man, so small, yet so useful!
Reply With Quote
  #18  
Old 04-25-2004, 06:09 AM
Eternal2u Eternal2u is offline
 
Join Date: Feb 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rebelsrock06
heres a screeny


its in VB options > user listing and profile viewing

Read that guyz post..

this mod is REALLY un-nessary..i'm running vb 3.01 and it ++++s it when i tried rpling it through ftp..so yea..

And as rebelsrock said, it's already built into the admin panel, and it gives ALOT more options then this "simple" mod..

..Sorry man, but a big thumb's down on this one..
Reply With Quote
  #19  
Old 04-29-2004, 11:13 AM
Gossamer175 Gossamer175 is offline
 
Join Date: Mar 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job, this hack will definitely come in handy.
Reply With Quote
  #20  
Old 04-29-2004, 11:27 PM
M.C. M.C. is offline
 
Join Date: Jan 2002
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PEOPLE!!!! YOU`re DEFINITLY BLIND
Reply With Quote
  #21  
Old 05-04-2004, 07:43 PM
JagFan JagFan is offline
 
Join Date: Jul 2002
Location: Arizona
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:12 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04530 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete