vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Google Adsense (or any kind of ads) on attachment image (https://vborg.vbsupport.ru/showthread.php?t=142293)

deathemperor 03-16-2007 10:00 PM

Google Adsense (or any kind of ads) on attachment image
 
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 :p .

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.

zlos 03-17-2007 10:07 AM

BANG!
First - ordered, installed and thankfull for this mod.


Results after 24h in operations:

- Google Analytics registered +25% of page impressions :)
- Google Adsense paid 10% extra to my account :D


Have fun! :)

cutoi 03-17-2007 11:41 AM

Installed. tks

tanyeri24 03-17-2007 01:24 PM

installed but doesn't work, no ads. Attachments are same...

zlos 03-17-2007 05:07 PM

Deathemperor - please check if this product does influence browsing of inline small graphical attachments within the thread. Please see enclosure :)

These attachmenst are small gif files (emoticons).

RichieBoy67 03-17-2007 05:40 PM

Hats off to you!! Thanks so much for spending your time to do this..... If I do end up installing and using this I will donate for sure...

I cannot wait to take a look and see how this was done...

Thanks again..

Rich

Ntfu2 03-17-2007 06:10 PM

awesome, i've wanted this for a while!

deathemperor 03-17-2007 06:49 PM

Quote:

Originally Posted by zlos (Post 1205724)
Deathemperor - please check if this product does influence browsing of inline small graphical attachments within the thread. Please see enclosure :)

These attachmenst are small gif files (emoticons).

The thumbnail is supposed to be working, it's working on my live site. You can check http://www.holvn.org/forum . The language may confuse you but well it works there. Give me a live to your site

puertoblack2003 03-17-2007 07:54 PM

i found one problem one of my members when they upload an attachment the attachment is not viewable till i disabled hack..

tanyeri24 03-17-2007 08:35 PM

Quote:

Originally Posted by tanyeri24 (Post 1205605)
installed but doesn't work, no ads. Attachments are same...

uninstalled


All times are GMT. The time now is 02:48 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.02739 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete