Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 05-16-2005, 12:45 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Searching using memberlist.php (Direct search)

memberlist.php can be used to do searches using the do=getall& command right.
Now I have a field called field6[0] Now this field is races. Black white brown etc.

When I do a search for say white. I get every user that has that feature selected. How do I go about having it show only users that have that field selected only?

As of now if you have white & black selected you will pop up in this search.
I find it is almost inverted (lack of a better word) searching.
I mean if I wanted white & black I would click white checkbox and black check box then I can get users who are white, both or black.

as it is now it will show ONLY users that are both.

I am almost positive I have to put a command string in the URL. So I came here for help.

the string I have now is:
HTML Code:
memberlist.php?do=getall&page=1&agefrom=0&ageto=0&hasprofilepic=on&ltr=&pp=100&order=desc&postslower=0&postsupper=0&sort=joindate&ausername=&homepage=&icq=&aim=&yahoo=&msn=&joindateafter=&joindatebefore=&lastpostafter=&lastpostbefore=&field6[0]=6
Thanks.
Reply With Quote
  #2  
Old 12-27-2005, 08:33 PM
rootnik rootnik is offline
 
Join Date: Jun 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know this is a long time ago, but here is the answer (I was searching for it)

open your advanced search page and search for the HTML that has the option you are looking for. My example is from a drop down box"

HTML Code:
<div class="fieldset">
	Color:<br />
	<select name="field10" id="csel_field10">
		<option value="0" selected="selected"></option>
                <option value="1" >White</option>
                <option value="2" >Black</option>
	</select>
		
</div>
Notice the vaules...

White is 1
Black is 2

so to link to the search results for white...

HTML Code:
memberlist.php?do=getall&field10=1
I could use some help finding a way to only show a list of members who have a custom text field filled out, no matter what the value is.
Reply With Quote
  #3  
Old 12-28-2005, 03:45 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rootnik
I know this is a long time ago, but here is the answer (I was searching for it)

open your advanced search page and search for the HTML that has the option you are looking for. My example is from a drop down box"

HTML Code:
<div class="fieldset">
	Color:<br />
	<select name="field10" id="csel_field10">
		<option value="0" selected="selected"></option>
                <option value="1" >White</option>
                <option value="2" >Black</option>
	</select>
		
</div>
Notice the vaules...

White is 1
Black is 2

so to link to the search results for white...

HTML Code:
memberlist.php?do=getall&field10=1
I could use some help finding a way to only show a list of members who have a custom text field filled out, no matter what the value is.
Nice to help but it will still show all users that have white in it...

example if your on lavalife and say I want to search for asian it will not bring back a person who is asian / indian... unless you click asian and indian.

that is my issue.
Reply With Quote
  #4  
Old 12-28-2005, 04:27 AM
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Location: North America
Posts: 737
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i will pm you
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:32 PM.


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.03593 seconds
  • Memory Usage 2,196KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete