Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VB World Weather Details »»
VB World Weather
Version: 1.00, by why-not why-not is offline
Developer Last Online: Jun 2007 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-11-2004 Last Update: Never Installs: 82
 
No support by the author.

This is VB World Weather...

It allow your users to look up and display local weather for 39,722 locations around the world! It is template based with multi language support built in!


The zip file contains...

1. Step by step install files
2. All images, language files, templates, weather database file and scripts

Demo

http://forum.ya-right.com/

user: test
pass: test

when you login go to the usercp to try the demo, also look at the bottom of the forum home for the other display...

The one on the forum home can be placed where ever you want to place it!

If you have any questions or need install help post your questions here...

UPDATES (7/15/2004 9:47 PM EDT)

Go here for the FORUMHOME template update install info

https://vborg.vbsupport.ru/showthrea...d=1#post533325

UPDATES (7/18/2004 9:04 AM EDT)

Add a database install table script, for people who can not run
the single sql file (FOUND IN STEP 7). It is very easy to use!


Have a great day....

Sonia


_______________________________
Next mod -> translate this topic or post!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 07-12-2004, 10:52 PM
MooMan65's Avatar
MooMan65 MooMan65 is offline
 
Join Date: Mar 2002
Location: New Zealand
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm. After waiting for about half an hour on my 56k modem to apply the Database changes I get an error with the first damn query when it tried to create the forecast table:

Code:
CREATE TABLE forecast(

id int( 4 ) NOT NULL AUTO_INCREMENT ,
rid char( 2 ) default NULL ,
region varchar( 15 ) default NULL ,
cid char( 2 ) default NULL ,
country varchar( 33 ) default NULL ,
sid char( 2 ) NOT NULL default '',
state varchar( 20 ) default NULL ,
pid varchar( 5 ) NOT NULL default '',
place varchar( 120 ) default NULL ,
code varchar( 8 ) default NULL ,
PRIMARY KEY ( id ) ,
KEY forecast_rid_cid_sid_pid( rid, cid, sid, pid ) 
)ENGINE = MYISAM DEFAULT CHARSET = latin1
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET = latin1' at line 12

I'm pretty sure it's because my PHP version is too old, which is a shame as this isn't my server so I don't have a choice as to upgrading the version. But this is a great hack though! Thanks!
Reply With Quote
  #33  
Old 07-12-2004, 10:58 PM
romanticyao's Avatar
romanticyao romanticyao is offline
 
Join Date: Oct 2002
Location: Canada
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone please tell me how do i install the weather table using command line? :nervous:
Reply With Quote
  #34  
Old 07-12-2004, 11:40 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MooMan65
Hmm. After waiting for about half an hour on my 56k modem to apply the Database changes I get an error with the first damn query when it tried to create the forecast table:

Code:
CREATE TABLE forecast(

id int( 4 ) NOT NULL AUTO_INCREMENT ,
rid char( 2 ) default NULL ,
region varchar( 15 ) default NULL ,
cid char( 2 ) default NULL ,
country varchar( 33 ) default NULL ,
sid char( 2 ) NOT NULL default '',
state varchar( 20 ) default NULL ,
pid varchar( 5 ) NOT NULL default '',
place varchar( 120 ) default NULL ,
code varchar( 8 ) default NULL ,
PRIMARY KEY ( id ) ,
KEY forecast_rid_cid_sid_pid( rid, cid, sid, pid ) 
)ENGINE = MYISAM DEFAULT CHARSET = latin1
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET = latin1' at line 12

I'm pretty sure it's because my PHP version is too old, which is a shame as this isn't my server so I don't have a choice as to upgrading the version. But this is a great hack though! Thanks!
Hi MooMan 65

Just remove that line.....

As it is the default chr/set anyways! It will cause problems with some mysql managers! Like in MyPHPAdmin, if you use browse and upload having the charset is ok, but if you try to run the create in the query text box you will get the same error you got!

change to.....

Code:
DROP TABLE IF EXISTS forecast;
CREATE TABLE forecast (
  id int(4) NOT NULL auto_increment,
  rid char(2) default NULL,
  region varchar(15) default NULL,
  cid char(2) default NULL,
  country varchar(33) default NULL,
  sid char(2) NOT NULL default '',
  state varchar(20) default NULL,
  pid varchar(5) NOT NULL default '',
  place varchar(120) default NULL,
  code varchar(8) default NULL,
  PRIMARY KEY  (id),
  KEY forecast_rid_cid_sid_pid (rid,cid,sid,pid)
);

Sonia
Reply With Quote
  #35  
Old 07-12-2004, 11:51 PM
ambrosious ambrosious is offline
 
Join Date: Jun 2004
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question, what will happen if I install this and have already messed with the profile.php and functions_user.php while installing another hack. I'm pretty sure I've messed these around some.

Can I not add this?
Reply With Quote
  #36  
Old 07-12-2004, 11:55 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zombie
Yeah, me to

I'm using vBadvanced's weather module right now and this will be a much better replacement
Hi

This was done, because I want everyone to first install the core system. Adding it to any page after the core system is installed is easy! I don't know why you said the example on my demo site was not working, because it is!


Maybe someone switched it off when you were trying it!


HINT!!!!!

Look under the "WHOS ON LINE"


This will be released tomorrow, along with transparent images using (2) sizes, (1) for the CP, the other for the FORUMHOME and Members Profile page. The templates are easy to make, so you can design any type of display you want, using 60 different forecast array values! I will include 2 templates based on the USERCP template, which is CSS controled, so making it look the way you want is as easy as creating (2) images (gradients) and changing the colors you want to use!


Sonia
Reply With Quote
  #37  
Old 07-12-2004, 11:59 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ambrosious
Question, what will happen if I install this and have already messed with the profile.php and functions_user.php while installing another hack. I'm pretty sure I've messed these around some.

Can I not add this?
Hi


If you tell what you installed, better yet give your 'profile.php, functions_user.php', and I can write a work around for whatever you have installed that might get in the way of this system!


Sonia
Reply With Quote
  #38  
Old 07-13-2004, 12:03 AM
MooMan65's Avatar
MooMan65 MooMan65 is offline
 
Join Date: Mar 2002
Location: New Zealand
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Sonia I got it working now, well, I think so. I already had existing custom profile fields like a number of people here so it's not working correctly at the moment. Where abouts would I need to edit in the files so I can change the profile field ids manually?
Reply With Quote
  #39  
Old 07-13-2004, 12:05 AM
romanticyao's Avatar
romanticyao romanticyao is offline
 
Join Date: Oct 2002
Location: Canada
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi can you please show me how to install the .sql file? i tried with phpmyadmin but the filesize was too big. so if you could show me how to do it with command line would be great, thank you in advance
Reply With Quote
  #40  
Old 07-13-2004, 12:07 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
*nods*

The concept is excellent, but the install is a bit of a killer, mainly for those people who already have custom fields installed.



I have installed it, but the Location Field is a single-line text box...with no hints as to what the code to put in it is.
Hi

If you already have custom fields installed, this is not a problem! You just have to update the array that validates the custom fields for the weather system. I am writing a very simple 'HOW TO' with images that show you how to do this! Once the system is installed this takes less than 30 seconds to fix or change if you add more fields later!


Sonia
Reply With Quote
  #41  
Old 07-13-2004, 12:20 AM
ambrosious ambrosious is offline
 
Join Date: Jun 2004
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by why-not
Hi


If you tell what you installed, better yet give your 'profile.php, functions_user.php', and I can write a work around for whatever you have installed that might get in the way of this system!


Sonia
Will do shortly! Thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04705 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete