Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 link directory...can someone make this?
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #111
RE: link directory...can someone make this?
Yea, I was afraid something like this might happen with offsite thumb generation - I added the thumbnails as a an XThreads field....so I have the thumbs on my FTP.

HTML Code
1
2
3
4
5
6
7
8
9
10
<tr>
	<td align="left" class="{$bgcolor}" width="200"><a href="{$thread['threadlink']}" target="_blank"><img src="{$GLOBALS['threadfields']['xtldicon']['url']}/thumb180x60"}alt="no pic" /></a></td>
	<td class="{$bgcolor}">
		<strong><a href="{$thread['threadlink']}" target="_blank" class="{$inline_edit_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a></strong>
		({$thread['views']} {$lang->views}){$GLOBALS['threadfields']['xtldback']} 
		<div class="smalltext">{$GLOBALS['threadfields']['xtlddesc']}</div>
	</td>
	{$modbit}

</tr>


and I made a custom threadfield called xtldicon - its a file field, set to display only pictures, 1 thumbsize 180x60

Downside: you are hosting the files, users can get confused re acceptable sizes etc

Upside: less prone to borkage



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 01-29-2011 11:34 PM by leefish.)
01-29-2011 11:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: link directory...can someone make this? - leefish - 01-29-2011 11:32 PM

 Standard Tools
Forum Jump: