News:

Wondering if this will always be free?  See why free is better.

Main Menu

Link Thumbnails

Started by KGIII, May 05, 2007, 10:59:35 AM

Previous topic - Next topic

KGIII

Link to Mod

This is the most retarded modification ever. In fact, it really should just be something anyone can do without needing a modification.

Basically it adds a few lines of code to echo the code from iWebTool's site so that all of your external links have popup images that show a preview of the site before you click on it.

Read the code, check the changes, and check the site if you want to see how to at least customize the colors.

http://thumbnails.iwebtool.com/faq/

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Daniel15

QuoteThis is the most retarded modification ever.
Not retarded, just very small ;)
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

KGIII

LOL It is one of the tiniest but all of my mods are except the two I've taken from Jay. I will add that this should work with ANY version of SMF ever. In fact I expect it will work with 2.0 with nary an issue.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

shadow82x

I dont get what it does
Colin B
Former Spammer, Customize, & Support Team Member

nitsua


KGIII

Shadow82x:

Quote from: KGIII on May 05, 2007, 10:59:35 AM
...all of your external links have popup images that show a preview of the site before you click on it.

You can see the forum link in my signature for an example of it after installation. MouseOver an external link.

nitsua:

Not a problem. Enjoy.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

RoarinRow


SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

KGIII

LOL I had been meaning to code something like this up for a while, it is really quite basic. The only reason I made it as a mod is because it is easier for some people to install mods than it is for them to edit the code, otherwise I probably would have just dumped it into the tips and tricks section and called it good.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

RoarinRow

Quote from: KGIII on May 05, 2007, 04:13:45 PM
LOL I had been meaning to code something like this up for a while, it is really quite basic. The only reason I made it as a mod is because it is easier for some people to install mods than it is for them to edit the code, otherwise I probably would have just dumped it into the tips and tricks section and called it good.

Still a cool mods.  People can't play tricks on one another now.  They can see where the links go to   :D

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

KGIII

Well, at 49 downloads and counting at least someone needed it.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Daniel15

Quote from: RoarinRow on May 05, 2007, 03:21:25 PM
I use a similar code from www.snap.com

Check it out on my site - http://www.avalanchestyle.com/forum/index.php
Yeah, I'm using the Snap Preview Anywhere (or whatever it's called now) one as well.
It would be a little harder to make a mod for that one, as far as I can recall, it needs a unique key (which is given at installation)
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Miyagi

FordXR5Turbo.com - Dedicated to the Ford Focus & Mondeo XR5 Turbo in Australia
FordXR4.com - Dedicated to the Ford Fiesta XR4 in Australia

khoking

I have installed this mod an hour ago, but after testing it for at my site, I actually found it to slow down the respond or delay the page loading time every time I refresh or open a new page.

I have then removed the mod.
Kho King
www.ShaShinKi.com
www.PentaxWorld.com

KGIII

Hmm... I would have no idea why it would make a page load slower - it only loads an extra few letters total and then nothing additional loads until the mouse is held over a link... Curiouser and curiouser...

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

khoking

Quote from: KGIII on May 07, 2007, 08:09:21 PM
Hmm... I would have no idea why it would make a page load slower - it only loads an extra few letters total and then nothing additional loads until the mouse is held over a link... Curiouser and curiouser...

Hi KGIII,

I am using fast internet line here, hence the delay is actually not very significant but still noticeable. I notice the delay when I use SMF Links to upload some new links. When I click Add Links, I have to wait for a few seconds for the new page to load up, and I notice in my firefox browser that it points to connecting or loading from the iwebtool site.

I have also noticed that many websites are still not being indexed by iwebtool.
Kho King
www.ShaShinKi.com
www.PentaxWorld.com

Daniel15

Quote from: KGIII on May 07, 2007, 08:09:21 PM
Hmm... I would have no idea why it would make a page load slower - it only loads an extra few letters total and then nothing additional loads until the mouse is held over a link... Curiouser and curiouser...
What makes it slow is waiting for the JavaScript to load. Before the rest of the page can load, the script must be loaded. If iwebtool's server is being slow, it will cause your site to be slow.
Try this: In index.template.php, find:

<script language="javascript" src="http://thumbnails.iwebtool.com/src.js?border=004891" type="text/javascript"></script>

Replace with:

<script language="javascript" src="http://thumbnails.iwebtool.com/src.js?border=004891" type="text/javascript" defer="defer"></script>


The defer="defer" will tell the browser to only load the script once the rest of the page has finished loading (rather than loading the script as soon as the <script> tag is encountered). This should give it a noticeable performance improvement :)
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

KGIII

That's good thinking. I may end up making two additional versions just 'cause winrules mentioned another way too. And thus it would not longer be the most simple mod ever.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

kaosdt

OMG i like this MOD is coooool

KGIII

And, hopefully, it will improve as we go through it. :D It may go from the most simplistic mod to something that is actually worth doing.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

imschur

I like it. Thanks for making it.

Advertisement: