Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #52  
Old 06-02-2008, 11:45 PM
redraider redraider is offline
 
Join Date: Sep 2006
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks like a great mod ..could you please let us know if this is available for vb 3.7 ? ...
Reply With Quote
  #53  
Old 06-04-2008, 12:37 AM
h2ojunkie h2ojunkie is offline
 
Join Date: Sep 2004
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did some testing with this, and it's a GREAT mod.

The only problem I came across at this point, is if a user makes a post containing an image like this...

[img]https://vborg.vbsupport.ru/[/img]

...the image won't show in the post since the plugin is trying to show the new template in place of the standard image data.

Just have to come up with a way to keep the plugin from executing when viewing showthread or showpost. maybe adding something to your conditional to check request_uri for showthread.php or showpost.php.

I'm not the greatest at this stuff, but if I come up with a solution I'll be sure to post it.
Reply With Quote
  #54  
Old 06-04-2008, 11:29 AM
madkeen madkeen is offline
 
Join Date: Jan 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible to have this Membergroup dependent?

I have implemented Subscriptions and would prefer that members in the subscribed members member group do not see the ads

Is this possible?
Reply With Quote
  #55  
Old 12-20-2008, 12:36 AM
Cristi_XP's Avatar
Cristi_XP Cristi_XP is offline
 
Join Date: Dec 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and working even in 3.7.4. Does anyone who didn`t got it to work is using watermark on images ?On the forums that I use watermarks on images ,it doesn`t work only when I disable the watermark plugin.
Can you get it to work with the watermark plugin ?The plugin I am using is this
Reply With Quote
  #56  
Old 04-22-2015, 05:04 AM
naveeid's Avatar
naveeid naveeid is offline
 
Join Date: Jan 2011
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can i have a copy of this mod for vbulletin4????
Reply With Quote
  #57  
Old 05-15-2015, 10:21 AM
naveeid's Avatar
naveeid naveeid is offline
 
Join Date: Jan 2011
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey i want this for vbulletin 4 , please help me any body , any paid version ??????
Reply With Quote
  #58  
Old 05-15-2015, 06:00 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great addon..
FYI - I will never do this.. just again FYI.
Reply With Quote
Reply


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 02:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06045 seconds
  • Memory Usage 2,272KB
  • Queries Executed 22 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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