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
  #1  
Old 05-17-2004, 05:24 PM
Chuckie's Avatar
Chuckie Chuckie is offline
Senior Member
 
Join Date: Jan 2004
Posts: 124
Default Weather Add-On

Simple and generic.

Make a new Template in your Admincp called "adv_portal_weather"

Add this code: (Besure to sign up for an account at http://www.timetemperature.com/weather_content.html )

Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vboptions[blockbullet] Weather</b></span></td>
</tr>
<tr>
<td class="alt1"><span class="smallfont">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
		<legend>Current Weather</legend>
		<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%"> 
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> 
<tr>
    <td valign="top" align="center" width="50%"> {Insert you weather data from here http://www.timetemperature.com/weather_content.html }
     </td>
    <td
    valign="top" align="center" width="50%"><a
    href="http://radar.accuweather.com/adcbin/public/radar_index.asp?"><img
    src="http://sirocco.accuweather.com/nx_mosaic_400x300c/sir/inmasirus_.gif" width="325" height="225"></a><a
    href="http://wwwa.accuweather.com/adcbin/public/sat_index.asp?getArea=UN_REG&amp;type=loop&amp;button1=Get+Satellite&amp;sattype=ir&amp;partner=23878"></a></td>
  </tr>
</table></td></tr></table>
</div>
</fieldset>
</span>
</td>
</tr>
</table>
<br />
</body>
Go to your Admincp - vba CMPS - Add Module

Module Title - Weather
Module Identifier - weather
OR Template to Include - weather
Make it active and select the column you want it in.
Save and you are done.

I added it to a tech page but you can add it to any page you like.


!!!!Please Note!!!!!!!!!!!!
Above is a custom block. If you want you board look to stay consistant use Brain's original Block for your cmps found here - http://www.vbadvanced.com/membersare...=5#generictemp

Last edited by TCS; 05-30-2004 at 10:37 AM.
 


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


All times are GMT -4. The time now is 08:50 AM.

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.