<?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: Mirce</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums User Favorites: Mirce</description>
<language>en</language>
<pubDate>Sat, 22 Nov 2008 22:46:48 +0000</pubDate>

<item>
<title>Mirce on "Changing Mod Rewrite rules"</title>
<link>http://bbpress.org/forums/topic/changing-mod-rewrite-rules#post-4667</link>
<pubDate>Mon, 19 Feb 2007 21:22:19 +0000</pubDate>
<dc:creator>Mirce</dc:creator>
<guid isPermaLink="false">4667@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've made something similar. It still needs some work. You can see the result at &#60;a href=&#34;http://www.dfur.com&#34; rel=&#34;nofollow&#34;&#62;http://www.dfur.com&#60;/a&#62; and download the plugin from &#60;a href=&#34;http://bbpress.org/forums/topic/771&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/771&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This is my first plugin wrote and it needs some more work with the .htaccess rules. The pagination is not yet fixed and if somone could help me please let me know.&#60;/p&#62;
&#60;p&#62;Thanx.
&#60;/p&#62;</description>
</item>
<item>
<title>bbpressfriend on "Changing Mod Rewrite rules"</title>
<link>http://bbpress.org/forums/topic/changing-mod-rewrite-rules#post-4661</link>
<pubDate>Mon, 19 Feb 2007 18:43:47 +0000</pubDate>
<dc:creator>bbpressfriend</dc:creator>
<guid isPermaLink="false">4661@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Open bb-includes/template-functions.php and change:&#60;/p&#62;
&#60;p&#62;		$link = bb_get_option('uri') . &#34;forum/$forum-&#38;gt;forum_id&#34; . ( 1 &#38;lt; $page ? &#34;/page/$page&#34; : '' );&#60;/p&#62;
&#60;p&#62;to&#60;/p&#62;
&#60;p&#62;		$link = bb_get_option('uri') . &#34;forum-$forum-&#38;gt;forum_id&#34; . ( 1 &#38;lt; $page ? &#34;/page/$page&#34; : '' );&#60;/p&#62;
&#60;p&#62;Now open your .htaccess file and change:&#60;/p&#62;
&#60;p&#62;RewriteRule ^forum/(.+)/page/?([0-9]{1,})/?$ forum.php?id=$1&#38;#38;page=$2 [QSA,L]&#60;br /&#62;
RewriteRule ^forum/(.+)/?$ forum.php?id=$1 [QSA,L]&#60;/p&#62;
&#60;p&#62;to&#60;/p&#62;
&#60;p&#62;RewriteRule ^forum-(.+)/page/?([0-9]{1,})/?$ forum.php?id=$1&#38;#38;page=$2 [QSA,L]&#60;br /&#62;
RewriteRule ^forum-(.+)/?$ forum.php?id=$1 [QSA,L]&#60;/p&#62;
&#60;p&#62;bye
&#60;/p&#62;</description>
</item>
<item>
<title>nateolson on "Changing Mod Rewrite rules"</title>
<link>http://bbpress.org/forums/topic/changing-mod-rewrite-rules#post-4660</link>
<pubDate>Mon, 19 Feb 2007 18:22:22 +0000</pubDate>
<dc:creator>nateolson</dc:creator>
<guid isPermaLink="false">4660@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Nice. Keep rockin' it.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Changing Mod Rewrite rules"</title>
<link>http://bbpress.org/forums/topic/changing-mod-rewrite-rules#post-4658</link>
<pubDate>Mon, 19 Feb 2007 15:55:02 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">4658@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Here's a sneak peak at the patch functionality....&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.network.net.au/bbpress/patches/permalinks/teaser.gif&#34; rel=&#34;nofollow&#34;&#62;http://www.network.net.au/bbpress/patches/permalinks/teaser.gif&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Still working out a few details.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Changing Mod Rewrite rules"</title>
<link>http://bbpress.org/forums/topic/changing-mod-rewrite-rules#post-4620</link>
<pubDate>Sun, 18 Feb 2007 11:35:49 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">4620@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Actually, it's harder than this. What I wrote above is only a part of the issue. I'm working on a patch at the moment.
&#60;/p&#62;</description>
</item>
<item>
<title>ear1grey on "Setting a different css class for the first topic"</title>
<link>http://bbpress.org/forums/topic/setting-a-different-css-class-for-the-first-topic#post-4589</link>
<pubDate>Sat, 17 Feb 2007 17:14:10 +0000</pubDate>
<dc:creator>ear1grey</dc:creator>
<guid isPermaLink="false">4589@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It doesn't have to know the difference.  You set&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$special&#60;/code&#62;&#60;/pre&#62;
 to be a special class &#60;em&#62;before&#60;/em&#62; the loop, then the last thing you do &#60;em&#62;in&#60;/em&#62; the loop is set&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$special&#60;/code&#62;&#60;/pre&#62;
 to be something else.  So the first time round the loop&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$special&#60;/code&#62;&#60;/pre&#62;
 has it's original value, then at the end of the first loop it's value is changed (so it's no longer the initial value).  &#60;/p&#62;
&#60;p&#62;The fact that the value is repeatedly reset to the other value is irrelevant (there is overhead in this, but it's comparable to calling a function each time round the loop to check for &#34;is this the first item&#34; and it has the advantage that it's not API specific.
&#60;/p&#62;</description>
</item>
<item>
<title>Mirce on "Setting a different css class for the first topic"</title>
<link>http://bbpress.org/forums/topic/setting-a-different-css-class-for-the-first-topic#post-4573</link>
<pubDate>Fri, 16 Feb 2007 21:07:34 +0000</pubDate>
<dc:creator>Mirce</dc:creator>
<guid isPermaLink="false">4573@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sounds difficult to set up:)&#60;br /&#62;
I understand that I create a variable but how do I make it make the difference between the posts.&#60;/p&#62;
&#60;p&#62;I found a bb_is_first and I am thinking in using this one somehow.
&#60;/p&#62;</description>
</item>
<item>
<title>ear1grey on "Setting a different css class for the first topic"</title>
<link>http://bbpress.org/forums/topic/setting-a-different-css-class-for-the-first-topic#post-4571</link>
<pubDate>Fri, 16 Feb 2007 20:57:14 +0000</pubDate>
<dc:creator>ear1grey</dc:creator>
<guid isPermaLink="false">4571@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;A lazy short circuit solution which makes the first displayed entry in a loop appear different:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$special=&#38;quot;specialClass normalClass&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;for {&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;  echo ... class=&#38;quot;$special&#38;quot; ...&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;  $special=&#38;quot;normalClass&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Mirce on "Setting a different css class for the first topic"</title>
<link>http://bbpress.org/forums/topic/setting-a-different-css-class-for-the-first-topic#post-4566</link>
<pubDate>Fri, 16 Feb 2007 17:56:53 +0000</pubDate>
<dc:creator>Mirce</dc:creator>
<guid isPermaLink="false">4566@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Is there a way to set up a new css class for the first post in a topic? I am thinking at something like;&#60;/p&#62;
&#60;p&#62;if post_id = 1&#60;br /&#62;
echo &#34;some class&#34;&#60;/p&#62;
&#60;p&#62;I am a PHP newbye and I am having problems implementing this...&#60;br /&#62;
Thanx.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Changing Mod Rewrite rules"</title>
<link>http://bbpress.org/forums/topic/changing-mod-rewrite-rules#post-4353</link>
<pubDate>Sun, 11 Feb 2007 09:58:05 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">4353@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;All the magic happens in bb_repermalink() in bb-includes/function.php but the real problem here is that get_path() splits by &#34;/&#34; to find out the topic/forum/user id.&#60;/p&#62;
&#60;p&#62;You could plugin to bb_repermalink() and change the value of $permalink that way.&#60;/p&#62;
&#60;p&#62;e.g. if your permalinks were of the form, forum-12, topic-34 etc. (already setup in your .htaccess file)&#60;/p&#62;
&#60;p&#62;You could make the following file...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;
function my_pre_permalink() {
        $p = get_path(0);
        $p = split(&#38;#39;-&#38;#39;, $p);
        $p = $p[1];
        return $p;
}

add_action(&#38;#39;pre_permalink&#38;#39;, &#38;#39;my_pre_premalink&#38;#39;);
&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Drop that into your plugins directory and it should work.&#60;/p&#62;
&#60;p&#62;Of course I haven't tested this, but it should work in theory.
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Changing Mod Rewrite rules"</title>
<link>http://bbpress.org/forums/topic/changing-mod-rewrite-rules#post-4287</link>
<pubDate>Fri, 09 Feb 2007 20:32:09 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">4287@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I don't know anyone that has successfully done it (at least I can't remember a post or anyone bragging about it), but I created  a TRAC ticket for a future version on this issue:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://trac.bbpress.org/ticket/579&#34; rel=&#34;nofollow&#34;&#62;http://trac.bbpress.org/ticket/579&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You might be able to play with rewrite-rules.php in the /bb-admin/ folder to get some direction on what to change in the meantime to play with it, but I don't believe it is pluggable (for a plugin).&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>Mirce on "Changing Mod Rewrite rules"</title>
<link>http://bbpress.org/forums/topic/changing-mod-rewrite-rules#post-4286</link>
<pubDate>Fri, 09 Feb 2007 20:23:28 +0000</pubDate>
<dc:creator>Mirce</dc:creator>
<guid isPermaLink="false">4286@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've read some posts and it looks that lots of people want to play with their permalinks. WP handles great this link customization but I was unable to find anything for bbPress. Does anyone had any success with changing the mod_rewrite rules and modifying the current permalinks?&#60;/p&#62;
&#60;p&#62;Thanx.
&#60;/p&#62;</description>
</item>
<item>
<title>Mirce on "Changing Mod Rewrite rules"</title>
<link>http://bbpress.org/forums/topic/changing-mod-rewrite-rules#post-4262</link>
<pubDate>Fri, 09 Feb 2007 12:25:07 +0000</pubDate>
<dc:creator>Mirce</dc:creator>
<guid isPermaLink="false">4262@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I've successfully installed bbPress and Pretty Premalinks on my site. I want to modify the Premalinks.&#60;/p&#62;
&#60;p&#62;For example:&#60;br /&#62;
&#60;a href=&#34;http://www.example.com/forum/1&#34; rel=&#34;nofollow&#34;&#62;http://www.example.com/forum/1&#60;/a&#62;&#60;br /&#62;
to become&#60;br /&#62;
&#60;a href=&#34;http://www.example.com/forum-1&#34; rel=&#34;nofollow&#34;&#62;http://www.example.com/forum-1&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I tried to modify the admin/rewrite-rules.php.  &#60;/p&#62;
&#60;p&#62;RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ &#38;lt;?php bb_option( 'path' ); ?&#38;gt;forum.php?id=$1&#38;#38;page=$2 [L,QSA]&#60;br /&#62;
My ideea was:&#60;br /&#62;
RewriteRule ^forum-([0-9]+)/page/([0-9]+)$ &#38;lt;?php bb_option( 'path' ); ?&#38;gt;forum.php?id=$1&#38;#38;page=$2 [L,QSA]&#60;/p&#62;
&#60;p&#62;However all the changes I do the rewrite-rules.php give an error and do not modify the ULR. Is there another file where the rewrite-rules are configured?&#60;/p&#62;
&#60;p&#62;Thanx for the support.
&#60;/p&#62;</description>
</item>
<item>
<title>planetphillip on "Freshness?"</title>
<link>http://bbpress.org/forums/topic/freshness#post-139</link>
<pubDate>Mon, 16 Oct 2006 16:30:29 +0000</pubDate>
<dc:creator>planetphillip</dc:creator>
<guid isPermaLink="false">139@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;OK, that seemed to work.  Looks like it had to be set to where the site was hosted.  Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>ergate on "Freshness?"</title>
<link>http://bbpress.org/forums/topic/freshness#post-138</link>
<pubDate>Mon, 16 Oct 2006 16:22:49 +0000</pubDate>
<dc:creator>ergate</dc:creator>
<guid isPermaLink="false">138@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;As far as I know.. No.&#60;br /&#62;
Just try setting the time one direction or the other + or - until you find your setting.&#60;br /&#62;
Not much of an answer but I had to do that a while ago then all was right.
&#60;/p&#62;</description>
</item>
<item>
<title>planetphillip on "Freshness?"</title>
<link>http://bbpress.org/forums/topic/freshness#post-132</link>
<pubDate>Mon, 16 Oct 2006 15:21:37 +0000</pubDate>
<dc:creator>planetphillip</dc:creator>
<guid isPermaLink="false">132@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Although I'm not the original poster I have the same problem and tried a few different entries for the $bb-&#38;gt;gmt_offset but it changes nothing. &#60;/p&#62;
&#60;p&#62;Am I supposed to do anything else other than replace the config file?&#60;/p&#62;
&#60;p&#62;IS the offest number supposed to be in quotes or anything?
&#60;/p&#62;</description>
</item>
<item>
<title>ergate on "Freshness?"</title>
<link>http://bbpress.org/forums/topic/freshness#post-131</link>
<pubDate>Mon, 16 Oct 2006 15:06:35 +0000</pubDate>
<dc:creator>ergate</dc:creator>
<guid isPermaLink="false">131@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;In your config file set the time, according to your time zone, time zone of your server, or whatever time you wish it to display.&#60;br /&#62;
$bb-&#38;gt;gmt_offset = 0;
&#60;/p&#62;</description>
</item>
<item>
<title>cfofiu on "Freshness?"</title>
<link>http://bbpress.org/forums/topic/freshness#post-127</link>
<pubDate>Mon, 16 Oct 2006 14:33:36 +0000</pubDate>
<dc:creator>cfofiu</dc:creator>
<guid isPermaLink="false">127@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;How can I fix the Freshness: -1 years?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
