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
  #47  
Old 07-13-2004, 12:48 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MooMan65
Yeah, I've found also that the only mentioning of the profile field ids are in the profile.php file mod you do. I don't have the problem with the Select button not appearing, instead even after I pick and Region and Location etc. it doesn't display it in 'Current Location:' afterward. That's no doubt due to the Profile Field IDs being inconsistant, but adjusting the profile ids in the profile.php mod above still doesn't solve this. I'm sure there's something I'm missing.
Hi


can you give a screen shot of your admin panel userprofile fields manager and also send me your (2) files profile.php, functions_user.php....

Send to Fataqui@ya-right.com

I will look them over real quick and tell you what you must do!

Also if I could access your board to see what is happening it would help me help you much better!

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

Quote:
Originally Posted by kall
*grins* I was missing something...my brain.

Missed the 'make field private' instruction on the last field.

Still getting the Warning: file_get_contents(forecast.php?wid=4416&lid=66235) : failed to open stream: No such file or directory error tho.

Any thoughts on this?
Hi

I thought about this so many dam times, I should of wrote a simple test to see where php was placing the url, but I did not, give me a second to write a quick one liner to fix this!


Sonia
Reply With Quote
  #49  
Old 07-13-2004, 12:55 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*waits patiently*

This has the potential to be really cool.

Am now trying to work out how the 'location' type info could be integrated with the much-vaunted "Display your users' locations on a world map" mod...
Reply With Quote
  #50  
Old 07-13-2004, 01:14 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
*waits patiently*

This has the potential to be really cool.

Am now trying to work out how the 'location' type info could be integrated with the much-vaunted "Display your users' locations on a world map" mod...
Hi


Go to ./includes/

And open functions_weather.php


Search for.....

Code:
function fetch_new_weather ( $in )

Below that, does your code look like this.....


Code:
	global $vbphrase, $vboptions;
	$data = array ();
	$soap_server = $vboptions['homeurl'] . '/forecast.php?wid=' . $in . '&lid=' . WEATHER_ID;
Just tell me that.... (does it look the same as I just posted?

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

Did you want the php file, or just the text from it?
Reply With Quote
  #52  
Old 07-13-2004, 01:23 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope.

It looks like
PHP Code:
function fetch_new_weather $in )
{
    global 
$vbphrase;

    
$data = array ();
    
$soap_server 'forecast.php?wid=' $in '&lid=' WEATHER_ID;
    
$out explode '-ss-'file_get_contents $soap_server ) );

    if ( !
strstr $out[0], 'ok' ) )
    {
        return ( 
$data );
    }

    return ( 
unserialize $out[1] ) );

**edit**

WOOHOO! Got it working! (used 'bburl' as the other one is my homepage.)

There's also a 'cannot find lang_en.php' error in there after it finds forecast.php
Reply With Quote
  #53  
Old 07-13-2004, 01:37 AM
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pfff, i really really having a hard time with importing this db

a request: PLZ make phpmyadmin compliant sql with limit to 2mb, al what goes higher is /dev/null

i tried with mysqlimport on shell comand line, but that gave me like 300.000 warnings and all tables with data "NULL"

also, with taking away the latin 1 line, the table isn't myIsam either
Reply With Quote
  #54  
Old 07-13-2004, 01:56 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChuanSE
Pfff, i really really having a hard time with importing this db

a request: PLZ make phpmyadmin compliant sql with limit to 2mb, al what goes higher is /dev/null

i tried with mysqlimport on shell comand line, but that gave me like 300.000 warnings and all tables with data "NULL"

also, with taking away the latin 1 line, the table isn't myIsam either
You don't want to take away the whole line... just the part about default charset...

And, there's a split up zip file somewhere here, each one is about 5000 instructions. They phpmyadmin up really well.
Reply With Quote
  #55  
Old 07-13-2004, 04:13 AM
???`S?LV?R???`'s Avatar
???`S?LV?R???` ???`S?LV?R???` is offline
 
Join Date: Aug 2003
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one..
Reply With Quote
  #56  
Old 07-13-2004, 04:54 AM
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
You don't want to take away the whole line... just the part about default charset...

And, there's a split up zip file somewhere here, each one is about 5000 instructions. They phpmyadmin up really well.
Hmm, I entered them manually but when i created the table, i did took away the whole line, so my table isn't MyIsam :/ anyway to correct it without dropping the table?

The forcast system works but it doesn't save the selected options & location, and so i have no forecast displayed. Is that due to the rease of the myisam line?
Reply With Quote
  #57  
Old 07-13-2004, 05:29 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChuanSE
Hmm, I entered them manually but when i created the table, i did took away the whole line, so my table isn't MyIsam :/ anyway to correct it without dropping the table?

The forcast system works but it doesn't save the selected options & location, and so i have no forecast displayed. Is that due to the rease of the myisam line?
Hi

I checked your forum, you have everything right but two things.... (it not the MyIsam, it script and path related)

Send me an email, and I will send you the the scripts you need to fix!

In the email put your URL (http://community.digitainment.org) to your forum so I know which one I am working on!



Sonia
Reply With Quote
  #58  
Old 07-13-2004, 05:45 AM
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oki, i sent it allready

Thx
Reply With Quote
  #59  
Old 07-13-2004, 06:33 AM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a quick question on this.... it seems the list of locations is mostly in alphabetical order but not entirely. Is there a way to correct the sort order at all?

Btw... thanks very much for this! It's exactly what I was after.
Reply With Quote
  #60  
Old 07-13-2004, 06:47 AM
Marulatree's Avatar
Marulatree Marulatree is offline
 
Join Date: Nov 2002
Location: London
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with VB 3.0.3?
Reply With Quote
  #61  
Old 07-13-2004, 07:10 AM
MooMan65's Avatar
MooMan65 MooMan65 is offline
 
Join Date: Mar 2002
Location: New Zealand
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sonia, I can't seem to email anything to that address without it getting bounced back so I'll attach the package here.

Unfortunatly I can't give you access to the forum I'm hacking as I don't own the license or the server. I'm managing the forums for someone else. But hopefully that package is enough. 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 12:56 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.08691 seconds
  • Memory Usage 2,371KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_php
  • (6)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
  • (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