Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Google Adsense (or any kind of ads) on attachment image Details »»
Google Adsense (or any kind of ads) on attachment image
Version: 1.0.1, by deathemperor deathemperor is offline
Developer Last Online: Jul 2011 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.x Rating:
Released: 03-16-2007 Last Update: 01-13-2008 Installs: 39
Uses Plugins Template Edits
 
No support by the author.

I coded this hack as a paid service request here
by zlos.

I'll go fast on this by using his request thread as a description for this hack.

Briefly it allows you to put Google adsense ( or any kind of ads) on image attachments. Currently supported gif, jpeg, jpg, bmp and psd.

To customize your ads, edit image_adsense template. Make sure to change the adsense code to yours or I'll steal the money from you clicks .

check attachment for Screenshot.

UPDATE:

- 03/20/2007: Correct a bug for PSD or JGP/GIF files. The ads will now be displayed with those files (upper case letters). Thanks zlos for this.

- Edit 17/04/2007:

I've corrected one error and I think it should be working now. Or you can try it here:

http://area51.holvn.org/attachment.p...1&d=1176805966

user:admin/password: admin. The product I used there is the same as at vb.org.

Hope it works now.

This hack is absolutely free (no f***king lite version whatsoever). however anykind of donation is welcome, my paypal is bloodynighcrawler [at] gmail [dot] com.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-19-2007, 08:51 AM
zlos zlos is offline
 
Join Date: May 2005
Location: PL
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rich View Post
If the google ad is displaying on a seperate page when an image is clicked, it can violate the TOS as that page has no content. Creating pages, like that, for the sake of adding adsense, can get you terminated.
Well - it is up to you to fill in the page with proper content. You have now a bunch of possibilities to make it a real page and not only empty with simple image and google ad.

I am still in progress of building a content page displaying images instead of staying with simple - maybe TOS-violating - page.

Quote:
Originally Posted by tanyeri24 View Post
I saw this bug before too but no matter anyways no ads in att. I think the problem i in the .xml
Try this:
- delete the product completely (inluding the plugin)
- install it once more

I don't know about dependencies with SEO or portal systems, since I am not using those.
Reply With Quote
  #23  
Old 03-19-2007, 03:53 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many images, when clicked, will open the original file in a new window. If THAT page is displaying these ads, you are in violation of googles TOS.

Adding relevant content for google ads to be displayed on a page where the only thing displayed is the original file size is pretty difficult to do. (Not to mention a massive waste of time.)

Those who use this feature, if it is iondeed how it works, need to realize that if caught, your account WILL be terminated.
Reply With Quote
  #24  
Old 03-19-2007, 09:56 PM
zlos zlos is offline
 
Join Date: May 2005
Location: PL
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rich View Post
Many images, when clicked, will open the original file in a new window. If THAT page is displaying these ads, you are in violation of googles TOS.

Adding relevant content for google ads to be displayed on a page where the only thing displayed is the original file size is pretty difficult to do. (Not to mention a massive waste of time.)

Those who use this feature, if it is iondeed how it works, need to realize that if caught, your account WILL be terminated.
vB opens an image which is bigger in a new file. It is not original file.
Standard behaviour of vB is that images which are of the same size are not clickable.

Anyhow - I will write to Google to clarify this from their point of view.
Reply With Quote
  #25  
Old 03-20-2007, 11:41 AM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update 03/20/2007: Correct a bug for PSD or JGP/GIF files. The ads will now be displayed with those files (upper case letters). Thanks zlos for this.
Reply With Quote
  #26  
Old 03-20-2007, 06:55 PM
zlos zlos is offline
 
Join Date: May 2005
Location: PL
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still waiting for answer from Google

Here you can see this hack in action. Click and see the page source.
Reply With Quote
  #27  
Old 03-20-2007, 08:41 PM
karabalsagun karabalsagun is offline
 
Join Date: Dec 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is clearly a violation of Google Adsense TOS.

But, it can be use for other ad networks, great idea
Reply With Quote
  #28  
Old 03-22-2007, 07:39 AM
zlos zlos is offline
 
Join Date: May 2005
Location: PL
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by karabalsagun View Post
This is clearly a violation of Google Adsense TOS.

But, it can be use for other ad networks, great idea
Following this, no image gallery would be allowed to use Google Adsense.
Although I don't want my account to be cancelled and thus replaced GA ads with another network, which has responded positively.

p.s. Still waiting for answer from Google guys...
Reply With Quote
  #29  
Old 03-22-2007, 01:11 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Isn't working for me either on 3.6.5 attachments are in filesystem.

The attachments appear just fine, but no advertisements.
Reply With Quote
  #30  
Old 03-23-2007, 08:44 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone get this to work other then the creator?
Reply With Quote
  #31  
Old 03-24-2007, 12:02 AM
tanyeri24 tanyeri24 is offline
 
Join Date: Feb 2005
Location: Switzerland
Posts: 229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ntfu2 View Post
Anyone get this to work other then the creator?
I think no It doesn't work for me too.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08324 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete