Go Back   vBulletin Modification Discussions > Community Center > General Chat
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

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


Reply
 
LinkBack Thread Tools
Old 07-04-2006, 11:40 PM   #31 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old 07-04-2006, 11:46 PM   #32 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
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 .....
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-04-2006, 11:49 PM   #33 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
This is what I have so far.
Attached Images
File Type: jpg weatherunreg.jpg (63.6 KB, 4 views)
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-04-2006, 11:50 PM   #34 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
Actual, that heading should be locale not local
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-05-2006, 10:02 PM   #35 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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!
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-05-2006, 11:18 PM   #36 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
place I was born : Antwerp, Belgium: BEXX0003
where my brother lives : Brussels, Belgium: BEXX0005
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-05-2006, 11:23 PM   #37 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-05-2006, 11:33 PM   #38 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
launched a little post for you on my board, hope it will direct afew to this thread to help test
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 09:12 PM   #39 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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?
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 11:31 PM   #40 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
I'd set a zero to not give outdated info, so the user sees it and doesn't count on a wrong info....
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 11:36 PM   #41 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
Keep in mind that 0 is itself a wrong value.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 11:40 PM   #42 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
can you maybe parse 'unk' insteead zero ??? at least that can't be misunderstood
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 11:45 PM   #43 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-09-2006, 01:36 AM   #44 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-13-2006, 06:30 PM   #45 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-15-2006, 08:59 AM   #46 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-16-2006, 10:34 AM   #47 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-16-2006, 11:03 AM   #48 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to Eric
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
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-16-2006, 11:05 AM   #49 (permalink)
Senior Member
 
Eric's Avatar
 
Join Date: May 2006
Location: France
Posts: 458
Eric is on a distinguished road
iTrader: (2)
Send a message via ICQ to Eric Send a message via MSN to 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
Eric is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-16-2006, 11:07 AM   #50 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-16-2006, 11:10 AM   #51 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-17-2006, 11:02 PM   #52 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
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.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote