vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [VB3 RC3] Search by usergroup in memberlist (https://vborg.vbsupport.ru/showthread.php?t=60420)

Bill Thebert 02-19-2004 03:31 AM

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

Kentaurus 02-29-2004 05:47 PM

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.

Aurous 05-26-2004 12:04 AM

This works in 3.0.1

Installed

Wasser 05-31-2004 08:39 AM

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?

Aurous 06-13-2004 09:44 AM

^ yes, got the same problem here :ermm:

DeMiNe0 01-31-2005 05:05 PM

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

T3MEDIA 01-31-2005 06:24 PM

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.

DeMiNe0 02-02-2005 03:21 PM

can anyone help me with my problem, or just send me there modifyed memberlist file?

DeMiNe0 02-08-2005 10:01 PM

hello?

cashpath 03-20-2005 11:43 PM

How would I edit this to make the group not have to be joinable?


All times are GMT. The time now is 12:16 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.01200 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_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