1

Topic: show member by state

This code displays members by "city", how can I make it work by "state"? I try replacing city with state but no luck.

{members:limit=48,photos=1,cache_time=0,types=1,profile_city=session.profile_city,orderby="rand()"}

VPS & Dedicated Hosting Servint

2

Re: show member by state

{members:limit=48,photos=1,cache_time=0,types=1,profile_state=session.profile_state,orderby="rand()"}

Developer

3

Re: show member by state

I try replacing the word "city" with "state" but that did not work. Not sure if city is a value and state value_id any ideas?

VPS & Dedicated Hosting Servint

4

Re: show member by state

If your state field is a combo box, try this
{members:limit=48,photos=1,cache_time=0,types=1,profile_state_id=session.profile_state_id,orderby="rand()"}

Developer

5

Re: show member by state

I try what you said and it does not work, i don't understand

{members:limit=10,photos=1,cache_time=0,types=1,profile_state_id=session.profile_state_id,orderby="rand()"}

VPS & Dedicated Hosting Servint

6

Re: show member by state

Sorry, my mistake, it should be

{members:limit=10,photos=1,cache_time=0,types=1,profile_state=session.profile_state_id,orderby="rand()"}

Developer

7

Re: show member by state

Thank you... it works excellent

VPS & Dedicated Hosting Servint