The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Turn Google Image Results into Page Views (also helps w/ hotlinking) Details »» | |||||||||||||||||||||||||||
Turn Google Image Results into Page Views (also helps w/ hotlinking)
Developer Last Online: Jun 2020
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. Code:
<!-- Check for Frames --> <script language="JavaScript" type="text/javascript"> if (top.location != self.location) top.location = self.location; </script> <!-- / Check for Frames --> 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. **If you have problems viewing your forum in the admin CP, use this code as a workaround. ** Code:
<!-- Check for Frames and Admins --> <if condition="!is_member_of($bbuserinfo, X, Y, Z)"> <script language="JavaScript" type="text/javascript"> if (top.location != self.location) top.location = self.location; </script> </if> <!-- / Check for Frames and Admins --> 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 ?!? Show Your Support
|
Comments |
#2
|
||||
|
||||
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. |
#3
|
|||
|
|||
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? |
#4
|
|||
|
|||
nice mod
|
#5
|
|||
|
|||
works great many thanks!
|
#6
|
||||
|
||||
Quote:
great mod! |
#7
|
|||
|
|||
Great Mod, i will try it!!
|
#8
|
|||
|
|||
Very nice.
I noticed sites using something like this. Comes in handy Thanks. |
#9
|
|||
|
|||
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. |
#10
|
|||
|
|||
So there is no problem in using this right? google wont derank you will they? otherwise this is great!
Thanks. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|