vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=155432

Turn Google Image Results into Page Views (also helps w/ hotlinking)
by Coldhands
16 Aug 2007 20:36

What it does: If a site tries to show your content in frames, this makes sure that your forum is the only frame. Forums get a lot of hits from Google Images. This makes sure they go to your page, and not a deep linked image. Also useful when dishonest people try to display your content in one frame, and their AdSense in another.

Compatibility: Works in all versions of vBulletin. Just add script in the headerinclude template.

Time to install: about 13-18 seconds. :up:

Install instructions: Go to Styles & Templates >> Style Manager >> in your default style choose "Common Templates" from the drop down menu.

In the 'headinclude' template find "<!-- CSS Stylesheet -->" and add the following code above that.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Click Save.

You're done. If you have a blog or CMS in conjunction with your forum, you should add this code to those headers as well.

Usually, when a person uses Google Images, they click the image thumbnail, and once the next page loads, they click on the direct link to the image. With this little hack, you now have the chance to turn someone who was more than likely just going to hotlink your images, into a possible member.

Another thing this is good for is making sure that someone isn't linking to your content in one frame and displaying ads in another. I whipped this little script up after I found another site doing that very thing to my site. :mad:

**If you have problems viewing your forum in the admin CP, use this code as a workaround. **


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Where X, Y and Z are the user group IDs of your Admins, Mods and so fourth.

It uses a conditional to check if the person viewing in frames is logged in as an admin, mod, or even your members.

Version Changes:
1.01 - Changed location of code to above the style sheet to reduce the time it takes to close top frame (basically it doesn't have to download the CSS, before it gets to the code that checks for the top level frame).

If you decide to use this Mod, Please mark as Installed ,and if you're feeling spunky, why not MOTM while you're at it :o ?!?

Coldhands 16 Aug 2007 20:42

Here's a demo of how it works.

Just click on this link, and then click on a thumbnail in the results.

You'll see how it forwards directly to the thread/page, before it loads it in Google's frame.

4x4 Mecca 16 Aug 2007 21:05

I clicked this image
http://www.actuarialoutpost.com/actu...atar285_27.gif
and it showed me the image alone, not the forum page. Is that how it is supposed to work?

music legend 16 Aug 2007 21:07

nice mod

concepts 16 Aug 2007 21:11

Quote:

Originally Posted by 4x4 Mecca (Post 1319168)
I clicked this image
http://www.actuarialoutpost.com/actu...atar285_27.gif
and it showed me the image alone, not the forum page. Is that how it is supposed to work?

worked when I clicked on it????
great mod!

thedvs 16 Aug 2007 21:11

works great many thanks!

Carlos2 16 Aug 2007 22:22

Great Mod, i will try it!!

993ti 16 Aug 2007 22:55

Very nice.
I noticed sites using something like this.
Comes in handy ;)
Thanks.

Carlos2 17 Aug 2007 01:10

And google doesnt mean that this is ilegal or something like this for they?

I asked this because if is ilegal for they, you will go down in the google search position.

Hornstar 17 Aug 2007 06:36

So there is no problem in using this right? google wont derank you will they? otherwise this is great!

Thanks.

Robert7 17 Aug 2007 11:12

Good work! Thx.

skrazydogz 17 Aug 2007 15:57

works fine thx !

htscpl 17 Aug 2007 18:44

Nice, anything that protects my images is OK in my book, Thanks!

monstergamer 17 Aug 2007 19:05

great mod

clicks installed

Coldhands 17 Aug 2007 19:05

Quote:

Originally Posted by Carlos2 (Post 1319305)
And google doesnt mean that this is ilegal or something like this for they?

I asked this because if is ilegal for they, you will go down in the google search position.

I don't see any reason this should hurt your ranking in google's web results.

SEOing for google images is perhaps the easiest thing of all, since few people do it. Their image search has almost nothing to do with their web results. As long as you have descriptive file names, title/alt tags, and complementary content to go with a picture, there's no reason not to rank pretty well in google images. Then you're only one click away from a new unique visitor.

Quote:

Originally Posted by 4x4 Mecca (Post 1319168)
I clicked this image
http://www.actuarialoutpost.com/actu...atar285_27.gif
and it showed me the image alone, not the forum page. Is that how it is supposed to work?

Well, if you click on the direct linked image, before the bottom frame has a chance to load the script in the header, you'll go to the deep linked image, but if you wait for one extra second, you should be redirected to the page that the image was found on.

On second thought, you may actually want to add the script above '<!-- CSS Stylesheet -->', so the lower frame doesn't load your CSS file before it redirects.

Quote:

Originally Posted by hornstar1337 (Post 1319431)
So there is no problem in using this right? google wont derank you will they? otherwise this is great!

Thanks.

See above.


All times are GMT. The time now is 17:47.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.