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)
-   -   Show Thread Enhancements - Google Adsense / Adbrite Ads Based on Length of First Post (https://vborg.vbsupport.ru/showthread.php?t=128960)

Neutral Singh 10-16-2006 01:31 AM

Quote:

Originally Posted by tansu
well, now is it against or not? (TOS)
And how can I use it to show only visitors, not members?
thanks in advance

Use the following code in the postbit.
Code:


<if condition="($show['guest'])">
        <if condition="THIS_SCRIPT == 'showthread'">
        <if condition="$post['text_length'] < 1200">
        <br>
        Google Adsense or Adbrite or Publisher Code # 1 Here
        <else />
        <br>
        Google Adsense or adbrite  or Publisher Code # 2 Here
        </if>
        </if>
</if>


Enjoy!!

KuRnAz 10-16-2006 07:46 AM

Quote:

Originally Posted by Neutral Singh
Use the following code in the postbit.
Code:


<if condition="($show['guest'])">
        <if condition="THIS_SCRIPT == 'showthread'">
        <if condition="$post['text_length'] < 1200">
        <br>
        Google Adsense or Adbrite or Publisher Code # 1 Here
        <else />
        <br>
        Google Adsense or adbrite  or Publisher Code # 2 Here
        </if>
        </if>
</if>


Enjoy!!

And what is the wrong thing with me :(
Ads aren't in messega they are on posbit ..
Just copied the code you give...
Look The Pic ...
What must I do...
Thanks...

Neutral Singh 10-16-2006 01:18 PM

I said you can play with this thing and put links whereever you feel nice.

Neutral Singh 10-16-2006 02:22 PM

Ok Find
<!-- message -->

Till

<!-- / message -->

Replace all with the following code:

Code:

<!-- message -->
<div id="post_message_$post[postid]">

<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" valign="top">
<tr><td valign="top">
$post[message]
</td>
<td width="160" align="middle" valign="top">
        <if condition="THIS_SCRIPT == 'showthread'">
        <if condition="$post['text_length'] < 1200">
        <br>
        $vbphrase[Google_Postbit_Skyscraper_120x240]
        <else />
        <br>
        $vbphrase[Google_Postbit_Skyscraper_160x600]
      </if>
      </if>
</td>
<td width="160" align="middle" valign="top">

</td>
</table>
</div>
                <!-- / message -->


Neutral Singh 10-17-2006 03:15 PM

Quote:

Originally Posted by Throtex
Competitive Ads and Services
We do not permit Google ads or search boxes accessing Google search services to be published on web pages that also contain what could be considered competing ads or services. If you have elected to receive contextually-targeted Google ads, this would include all other contextually-targeted ads or links on the same page as Google ads. This would also include ads throughout the site that mimic Google ads or otherwise appear to be associated with Google on your site. Although you may sell ads directly on your site, it is your responsibility to ensure these ads do not mimic Google ads. If you have elected to receive Google search services, this would include other search services on the same site and non-Google query-targeted ads. We do allow affiliate or limited-text links.


Not that this has anything to do with the hack itself ... hack itself looks good.


Hello All

Just now i got a clear cut reply from google:
Code:

Thank you for your email. Google AdSense program policy does not permit
Google ads to be published on the same web page as other
contextually-targeted ads. More broadly, our policy does not permit Google
ads to be displayed on the same website as ads that mimic or attempt to be
associated with Google ads. According to these program policies, AdBrite
may be displayed on the same page as Google ads on your site. We do allow
affiliate or limited-text links. However, other contextually-targeted ads
may not be used.

For publishers participating in AdSense for search, please note that we do
not allow other search services or query-targeted ads to be displayed on
the same site as AdSense for search.

Our intent with this policy is to be as fair to our advertisers as
possible and to maintain the integrity of the AdWords and AdSense
programs.

We appreciate your cooperation and look forward to your continued
participation in AdSense.

For additional questions, I'd encourage you to visit the AdSense Help
Center (http://www.google.com/adsense_help), our complete resource center
for all AdSense topics. Alternatively, feel free to post your question on
the forum just for AdSense publishers: the AdSense Help Group
(http://groups.google.com/group/adsense-help).

So, we can show adbrite along with google if not yahoo publisher hence i have change the topic accordingly... :rambo:

Cueball 10-18-2006 03:39 AM

Great hack! I have it installed and it works well. Just one change I would like to see in any updates. If there is a way to exclude certain forums from grabing the google ads. that would be a big plus !

Thanks again :)

Cueball 10-19-2006 01:47 PM

Quote:

Originally Posted by Cueball
Great hack! I have it installed and it works well. Just one change I would like to see in any updates. If there is a way to exclude certain forums from grabing the google ads. that would be a big plus !

Thanks again :)


Is there a way to do this ?

Cueball 10-19-2006 04:46 PM

I have uninstalled this since there is little to no support for it. Maybe there is another similar hack out there? Anyone see a similar hack? Thanks anyway :)

Frapegliko 10-19-2006 05:12 PM

is there any way to show ads only on first post?

i use postbit_legacy

tanyeri24 10-21-2006 09:42 AM

Quote:

Originally Posted by Frapegliko
is there any way to show ads only on first post?

i use postbit_legacy

yeah only first post would be good :cry:


All times are GMT. The time now is 09:16 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.01127 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
  • (4)bbcode_code_printable
  • (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