Results 1 to 14 of 14

Thread: Thumbnails - Links

  1. #1
    Senior Member
    Join Date
    Aug 2004
    Posts
    348

    Default Thumbnails - Links

    Moved this from pre-sales questions...

    Hope others find this useful, I integrated a free service from ThumbShots.org into my VBAlinks site...

    See a demo here

    http://www.trumpetcentral.com/links/

    I modified the adv_links_linkbit as shown in the attachment...

    One question, when someone clikcs on the thumbnail - I made it go directly to the links website... how do I howver cuase the "view" counter to increment?

    Any ideas out there?

    Thanks -
    InterFX
    Attached Files Attached Files

  2. #2
    Member
    Join Date
    Feb 2004
    Location
    London, UK
    Posts
    53

    Default Re: Thumbnails - Links

    Hey interfx,

    Nice little hack, I always wanted thumbnail images. I tried your hack and it worked, only problem is the lack of thumbs to be displayed. On one page featuring around 8 links, only one thumbnail shows up. I checked your site, and you have most of them on show .

    So I guess it depends on what subject your links are based on will determine number of successful thumb displays.

  3. #3
    Super Moderator KW802's Avatar
    Join Date
    Mar 2004
    Location
    A galaxy far, far away...
    Posts
    6,609

    Default Re: Thumbnails - Links

    Interfx, nice hack. Adds a new dimension to it.

  4. #4
    Senior Member
    Join Date
    Aug 2004
    Posts
    348

    Default Re: Thumbnails - Links

    Thumbnails only show up for the free version if the site is listed in DMOZ.org... Tell your persons to get their sites submitted to DMOZ.org - and then their thumbnails will show up in a few weeks...

    If not, there is a monthly paid version which will show thumbnails of all sites... (of course for a fee)

    Good luck -
    InterFX

  5. #5
    Senior Member
    Join Date
    Jan 2004
    Location
    Miami
    Posts
    1,040

    Default Re: Thumbnails - Links

    Quote Originally Posted by interfx
    Thumbnails only show up for the free version if the site is listed in DMOZ.org... Tell your persons to get their sites submitted to DMOZ.org - and then their thumbnails will show up in a few weeks...

    If not, there is a monthly paid version which will show thumbnails of all sites... (of course for a fee)

    Good luck -
    InterFX
    what would be nice is to have a mod that quietly submit the site to the dmoz also when user submits his site.

  6. #6
    Senior Member
    Join Date
    Aug 2004
    Posts
    348

    Default Re: Thumbnails - Links

    I agree...

    I also need help making the thumbnail image URL click, increment the counter of page views... Anyone know how to do this? This should be simple to do, but I haven't figured it out yet...

    Any ideas out there?

  7. #7
    Senior Member
    Join Date
    Jan 2004
    Location
    Miami
    Posts
    1,040

    Default Re: Thumbnails - Links

    Quote Originally Posted by interfx
    I agree...

    I also need help making the thumbnail image URL click, increment the counter of page views... Anyone know how to do this? This should be simple to do, but I haven't figured it out yet...

    Any ideas out there?
    I am not sure if this is what you are looking for, but this code will make image clickable and will increment the view.

    Code:
    <a href="showlink.php?l=$link[linkid]" target="_blank">
    <img src="http://open.thumbshots.org/image.pxf?url=$link[url]" border="0" onload="if (this.width>50) this.border=1; this.alt='$link[name]';"></a>

  8. #8
    Senior Member
    Join Date
    Aug 2004
    Posts
    348

    Default Re: Thumbnails - Links

    Hey, that worked perfectly...

    Thanks again for your help...

    InterFX

  9. #9

    Default Re: Thumbnails - Links

    thank you interfx, definetly a good addon
    God180.com <---------------------My heavily modified vBulletin board

  10. #10
    Junior Member
    Join Date
    Nov 2004
    Posts
    14

    Default Re: Thumbnails - Links

    This info might be useful to some... I use the paid service from thumbshots, and for it (and maybe the free service too), dynamic urls need to be encoded so they do not interfere with the dynamic thumbshots url which returns the thumbshot (per the instructions in the member's area of thumbshots).

    So this required a minor hack of /includes/functions_links.php.

    Below this line:
    Code:
    $link['lastpostusername'] = stripslashes($link['lastpostusername']);
    I added this line:
    Code:
    $link['url_encoded'] = urlencode($link['url']);
    Then I use the $link[url_encoded] variable in the thumbshots linking code in place of $link[url] (in the template attachment of post #1). It seems to work, as all my thumbshots show up now, including those of dynamic urls.
    Last edited by coolegg; 02-06-2005 at 09:28 PM.

  11. #11
    Junior Member
    Join Date
    Dec 2004
    Posts
    26

    Default Re: Thumbnails - Links

    nice hack! added!

  12. #12

    Default Re: Thumbnails - Links

    Thanks a bunches for this!
    Huggies*
    ~Some Days I Live Online ~*~ Some Days I Just Visit~

  13. #13
    Senior Member
    Join Date
    Nov 2004
    Posts
    107

    Default Re: Thumbnails - Links

    can you write the steps for doing this hack?

  14. #14
    Senior Member
    Join Date
    Aug 2004
    Posts
    348

    Default Re: Thumbnails - Links

    Very simple, find adv_links_linkbit in your VB Templates, and paste in the text in my original attachment...

    That's it... Remember it uses thumbnails of sites listed in DMOZ directory...

    Good luck...

    InterFX
    InterFX
    <br><br>

    my Clients using VBa:
    ChristianMom.com | BrassReview.com | TrumpetForum.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [REQ] - Top 10 or Latest Links side block.
    By ricoche in forum Modifications
    Replies: 1
    Last Post: 01-27-2005, 10:36 AM
  2. vBadvanced Links Directory RC3 Now Available!
    By Brian in forum Announcements
    Replies: 37
    Last Post: 01-24-2005, 06:58 AM
  3. Replying to Links
    By ricoche in forum "How Do I..." Questions
    Replies: 3
    Last Post: 09-15-2004, 12:13 PM
  4. Top X Links Block...
    By Shon in forum Feedback & Suggestions
    Replies: 3
    Last Post: 07-23-2004, 12:54 PM
  5. vBadvanced Links Directory Now Available!
    By Brian in forum Announcements
    Replies: 26
    Last Post: 07-07-2004, 11:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •