PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
User set location (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: User set location


#4404
seeks888 (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
User set location 2 Years, 2 Months ago Karma: 0  
Hi there, we love the module thanks!
Just one thing, well 2 actually.

1) how can I set up the module to accept the user input to the city details. Currently when you refresh page it reverts back to default.

2) can I get a copy of the wind in Km/h version.

Thanks for your help and a great module.

Craig
 
  The administrator has disabled public write access.

#4408
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:User set location 2 Years, 2 Months ago Karma: 27  
Hi,

1) Can you please elaborate more about the problem you're encountering? Please try the demo here.
You can enter the city name. Isn't this what you have in mind?

2) Will email you the km/h version later tonight.

Regards,
/kksou
 
  The administrator has disabled public write access.

#4410
seeks888 (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:User set location 2 Years, 2 Months ago Karma: 0  
When user enters a city it displays the city no problem. If my user wants to change city to his local city (permanently) it will change for that session but then default back to original city on next visit.
In other words user cannot set their city and the module remember their choice. Is there a fix for this. Thanks!
 
  The administrator has disabled public write access.
#4415
seeks888 (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:User set location 2 Years, 2 Months ago Karma: 0  
Any update for this issue?
Thanks in advance.
Craig
 
  The administrator has disabled public write access.
#4418
seeks888 (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:User set location 2 Years, 2 Months ago Karma: 0  
Can you let me know whether the module can remember the user input for their city? Thank you!
 
  The administrator has disabled public write access.
#4420
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:User set location 2 Years, 2 Months ago Karma: 27  
Imagine you have 1 million users accessing your website. You have to keep track of the preference for all these 1 million users.

The current googleWeather module only allow you to set a default city, which is stored in your joomla server.

If you really want to do what you have in mind, you have to modify the codes yourself. There are 2 ways you can do this:

1) You can store the preference of all the 1 million users at your server end.

2) You can store the preference of the users at the client end by using cookies. However, there are some users that do not allow you to set cookies on their computer. So this method will not work for these users.

Regards,
/kksou
 
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Links - Classes - Social Business - BPM - Web - General
Copyright © 2006-2013. kksou.com. All Rights Reserved