vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help With Member Search (https://vborg.vbsupport.ru/showthread.php?t=204805)

hobbybox 02-09-2009 08:29 PM

Help With Member Search
 
im going to be doing a small advertising campaign on my site. I want a link that can list all the members that choose a certain item in one of the custom profile fields. the list reuslts are going to be by state.

i have setup a custom profile field that indicates what st someone is in. I want to setup a link that will list all the members (memberlist) that are in a certain state - im going to do this for all the states.

I just need help as to what I need to call up to get the results im looking for.

this is the link that comes up when I do a Advanced Search by the state field

http://www.mysite.com/forums/memberlist.php?do=getall

It just doesnt give me any clue as to what parameter I need to show the members from the state.

Dismounted 02-10-2009 05:24 AM

[sql]SELECT *
FROM user
LEFT JOIN userfield USING (userid)
WHERE fieldX = 'Value'[/sql]

hobbybox 02-10-2009 11:07 AM

Thank you for the reply - but im looking for a member link that would display this info.

For example - if a member clicks on 'Connecticut' the link would use the Advanced Search from memberlist and just list the members that have CT as that custom profile field. the more I think about it it doesnt seem like it would be a simple link that can do this.

Dismounted 02-11-2009 08:57 AM

You would have to create a modification that can do this for you, I do not think that functionality exists in a default installation of vBulletin (although I may be wrong, as I have not really delved into the search code).

hobbybox 02-20-2009 05:57 PM

thats what I was thinking - thank you.


All times are GMT. The time now is 07:24 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.00999 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete