The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Google Adsense / Adbrite Ads Based on Length of First Post Details »» | ||||||||||||||||||||||||||||
Google Adsense / Adbrite Ads Based on Length of First Post
Developer Last Online: Feb 2016
Google Adsense / Adbrite Based on Length of First Post
This should work on all versions of vbulletin 3.5.x and above. Keywords: google, adsense, adbrite, yahoo publisher, earn, income, showthread, first post, thread, topic Google Policy on showing competitive advertisements at end of this post: Context: Time to make some neat money on google adsense. Well, this is a cute little plugin which enables an admin to show variable adsense or adbrite code on the first post of the thread/topic based on the length of the message. This helps in keeping in shape the demographics of the forum by keeping the things neat and tidy. You can visit my forums on my website and surf through some threads/topics to get a clear picture of what i am saying. Installation Instructions: Code:
Go to Plugin Manager > Add new Plugin Product: vbulletin Hook Location: postbit_display_complete Title: Google Adsense in Postbits Based on the Length of Message Execution Order: 5 Plugin PHP code: $post['text_length'] = strlen($post['message']); Now edit Template posbit or postbit_legacy Find: <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> </div> Add Below: (Put the following code where ever you feel like adding.) Demo: http://www.sikhphilosophy.net Google Policy on showing competitive advertisements: 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). Enjoy!! Show Your Support
|
Comments |
#22
|
||||
|
||||
Quote:
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!! |
#23
|
|||
|
|||
Quote:
Ads aren't in messega they are on posbit .. Just copied the code you give... Look The Pic ... What must I do... Thanks... |
#24
|
||||
|
||||
I said you can play with this thing and put links whereever you feel nice.
|
#25
|
||||
|
||||
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 --> |
#26
|
||||
|
||||
Quote:
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). |
#27
|
|||
|
|||
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 |
#28
|
|||
|
|||
Quote:
Is there a way to do this ? |
#29
|
|||
|
|||
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
|
#30
|
|||
|
|||
is there any way to show ads only on first post?
i use postbit_legacy |
#31
|
|||
|
|||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|