PDA

View Full Version : Display Featured Links at index with Thumbnail


Sxperm
12-12-2005, 10:03 AM
Hi, This mod just combine two thread from

here (http://www.phplinkdirectory.com/forum/viewtopic.php?t=1067) and here (http://www.phplinkdirectory.com/forum/viewtopic.php?t=1196)

:lol: I'm not a geek man but try to apply something.

First go to index.php and look at the end before "echo $tpl->fetch('main.tpl', $id);" put this:
Content visible to registered users only.

than go to main.tpl in /template/ and look at Content visible to registered users only.
under this code put this
Content visible to registered users only.

***Notice : this code Content visible to registered users only. you can edit text "5 Newest Featured Links" to whatever yoou want. :wink:

Then you'll see featured links display on your main page (index.php) with thumbnail shot. :lol: Thanks and give a credit for Jim_Westergren and daredashi

However, some problem with this mod is Inactive Featured Links be included to display too (only main page) and I don't know how to make it disappear :oops: :oops: If anyone knows please fix it to me too. :lol:

Ap0s7le
12-12-2005, 09:11 PM
Changed QUOTE tags to CODE.

-Casey

Sxperm
12-13-2005, 04:03 AM
Content visible to registered users only.

Thank you for your replied Casey but, please give me more instruction. I'm not a geek man, only html guy who newbie to PHP coding. :oops: :oops: As I mentioned before, this mod just combine from two other thread. :wink: Thanks you again.

Ap0s7le
12-13-2005, 01:08 PM
Sxperm,

Geek isn't a cool term, where I grew up its an insult.

Best of luck

-Casey

Ap0s7le
12-14-2005, 11:27 PM
Bah, I'll help.

Change
Content visible to registered users only.

To
Content visible to registered users only.

FB
12-15-2005, 01:29 AM
I tried it and man did it screw up my front page...it shoved 5 thumbnail shots under each category heading.....I think I'll wait until this one is proven it works....

Sxperm
12-15-2005, 06:05 AM
Content visible to registered users only.

Thank you very much, It's work. :lol:

Content visible to registered users only.

:oops: I see your problem and already fixed it. firstly, I posted that code at original condition but I believe you've changed some of main.tpl like me. I tried and found problem like oyu said :oops: ..Ok, here we go.

You've to goto /templates/main.tpl and find this line
Content visible to registered users only. (in line 76-80 approx.) and under that code put this
Content visible to registered users only.

and as Ap0s7le mentioned, you've to change some code in /index.php by find this code Content visible to registered users only.
before that code, put this
Content visible to registered users only.

I think it should like I see right now on my PC. :wink:

Cheers,
Sxperm

FB
12-15-2005, 08:02 AM
I do not have that script in my main.tpl

Sxperm
12-15-2005, 10:07 AM
Content visible to registered users only.

If you don't mind please post your mail.tpl code.

ilushkin
12-16-2005, 04:03 AM
Change this code
Content visible to registered users only.

to

Content visible to registered users only.

and Latest Featured Links won't get into Top Hits and Latest Links Categories....

Can Someone take a look how to fix messed up pagerank (in IE only, Firefox is all good) after the mod was applied?

http://www.ilushkin.com/

FB
12-16-2005, 04:23 AM
Content visible to registered users only.

If you don't mind please post your mail.tpl code.[/quote]

Content visible to registered users only.

ilushkin
12-21-2005, 08:56 AM
featured links from the front page get to search results...

FB
12-23-2005, 06:02 PM
Content visible to registered users only.

I have no idea what you are trying to say here???

ilushkin
12-23-2005, 10:01 PM
Content visible to registered users only.

I have no idea what you are trying to say here???[/quote]

featured links are displayed in the search results .

swapshop
01-12-2006, 12:54 AM
Can some one explain the whole mode in detail. I have attempted to follow this tread and found the index page has each catergory but has 5 pictures as per most other users.


Any idea of how to do this.
We just need say 5 sites+pictures to show on the front page please

Same as ilushkin.com site


thanks in advance

swapshop
01-16-2006, 09:27 AM
How do we change the background of the featured thumbnails to alternate?

angeljs
08-19-2006, 03:54 PM
Yes, though this is a great idea for a mod, and I have seen directories that have it working, I've ended up with images under all category headings, too. Any heads-up would be appreciated.