vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Predefiined search in a button/link (https://vborg.vbsupport.ru/showthread.php?t=81027)

1atlas 05-05-2005 06:35 PM

Predefiined search in a button/link
 
Hi,
I would like to create a button/link which links to the memberlist but through a query. I understand creating the button but confused on the search with a set value.

For example: Here is the button text: [Click here to view all Male Members.] When clicked, the memberlist screen is shown with all members who have the custom profile field 'sex' set to "Male". Essentially the same thing as the letterbits but selecting by a field other than just the first letter of a username.

Thanks!

Anyone think this is possible?

1atlas 05-17-2005 07:51 PM

Anyone?

Princeton 05-17-2005 08:05 PM

I think this is the url -- not sure (just guessing)

memberlist.php?s=&do=getall&field14=1&sort=usernam e&order=desc&pp=50

change the following:
field14=1 (this is the profile field and option)
sort=username (sorting option)
order (asc/desc)
pp (perpage)

1atlas 05-19-2005 05:59 PM

Princeton..... You ROCK!!! Thanks so much!


All times are GMT. The time now is 10:27 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.00901 seconds
  • Memory Usage 1,706KB
  • 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
  • (4)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