vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v1.0 Support > Modifications

Reply
 
Thread Tools Display Modes
  #1  
Old 12-01-2004, 05:48 PM
interfx interfx is offline
Senior Member
 
Join Date: Aug 2004
Posts: 340
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
File Type: txt thumbnail.txt (5.9 KB, 135 views)
Reply With Quote
  #2  
Old 12-03-2004, 06:14 PM
surfdude surfdude is offline
Member
 
Join Date: Feb 2004
Location: London, UK
Posts: 51
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.
Reply With Quote
  #3  
Old 12-03-2004, 06:24 PM
KW802's Avatar
KW802 KW802 is offline
Administrator
 
Join Date: Mar 2004
Location: A galaxy far, far away...
Posts: 5,030
Default Re: Thumbnails - Links

Interfx, nice hack. Adds a new dimension to it.
Reply With Quote
  #4  
Old 12-03-2004, 08:58 PM
interfx interfx is offline
Senior Member
 
Join Date: Aug 2004
Posts: 340
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
Reply With Quote
  #5  
Old 12-04-2004, 02:35 AM
Lionel Lionel is offline
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.
Reply With Quote
  #6  
Old 12-04-2004, 06:47 AM
interfx interfx is offline
Senior Member
 
Join Date: Aug 2004
Posts: 340
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?
Reply With Quote
  #7  
Old 12-05-2004, 12:15 AM
Lionel Lionel is offline
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>
Reply With Quote
  #8  
Old 12-05-2004, 07:09 AM
interfx interfx is offline
Senior Member
 
Join Date: Aug 2004
Posts: 340
Default Re: Thumbnails - Links

Hey, that worked perfectly...

Thanks again for your help...

InterFX
Reply With Quote
  #9  
Old 02-01-2005, 05:07 PM
Polo's Avatar
Polo Polo is offline
Senior Member
 
Join Date: Jun 2004
Posts: 823
Default Re: Thumbnails - Links

thank you interfx, definetly a good addon
__________________
God180.com <---------------------My heavily modified vBulletin board
Reply With Quote
  #10  
Old 02-06-2005, 01:59 PM
coolegg coolegg is offline
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 08:28 PM.
Reply With Quote
  #11  
Old 03-01-2005, 08:22 PM
MajorFm MajorFm is offline
Junior Member
 
Join Date: Dec 2004
Posts: 26
Default Re: Thumbnails - Links

nice hack! added!
__________________
Urban Music Forum
Reply With Quote
  #12  
Old 03-31-2005, 11:44 PM
CallieJo CallieJo is offline
Mother Of 5
 
Join Date: Jun 2004
Posts: 13
Default Re: Thumbnails - Links

Thanks a bunches for this!
Huggies*
__________________
~Some Days I Live Online ~*~ Some Days I Just Visit~
Reply With Quote
  #13  
Old 07-16-2005, 12:59 PM
CSS59 CSS59 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 107
Default Re: Thumbnails - Links

can you write the steps for doing this hack?
Reply With Quote
  #14  
Old 07-16-2005, 06:17 PM
interfx interfx is offline
Senior Member
 
Join Date: Aug 2004
Posts: 340
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -4. The time now is 10:04 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.