Google Adsense / Adbrite Ads Based on Length of First Post
This modification is in the archives.
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 http://www.sikhphilosophy.net 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 (https://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 (https://groups.google.com/group/adsense-help). Enjoy!! Download No files for download. |
Similar Mods
Forum Display Enhancements Google AdSense (or other) after post... | vBulletin 3.6 Template Modifications |