jafakash cp Posted March 28, 2016 Share Posted March 28, 2016 (edited) Hi guys, I need to implement user logged in location in user infromation block which resides in top header. (if we sign in successfully user name will show in top header but i want to get both user name and current location where we signed in ) .Any one knows the solution it will be highly appreciable. Thanks in advance Jafakash Edited March 28, 2016 by jafakash cp (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted March 29, 2016 Share Posted March 29, 2016 you may consider to use Geolocation by IP address. you have to enable it first at back office - Preferences - Geolocation. Link to comment Share on other sites More sharing options...
jafakash cp Posted March 30, 2016 Author Share Posted March 30, 2016 you may consider to use Geolocation by IP address. you have to enable it first at back office - Preferences - Geolocation. Thanks for ur consideration.But I want to know how i can display user location below user name after logged in. Link to comment Share on other sites More sharing options...
shokinro Posted March 30, 2016 Share Posted March 30, 2016 you can use add to following file /modules/blockuserinfo/blockuserinfo.tpl but you have to modify the blockuserinfo to prepare the data in smarty variable first so that you can use it to display in above file. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now