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)

PoetJA-1975 03-18-2007 03:29 AM

Quote:

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

Same here - installed on 3.6.5 with vBSEO using Opera 9.10
Shows no adsense ads = Help please!

Thanx,

Jacquii.

kenfuzed 03-18-2007 04:29 AM

Just curious if anyone has run this by Google to see if it's in line with their TOS.
I'd want to make sure my Adsense account is not in danger of cancelation before installing.

deathemperor 03-18-2007 05:41 AM

anyone can provide a link to your site ? I can't debug this hack until then. You guys can check this out in my forum, it's working here: http://www.holvn.org/forum/showthrea...8805#post98805. This is an English box so you can even test it out by using this account: test/test.

zlos 03-18-2007 07:50 AM

Deathemperor - there is a bug, which I have corrected, but some other guys may overlook it. Your attachments are displayed through attachment.html file, while standard vB uses atachment.php.

Change the extension in the template ;)

deathemperor 03-18-2007 08:21 AM

Quote:

Originally Posted by zlos (Post 1206153)
Deathemperor - there is a bug, which I have corrected, but some other guys may overlook it. Your attachments are displayed through attachment.html file, while standard vB uses atachment.php.

Change the extension in the template ;)

Thanks for telling me. Fixed the xml.

puertoblack2003 03-18-2007 12:15 PM

Quote:

Originally Posted by zlos (Post 1206153)
Deathemperor - there is a bug, which I have corrected, but some other guys may overlook it. Your attachments are displayed through attachment.html file, while standard vB uses atachment.php.

Change the extension in the template ;)


thanks for the heads up i think my issue maybe resolved after this post an made adjustment in template, i had the problem when my members upload an attachments you can see,so then i disabled it then it's viewable:up: ...how can you tell if it worked i don't see any difference :eek:

Rich 03-18-2007 12:16 PM

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.

PoetJA-1975 03-18-2007 12:31 PM

changed .html to .php in the xml file and made sure the image_adsense template corrected as well - still... no showing of adsense...

ALSO rebuilt attachment thumbnails in the admincp... Help!

Link to post with many attached pics: http://jpicforum.info/lots-humor/cats-painted-2508.html

Could it be a conflict with vBSEO and this modification?

Thanx,
Jacquii.

deathemperor 03-18-2007 12:36 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1206327)
changed .html to .php in the xml file and made sure the image_adsense template corrected as well - still... no showing of adsense...

ALSO rebuilt attachment thumbnails in the admincp... Help!

Link to post with many attached pics: http://jpicforum.info/lots-humor/cats-painted-2508.html

Could it be a conflict with vBSEO and this modification?

Thanx,
Jacquii.

You are using vbSeo which changes the url of the attachment. I can't be sure if vbseo is making the hack useless on your board.

tanyeri24 03-18-2007 06:55 PM

Quote:

Originally Posted by zlos (Post 1206153)
Deathemperor - there is a bug, which I have corrected, but some other guys may overlook it. Your attachments are displayed through attachment.html file, while standard vB uses atachment.php.

Change the extension in the template ;)

I saw this bug before too but no matter anyways no ads in att. I think the problem i in the .xml


All times are GMT. The time now is 11:17 PM.

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.01202 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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