Add location field to profile Download 1.0

German Dominik L 3 weeks ago

This component adds a field on Signup form and profile page to enter the location, after adding a location, it is shown on About Page

Can someone maybe help me to add search function? So you can search for the location field?

enter image description here

enter image description here

Comments
Indonesian Arsalan Shah Replied 3 days ago

Just telling you how you can search user by a location you need to figure out the other end

Indonesian Arsalan Shah Replied 3 days ago

Just telling you how you can search user by a location you need to figure out the other end

German Dominik L Replied 3 days ago

Am I just adding this into ossn_com.php?

Indonesian Arsalan Shah Replied 6 days ago

.

    $users         = new OssnUser()
    $list = $users->searchUsers(array(
                'entities_pairs' => array(
                        array(
                            'name'   => 'location',
                            'value'  => 'your location',
                    );                
                ),
    ));     

.

German Dominik L Replied 1 week ago

How can I add the location to the search page? so you can search for locations?

Component

Developer: Dominik
License GPL v2
Type: User admin
Requires Ossn Version : 7.4
Latest Version: 1.0
Last Updated 3 weeks ago
Repository Url View Repository

Versions