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 |
#22
|
|||
|
|||
It's easily circumvented by using NoScript-enabled browsers though, obviously...
[high]* PugWD steals all Coldhands' images [/high] |
#23
|
|||
|
|||
Actuarial Outpost huh? I designed their logo!
Are the tweaks mentioned above now incorporated in the download? |
#24
|
|||
|
|||
I added the new improved version, and it no longer has the problem reported. But now I need a framed site to test it (google has none of my images, the way I want it).
Thanks for the new version. |
#25
|
|||
|
|||
Interestingly (to me), this doesn't work with yahoo image search (the only frame I could find any of my images in). My adsense also doesn't show in their frames, and neither do my dropdown menus, so I suspect they block all javascripts.
|
#26
|
|||
|
|||
Ok, this doesn't work at all with MSN, and I can also see my adsense ads and dropdown menus.
UPDATE: this works great on MSN, I forgot to log out, so it also proves the admin hack works. Sorry for doubting you. |
#27
|
|||
|
|||
installed! thank you
|
#28
|
||||
|
||||
Quote:
Quote:
|
#29
|
|||
|
|||
Very few of our images are listed on google, would this help?
|
#30
|
|||
|
|||
Brilliant
[high]* Phr34q clicks installed[/high] |
#31
|
||||
|
||||
Great mod
thanks Simple but effective, the best type of mod you can have Well done |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|