The user lists search function

15 years 9 months ago #68042 by radio
The user lists search function was created by radio
When I search all members for users that match exactly scotland and in the age group of 30 to 35 I recived this notice message before the users were displayed:

Notice: Array to string conversion in /home/httpd/vhosts/joomlapolis.com/httpdocs/includes/sef.php on line 425

Notice: Array to string conversion in /home/httpd/vhosts/joomlapolis.com/httpdocs/includes/sef.php on line 500

Notice: Array to string conversion in /home/httpd/vhosts/joomlapolis.com/httpdocs/includes/sef.php on line 425

Notice: Array to string conversion in /home/httpd/vhosts/joomlapolis.com/httpdocs/includes/sef.php on line 500

Notice: Array to string conversion in /home/httpd/vhosts/joomlapolis.com/httpdocs/includes/sef.php on line 425

Notice: Array to string conversion in /home/httpd/vhosts/joomlapolis.com/httpdocs/includes/sef.php on line 500


Not sure if its an issue to worry about or not?

Also I was wandering if there is anyway to show no results until the user actually searches for something? Because surly if the default list contains all members and you have a huge site like a dating site then creating a list of every member every time somebody try to search would be a huge drain on server resources? Or does it only load a page of results at a time?

Interested in improving Joomla as a social networking platform? If yes join joomlaplazza.com

Please Log in to join the conversation.

15 years 9 months ago #68043 by radio
Replied by radio on topic Re:The user lists search function
Or is it possible to have default list that shows users equal to the current users location?

I really need to figure out the full potential of the knew userlist functions

Interested in improving Joomla as a social networking platform? If yes join joomlaplazza.com

Please Log in to join the conversation.

15 years 9 months ago #68077 by beat
Replied by beat on topic Re:The user lists search function
radio wrote:

Or is it possible to have default list that shows users equal to the current users location?

I really need to figure out the full potential of the knew userlist functions


In CB 1.2 RC 2 you can use substitutions in the users-lists backend.

E.g.

cb_location = [cb_location]

in a filtering (simple or advanced) will show only users in same location as the user logged-in.

Obviously that list should not be accessible by guests... :D

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 9 months ago #68083 by beat
Replied by beat on topic Re:The user lists search function
radio wrote:

When I search all members for users that match exactly scotland and in the age group of 30 to 35 I recived this notice message before the users were displayed:
Not sure if its an issue to worry about or not?


Not an issue to worry about, but a good bug catch in joomla 1.0 sef for sure. We will see how to workaround this issue with multi-selectable fields in searches.

Also I was wandering if there is anyway to show no results until the user actually searches for something? Because surly if the default list contains all members and you have a huge site like a dating site then creating a list of every member every time somebody try to search would be a huge drain on server resources? Or does it only load a page of results at a time?


- it loads only one page of results at a time, but depending on the query and your indexes, the query is sub-optimal.

- in Joomla 1.0, if you go to backend edit users-list definition, you will notice 2 urls. Second url is for search-only without initial results displayed

- in Joomla 1.5, create a new menu entry for users-lists, and you will notice the new parameters on the right side, to display only search form for that list :)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 9 months ago #68086 by beat
Replied by beat on topic Re:The user lists search function
This makes confirmed issue #3:

www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/catid,59/id,68084/#68084

THANKS for reporting back :)

Post edited by: beat, at: 2008/07/11 22:21

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 9 months ago #68089 by radio
Replied by radio on topic Re:The user lists search function
No probs mate

Interested in improving Joomla as a social networking platform? If yes join joomlaplazza.com

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.266 seconds

Facebook Twitter LinkedIn