<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress Support Forums Tag: advertising</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: advertising</description>
<language>en</language>
<pubDate>Fri, 09 Jan 2009 00:56:20 +0000</pubDate>

<item>
<title>lenen nl on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-19798</link>
<pubDate>Fri, 10 Oct 2008 19:46:28 +0000</pubDate>
<dc:creator>lenen nl</dc:creator>
<guid isPermaLink="false">19798@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm a bit scared messing around with the adsense code.
&#60;/p&#62;</description>
</item>
<item>
<title>hypotheekrente on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-19226</link>
<pubDate>Mon, 15 Sep 2008 10:36:45 +0000</pubDate>
<dc:creator>hypotheekrente</dc:creator>
<guid isPermaLink="false">19226@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;thanks  @mark8barnes&#60;/p&#62;
&#60;p&#62;It is indeed very nice, just tried it.
&#60;/p&#62;</description>
</item>
<item>
<title>mark8barnes on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-19131</link>
<pubDate>Wed, 10 Sep 2008 12:10:32 +0000</pubDate>
<dc:creator>mark8barnes</dc:creator>
<guid isPermaLink="false">19131@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This is a great adsense plugin:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.2diabolos.com/blog/plugin-bbpress-adsense-injection/&#34; rel=&#34;nofollow&#34;&#62;http://www.2diabolos.com/blog/plugin-bbpress-adsense-injection/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Anonymous on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-17173</link>
<pubDate>Thu, 10 Jul 2008 15:40:35 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">17173@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I did everything from earigrey's post and it does nothing. My main concern is since he asks for it to be put in my-template folder how is the software supposed to know that those files are there. So i just replaced the topic file in the template directory. How do i reference the adsense code so the page knows to look there?
&#60;/p&#62;</description>
</item>
<item>
<title>geld_lenen on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-16731</link>
<pubDate>Thu, 12 Jun 2008 19:51:04 +0000</pubDate>
<dc:creator>geld_lenen</dc:creator>
<guid isPermaLink="false">16731@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Can't get the system working on my blog, other colors?
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-10010</link>
<pubDate>Tue, 07 Aug 2007 01:34:11 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">10010@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Look for blank lines or spaces before the starting &#60;code&#62;&#38;lt;?php&#60;/code&#62; and after the ending &#60;code&#62;?&#38;gt;&#60;/code&#62; as they can cause that problem.
&#60;/p&#62;</description>
</item>
<item>
<title>jeremykuno on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-10003</link>
<pubDate>Mon, 06 Aug 2007 20:27:35 +0000</pubDate>
<dc:creator>jeremykuno</dc:creator>
<guid isPermaLink="false">10003@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This plugin causes an error when I try to delete users.  I get the following message:&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home/jkuno/public_html/seattlecondoreport/forums/my-plugins/bbpress-adsense.php:43) in /home/jkuno/public_html/seattlecondoreport/forums/bb-includes/pluggable.php on line 168&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>Beer on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-8509</link>
<pubDate>Wed, 27 Jun 2007 02:28:36 +0000</pubDate>
<dc:creator>Beer</dc:creator>
<guid isPermaLink="false">8509@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The add_action( 'under_title' .. ) part has me curious.  Where does the 'under_title' come into play?  I was trying to find it in my bbpress code.  I want to add a wide 250x250 block for example under 'Add this topic to your favorites' on the left of the tags column.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.grindhouse.com/forums/topic/26?replies=1&#34; rel=&#34;nofollow&#34;&#62;http://www.grindhouse.com/forums/topic/26?replies=1&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;How can I accomplish this?
&#60;/p&#62;</description>
</item>
<item>
<title>disier on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-3397</link>
<pubDate>Sat, 20 Jan 2007 11:40:05 +0000</pubDate>
<dc:creator>disier</dc:creator>
<guid isPermaLink="false">3397@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sorry I fix it the problem was here:&#60;br /&#62;
a the end of the plugin&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
} // function wide_advert&#60;br /&#62;
} // class bb_adsense&#60;br /&#62;
// adds the footer so the javascript is loaded&#60;br /&#62;
add_action('showadvert', array('bb_adsense','wide_advert'));&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
in the last line was needing an space after array('bb_adsense','wide_advert')); i dint give an space so the ?&#38;gt; was giving the problem thanks anyway
&#60;/p&#62;</description>
</item>
<item>
<title>disier on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-3396</link>
<pubDate>Sat, 20 Jan 2007 11:34:47 +0000</pubDate>
<dc:creator>disier</dc:creator>
<guid isPermaLink="false">3396@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;im using the latest version 0.75, and the only plugin the i have is allow image.&#60;/p&#62;
&#60;p&#62;I uninstalled right now because when my friend register in my board and try to login we get that error and can´t login i will delete allow image to see if that plugin is the one of the trouble
&#60;/p&#62;</description>
</item>
<item>
<title>ear1grey on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-3395</link>
<pubDate>Sat, 20 Jan 2007 11:30:25 +0000</pubDate>
<dc:creator>ear1grey</dc:creator>
<guid isPermaLink="false">3395@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi Disier, did you make any other changes other than add the plugin as above?  Do you have other plugins installed?  Which hook did you use (i.e. what does your add_action line say)?
&#60;/p&#62;</description>
</item>
<item>
<title>disier on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-3387</link>
<pubDate>Sat, 20 Jan 2007 05:59:36 +0000</pubDate>
<dc:creator>disier</dc:creator>
<guid isPermaLink="false">3387@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;When i post, edit or delete somethin i get this error&#60;br /&#62;
Warning: Cannot modify header information - headers already sent by (output started at /home/disiern/public_html/enblogeo/foro/my-plugins/bbpress-adsense.php:39) in /home/disiern/public_html/enblogeo/foro/bb-includes/pluggable.php on line 160&#60;/p&#62;
&#60;p&#62;how can i solve this??
&#60;/p&#62;</description>
</item>
<item>
<title>Jakey on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-2325</link>
<pubDate>Sat, 16 Dec 2006 07:06:51 +0000</pubDate>
<dc:creator>Jakey</dc:creator>
<guid isPermaLink="false">2325@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I almost understood that last part.&#60;/p&#62;
&#60;p&#62;-edit-&#60;/p&#62;
&#60;p&#62;oops! read it again and it made sense. thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>ear1grey on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-1505</link>
<pubDate>Fri, 17 Nov 2006 15:13:02 +0000</pubDate>
<dc:creator>ear1grey</dc:creator>
<guid isPermaLink="false">1505@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi Null, to do that you need to change your template a bit and create a new hook, which is dead easy, and a testament to the flexibility of the event model that underpins both WP&#38;#38;bb.&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;Copy &#60;code&#62;topic.php&#60;/code&#62; from &#60;code&#62;bb-templates&#60;/code&#62; into &#60;code&#62;my-templates&#60;/code&#62; (you may need to create this folder).&#60;/li&#62;
&#60;li&#62;Find the for loop near line 29 - it will read something like this: &#60;code&#62;&#38;lt;?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?&#38;gt;&#60;/code&#62;&#60;/li&#62;
&#60;li&#62;Immediately before it (outside the loop, but inside the &#60;code&#62;&#38;lt;?php&#60;/code&#62;) add the line &#60;code&#62;$need_to_show_ad=true;&#60;/code&#62;&#60;/li&#62;
&#60;li&#62;Then change the line &#60;code&#62;&#38;lt;?php bb_post_template(); ?&#38;gt;&#60;/code&#62; to read &#60;code&#62;&#38;lt;?php bb_post_template();  if ($need_to_show_ad) { do_action(&#38;#39;showadvert&#38;#39;); $need_to_show_ad=false; } ?&#38;gt;&#60;/code&#62;&#60;/li&#62;
&#60;li&#62;Finally, change the action in the plugin so it fires on your newly created hook &#60;code&#62;add_action(&#38;#39;showadvert&#38;#39;, array(&#38;#39;bb_adsense&#38;#39;,&#38;#39;wide_advert&#38;#39;));&#60;/code&#62; &#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;... and an admin page? Maybe when bbPress matures!
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-1504</link>
<pubDate>Fri, 17 Nov 2006 12:08:56 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">1504@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I like this, but I want my adds to show AFTER each first post.&#60;/p&#62;
&#60;p&#62;So like:&#60;br /&#62;
Post: Hi I need help bla bla&#60;br /&#62;
google adsence&#60;br /&#62;
First reply: do like this bla bla&#60;br /&#62;
Sec reply: or like bla bla&#60;br /&#62;
Etc&#60;/p&#62;
&#60;p&#62;How to do that? &#60;/p&#62;
&#60;p&#62;And is there also a page to maintain your adsence? Like how many click etc in the admin area?&#60;/p&#62;
&#60;p&#62;Greetz
&#60;/p&#62;</description>
</item>
<item>
<title>ear1grey on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-1502</link>
<pubDate>Fri, 17 Nov 2006 10:18:54 +0000</pubDate>
<dc:creator>ear1grey</dc:creator>
<guid isPermaLink="false">1502@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'd advise against using header.php, because your header is also shown on non-content pages such as 404's; something which is disallowed in the adsense T's and C's.&#60;/p&#62;
&#60;p&#62;I did it by writing a small plugin, which you're welcome to.  Just create a &#60;code&#62;my-plugins&#60;/code&#62; folder within your bbpress root folder, paste the text below into the file and save it as &#60;code&#62;bbpress-adsense.php&#60;/code&#62;, upload it to your server and an advert will appear on every topic.&#60;/p&#62;
&#60;p&#62;From there on you have the basics for changing the advert to whatever you prefer.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php&#60;br /&#62;
/*&#60;br /&#62;
Plugin Name: Simple bbPress Adsense&#60;br /&#62;
Plugin URI: &#60;a href=&#34;http://boakes.org/talk/tags/bbpress-adsense&#34; rel=&#34;nofollow&#34;&#62;http://boakes.org/talk/tags/bbpress-adsense&#60;/a&#62;&#60;br /&#62;
Description: An plugin that includes an adsense advert just above the content on the topic page. &#60;br /&#62;
Author: Rich Boakes&#60;br /&#62;
Version: 0.1&#60;br /&#62;
Author URI: &#60;a href=&#34;http://boakes.org&#34; rel=&#34;nofollow&#34;&#62;http://boakes.org&#60;/a&#62;&#60;br /&#62;
License: GPL&#60;br /&#62;
*/&#60;br /&#62;
class bb_adsense {&#60;br /&#62;
	function wide_advert() {&#60;br /&#62;
	?&#38;gt;&#60;br /&#62;
	&#38;lt;div class=&#38;quot;bbpress-adsense&#38;quot; style=&#38;quot;text-align:center;&#38;quot;&#38;gt;&#60;br /&#62;
&#38;lt;!-- Paste your advert below this line --&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;&#38;lt;!--&#60;br /&#62;
google_ad_client = &#38;quot;pub-9050338238897291&#38;quot;;&#60;br /&#62;
google_ad_width = 728;&#60;br /&#62;
google_ad_height = 90;&#60;br /&#62;
google_ad_format = &#38;quot;728x90_as&#38;quot;;&#60;br /&#62;
google_ad_type = &#38;quot;text_image&#38;quot;;&#60;br /&#62;
google_ad_channel = &#38;quot;5984252204&#38;quot;;&#60;br /&#62;
google_color_border = &#38;quot;FFFFFF&#38;quot;;&#60;br /&#62;
google_color_bg = &#38;quot;EEEEEE&#38;quot;;&#60;br /&#62;
google_color_link = &#38;quot;990000&#38;quot;;&#60;br /&#62;
google_color_text = &#38;quot;333333&#38;quot;;&#60;br /&#62;
google_color_url = &#38;quot;999999&#38;quot;;&#60;br /&#62;
//--&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#60;br /&#62;
  src=&#38;quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&#38;quot;&#38;gt;&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;!-- Paste your advert above this line --&#38;gt;&#60;br /&#62;
	&#38;lt;/div&#38;gt;&#60;br /&#62;
	&#38;lt;?php&#60;br /&#62;
	} // function wide_advert&#60;br /&#62;
} // class bb_adsense&#60;br /&#62;
// adds the footer so the javascript is loaded&#60;br /&#62;
add_action(&#38;#39;under_title&#38;#39;, array(&#38;#39;bb_adsense&#38;#39;,&#38;#39;wide_advert&#38;#39;));&#60;br /&#62;
?&#38;gt;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>ry4nanderson on "Google Adsense"</title>
<link>http://bbpress.org/forums/topic/google-adsense#post-1494</link>
<pubDate>Fri, 17 Nov 2006 03:20:05 +0000</pubDate>
<dc:creator>ry4nanderson</dc:creator>
<guid isPermaLink="false">1494@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hello-&#60;br /&#62;
I'd like to add some Adsense ads in either my header or below the the forum listing on the main page. Pasting Google's code in the header doesn't seem to play nicely. Any ideas? Sample syntax, perhaps, from those who have already done it?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
