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
  #12  
Old 02-19-2004, 03:31 AM
Bill Thebert Bill Thebert is offline
 
Join Date: Mar 2002
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gmarik
Not bad. Would be nice to have a search by varfield as well, for example, Location (the city, I mean).
I would like to see yet another variation on this theme.

I would like to see the "Advanced Search" form (for searching the FORUMS, not just the memberlist) include one or two of the custom user profile fields.

Practical example:

Four of my forums are used for classified advertising.

Two custom fields in the user profile are CITY and STATE (separated, rather than the combined "Location" field).

I would like to include these two fields next to the USER NAME field in the Advanced Search form, such that my users could search, for example, as follows:

"Display all threads/posts in one or all (4) of the Classified ad forums, posted by users from Colorado, for the word 'widget'."

Or find a transmission in Dallas, or an axle from someone named Joe in Kentucky, etc. (My site is automotive-related, obviously.)

The Advanced Search form is alredy doing a cross-table query, right? Selecting posts from one table, based on info from a separate user table?

I would happily hire someone for such a hack.

Regards,

Bill
Reply With Quote
  #13  
Old 02-29-2004, 05:47 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bill Thebert
I would like to see yet another variation on this theme.

I would like to see the "Advanced Search" form (for searching the FORUMS, not just the memberlist) include one or two of the custom user profile fields.

Practical example:

Four of my forums are used for classified advertising.

Two custom fields in the user profile are CITY and STATE (separated, rather than the combined "Location" field).

I would like to include these two fields next to the USER NAME field in the Advanced Search form, such that my users could search, for example, as follows:

"Display all threads/posts in one or all (4) of the Classified ad forums, posted by users from Colorado, for the word 'widget'."

Or find a transmission in Dallas, or an axle from someone named Joe in Kentucky, etc. (My site is automotive-related, obviously.)

The Advanced Search form is alredy doing a cross-table query, right? Selecting posts from one table, based on info from a separate user table?

I would happily hire someone for such a hack.

Regards,

Bill
that's a mod for the search function, not for the memberlist. You are better of putting it on the modification request forum, and as I read your post it is something rather complicated. It is a good idea, though.
Reply With Quote
  #14  
Old 05-26-2004, 12:04 AM
Aurous Aurous is offline
 
Join Date: Apr 2004
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works in 3.0.1

Installed
Reply With Quote
  #15  
Old 05-31-2004, 08:39 AM
Wasser Wasser is offline
 
Join Date: Feb 2003
Location: yuba city, ca
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kentaurus
Yes, if you install this hack the usergroups are exposed (as long as they are public) so you can just link to memberlist.php?do=getall&usergroupid=xxx where xxx is the id of the usergroup. That link wouldn't work without the hack because it would require you to be the usergroup leader.
i've noticed an odd an annoying quirk.

if i go thru the search it'll display "Members of User Group: XXXXX" at the top of the results.

however, if i do a direct link it simply says "Members of User Group:". the user group name is missing.

does anyone have an idea how to keep the user group name appearing with a direct link?
Reply With Quote
  #16  
Old 06-13-2004, 09:44 AM
Aurous Aurous is offline
 
Join Date: Apr 2004
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ yes, got the same problem here :ermm:
Reply With Quote
  #17  
Old 01-31-2005, 05:05 PM
DeMiNe0 DeMiNe0 is offline
 
Join Date: Jun 2004
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #18  
Old 01-31-2005, 06:24 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to show me how to do this with a drop down? I dont expect people to spell the usergroup name.
Thanks.
Reply With Quote
  #19  
Old 02-02-2005, 03:21 PM
DeMiNe0 DeMiNe0 is offline
 
Join Date: Jun 2004
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can anyone help me with my problem, or just send me there modifyed memberlist file?
Reply With Quote
  #20  
Old 02-08-2005, 10:01 PM
DeMiNe0 DeMiNe0 is offline
 
Join Date: Jun 2004
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello?
Reply With Quote
  #21  
Old 03-20-2005, 11:43 PM
cashpath cashpath is offline
 
Join Date: Jul 2003
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would I edit this to make the group not have to be joinable?
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:58 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.04557 seconds
  • Memory Usage 2,306KB
  • 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
  • (3)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