PDA

View Full Version : Alexa thumbnail for featured links only


deepimpact71
05-18-2006, 05:03 PM
Hi

I was wondering if there's any way to show Alexa thumbnail for featured listings only. To be more specific.. A default featured listing the way it looks plus an Alexa thumbnail on one side. It might make things more interested for advertisers if their listings stand out among others.

Thanks
Deepimpact

anon
05-18-2006, 07:14 PM
Content visible to registered users only.
I think what you want is what i did for submitdot.com the other day.

http://www.submitdotcom.com/Directories/Webmaster_Directories/

that?

edit:
note* that plug-in she has going, i think is screwing with her directory.

deepimpact71
05-18-2006, 08:41 PM
Hi

Yes, that's exactly what I am looking for. Is this mod available for free? If yes, how can I get it?

Thanks!

Deepimpact

PS: I didn't really understand themessage at the bottom of your last post. You said that it is messing up her dir?

bobby9101
05-18-2006, 09:57 PM
take a look at http://www.phplinkdirectory.com/forum/showthread.php?p=20119#post20119
that should do the trick for you

deepimpact71
05-19-2006, 02:12 AM
Hi

Thanks a lot but unfortunately it didn't work. I followed your instructions but something is off I guess. I am using the version 2 (current) on mysite.

Thanks again for your time :)
Deepimpact

bobby9101
05-19-2006, 02:21 AM
please post your link.tpl

deepimpact71
05-19-2006, 08:46 PM
Hi

here's the code of link.tpl that you asked meto post

Many thanks for taking care of this.

Deepimpact

-------------

{strip}
<table><tr>
{* show page rank *}
{if $smarty.const.SHOW_PAGERANK}
<td>
<p style="clear: both">{include file="pagerank.tpl" pr=$link.PAGERANK}
</td>
{/if}
<td>
<a id="{$link.ID}" href="{$link.URL}"
{* nofollow *}
{if $link.NOFOLLOW or ($link.RECPR_VALID eq 0 and
($smarty.const.RECPR_NOFOLLOW eq 2 or
($smarty.const.RECPR_NOFOLLOW eq 1 and $link.RECPR_REQUIRED eq 1)))
} rel="nofollow"
{/if}{if $smarty.const.ENABLE_BLANK} target="_BLANK"{/if}>
{$link.TITLE}</a> <span class="url">- {$link.URL}</span>
<p>{$link.DESCRIPTION}</p>
</p>
</td>
</tr></table>
{/strip}

bobby9101
05-19-2006, 09:16 PM
try this instead:

{strip}
<table><tr>
{if $link.TYPE eq 3}<td>
<a href="{$link.URL}" id="{$link.ID}" rel="nofollow"><img src="http://pthumbnails.alexa.com/image_server.cgi?id=[yoursite.com]&amp;size=small&amp;url={$link.URL}" width="111" height="87"></a>
</td>{/if}
{* show page rank *}
{if $smarty.const.SHOW_PAGERANK}
<td>
<p style="clear: both">{include file="pagerank.tpl" pr=$link.PAGERANK}
</td>
{/if}
<td>
<a id="{$link.ID}" href="{$link.URL}"
{* nofollow *}
{if $link.NOFOLLOW or ($link.RECPR_VALID eq 0 and
($smarty.const.RECPR_NOFOLLOW eq 2 or
($smarty.const.RECPR_NOFOLLOW eq 1 and $link.RECPR_REQUIRED eq 1)))
} rel="nofollow"
{/if}{if $smarty.const.ENABLE_BLANK} target="_BLANK"{/if}>
{$link.TITLE}</a> <span class="url">- {$link.URL}</span>
<p>{$link.DESCRIPTION}</p>
</p>
</td>
</tr></table>
{/strip}

bobby9101
05-19-2006, 09:16 PM
oh and can you post a URL please?

deepimpact71
05-20-2006, 06:09 PM
Hi

I guess I am not lucky.. it didn't work either

I am checking your mod on this page http://www.lakshay.com/directory/sports/cricket/

as this is the only page which has 3-4 sites listed :-) I just finished entering about 1000 categories.. now it's time for redesigning and filling up the database with quality links. I am a hard worker so it may take some time but I plan on having a good dir :-)

Many thanks for tryingto help me out with featured listing... I appreciate it... wanna giveit another try? :-)

Deepimpact

bobby9101
05-20-2006, 06:28 PM
I updated the code on the page where i released the mod, check there and sue the new code :)

deepimpact71
05-20-2006, 11:10 PM
sorry this one didn't work either...

Deepimpact

munt
05-20-2006, 11:18 PM
did you change [yoursite.com] field? that is needed

Neticus
05-21-2006, 01:46 AM
@deepimpact

Try this: (4th post)

http://www.phplinkdirectory.com/forum/showthread.php?p=20364#post20364

vegabond
05-21-2006, 06:35 AM
Content visible to registered users only.
Try it:
Find this code in main.tpl:
Content visible to registered users only.

Replace with this:
Content visible to registered users only.

and make a file name is: featured_link.tpl. New file content will be same as link.tpl. then you can make changes any thing for featured links. adding Thumbnail, color changes whatever you need.

Thanks
Shabu anower