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 07-25-2004, 04:18 PM
Dark_Wizard Dark_Wizard is offline
Coder
 
Join Date: Jun 2004
Location: North Carolina
Posts: 24
Default Updated "Symantec Virus Alerts" Module

Here is an updated module that now works with your sites colors and fits in the side columns.

Demo: http://www.vbwar.com

Go to your Admincp add create a new template called "adv_portal_virus".

Insert this code into the template:
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] Virus Info</b></span></td>
	</tr>
	<tr>
		<td class="alt2">
<script src="http://securityresponse.symantec.com/avcenter/js/vir.js"></script>
<script src="http://securityresponse.symantec.com/avcenter/js/tools.js"></script>
<script src="http://securityresponse.symantec.com/avcenter/js/advis.js"></script>
<script src="$vboptions[bburl]/virus/vir_display.js"></script>
<script>
symDisplay();
</script>
	</tr>
</table>
<br />
Go to your Admincp - vba CMPS - Add Module

Module Title - Virus Alerts
Module Identifier - Leave blank
OR Template to Include - virus
Set it to active and select the column you want it in.
Save the module.

Now create a directory in your forum root named "virus" then download the attachment, unzip and upload it to the virus directory.

Now your done.
Attached Files
File Type: zip virus.zip (1.4 KB, 68 views)
  #2  
Old 07-25-2004, 04:22 PM
58sniper 58sniper is offline
Member
 
Join Date: Apr 2004
Posts: 80
Default Re: Updated "Symantec Virus Alerts" Module

Actually, as in all of the modules, the line that reads
Code:
<td class="tcat"><span class="smallfont"><b>$vboptions[blockbullet] Virus Info</b></span></td>
could be replaced with

Code:
<td class="tcat smallfont" style="font-weight: bold;">$vboptions[blockbullet] Virus Info</td>
This results in fewer tags (it's a little cleaner).

Thanks for the update! I still don't like the horrible code that Symantec, Trend Micro, and the others provide (it doesn't even come close to validating), but....
  #3  
Old 07-25-2004, 04:24 PM
Dark_Wizard Dark_Wizard is offline
Coder
 
Join Date: Jun 2004
Location: North Carolina
Posts: 24
Default Re: Updated "Symantec Virus Alerts" Module

Hehehe...maybe I should make it completely XML compliant...
  #4  
Old 07-25-2004, 04:27 PM
58sniper 58sniper is offline
Member
 
Join Date: Apr 2004
Posts: 80
Default Re: Updated "Symantec Virus Alerts" Module

The problem with their code is that they haven't updated it for YEARS. So you still see some HTML 3.x stuff. Definitely NOT XHTML compliant.....

I wish they would just give us an XML feed, and we could display/style it any way we wanted.
  #5  
Old 07-25-2004, 04:32 PM
Dark_Wizard Dark_Wizard is offline
Coder
 
Join Date: Jun 2004
Location: North Carolina
Posts: 24
Default Re: Updated "Symantec Virus Alerts" Module

Quote:
Originally Posted by 58sniper
The problem with their code is that they haven't updated it for YEARS. So you still see some HTML 3.x stuff. Definitely NOT XHTML compliant.....

I wish they would just give us an XML feed, and we could display/style it any way we wanted.
Agreed...but Sophos does and I'm working on that now....
 


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
Symantics Virus Alerts Chuckie Add-On Modules & Modifications 13 07-30-2005 06:49 PM
Module: Virus Map 58sniper Add-On Modules & Modifications 9 06-05-2005 05:14 AM
Module: Trend Micro virus info 58sniper Add-On Modules & Modifications 7 04-16-2005 04:16 PM
How to recreate the news module? HumanNature Troubleshooting / "How do I..." Questions 6 07-21-2004 10:09 PM
Add php script to custom page renderst Troubleshooting / "How do I..." Questions 10 06-22-2004 12:05 AM


All times are GMT -4. The time now is 10:52 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.