PDA

View Full Version : Add screenshots ( thumbnail ) with the Links Module on CMPS


rainyleaves
09 Sep 2006, 12:47
Thanks to theMusicMan & Brian.
This is my first hack.(I'm not a programer)
We have tried to make it easy.

** What it does:
You can display screenshot with link module on your CMPS.




** How it works:

1. Install this :
http://www.vbadvanced.com/forum/showthread.php?t=1977

2. Install this :
http://www.vbadvanced.com/forum/showthread.php?t=7527&highlight=%26lt%3B%21--%26lt%3Bimg+alt%3D%26quot%3B+src%3D%26quot%3B%24stylevar%5Bimgdir_statusicon%5D% 2F%24link%5Bfolder%5D.gif+%2F%26gt%3B--

3. Now open your templete
adv_portal_linkbits

Find
<td class="$getbgrow">

Add above
<td class="alt2"><!--<img alt="" src="$stylevar[imgdir_statusicon]/$link[folder].gif" />--><a href="showlink.php?l=$link[linkid]" target="_blank"><img border="0" alt="" src="http://yoursite.com/forums/links/images/screen_$link[linkid].gif"></a></td>
* You must change : 'yoursite.com/forums/'


Thats all !!
Hope you like it...