PDA

View Full Version : Wild Link Module


dchance
08-04-2004, 11:51 AM
This module will display Wild Links from Joke A Day on your portal. Change the "howmany=5" to however many links you would like. Be carefull some of the links can be rather nasty, not for little children.



How To:
Create a Template named adv_portal_wild




<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] Wild Links </b></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">

<!-- Begin custom code -->


<tr>
<td>
<font face = "arial" color = "black">
<script src="http://www.jokeaday.com/cgi-bin/wild_links2_feed.cgi?howmany=5" LANGUAGE="javascript"></script>
</td>
</tr>


<!-- End custom code -->

</td>
</tr>
</table>
<br />



Create a Module:
Module Title: Wild Links (or whatever you want)
Module Identifier: Blank
File to include: None
Template to include wild

Graham
08-05-2004, 11:18 AM
Is there any way I can change this to link to 5 forum posts?

Regards

Graham.

Our Sponsors
 

dchance
08-05-2004, 12:23 PM
It is linked to 5 posts last two is there advertisements. Or do you mean your forum post in your forum?

Graham
08-05-2004, 12:59 PM
Yes thats what I had in mind though I canīt see where to replace the five links?

Our Sponsors
 

dchance
08-05-2004, 04:18 PM
If I understand you would like your own personal links to your forum's or messages.
Try changing the template to this and do everything else the same. Change the P= and the post number to the correct post



<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] Wild Links </b></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">

<!-- Begin custom code -->

<DIV><a href="showthread.php?p=15#post15" target="_blank">first link</DIV>
<DIV><a href="showthread.php?p=16#post16" target="_blank">second link</DIV>
<DIV><a href="showthread.php?p=15#post15" target="_blank">third link</DIV>
<DIV><a href="showthread.php?p=16#post16" target="_blank">forth link</DIV>
<DIV><a href="showthread.php?p=15#post15" target="_blank">fith link</DIV>
<!-- End custom code -->

</td>
</tr>
</table>
<br />





If you would just like to link to the forum do this. Of course you need to change the links...


<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] Forum Links</b></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">

<!-- Begin custom code -->


<DIV>
<DIV><A href="http://www.autobodyhowto.com/forum/forumdisplay.php?f=9"><STRONG><FONT
color=#22229c>General</FONT></STRONG></A></DIV>
<DIV><A href="http://www.autobodyhowto.com/forum/forumdisplay.php?f=10"><STRONG><FONT
color=#22229c>Customize Your Ride </FONT></STRONG></A></DIV>
<DIV><A href="http://www.autobodyhowto.com/forum/forumdisplay.php?f=4"><STRONG><FONT
color=#22229c>Clipping Cars</FONT></STRONG></A> </DIV></DIV>
<DIV><A href="http://www.autobodyhowto.com/forum/forumdisplay.php?f=7"><STRONG><FONT
color=#22229c>Non-Auto Body Work</FONT></STRONG></A> </DIV>
<DIV><A href="http://www.autobodyhowto.com/forum/forumdisplay.php?f=8"><STRONG><FONT
color=#22229c>For Sale</FONT></STRONG></A></DIV></DIV>
<DIV><A href="http://www.autobodyhowto.com/forum/forumdisplay.php?f=5"><STRONG><FONT
color=#22229c>Tools</FONT></STRONG></A> </DIV>
<DIV><A href="http://www.autobodyhowto.com/forum/forumdisplay.php?f=6"><STRONG><FONT
color=#22229c>Tools and Supplies</FONT></STRONG></A> </DIV>


<!-- End custom code -->

</td>
</tr>
</table>
<br />





That should get you started if not let me know...
:)