vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Adsense as a poster on your forums (https://vborg.vbsupport.ru/showthread.php?t=108648)

Keyser520 02-23-2006 04:36 PM

If someone can explain to me what it is about my code that violates google TOS, I will change it so that's it's "legal".

I just don't know what the problem is yet..

Thanks.

Taylor123 02-23-2006 05:49 PM

has anyone tried installing it on 3.5.4?

Xplorer4x4 02-23-2006 05:52 PM

Quote:

Originally Posted by Keyser520
If someone can explain to me what it is about my code that violates google TOS, I will change it so that's it's "legal".

I just don't know what the problem is yet..

Thanks.

As far as I can tell it is legal so long as your not having more then 3 ad units on any page.

Keyser520 02-23-2006 06:16 PM

I haven't upgraded to 3.5.4 yet, but I will hopefully tonight or tomorrow. When I do so, I"ll post if it works on 3.5.4 or not. The only thing that might cause a problem is if the variable names changed. If so, I'll have a new version up in a couple of days time.

I am also thinking about making it so that the "post time" for the add shows up as the same time as the first post, and adding the code to cause it to NOT display if there are fewer than 5 posts for a page or something like that.... (I know someone did something like that somehwere---I just have to find it).

Moparx 02-23-2006 06:20 PM

Quote:

Originally Posted by Keyser520
If someone can explain to me what it is about my code that violates google TOS, I will change it so that's it's "legal".

I just don't know what the problem is yet..

Thanks.

It is fine now since you changed the wording that was used earlier :)
Quote:

Originally Posted by Keyser520
and adding the code to cause it to NOT display if there are fewer than 5 posts for a page or something like that.... (I know someone did something like that somehwere---I just have to find it).

The link to one of my templates in this thread has the code to do it if you want to use it.

Smiry Kin's 02-23-2006 06:52 PM

Quote:

Originally Posted by Keyser520
I'm confused. What fine print does this violate?

Smirky, the same if conditionals that Moparx used will work in the one I did as well. The real difference between the two is that mine is designed to LOOk like an actual post, where his is more of an inserted banner. It's just a matter of which style you want to use.

so how i do that?... o.0
p.s works ok on 3.5.4

misticjeff 02-23-2006 10:46 PM

Installed!!

Question: can a conditional be put in so that it does not insert for certain membergroups??? Like an <if> statement or something.... obviously you see i'm not a coder in any way.

Moparx 02-23-2006 11:04 PM

Quote:

Originally Posted by misticjeff
Installed!!

Question: can a conditional be put in so that it does not insert for certain membergroups??? Like an <if> statement or something.... obviously you see i'm not a coder in any way.

Change:
PHP Code:

<if condition="$post[postcount] % $vboptions[maxposts] == 1"

To:
PHP Code:

<if condition="is_member_of($bbuserinfo, 1,2) AND $post[postcount] % $vboptions[maxposts] == 1"

currently it is configured to groups 1 & 2 so it will show for the guest and registered user usergroups

kall 02-24-2006 01:26 AM

Quote:

Originally Posted by Keyser520
If someone can explain to me what it is about my code that violates google TOS, I will change it so that's it's "legal".

I just don't know what the problem is yet..

Thanks.

Have you asked Google if presenting the ads in this way violates their TOS?

They emailed me to advise that presenting the ads in such a way as to make it appear the Google Adsense was a Poster was, in itself, a violation of the TOU.

No 'click here' or anything to be seen, just EXACTLY what you have done here. It is against the TOU to make the adsense appear to be a poster.

Keyser520 02-24-2006 12:37 PM

Well, if it's against the Google TOU, then don't use it. I will email them to see what they say about it. I read the TOS and didn't see how it violated it, but I could have missed something.

However, I'm sure it could be used for other advertisement purposes... if you use other providers, or the like.


All times are GMT. The time now is 10:45 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.01226 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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