vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Add-On Modules & Modifications

 
 
Thread Tools Display Modes
  #141  
Old 11-16-2005, 02:45 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
Senior Member
 
Join Date: Jan 2004
Location: Raleigh, NC
Posts: 1,364
Default Re: Weather Module

wx.com has been working fine for me...
__________________
My Blog
GPS Discussion Forum

*** Please do not contact me privately for help. Thanks. ***
  #142  
Old 11-16-2005, 02:50 PM
javo javo is offline
Member
 
Join Date: May 2005
Posts: 50
Default Re: Weather Module

Quote:
Originally Posted by ConqSoft
wx.com has been working fine for me...

Do you have a link to the wx.com module?
  #143  
Old 11-16-2005, 02:52 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
Senior Member
 
Join Date: Jan 2004
Location: Raleigh, NC
Posts: 1,364
Default Re: Weather Module

You don't need a different module... Just replace the section of the template that points to Weather Room.

wx.com's format is:

<a target="_blank" href="http://www.wx.com/myweather.cfm?ZIP=$bbuserinfo[field9]"><img src="http://www.wx.com/partnership/sticker.cfm?zip=$bbuserinfo[field9]" alt="" border="0"></a>


Replace the "field9" parts with the field you are using for ZIP.
__________________
My Blog
GPS Discussion Forum

*** Please do not contact me privately for help. Thanks. ***
  #144  
Old 11-17-2005, 09:44 AM
javo javo is offline
Member
 
Join Date: May 2005
Posts: 50
Default Re: Weather Module

I've tried pasting the code in my adv_portal_weather template and it's still not working.. ConqSoft could you please verify this code?
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] Weather Conditions</b></span></td>
</tr>
<tr>
<td class="$getbgrow"><span class="smallfont">

<if condition="!$bbuserinfo['userid']">
<span class="smallfont">Registered members can see their local weather conditions here.<br /><br /><phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase></span>
<else />
<if condition="$bbuserinfo[field6] !=''">
<a target="_blank" href="http://www.wx.com/myweather.cfm?ZIP=$bbuserinfo[field6]"><img src="http://www.wx.com/partnership/sticker.cfm?zip=$bbuserinfo[field9]" alt="" border="0"></a>
<else />
<A HREF="$vboptions[bburl]/profile.php?do=editprofile">Add Zip Code</A> to show weather conditions.
</if>
</if>
</span>
</td>
</tr>
</table>
<br/>
  #145  
Old 11-18-2005, 10:21 AM
javo javo is offline
Member
 
Join Date: May 2005
Posts: 50
Default Re: Weather Module

Anyone home?????
  #146  
Old 11-22-2005, 01:56 PM
javo javo is offline
Member
 
Join Date: May 2005
Posts: 50
Default Re: Weather Module

Somebody??
Anybody?

I've never had this hard of a time getting help here.
  #147  
Old 01-03-2006, 10:48 PM
cdoyle cdoyle is offline
Member
 
Join Date: Nov 2004
Posts: 37
Default Re: Weather Module

Were you ever able to get the wx.com weather thing to work?
  #148  
Old 01-08-2006, 02:47 PM
dave34 dave34 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 2
Default Re: Weather Module

you need to change the field for the image to match yours


<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] Weather Conditions</b></span></td>
</tr>
<tr>
<td class="$getbgrow"><span class="smallfont">

<if condition="!$bbuserinfo['userid']">
<span class="smallfont">Registered members can see their local weather conditions here.<br /><br /><phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase></span>
<else />
<if condition="$bbuserinfo[field6] !=''">
<a target="_blank" href="http://www.wx.com/myweather.cfm?ZIP=$bbuserinfo[field6]"><img src="http://www.wx.com/partnership/sticker.cfm?zip=$bbuserinfo[field9]" alt="" border="0"></a>
<else />
<A HREF="$vboptions[bburl]/profile.php?do=editprofile">Add Zip Code</A> to show weather conditions.
</if>
</if>
</span>
</td>
</tr>
</table>
<br/>
  #149  
Old 01-17-2006, 12:49 PM
yaaho yaaho is offline
Member
 
Join Date: Mar 2004
Posts: 48
Default Re: Weather Module

I had to remove this code because of a double header:
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] Weather Conditions</b></span></td>
</tr>
It works as the last module in my right column but if I put it in the center or left, the whole page get screwed up. Every module after that one goes below and is as wide as the whole page. Maybe I will keep playing around with it and see what I can change to make it work.
  #150  
Old 04-23-2006, 07:57 PM
mrpibbny mrpibbny is offline
Junior Member
 
Join Date: Feb 2006
Posts: 6
Default Re: Weather Module

I got it to work on my site with the wx.com code inserted, but it isn't very good looking. If anyone comes up with a site that can produce the same result but make it better looking, please post it.
  #151  
Old 05-22-2006, 04:21 PM
Mischievious Mischievious is offline
Junior Member
 
Join Date: May 2006
Posts: 4
Default Re: Weather Module

Would someone please help me with the proper coding for my site? The forum is not located in the root. And my profile field number is 7.

P.S. I'm using the latest vBadvanced with vBulletin 3.5.4

Last edited by Mischievious; 05-22-2006 at 04:29 PM.
  #152  
Old 06-29-2006, 10:13 PM
hkeleher hkeleher is offline
Junior Member
 
Join Date: May 2004
Posts: 4
Default Re: Weather Module

I'm using an older version of both VB and VBA but this is the code I configured for my site:

Code:
<if condition="$bbuserinfo[field7] !=''">
<a target="_blank" href="http://www.wx.com/myweather.cfm?ZIP=$bbuserinfo[field7]"><img src="http://www.wx.com/partnership/sticker.cfm?zip=$bbuserinfo[field7]&config=png&alt=hwivzone&daysonly=1" alt="Weather for $bbuserinfo[field7]" border="0"></a>
<else />
<a href="$vboptions[bburl]/profile.php?do=editprofile">Add your Zip Code</a> to show local weather conditions.
Be sure to change the field ID as appropriate. Mischievious you're using the same field so this should be an easy cut and paste for you.

Enjoy!
  #153  
Old 07-04-2006, 05:53 PM
TYorke TYorke is offline
Member
 
Join Date: Apr 2004
Posts: 32
Default Re: Weather Module

This works in VBA v2.x

Here's my template (Optimized for Canadian Users)

Code:
<tr>
    <td class="$getbgrow" align="center"><span class="smallfont">

    <if condition="!$bbuserinfo['userid']">
      <span class="smallfont">Registered members can see their local weather conditions here.<br /><br /><phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase></span>
    <else />
      <if condition="$bbuserinfo[field5] !=''">
        <script language=javascript>var LocationID = '$bbuserinfo[field5]';</script>
	<script language=javascript src='http://www.theweathernetwork.com/weatherbutton/wxbutton.js'></script>
      <else />
        <a href="$vboptions[bburl]/profile.php?do=editprofile">Add City Code <span class="smallfont">(i.e. CAON0096)</span></a> to Show Weather Conditions.
      </if>
    </if>
      </span>
    </td>
  </tr>
The code above fixes the double table header as well as the stretching mentioned previously.
  #154  
Old 07-19-2006, 11:35 PM
cdoyle cdoyle is offline
Member
 
Join Date: Nov 2004
Posts: 37
Default Re: Weather Module

Does anyone know of one that has the 5 day forcast like the old version had?

I was using that weathercontent one, but it stopped updating. I've went to the WX one, but it only seems to display the current weather.

I really liked the 5 day forcast version.
  #155  
Old 08-20-2006, 01:49 PM
myridespace myridespace is offline
Member
 
Join Date: Jul 2006
Posts: 82
Default Re: Weather Module

awesome mod, thanks
  #156  
Old 08-23-2006, 05:56 PM
rolando rolando is offline
Member
 
Join Date: Jan 2006
Posts: 50
Default Re: Weather Module

Is this legal to pull the data? Thanks, rg.
  #157  
Old 09-04-2006, 08:12 PM
tvguy tvguy is offline
Junior Member
 
Join Date: Aug 2006
Location: Las Vegas NV
Posts: 11
Unhappy Re: Weather Module goes to a White & Yellow page ad

when i use above code from cLord all I get is a - Search White Pages & Yellow Pages... There is not weather enywhere and any link to it..


Thoughts anyone???

TVGUY
__________________
"My Head Hurts - from all of this code"
  #158  
Old 09-08-2006, 07:50 PM
iamnofear iamnofear is offline
Junior Member
 
Join Date: Feb 2005
Posts: 1
Default Re: Weather Module

I got
Weather for xxxx provided by weatherroom.com.
How can I display directly ?
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weather Block Module joeychgo Troubleshooting / "How do I..." Questions 6 01-13-2006 04:31 PM
[Suggestion] Option needed when adding module to Homepage bluesteel Feedback & Suggestions 3 05-20-2004 08:34 PM
Weather Add-On Chuckie Add-On Modules & Modifications 0 05-17-2004 05:24 PM


All times are GMT -4. The time now is 02:24 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.