<?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 User Favorites: ostlund</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums User Favorites: ostlund</description>
<language>en</language>
<pubDate>Thu, 08 Jan 2009 13:50:24 +0000</pubDate>

<item>
<title>intellivision on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-11185</link>
<pubDate>Sat, 29 Sep 2007 20:37:17 +0000</pubDate>
<dc:creator>intellivision</dc:creator>
<guid isPermaLink="false">11185@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Note private messages are cut off at 2048 characters (1965 in practice, from my testing) because the db field is varchar(2048).&#60;/p&#62;
&#60;p&#62;That's not that much to wordy writers.&#60;/p&#62;
&#60;p&#62;I might try to change this to longtext. If I do I'll post back on the results, and if good, the method.
&#60;/p&#62;</description>
</item>
<item>
<title>bedbugger on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-10371</link>
<pubDate>Wed, 22 Aug 2007 05:38:25 +0000</pubDate>
<dc:creator>bedbugger</dc:creator>
<guid isPermaLink="false">10371@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;great plugin.  :-)&#60;/p&#62;
&#60;p&#62;one question:  can Bozos pm?
&#60;/p&#62;</description>
</item>
<item>
<title>wittmania on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-8471</link>
<pubDate>Mon, 25 Jun 2007 14:52:16 +0000</pubDate>
<dc:creator>wittmania</dc:creator>
<guid isPermaLink="false">8471@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Update:  Somebody asked me how to add a name (instead of just the e-mail address) to the new message received e-mail notification.  To do this, just use this format:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$admin_email = &#34;Your Name &#38;lt;you@yourdomain.com&#38;gt;&#34;;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;When the e-mail is delivered, it will show up as being from &#34;Your Name&#34; and not &#34;you@yourdomain.com&#34;.   I'm not sure that this will work on all PHP configurations, but it works on mine.
&#60;/p&#62;</description>
</item>
<item>
<title>wittmania on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-5962</link>
<pubDate>Mon, 26 Mar 2007 17:30:39 +0000</pubDate>
<dc:creator>wittmania</dc:creator>
<guid isPermaLink="false">5962@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Several people have asked for additional capabilities to be added to this plugin:&#60;br /&#62;
1.  That an e-mail alert would be sent out every time a member received a new private message, and&#60;br /&#62;
2.  That a &#34;PM this user&#34; link could be added to the profile page.&#60;/p&#62;
&#60;p&#62;I know &#60;a href=&#34;http://ardentfrost.rayd.org/&#34;&#62;ardentfrost&#60;/a&#62; is busy, so I have posted instructions on how to modify the plugin files so you can do these two things.&#60;/p&#62;
&#60;p&#62;You can view the instructions here:&#60;br /&#62;
&#60;a href=&#34;http://www.wittmania.com/bb-privatemessage-upgrades.txt&#34; rel=&#34;nofollow&#34;&#62;http://www.wittmania.com/bb-privatemessage-upgrades.txt&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Please e-mail me if you have any questions (mike at wittmania dot com).  Thanks again to ardentfrost for this exceptional plugin!
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-5261</link>
<pubDate>Wed, 07 Mar 2007 14:27:36 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">5261@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The function checks to see if it exists, and if it doesn't it creates the tables.  If you created the tables as they are setup in that function, it shouldn't do anything again.  If it happens again, I suggest you comment out the table creation code in the plugin.  I don't know why it would do that.&#60;/p&#62;
&#60;p&#62;By the way, Online List works the same way as mine with table creation if you use that one.
&#60;/p&#62;</description>
</item>
<item>
<title>CBFAdmin on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-5250</link>
<pubDate>Wed, 07 Mar 2007 10:34:58 +0000</pubDate>
<dc:creator>CBFAdmin</dc:creator>
<guid isPermaLink="false">5250@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;ardentfrost, I dont know what happened but all PM's that went out yesterday have seemed to vanish without a trace??? They were in the data base cuz I checked and seen them there. Today they are gone. I am wondering if the table was copied over after I had manualy installed the table, with your call function in bb-privatemessages.php. Maybe I did not give it enough time to do it on it's own. I will see what happens today.
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-5228</link>
<pubDate>Tue, 06 Mar 2007 22:27:23 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">5228@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Since that only has to happen once, if you added the tables that should be the end of it.  I tested the process on my own server and had 2 others test it on theirs.  A lot of people have downloaded and installed the plugin, and a minority have had problems.  Unfortunately, I am unsure how to fix this problem for that minority, but the commands you posted should work or people can copy the commands directly from the plugin themselves... it's the first subroutine in the main plugin file (bb-privatemessages.php)
&#60;/p&#62;</description>
</item>
<item>
<title>CBFAdmin on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-5223</link>
<pubDate>Tue, 06 Mar 2007 19:54:50 +0000</pubDate>
<dc:creator>CBFAdmin</dc:creator>
<guid isPermaLink="false">5223@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I had problems too. The table was not created. I had to do it manualy. I have all of the latest updates for both WP and bbPress so I dont know what went wrong. To fix the data base issue go to you myphp admin (data base) and give the following command.&#60;/p&#62;
&#60;p&#62;CREATE TABLE &#60;code&#62;bb_privatemessages&#60;/code&#62; (&#60;br /&#62;
&#60;code&#62;pm_id&#60;/code&#62; BIGINT( 20 ) NOT NULL AUTO_INCREMENT ,&#60;br /&#62;
&#60;code&#62;id_sender&#60;/code&#62; INT( 11 ) NOT NULL ,&#60;br /&#62;
&#60;code&#62;id_receiver&#60;/code&#62; INT( 11 ) NOT NULL ,&#60;br /&#62;
&#60;code&#62;seen&#60;/code&#62; INT( 2 ) NOT NULL ,&#60;br /&#62;
&#60;code&#62;pmtitle&#60;/code&#62; VARCHAR( 64 ) NOT NULL ,&#60;br /&#62;
&#60;code&#62;message&#60;/code&#62; VARCHAR( 255 ) NOT NULL ,&#60;br /&#62;
&#60;code&#62;created_on&#60;/code&#62; DATETIME NOT NULL ,&#60;br /&#62;
PRIMARY KEY ( &#60;code&#62;pm_id&#60;/code&#62; )&#60;br /&#62;
) TYPE = MYISAM ;&#60;/p&#62;
&#60;p&#62;This solved my problems for now.
&#60;/p&#62;</description>
</item>
<item>
<title>netsleds on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4671</link>
<pubDate>Mon, 19 Feb 2007 23:24:23 +0000</pubDate>
<dc:creator>netsleds</dc:creator>
<guid isPermaLink="false">4671@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;ardentfrost.....thanks  I didn't have my-template folder as a subfolder of the bb-template directory so it was having a hard time with that.  I moved my-template folder under the bb-template directory and it worked.  Thanks for the input.
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4586</link>
<pubDate>Sat, 17 Feb 2007 07:22:06 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">4586@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;added&#60;/p&#62;
&#60;p&#62;I might not be able to help you tonight, but just shoot me an IM when you see me on.
&#60;/p&#62;</description>
</item>
<item>
<title>suleiman on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4584</link>
<pubDate>Sat, 17 Feb 2007 05:41:58 +0000</pubDate>
<dc:creator>suleiman</dc:creator>
<guid isPermaLink="false">4584@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;ardent, i'd love to get this fixed over IM.&#60;/p&#62;
&#60;p&#62;Add me to gchat, msuleimankhan is my handle.
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4533</link>
<pubDate>Thu, 15 Feb 2007 19:32:03 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">4533@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;it should really only care about the name of the column.  Even if you set it to int, it would get some values (they wouldn't make any sense however).&#60;/p&#62;
&#60;p&#62;I'm pretty sure in .80 of bbpress you have to have the template folder inside my-templates.   So those files should be in my-templates/[your template here].  The function that gets the location only returns the location of the template folder.&#60;/p&#62;
&#60;p&#62;Plus when you load /pm.php you don't get any errors, just nothing is displayed in the source.  I bet if you added an echo to say &#34;hello&#34; in pm.php it would be displayed.  I bet if you added an echo below the file call for privatemessages.php you wouldn't get jack.  If that's the case, that means the function is unable to find privatemessages.php and is halting.&#60;/p&#62;
&#60;p&#62;I should have come up with some way to display something if it can't find the file.  I'll release that in the next version... but for now it seems most likely to me either the files aren't in the correct place or something affecting it's ability to find the files has occurred.
&#60;/p&#62;</description>
</item>
<item>
<title>netsleds on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4530</link>
<pubDate>Thu, 15 Feb 2007 18:52:29 +0000</pubDate>
<dc:creator>netsleds</dc:creator>
<guid isPermaLink="false">4530@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I do have the template files in /my-template/ folder (I even put them in the default template directory too), I am using mod-rewrite, and when I initially set up the pm plugin, the database did not install, so I grabbed the query from the bb-privatemessage.php file to create the bb_privatemessage table and when I ran the query it gave me an error with the &#34;message&#34; column saying &#60;/p&#62;
&#60;p&#62;&#34;&#60;a href=&#34;http://trac.bbpress.org/ticket/1074&#34;&#62;#1074&#60;/a&#62; - Too big column length for column 'message' (max = 255). Use BLOB instead&#34; &#60;/p&#62;
&#60;p&#62;So I set it to BLOB and Even tried LONGTEXT.  I don't see if it would make a difference or not, but maybe that is why?
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4528</link>
<pubDate>Thu, 15 Feb 2007 18:20:55 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">4528@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sorry, I just saw these 2 posts.&#60;/p&#62;
&#60;p&#62;Suleiman, the &#34;seen&#34; is just a boolean value that tells whether or not the receiver of the PM has opened the message or not.  It should be expected for it to have some zeros on there if no one can see their PMs.  As for id_receiver, do you have someone with an id of zero?  Or all they all zeros, even those to multiple people?&#60;/p&#62;
&#60;p&#62;Sometimes the best way to work through the problems is to do it through IMs, so if you'd like to do that, just let me know.  We can get it working for you.&#60;/p&#62;
&#60;p&#62;Netsleds, there should be DB errors the first time you install the plugin, but that's just for when the tables are being created.  Upon refresh, they should go away (I assume they did?).  As for your problem of it being a blank page, that is certainly strange.  It's not showing anything in the source, even the header or footer, which makes me think you might not have the template files in the correct place.  Do you have them in the directory of the template you're using?
&#60;/p&#62;</description>
</item>
<item>
<title>netsleds on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4495</link>
<pubDate>Thu, 15 Feb 2007 01:13:46 +0000</pubDate>
<dc:creator>netsleds</dc:creator>
<guid isPermaLink="false">4495@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Tried installing this plugin on our forums and having problems.  First had problem with db errors and now when you click on the private message link and it goes to pm.php it is just a blank screen.   any ideas what went wrong?  url for forums is &#60;a href=&#34;http://www.netsleds.com/netsleds_forums&#34; rel=&#34;nofollow&#34;&#62;www.netsleds.com/netsleds_forums&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>suleiman on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4295</link>
<pubDate>Fri, 09 Feb 2007 23:22:00 +0000</pubDate>
<dc:creator>suleiman</dc:creator>
<guid isPermaLink="false">4295@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I upgraded to .80, and used the .80 version of the plugin, but unfortunately I am still having the same erorrs with wpmu integration. &#60;/p&#62;
&#60;p&#62;At the top of my pm page it displays: &#60;/p&#62;
&#60;p&#62;bbPress database error: [Table 'suleiman_bbpress.bb_users' doesn't exist]&#60;br /&#62;
SELECT * FROM bb_users WHERE ID = 1&#60;/p&#62;
&#60;p&#62;In addition, when I send a message it gives me the following error in the table displaying &#34;Sent Messages&#34; under the &#34;To&#34; column:&#60;/p&#62;
&#60;p&#62;bb_get_user needs a numeric ID&#60;/p&#62;
&#60;p&#62;Interestingly enough, if I go into phpMyAdmin and browse the bb_privatemessages table, I can see that my posts have values for pm_id, and id_sender, but id_receiver has a 0 value. So too, predictably does &#34;seen&#34;
&#60;/p&#62;</description>
</item>
<item>
<title>timgedny on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4261</link>
<pubDate>Fri, 09 Feb 2007 10:16:35 +0000</pubDate>
<dc:creator>timgedny</dc:creator>
<guid isPermaLink="false">4261@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;A big cheers to ardentfrost. I've upgraded to 0.8 and now have private messages working. Thank you!
&#60;/p&#62;</description>
</item>
<item>
<title>timgedny on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4155</link>
<pubDate>Thu, 08 Feb 2007 19:30:09 +0000</pubDate>
<dc:creator>timgedny</dc:creator>
<guid isPermaLink="false">4155@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Cheers. I'll try this first thing tommorrow. No problems - will be great to have private messaging. Thanks for the plugin and the help!
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4142</link>
<pubDate>Thu, 08 Feb 2007 18:30:52 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">4142@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;PS. oh, on second thought, maybe your tables aren't created?  Open up your mysql and check if _privatemessages is there.  If not, you can open bb-privatemessages.php and look at the first function in that file.  It gives the layout of the tables.
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4141</link>
<pubDate>Thu, 08 Feb 2007 18:29:29 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">4141@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Looks like the table is there and you're running into the WPMU bug that I believe Trent and/or spencer talk about  in this thread.&#60;/p&#62;
&#60;p&#62;Actually, spencer posted a fix for it here :&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.org/forums/topic/401/page/2?replies=66#post-2733&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/401/page/2?replies=66#post-2733&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Sorry about the bug.  I highly suggest upgrading to .80 as soon as that version of bbpress is released.  It addresses that issue.
&#60;/p&#62;</description>
</item>
<item>
<title>timgedny on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4138</link>
<pubDate>Thu, 08 Feb 2007 18:04:54 +0000</pubDate>
<dc:creator>timgedny</dc:creator>
<guid isPermaLink="false">4138@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks guys - I've installed .73 and we appear to be closer. It now at least renders the page but still doesn't create the database table and hence gives the follwoing error...&#60;/p&#62;
&#60;p&#62;bbPress database error: [Table 'db189779439.p2tbb_privatemessages' doesn't exist]&#60;br /&#62;
SELECT * FROM p2tbb_privatemessages WHERE id_receiver = 1 ORDER BY created_on DESC&#60;/p&#62;
&#60;p&#62;bbPress database error: [Table 'db189779439.p2tbb_privatemessages' doesn't exist]&#60;br /&#62;
SELECT * FROM p2tbb_privatemessages WHERE id_sender = 1 ORDER BY created_on DESC&#60;/p&#62;
&#60;p&#62;Can I just manually add the table to the database? I have bbpress integrated with Word Press if that makes any difference. Your help is much appreciated.
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4136</link>
<pubDate>Thu, 08 Feb 2007 15:49:13 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">4136@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;PS. Or you can install the trac version of bbpress... or just wait for when .80 comes out (I wouldn't suggest this since it was supposed to come out 2 days ago and, well... here we are)
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4135</link>
<pubDate>Thu, 08 Feb 2007 15:47:49 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">4135@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sorry man, I updated the plugin 2 days ago to be compatible with the new .80 release of bbpress.  You'll have to get the most recent .73 version.  If you can't figure out how to get it from /plugins, you can go to &#60;a href=&#34;http://faq.rayd.org/bbpress_private_message/&#34; rel=&#34;nofollow&#34;&#62;http://faq.rayd.org/bbpress_private_message/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>timgedny on "Plugin - Private Messages"</title>
<link>http://bbpress.org/forums/topic/plugin-private-messages/page/3#post-4125</link>
<pubDate>Thu, 08 Feb 2007 12:27:49 +0000</pubDate>
<dc:creator>timgedny</dc:creator>
<guid isPermaLink="false">4125@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi Everyone. &#60;/p&#62;
&#60;p&#62;I'm trying to install this on my forum but getting the following message when I try and run the /pm.php file:&#60;/p&#62;
&#60;p&#62;bbPress database error: [Table 'db189779439.p2tbb_privatemessages' doesn't exist]&#60;br /&#62;
SELECT * FROM p2tbb_privatemessages WHERE id_receiver = 1 ORDER BY created_on DESC&#60;/p&#62;
&#60;p&#62;bbPress database error: [Table 'db189779439.p2tbb_privatemessages' doesn't exist]&#60;br /&#62;
SELECT * FROM p2tbb_privatemessages WHERE id_sender = 1 ORDER BY created_on DESC&#60;/p&#62;
&#60;p&#62;Fatal error: Call to undefined function: bb_load_template() in /homepages/34/d139864185/htdocs/pig2twig.lineindustries.net/forums/pm.php on line 19&#60;/p&#62;
&#60;p&#62;I'm sure all files are in the correct locations. Is this due to the WP integration issue discussed above? Does anyone know how to fix? I'm guessing I could create the tables manually but suspect I'll still get the Fatal Error to the undefined function.&#60;/p&#62;
&#60;p&#62;Thanks for any help. Tim
&#60;/p&#62;</description>
</item>
<item>
<title>thomasklaiber on "Request: Posts since last visit"</title>
<link>http://bbpress.org/forums/topic/request-posts-since-last-visit#post-3927</link>
<pubDate>Thu, 01 Feb 2007 19:55:59 +0000</pubDate>
<dc:creator>thomasklaiber</dc:creator>
<guid isPermaLink="false">3927@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hmm... I think I'm an egoistic programmer :D I just set my &#60;code&#62;$where&#60;/code&#62; with = instead of .= ... I'll change it.&#60;/p&#62;
&#60;p&#62;Do you think this will fix it?
&#60;/p&#62;</description>
</item>
<item>
<title>davidbessler on "Request: Posts since last visit"</title>
<link>http://bbpress.org/forums/topic/request-posts-since-last-visit#post-3906</link>
<pubDate>Thu, 01 Feb 2007 10:38:22 +0000</pubDate>
<dc:creator>davidbessler</dc:creator>
<guid isPermaLink="false">3906@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Problem:  With forum restriction, I use the following code to filter topics with the default views:&#60;br /&#62;
&#60;code&#62;function forum_restriction_list_of_allowed_forums($user) {&#60;br /&#62;
	global $forum_restriction_allowed_in_forum,$bb_current_user;&#60;br /&#62;
	foreach ($forum_restriction_allowed_in_forum as $forum_number =&#38;gt; $forum_memberlist){&#60;br /&#62;
		if (ereg(get_user_name($user),$forum_memberlist) &#124;&#124; $forum_memberlist ==&#38;#39;&#38;#39;){&#60;br /&#62;
			$list_of_allowed_forums .= &#38;quot;&#38;#39;&#38;quot;.$forum_number.&#38;quot;&#38;#39;,&#38;quot;;&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;br /&#62;
	$list_of_allowed_forums = rtrim($list_of_allowed_forums,&#38;quot;,&#38;quot;);&#60;br /&#62;
	return $list_of_allowed_forums;&#60;br /&#62;
}&#60;br /&#62;
//  FILTER TOPICS&#60;br /&#62;
function forum_restriction_get_latest_topics_where( $where ) {&#60;br /&#62;
	if (bb_is_user_logged_in()) {&#60;br /&#62;
		global $bb_current_user;&#60;br /&#62;
		$list_of_allowed_forums = forum_restriction_list_of_allowed_forums($bb_current_user-&#38;gt;ID);&#60;br /&#62;
		$where .= &#38;quot; AND forum_id IN ($list_of_allowed_forums) &#38;quot;;&#60;br /&#62;
		echo &#38;quot;where is set to: $where&#38;quot;;&#60;br /&#62;
		return $where;&#60;br /&#62;
	} else {&#60;br /&#62;
		return $where;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;br /&#62;
add_filter ( &#38;#39;get_latest_topics_where&#38;#39;, &#38;#39;forum_restriction_get_latest_topics_where&#38;#39; );&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The problem is this doesn't work with bb_custom_views used by since-last-visit.php.  It seems the plugin changes the $where AFTER forum-restriction has already tried to filter the $where.&#60;/p&#62;
&#60;p&#62;How do I get forum_restriction_get_latest_topic_where to add  &#34; AND forum_id IN ($list_of_allowed_forums) &#34; to $where AFTER since-last-post sets $where?&#60;/p&#62;
&#60;p&#62;Kapish?
&#60;/p&#62;</description>
</item>
<item>
<title>MrPapasWorld on "Request: Posts since last visit"</title>
<link>http://bbpress.org/forums/topic/request-posts-since-last-visit#post-3901</link>
<pubDate>Thu, 01 Feb 2007 05:28:24 +0000</pubDate>
<dc:creator>MrPapasWorld</dc:creator>
<guid isPermaLink="false">3901@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Seems to be working just fine...
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Request: Posts since last visit"</title>
<link>http://bbpress.org/forums/topic/request-posts-since-last-visit#post-3838</link>
<pubDate>Tue, 30 Jan 2007 16:58:58 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">3838@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I will test this out for sure and get back to you later on when I get a chance!   Looks good so far!  Just need to test out the new features!&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>thomasklaiber on "Request: Posts since last visit"</title>
<link>http://bbpress.org/forums/topic/request-posts-since-last-visit#post-3831</link>
<pubDate>Tue, 30 Jan 2007 14:19:49 +0000</pubDate>
<dc:creator>thomasklaiber</dc:creator>
<guid isPermaLink="false">3831@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Download the updated beta version here:&#60;br /&#62;
&#60;a href=&#34;http://plugins-dev.bbpress.org/browser/posts-since-last-visit/trunk/since-last-visit.php?format=raw&#34; rel=&#34;nofollow&#34;&#62;http://plugins-dev.bbpress.org/browser/posts-since-last-visit/trunk/since-last-visit.php?format=raw&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Demo here:&#60;br /&#62;
&#60;a href=&#34;http://la-school.com/bbpress/&#34; rel=&#34;nofollow&#34;&#62;http://la-school.com/bbpress/&#60;/a&#62; (Test/test)&#60;/p&#62;
&#60;p&#62;It requires Onlinelist 1.4 to work!!&#60;/p&#62;
&#60;p&#62;As requested in another thread here, If you want to indicate new posts with an icon next to the topic do it this way:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
&#38;lt;?php if ($topic-&#38;gt;topic_time &#38;gt; view_since_last_visit_user()) : ?&#38;gt;&#60;br /&#62;
DISPLAY IF NEW&#60;br /&#62;
&#38;lt;?php else : ?&#38;gt;&#60;br /&#62;
DISPLAY IF NOT NEW&#60;br /&#62;
&#38;lt;?php endif; ?&#38;gt;&#60;br /&#62;
&#60;/code&#62;&#60;br /&#62;
add this in front of you topic title.&#60;/p&#62;
&#60;p&#62;At the moment the topic still stay &#34;new&#34; even if you've already seen it, till the next visit. Gonna fix this in next version.&#60;/p&#62;
&#60;p&#62;Any Feedback?
&#60;/p&#62;</description>
</item>
<item>
<title>ostlund on "Request: Posts since last visit"</title>
<link>http://bbpress.org/forums/topic/request-posts-since-last-visit#post-3049</link>
<pubDate>Mon, 08 Jan 2007 22:04:13 +0000</pubDate>
<dc:creator>ostlund</dc:creator>
<guid isPermaLink="false">3049@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;In bb_press 0.74 you need to change &#34;init&#34; to &#34;bb_init&#34; on line 48. Like this:&#60;br /&#62;
add_action('bb_init', 'online_update');&#60;/p&#62;
&#60;p&#62;And then it works again. ;)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
