1
Nootje
Re: Direct link to search query - xoopsmembers
  • 2004/3/18 17:50

  • Nootje

  • Just popping in

  • Posts: 15

  • Since: 2004/3/16


Whoohoo it works now

Thank you, thank you, thank you Mithrandir



2
Nootje
Re: Direct link to search query - xoopsmembers
  • 2004/3/18 16:59

  • Nootje

  • Just popping in

  • Posts: 15

  • Since: 2004/3/16


There's progress, when i type in nothing in the fields its showing this

index.php?user_name_match=0&user_name=
&user_name_match=0&user_name=&user_email_match=
0&user_email=&user_icq_match=0&user_icq=
&user_aim_match=0&user_aim=&user_yim_match=
0&user_yim=&user_msnm_match=0&user_msnm=
&user_url=&user_from=&user_occ=&user_intrest=
&user_lastlog_more=&user_lastlog_less=
&user_reg_more=&user_reg_less=&user_posts_more=
&user_posts_less=&user_sort=name&user_order=
ASC&limit=&op=submit&user_submit=submit

(put some breaks in it, page was going funky)

in my addressbar, but it still not going to the page to show the results o_0

It goes back to the form again!

I updated the index.php on the site so u can see again what it looks like atm.



3
Nootje
Re: Direct link to search query - xoopsmembers
  • 2004/3/18 16:12

  • Nootje

  • Just popping in

  • Posts: 15

  • Since: 2004/3/16


Yeah it does the same thing no matter if i do

$_GET['op']

or

$_GET

Keeps showing me the form, no matter if i type something in the form or if i won't type anthing in the form. Keeps showing me the blank form again after pressing the submit button.



4
Nootje
Re: Direct link to search query - xoopsmembers
  • 2004/3/18 15:37

  • Nootje

  • Just popping in

  • Posts: 15

  • Since: 2004/3/16


O man, that didn't seem to do it either. I uploaded my index.php to my friends site so u can see the whole thing.
U can find it at http://home.quicknet.nl/qn/prive/t.a.guijt/downloads/index.php

I'm at ur mercy Mithrandir...
No wonder you got such a high post count with stupid people like me around



5
Nootje
Re: Direct link to search query - xoopsmembers
  • 2004/3/18 12:29

  • Nootje

  • Just popping in

  • Posts: 15

  • Since: 2004/3/16


So i'd have to get rid of the ['op'] alltogether?

$op = "form";
if ( isset($_GET) && $_GET == "submit" ) {
$op = "submit";
}

Like this?



6
Nootje
Re: Direct link to search query - xoopsmembers
  • 2004/3/18 11:47

  • Nootje

  • Just popping in

  • Posts: 15

  • Since: 2004/3/16


BTW, the ['op'] is in a lot more places in the index.php, do i have to replace it with something?



7
Nootje
Re: Direct link to search query - xoopsmembers
  • 2004/3/17 22:47

  • Nootje

  • Just popping in

  • Posts: 15

  • Since: 2004/3/16


Yes, here small bit from the start of the index.php:

$op = "form";
if ( isset($HTTP_POST_VARS['op']) && $HTTP_POST_VARS['op'] == "submit" ) {
$op = "submit";
}



8
Nootje
Re: Direct link to search query - xoopsmembers
  • 2004/3/17 21:12

  • Nootje

  • Just popping in

  • Posts: 15

  • Since: 2004/3/16


Thanx for your reply Mithrandir,

I replaced all the $HTTP_POST_VARS with $_GET, but am i still supposed to be able to search? Because when i don't enter anything it used to show all users, but now it doesn't do anything and loads the page again. As if u would press Refresh. It also happens when i do enter something in the fields. So it doesn't do anything now with the $_GET.
Or do i have to use a link now? And if so what would that look like in my address bar?




9
Nootje
Re: Direct link to search query - xoopsmembers
  • 2004/3/17 15:19

  • Nootje

  • Just popping in

  • Posts: 15

  • Since: 2004/3/16


It doesn't even seem to react if i put ?whatever behind it...

Anyone?



10
Nootje
Direct link to search query - xoopsmembers
  • 2004/3/17 9:14

  • Nootje

  • Just popping in

  • Posts: 15

  • Since: 2004/3/16


I've made added a couple of members to my site and gave a few of them certain values for their location:

UK
US
NL

United Kingdom, United States and Netherlands. Now i installed this xoopsmembers module and when i type in UK it shows me all the members which have UK as location.

Now i would like to make a direct link on my site that will do this automatically without showing the search form first.

So i would create 3 links to each one of them and when i click one of these links it would show me everyone in UK, US or NL, depending on what link i click.

How would i pull this off?

Nootje




TopTop
(1) 2 »



Login

Who's Online

249 user(s) are online (165 user(s) are browsing Support Forums)


Members: 0


Guests: 249


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits