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
  #17  
Old 07-12-2004, 01:48 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the instructions it says:

"If your setup uses a table_prefix then use the script that is included to add the
prefix name to the forecast table name"

Where do I look to see if my DB has a table_prefix and if it does not, do I need to run the sql file?
Reply With Quote
  #18  
Old 07-12-2004, 01:51 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ran the SQL file and received this error:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: 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 ';
CREATE TABLE forecast (id int(4) NOT NULL auto_increment

Im now stuck at stage No7

It says:

If your setup uses a table_prefix then use the script that is included to add the
prefix name to the forecast table name. To run the change.php script, place the
forecast.sql file and the change.php script in your main vbulletin directory (./)
then run the script from your browser. When it is finished it will update the
forecast.sql file to match your system settings! After this install the forecast
database into your main forum database!

Can someone explain this in English please.
Reply With Quote
  #19  
Old 07-12-2004, 03:40 PM
yukayumi yukayumi is offline
 
Join Date: May 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ver nice hack,absolutely will give it a try.By the way,I like the template of your demo http://forum.ya-right.com/ . I wonder where to download that skin. Any suggestion would be appreciated.Thannks.
Reply With Quote
  #20  
Old 07-12-2004, 05:26 PM
defi's Avatar
defi defi is offline
 
Join Date: Nov 2003
Location: Florida
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome idea; I saw your post at vbulletintemplates and fell in love with it; Definetly going to use this.

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

Quote:
Originally Posted by The Realist
I ran the SQL file and received this error:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: 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 ';
CREATE TABLE forecast (id int(4) NOT NULL auto_increment

Im now stuck at stage No7

It says:

If your setup uses a table_prefix then use the script that is included to add the
prefix name to the forecast table name. To run the change.php script, place the
forecast.sql file and the change.php script in your main vbulletin directory (./)
then run the script from your browser. When it is finished it will update the
forecast.sql file to match your system settings! After this install the forecast
database into your main forum database!

Can someone explain this in English please.
Hi The Realist

To find out if your using a prefix, go to ./includes/config.php, and find the variable...

$tableprefix = '';

If this has a value, then you need to run the 'change.php' script to add the prefix!


As for your MySql Error, something is not being escaped somewhere....

Tell me the following....

1. Are you using a prefix?

2. How are you trying to install the weather table (command line, phpMyAdmin, other) ?


If you can not get the SQL file to load, create the table manual, then I will give you a script to loop the file and do the inserts that way! I have tested this SQL file, on 8 different systems Unix, Linux, Windows and Mac and I can not reproduce your error.

Note you can not load this from the VB admin panel it will not work! I will help you, but answer my questions so I can!
Reply With Quote
  #22  
Old 07-12-2004, 06:40 PM
Zombie Zombie is offline
 
Join Date: Oct 2001
Location: Florida
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I checked the test site but did not see any weather conditions on the main forum page even though it's checked in the user cp

Is that a bug or just an oversite on adding it to the forum home page?
Reply With Quote
  #23  
Old 07-12-2004, 06:52 PM
edeab220 edeab220 is offline
 
Join Date: Mar 2004
Location: South NJ
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zombie
I checked the test site but did not see any weather conditions on the main forum page even though it's checked in the user cp

Is that a bug or just an oversite on adding it to the forum home page?
Yea, that too is my question.

Once that question is answered I'm gonna install. It's very cool! .
Reply With Quote
  #24  
Old 07-12-2004, 06:56 PM
Zombie Zombie is offline
 
Join Date: Oct 2001
Location: Florida
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by edeab220
Yea, that too is my question.

Once that question is answered I'm gonna install. It's very cool! .
Yeah, me to

I'm using vBadvanced's weather module right now and this will be a much better replacement
Reply With Quote
  #25  
Old 07-12-2004, 07:07 PM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack looks killer
Reply With Quote
  #26  
Old 07-12-2004, 07:15 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by edeab220
Yea, that too is my question.

Once that question is answered I'm gonna install. It's very cool! .
It is in the User CP. The link is at the bottom on the left.
Reply With Quote
  #27  
Old 07-12-2004, 08:00 PM
edeab220 edeab220 is offline
 
Join Date: Mar 2004
Location: South NJ
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
It is in the User CP. The link is at the bottom on the left.
I saw that but it gives a choice to show it on the forum home page. Where exactly does it show it?
Reply With Quote
  #28  
Old 07-12-2004, 08:21 PM
nineball nineball is offline
 
Join Date: Jan 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I has already added a custom field so my field numbers are different.

I changed the array and the update statement and it does update the correct field, however the location on the user cp does not display.

Is there any other place I need to change to use a field other than field9 for the location field

if ( $_REQUEST['do'] == 'weather' )
{
$new_forecast = forecast_valid ( $bbuserinfo[field19], $bbuserinfo[field20], $bbuserinfo[field21], $bbuserinfo[field22], $bbuserinfo[field23] );
$new_forecast = fetch_forecast ( $new_forecast, 1 );
$customfields = array ();
fetch_profilefields(1);
$navbits[''] = $vbphrase['weather_title'];
}

if ( $_REQUEST['do'] == 'places' )
{
if ( !empty ( $_POST['location'] ) )
{
$DB_site->query ( "UPDATE " . TABLE_PREFIX . "userfield SET field23=" . addslashes( $_POST['location'] ) . " WHERE userid=$bbuserinfo[userid]" );
$GLOBALS['url'] = 'profile.php?do=weather';
eval ( print_standard_redirect ( 'redirect_updatethanks' ) );
}
else
Reply With Quote
  #29  
Old 07-12-2004, 08:32 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right on the demo site it won't show on form home what you selected and thats because its not keeping your selection if you notice..

maybe cuz that is a demo as he said
Reply With Quote
  #30  
Old 07-12-2004, 09:35 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*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.
Reply With Quote
  #31  
Old 07-12-2004, 10:24 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks just fine!
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 03:23 AM.


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.11733 seconds
  • Memory Usage 2,362KB
  • Queries Executed 30 (?)
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
  • (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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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