About This Page: This is a discussion on vBWeather Coming Soon within the General Chat forums, part of the Community Center category, at vBulletin Modification Discussions. Originally Posted by Eric
looks nice though it starts to become a large block down there....
That's only when you click to expand the view. Normal size will be what you see now on this site.
Originally Posted by |
07-04-2006, 11:40 PM
|
#31 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
Quote:
|
Originally Posted by Eric
looks nice though it starts to become a large block down there....
|
That's only when you click to expand the view. Normal size will be what you see now on this site.
Quote:
|
Originally Posted by Eric
and for guest maybe give the weather of admin with number 1
|
The problem with that is it would add an extra query for every quest and every search engine. Not desirable to have extra queries for non members.
For registered members it adds absolutely no queries. Got to love that.
Last edited by Code Monkey : 07-04-2006 at 11:43 PM.
|
|
|
07-04-2006, 11:46 PM
|
#32 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
well then there is no other option then to maybe not show any weather, just that here could be displayed your weather as registered member .....
|
|
|
07-04-2006, 11:49 PM
|
#33 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
This is what I have so far.
|
|
|
07-04-2006, 11:50 PM
|
#34 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
Actual, that heading should be locale not local
|
|
|
07-05-2006, 10:02 PM
|
#35 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
I see I'm getting a lot of database errors. Looks like they put N/A in a value when it's not available. Kind of dumb for them to put text where numeric output is expected. Oh well, I will just have to code it out. I need more zip codes or location codes to test this thoroughly. So send me your codes!
|
|
|
07-05-2006, 11:18 PM
|
#36 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
place I was born : Antwerp, Belgium: BEXX0003
where my brother lives : Brussels, Belgium: BEXX0005
|
|
|
07-05-2006, 11:23 PM
|
#37 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
Thanks, but I really need to have members codes to accurately test.
I need to find out how vBulletin determines active users as well. I'm thinking the cron should only update active members weather data and inactive members data will just go dormant till they are active again. That should cut out a lot of resource waste on large sites.
|
|
|
07-05-2006, 11:33 PM
|
#38 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
launched a little post for you on my board, hope it will direct afew to this thread to help test
|
|
|
07-06-2006, 09:12 PM
|
#39 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
Well, so far it's just four of us with zips in there.
Your zip is giving me a lot of feedback.
I notice that yours has a lot of N/A values in the early morning hours. 2:00 to 4:00. I get vbulletin database error messages ever day on that.
So here is my question. What is better? Just change those to 0 and move on, or, don't update the current setting for that item and leave the last know until there is a valid value?
|
|
|
07-06-2006, 11:31 PM
|
#40 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
I'd set a zero to not give outdated info, so the user sees it and doesn't count on a wrong info....
|
|
|
07-06-2006, 11:36 PM
|
#41 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
Keep in mind that 0 is itself a wrong value.
|
|
|
07-06-2006, 11:40 PM
|
#42 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
can you maybe parse 'unk' insteead zero ??? at least that can't be misunderstood
|
|
|
07-06-2006, 11:45 PM
|
#43 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
Well, I am trying to prevent from having to use non integer column in the database. If I have to store characters then it's a hair slower. Get a lot of zips in there and it may lose a step.
Maybe I will just store the N/A's as 999 and then convert that back to N/A in php.
|
|
|
07-09-2006, 01:36 AM
|
#44 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
I had some time today and got alot done on the back end for this. Hopefully, if time permits, I well have a beta by next weekend. No promises though.
|
|
|
07-13-2006, 06:30 PM
|
#45 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
I went to the dentist this morning to have three very old fillings replaced. With that much less mercury pouring into my blood stream I may just become smart enough to finish this.
I totally re-wrote the backend classes this afternoon while I was waiting for feeling to return so I could eat. I am getting close to happy with that part of this project.
I also added a setting so you can enter in how many days since a user's last activity till their weather data is no longer updated. Of course, once they log in it will be available for update on the next update cycle.
Also, if multiple users have the same zip, the data for that zip will be shared by all of them. As long as one of them is active it will be updated. This will spare duplicate lookups as well as meet the TOS for weather.com.
Have a nice day.
|
|
|
07-15-2006, 08:59 AM
|
#46 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
Today I am working on the UserCP interface so members can add or edit their location info. It will have an AJAX powered location id lookup.
|
|
|
07-16-2006, 10:34 AM
|
#47 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
I have loaded the latest version of vBWeather onto this site. You may now go into your usercp and find the weather options link to set your own. Test out the city search for me.
If you already had weather data you must enter it now as it was all deleted.
The sooner I get quality feedback the sooner I can release it.
I see that I need to have as default template for members that have not setup their info.
|
|
|
07-16-2006, 11:03 AM
|
#48 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
sorry late reply, but I was for a week end away in the mountains to have some fresh, it is tooooo hot down here but..since week is there again, no choice, back into heat....
nice usercp , smart city lookup integrated
maybe once you push save, refresh with below the weather panel as it will show from then on ? to check all is as wished before going back.....
and then for me the open more or something gets me a 'test' panel, so the popup works
|
|
|
07-16-2006, 11:05 AM
|
#49 (permalink)
|
|
Senior Member
Join Date: May 2006
Location: France
Posts: 458
|
in header of the weather
Last Updated: 7/16/06 7:30 PM Local Tim
we miss an 'e' at the end
am on nix and latest FF
|
|
|
07-16-2006, 11:07 AM
|
#50 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
Still much to do. I may either have it run a script to update the users selection with weather data if it doesn't already exist, or have a template that shows the user that their info is set and it will be updated on the next cron cycle.
The link to expand is the next bit to do. But not today, I have to drive the kids to the inlaws which will take all afternoon.
Let me know if you find any bugs.
|
|
|
07-16-2006, 11:10 AM
|
#51 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
Quote:
|
Originally Posted by Eric
in header of the weather
Last Updated: 7/16/06 7:30 PM Local Tim
we miss an 'e' at the end
am on nix and latest FF
|
I increased the size of the collumn length. So that should be fixed on the next refresh cycle.
|
|
|
07-17-2006, 11:02 PM
|
#52 (permalink)
|
|
Administrator
Join Date: May 2006
Posts: 2,204
|
vBWeather is now running live on this site. This will be the final private beta testing stage. Please check it out and offer your feedback and bug reports. If all goes well I will release it to our subscribers for public beta testing.
Guests will see their own template with an enticement to register.
Members who have not set their data will see the same template but with a reminder to choose their location to see their data.
Click on the weather type icon on the left to open the full view.
Adjust your settings in your usercp.
Have fun.
|
|
| |