PDA

View Full Version : How to make alexa TB appear for "Featured Links" o


Sxperm
12-12-2005, 06:29 AM
Dear all,

I saw a thread about mod to display alexa thumbnail shot here (http://www.phplinkdirectory.com/forum/viewtopic.php?t=1125&highlight=thumbnail) but, How to make thumbnail shot appears for "Featured Links" only? not for regular link. Please give me some advice. :lol:

regards,
Sxperm

Ap0s7le
12-12-2005, 07:58 PM
You could always do an IF statement in Smarty.

For example only, as this isn't proper smarty.

IF $featured_link
SHOW THUMB
/IF

Do you understand?

Learning is fun, that's what my Mom always use to say.

-Casey

Neticus
12-14-2005, 05:47 AM
hello Sxperm did you manage to do this?

In pagerank.tpl i tried what Ap0s7le said:

{if $feat_links}
pagerank.tpl code
{/if}

But nothing happened. If you do manage to get it working id be grateful if for the share. :)

Thnks
Net

Ap0s7le
12-14-2005, 07:24 AM
Oh dude... I don't mean that LITERAL, I was showing you the logic is all.

Here, this is literal now.

Open up LINK.TPL, find the thumbnail code and put this around it.

Content visible to registered users only.

Meaning, once you're done it should be in this manner

Content visible to registered users only.

Regards,

-Casey

Neticus
12-14-2005, 05:06 PM
This works fine, thankyou! :)

Anyone else, for a visual guide this is how my code now looks in link.tpl

Content visible to registered users only.

Hope it helps you too :)
Net.

Ap0s7le
12-14-2005, 08:05 PM
No prob.

-Casey

jayg
01-11-2006, 05:34 AM
Great mod thanks, used it just for featured links but lost the PR bar for all the rest of the directoy listings. Any idea on how to get them back?

thanks
jg123

anandnadaar
01-27-2006, 10:10 PM
Content visible to registered users only.

Well even I was banging my head to find a way to display the Alexa thumbs without sacrificing the PageRank.

but no clue on how to do that..

Can anybody help please..

Regards,
www.directory.kreationstudio.com