vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Weather Mk. 2 (https://vborg.vbsupport.ru/showthread.php?t=41842)

o0stephane0o 04-04-2003 10:35 AM

Wow, you are amazing, I?ll try it right now, Thanks a llot ;)

scottct1 04-04-2003 12:30 PM

I don't know why but a lot of users are requesting I make the Iraqi weather available, anyone know if this is possible?

My forecast for Iraq is a good chance of bombing tonight, more of the same tommorow. :) Go USA!

lemarsu 04-04-2003 02:39 PM

Quote:

Today at 02:30 PM scottct1 said this in Post #332
I don't know why but a lot of users are requesting I make the Iraqi weather available, anyone know if this is possible?

My forecast for Iraq is a good chance of bombing tonight, more of the same tommorow. :) Go USA!

Scott,

The weather for Iraq, should be working, just check you have codes
IZXX0001
IZXX0002
IZXX0003
to
IZXX0012

In your `weather_city`table. They are in my forum.

LeMarsu.


PS: I have lived through a war and I would like to inform you that spending the night wondering if a missile is going to hit your house and kill you and you family or bury you all alive is not something you wish to happen to other people, I hope it doesn?t ever happen to you.
End of this conversation please

o0stephane0o 04-04-2003 05:10 PM

I m loking for bugs and i have found a new one.
Australia dosenst work either but this time, it looks different.
I think the cities haven“t been created.

lemarsu 04-04-2003 06:43 PM

The problem is that you need to pick a Country to force the refresh....
so pick New Zealand, the go back to Australia.... and.... et Voila !

It works..

LeMarsu

o0stephane0o 04-04-2003 10:11 PM

Great work though i have a small error with the spanish stuff.
when executing the sql queries, i get an error message about the following INSERT INTO weather_city VALUES ('SPXX0049', 'L“Hospitalet de Llobregat', 211); but changing it to INSERT INTO weather_city VALUES ('SPXX0049', 'L Hospitalet de Llobregat', 211); it works.
But after that, i get some strange errors. Did you try it? Did it work ?
By the way lemarsu, are you french or belgian?
Thanks for your time..
:banana:

Etcher 04-04-2003 11:34 PM

is there an easy way to remove the country, cities, and such that will not be used? I am from Canada, and my members are ONLY from Canada, therefor the others will never be used... With them all in there, it is taking a huge amound of database space.

lemarsu 04-04-2003 11:38 PM

Stephane,

I have edited the sql attachment for Spain... Sorry I was at work and I didn't fully test it out I only ran the first 5 towns.... What a bad tester !!!

I am actually Lebanese (hence the little comment for scottct1), but I had a French education....

LeMarsu

lemarsu 04-04-2003 11:55 PM

Quote:

Today at 01:34 AM Etcher said this in Post #337
is there an easy way to remove the country, cities, and such that will not be used? I am from Canada, and my members are ONLY from Canada, therefor the others will never be used... With them all in there, it is taking a huge amound of database space.

Etcher,

To delete everything that is not Canada I suggest you do the following:
As the biggest table is weather_city, just concentrate on that one. You will need to run the delete statement bellow that will get rid of 36721 rows, NOTE THIS WILL GET RID OF EVERY CITY IN THE WORLD APPART FROM CANADA the countries will still be there if you need them in the future.

[b]ps I have not tested the SQL[b]
Code:

DELETE FROM `weather_city` WHERE `accid` NOT LIKE 'CAXX%'

o0stephane0o 04-05-2003 08:37 AM

French education, now I understand where you got your nick from...
I am insisting again about the weather hack but it?s only because I really like it and i cannot make it working fine :(

What do i have to do with spain.sql to make it working?
And what is the following error:
[socketerror] cannot connect to www.msnbc.com.... blblabla 80
Un truc dans le genre...

Thanks for your knowledge.


All times are GMT. The time now is 08:58 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01922 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete