How to implement country or location system

Paritosh Pandey Posted in Technical Support 9 years ago

I'm using ossn 2.3 and it seems l their is no any system
to add location. Please. Help me.

Replies
ng Abayomi Oladipupo Replied 9 years ago

This is what i added to it, and it damaged everything, <tr>
<th scope="row"><?php echo ossnprint('Location');?></th>
<td><?php echo about
user_age($params['user']->birthy);?></td>
</tr>
add this
above </table
so i delete everything and find the location box lost

go to components/OssnProfile/plugins/default/forms/OssnProfile/edit.php

you will see it there

thanks

ng Abayomi Oladipupo Replied 9 years ago

Yes, Paritosh did it, but it spoiled after other additional codes
please paritosh, help me readd it
Thanks

ng Moneya Replied 9 years ago

thanks

in Paritosh Pandey Replied 9 years ago

Yeah I do have fb here it is www.facebook.com/Paritosh.pandey.1650

ng Moneya Replied 9 years ago

@Paritosh Pandey can i get your email?
or are you on fb?

ng Abayomi Oladipupo Replied 9 years ago

Hello Arsalan, I have tried adding codes, but it always damage the themes for my website, but i will appreciate it a lot if i can have the code typed here as a reply, and i can add it myself
thank you.

ng Abayomi Oladipupo Replied 9 years ago

Please I need such component and if it is a code, then tell me what code exactly i need to add, and where in the script it is to added

Thank you.

Indonesian Arsalan Shah Replied 9 years ago

You have to add new field in user profile edit form and you need to edit new profile edit action and add new field for save.