PDA


View Full Version : Module: Virus Map


58sniper
06-13-2004, 09:12 PM
This will add a virus map module to your CMPS...

In your Admincp - Styles & Templates - Style Manager - Add a new template called "adv_portal_virusmap".

Insert this code into the template:


<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 Map</b></span></td>
</tr>
<tr>
<td class="alt2"><script type="text/javascript" language="JavaScript1.1" src="http://www.trendmicro.com/syndication/wtc/wtc_applet_js.asp"></script></td>
</tr>
</table>
<br />


Save the template!

Still in your Admincp - vBa CMPS - Add Module

- Module Title - Virus Map
- Module Identifier - Leave blank
- OR Template to Include - virusmap
- Activate and select the column you want it in.
- Save and you are done.


Note: This is a fairly wide module, and is best suited in the center.

Lurk
06-14-2004, 12:06 PM
screenshot please?

58sniper
06-14-2004, 03:04 PM
Added screenshot

kafi
06-16-2004, 12:19 AM
Can you write me how to include regular html page, not JS? I need to include specific whole site. thank you

Bridger
08-24-2004, 01:36 PM
I have changed this line so the graphic is centered on higher resolution displays:


<td class="alt2" align="center"><script type="text/javascript" language="JavaScript1.1" src="http://www.trendmicro.com/syndication/wtc/wtc_applet_js.asp"></script>


Hope you dont mind.

Nice module :)

Gizmo[5h1t3]
02-12-2005, 01:07 AM
works like a charm mate.....and looks the dogs as well!!

TTG
02-12-2005, 07:03 PM
Works well .. thanks for the addition.

freebase69
05-20-2005, 01:34 PM
I edited 58sniper's code to use the feed from Panda Antivirus since they have some really great feeds. It's really simple jsut in case anyone else wanted to use Panda or use some other company's feeds.

<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 Map</b></span></td>
</tr>
<tr>
<td class="alt2">
<!-- Begin -- Virus Map Code --><script>function abrirMapa(){ window.open("http://www.pandasoftware.com/virus_info/flash/mapa_popup.asp?idioma=2&color=FFFFFF", "mapavirus", "toolbar=no,width=613,height=377,resizable=no")}</script><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="163" HEIGHT="134" id="mapa_webmasters" ALIGN=""> <PARAM NAME=movie VALUE="http://www.pandasoftware.com/virus_info/flash/mapa_webmasters.swf?idiom=2&dir=http://www.pandasoftware.com/virus_info/exports/"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="http://www.pandasoftware.com/virus_info/flash/mapa_webmasters.swf?idiom=2&dir=http://www.pandasoftware.com/virus_info/exports/" menu=false quality=high bgcolor=#FFFFFF WIDTH="373" HEIGHT="189" NAME="mapa_webmasters" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT><!-- End -- Virus Map Code --></td>
</tr>
</table>
<br />

The italic code is from Panda and from what I gathered all you do is replace the lines from trend micro or whomever else and insert your own. I added it tot he top left of my portal. Attached is a screenie.

Judge Ruckus
05-21-2005, 01:15 AM
Just installed the Panda version as a side block and works good, thanks!

michael5472
06-05-2005, 06:14 AM
cheers :D