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
  #222  
Old 08-13-2004, 09:25 PM
Doug22 Doug22 is offline
 
Join Date: Mar 2004
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Beermonster
Did you do the updates on page 8 of this thread?

Yes I did. I fixed the profile.php but I still have nothing showing on my main forum page.
Reply With Quote
  #223  
Old 08-13-2004, 11:32 PM
Doug22 Doug22 is offline
 
Join Date: Mar 2004
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay I got it to show but it doesn't match my default theme. How can I make it match?
Reply With Quote
  #224  
Old 08-14-2004, 06:45 AM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Doug22
Okay I got it to show but it doesn't match my default theme. How can I make it match?
You need to edit the forecast/css/main.css
Reply With Quote
  #225  
Old 08-14-2004, 03:08 PM
Lostnode Lostnode is offline
 
Join Date: Nov 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, fixed my previous errors, had to do with the fact I was on a pivate lan trying to access a NetBio name (http://linserv) when I typed in the IP and acessed it that way, no more errors, however I have one problem with my tempolate, and I cannot figure out where it went wrong? Seeing how I did a direct copy and paste. Attached is an image of the offending page abd right below is the temopplate code...

cuurent_weather_one
Code:
</td>
 </tr>
 <tr>
  <td height='20' class='shead'>$tpl[location_header]$tpl[location]</td>
 </tr>
 <tr>
  <td height='6'></td>
 </tr>
  <td class='ninfo'>
   <table border='0' cellpadding='0' cellspacing='0' width='100%'>
    <tr>
     <td width='32%' height='20' class='ihead'>$tpl[rsun_text]</td>
     <td height='20' width='2%'></td>
     <td width='32%' height='20' class='ihead'>$tpl[time_text]</td>
     <td height='20' width='2%'></td>
     <td width='32%' height='20' class='ihead'>$tpl[ssun_text]</td>
    </tr>
    <tr>
     <td colspan='5' height='6'></td>
    </tr>
    <tr>
     <td width='32%' height='20' class='pinfo'>
      <table width='100%'>
       <tr>
        <td width='30%' class='pinfo'><img src='$tpl[rsun_icon]' title='$tpl[rsun_text]' alt='' /></td>
        <td width='70%' class='pinfo'>$tpl[sun_rise]</td>
       </tr>
      </table>
     </td>
     <td height='20' width='2%'></td>
     <td width='32%' height='20' class='pinfo'>$tpl[local_time]</td>
     <td height='20' width='2%'></td>
     <td width='32%' height='20' class='pinfo'>
      <table width='100%'>
       <tr>
        <td width='30%' class='pinfo'><img src='$tpl[ssun_icon]' title='$tpl[ssun_text]' alt='' /></td>
        <td width='70%' class='pinfo'>$tpl[sun_set]</td>
       </tr>
      </table>
     </td>
    </tr>
   </table>
  </td>
 </tr>
 <tr>
  <td height='6'></td>
 </tr>
 <tr>
  <td class='ninfo'>
   <table border='0' cellpadding='0' cellspacing='0' width='100%'>
    <tr>
     <td width='34%' class='atc'>
      <table border='0' cellpadding='0' cellspacing='0' width='98%'>
       <tr>
        <td height='20' class='ihead'>$tpl[cuurent_header]</td>
       </tr>
       <tr>
        <td height='16'></td>
       </tr>
       <tr>
        <td height='20' class='pinfo'>$tpl[current_text]</td>
       </tr>
       <tr>
        <td height=20 class='pinfo'><img src='$tpl[current_icon]' title='$tpl[current_text]' alt='' /></td>
       </tr>
       <tr>
        <td height='20' class='pinfo'><b>$tpl[current_temp]</b></td>
       </tr>
      </table>
     </td>
     <td width='66%'>
      <table border='0' cellpadding='0' cellspacing='0' width='98%'>
       <tr>
        <td height='20' class='pinfo'>$tpl[current_time]</td>
       </tr>
       <tr>
        <td height='4'></td>
       </tr>
       <tr>
        <td>
         <table border='0' cellpadding='0' cellspacing='0' width='98%'>
          <tr>
           <td height='20' width='47%' class='ihead'>$tpl[humd_header]</td>
           <td height='20' width='3%'></td>
           <td height='20' width='50%' class='pinfo'>$tpl[current_humd]</td>
          </tr>
         </table>
        </td>
       </tr>
       <tr>
        <td height='4'></td>
       </tr>
       <tr>
        <td>
         <table border='0' cellpadding='0' cellspacing='0' width='98%'>
          <tr>
           <td height='20' width='47%' class='ihead'>$tpl[vis_header]</td>
           <td height='20' width='3%'></td>
           <td height='20' width='50%' class='pinfo'>$tpl[current_vis]</td>
          </tr>
         </table>
        </td>
       </tr>
       <tr>
        <td height='4'></td>
       </tr>
       <tr>
        <td>
         <table border='0' cellpadding='0' cellspacing='0' width='98%'>
          <tr>
           <td height='20' width='47%' class='ihead'>$tpl[ultra_header]</td>
           <td height='20' width='3%'></td>
           <td height='20' width='50%' class='pinfo'>$tpl[current_ultra]</td>
          </tr>
         </table>
        </td>
       </tr>
       <tr>
        <td height='4'></td>
       </tr>
       <tr>
        <td>
         <table border='0' cellpadding='0' cellspacing='0' width='98%'>
          <tr>
           <td height='20' width='47%' class='ihead'>$tpl[baro_header]</td>
           <td height='20' width='3%'></td>
           <td height='20' width='50%' class='pinfo'>$tpl[current_baro] <span><img border='0' src='$tpl[icon_baro]' alt='' /></span></td>
          </tr>
         </table>
        </td>
       </tr>
       <tr>
        <td height='4'></td>
       </tr>
       <tr>
        <td>
         <table border='0' cellpadding='0' cellspacing='0' width='98%'>
          <tr>
           <td height='20' width='47%' class='ihead'>$tpl[direct_header] ($tpl[direct_type])</td>
           <td height='20' width='3%'></td>
           <td height='20' width='50%' class='pinfo'>$tpl[current_direct]</td>
          </tr>
         </table>
        </td>
       </tr>
      </table>
     </td>
    </tr>
   </table>
BTW, the image is of the 5 day forcast, even the 1 day forcast is messed up.....
Reply With Quote
  #226  
Old 08-14-2004, 03:18 PM
Lostnode Lostnode is offline
 
Join Date: Nov 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A little more info

Here are the rest of the images, like I said, everything works create (btw, I implemented the css file, which was wrong cuz it was only pointing to the foler /forcast and not /forums/forcast, still didn;t fix the problem though)

EDIT

Never mind folks, did a repast, seems I missed a <table> tag... LOL all works GREAT and I clicked the Install button.

Awsome script....
Reply With Quote
  #227  
Old 08-14-2004, 03:54 PM
Lostnode Lostnode is offline
 
Join Date: Nov 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, last little problem, and I dunno if it can be fixed in any way.

I just singed onto anohter forum that has the weather mod on it, and mine does this as well... attacked are the registration image, and the config image from the UserCP

When you register, you get a number, which I know is very confusing, in the UserCP you get the actual menu, is there any way to either 1. Remove it from the registration page, or 2 make it a selection like it is in the usercp?
Reply With Quote
  #228  
Old 08-15-2004, 06:55 PM
Mickie D Mickie D is offline
 
Join Date: Jun 2002
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this be possible to work with https sites ?

my apache error log tells me this:
Code:
[Sun Aug 15 20:33:43 2004] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows)
[Sun Aug 15 20:33:43 2004] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?]
[Sun Aug 15 20:39:56 2004] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows)
[Sun Aug 15 20:39:56 2004] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?]
i have edited the url section in the functions_weather with no luck (near the top of file)

thanks very much for the help
Reply With Quote
  #229  
Old 08-17-2004, 06:15 PM
Overseer Overseer is offline
 
Join Date: May 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been plugging away with this hack, and am getting closer. 2 things. I cannot see the options in the user CP unless I move them to a different display page, such as 'options'. When I can see them, I can choose all options, but I get a 'no forecast selected' when I choose the city I would like to view. Any help is appriciated. Thank you in advance. :ermm:
Reply With Quote
  #230  
Old 08-17-2004, 07:37 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have an incompatibility issue with the upgrade from 3.0.1 to 3.0.3. If I use the file you made me specially to my own specifications (which works perfectly on 3.0.1) there are no profile field clashes but on the weather page, the Weather Location shows up as the numeric value in a text window instead of saying that actual location (and there's no button to select one). Now if I apply the file edits freshly to vB 3.0.3 files, that DOES show properly but I get a clash with one of my profile fields in 'edit profile'. The problem seems (as before when I installed the hack) to be with functions_user.php.

As far as I can make out, this is the key bit of code:

The original code that worked on 3.0.1 was;
PHP Code:
if ($profilefield['type'] == 'input' AND $profilefield['hidden'] == '1' AND $fomtype == '6' )
                        {
                                eval(
'$tempcustom = "' fetch_template('userfield_weather') . '";');
                        }
                        else if (
$profilefield['type'] == 'input')
                        {
                        eval(
'$tempcustom = "' fetch_template('userfield_textbox') . '";');
                        }
                        else if (
$profilefield['type'] == 'textarea')
                        {
                                eval(
'$tempcustom = "' fetch_template('userfield_textarea') . '";');
                        } 
That's the code that now shows the Weather Location as a text input box with the numeric value.

The code below is the other code... which leaves uncached weather templates anyway;
PHP Code:
if ($profilefield['type'] == 'input' AND $profilefield['hidden'] == '1')
                {
                        eval(
'$tempcustom = "' fetch_template('userfield_weather') . '";');
                }
                else if (
$profilefield['type'] == 'input')
                {
                        eval(
'$tempcustom = "' fetch_template('userfield_textbox') . '";');
                }
                else if (
$profilefield['type'] == 'textarea')
                {
                        eval(
'$tempcustom = "' fetch_template('userfield_textarea') . '";');
                } 
They appear to be the same except for this bit;
PHP Code:
AND $fomtype == '6' 
Reply With Quote
  #231  
Old 08-19-2004, 08:06 AM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello All,

I follow the instruction to the last bit. However, my system fail to update the Forecast Location. I went thru to the process of selecting the country, states etc. without error. At the end it fails to update the location.

My userfields are kinda wacky they are 7,9,10,11,12

Any help would be greatly appreciated.

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 05:45 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.08785 seconds
  • Memory Usage 2,346KB
  • 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
  • (2)bbcode_code
  • (3)bbcode_php
  • (2)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
  • (2)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