![]() |
|
#141
|
||||
|
||||
|
wx.com has been working fine for me...
__________________
My Blog GPS Discussion Forum *** Please do not contact me privately for help. Thanks. *** |
|
#142
|
|||
|
|||
|
Quote:
Do you have a link to the wx.com module? |
|
#143
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
Anyone home?????
|
|
#146
|
|||
|
|||
|
Somebody??
Anybody? I've never had this hard of a time getting help here. |
|
#147
|
|||
|
|||
|
Were you ever able to get the wx.com weather thing to work?
|
|
#148
|
|||
|
|||
|
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
|
|||
|
|||
|
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>
__________________
Discuss Carroll Shelby Automobiles @ ShelbyForums.com |
|
#150
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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. Enjoy! |
|
#153
|
|||
|
|||
|
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>
|
|
#154
|
|||
|
|||
|
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
|
|||
|
|||
|
awesome mod, thanks
|
|
#156
|
|||
|
|||
|
Is this legal to pull the data? Thanks, rg.
|
|
#157
|
|||
|
|||
|
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
|
|||
|
|||
|
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 | |
|
|
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 |