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 |
#12
|
|||
|
|||
Good work! Thx.
|
#13
|
|||
|
|||
works fine thx !
|
#14
|
||||
|
||||
Nice, anything that protects my images is OK in my book, Thanks!
|
#15
|
||||
|
||||
great mod
clicks installed |
#16
|
||||
|
||||
Quote:
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:
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. See above. |
#17
|
|||
|
|||
thanks thes good jop nice
|
#18
|
|||
|
|||
This is an excellent template mod, except it messes up pages in admincp that call on regular site pages, such as when manually sending an activation email.
|
#19
|
||||
|
||||
hmmmmm. . . I've never used that feature in vb, but I'm sure it just a matter of adding an extra argument in the if statement. I'll see if I can add a workaround some time soon.
|
#20
|
|||
|
|||
nice tweak on this!
|
#21
|
||||
|
||||
Quote:
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 --> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|