<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Свободные форумы sunshine Форум: bbPress Function reference - Свежие темы</title>
		<link>http://forum.sunshine.by/forum/bbpress-function-reference</link>
		<description>Гей и Лесби форум</description>
		<language>ru-RU</language>
		<pubDate>Fri, 10 Sep 2010 15:43:43 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Поиск]]></title>
			<description><![CDATA[Искать во всех темах этих форумов.]]></description>
			<name>q</name>
			<link>http://forum.sunshine.by/search.php</link>
		</textInput>
		<atom:link href="http://forum.sunshine.by/rss/forum/bbpress-function-reference/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>sunshine.by на "If you want to ask a question"</title>
			<link>http://forum.sunshine.by/topic/if-you-want-to-ask-a-question#post-51</link>
			<pubDate>Ср, 15 Июл 2009 14:03:27 +0000</pubDate>
			<dc:creator>sunshine.by</dc:creator>
			<guid isPermaLink="false">51@http://forum.sunshine.by/</guid>
			<description>&#60;p&#62;If you want to ask a question about bbPress functions, please do so in this topic. However few rules apply:&#60;/p&#62;
&#60;p&#62;1. I am sorry, but you have to register. If you have no idea what Russian all over the site says, please go here. It is a familliar form, isn\'t it? Moreover, i am trying to make OpenID work (to no avail at this stage!) - which would make it even easier in the future, but alas! not now.&#60;/p&#62;
&#60;p&#62;So go here and register:&#60;br /&#62;
&#60;a href=&#34;http://sunshine.by/wp-login.php?action=register&#34; rel=&#34;nofollow&#34;&#62;http://sunshine.by/wp-login.php?action=register&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2. Always note your bbPress version. As the changes are serious from version to version, it is utterly important to know!&#60;/p&#62;
&#60;p&#62;3. If I think of something else, i will let you know :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sunshine.by на "topic_tags"</title>
			<link>http://forum.sunshine.by/topic/topic_tags#post-15</link>
			<pubDate>Вс, 12 Июл 2009 21:53:03 +0000</pubDate>
			<dc:creator>sunshine.by</dc:creator>
			<guid isPermaLink="false">15@http://forum.sunshine.by/</guid>
			<description>&#60;p&#62;topic_tags() function is responsible in bbPress for the output of tags relation to the current topic.&#60;/p&#62;
&#60;p&#62;Essentially the function calls the topic-tags.php file, where you can make all things nice.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sunshine.by на "forum_pages"</title>
			<link>http://forum.sunshine.by/topic/forum_pages#post-14</link>
			<pubDate>Вс, 12 Июл 2009 19:15:42 +0000</pubDate>
			<dc:creator>sunshine.by</dc:creator>
			<guid isPermaLink="false">14@http://forum.sunshine.by/</guid>
			<description>&#60;p&#62;forum_pages() creates and outputs navigation for your bbPress topic.&#60;/p&#62;
&#60;p&#62;The arguments for forum_pages() are:&#60;br /&#62;
id = 0;&#60;br /&#62;
before = empty;&#60;br /&#62;
after = empty;&#60;/p&#62;
&#60;p&#62;The use is very simple:&#60;br /&#62;
&#60;code&#62;forum_pages(\&#38;#39;before=[ &#38;amp;after= ]\&#38;#39;);&#60;/code&#62; will result in output, where the numbers of pages are simple non-broken string.&#60;/p&#62;
&#60;p&#62;A pleasure is that CSS rule is created automatically for each - which alows us to change that \'sticky\' feel.&#60;/p&#62;
&#60;p&#62;For instance, adding the following line to your style.css file would make the links look spaced:&#60;br /&#62;
&#60;code&#62;.page-numbers {margin-right:5px;}&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sunshine.by на "bb_new_topic_link"</title>
			<link>http://forum.sunshine.by/topic/bb_new_topic_link#post-13</link>
			<pubDate>Вс, 12 Июл 2009 19:00:23 +0000</pubDate>
			<dc:creator>sunshine.by</dc:creator>
			<guid isPermaLink="false">13@http://forum.sunshine.by/</guid>
			<description>&#60;p&#62;bb_new_topic_link outputs the link for creating a new Topic.&#60;/p&#62;
&#60;p&#62;A trciky one, actually, since basically what is does - it checkes where you are and if the Post-Form is present, links to it.&#60;/p&#62;
&#60;p&#62;Useful only for creating UI navigation, the bb_new_topic_link() function still has arguments:&#60;/p&#62;
&#60;p&#62;text = Add New &#38;gt;&#38;gt;;&#60;br /&#62;
forum = 0;&#60;br /&#62;
tag = null&#60;/p&#62;
&#60;p&#62;text - is an argument for the bb_new_topic_link() which is displayed to the final user. Ready for trsnlation, but since we canot rely on what language the bbPress installation is using, we have to come up our own.&#60;/p&#62;
&#60;p&#62;The following code in Topic named &#60;em&#62;bbPress&#60;/em&#62;&#60;br /&#62;
&#60;code&#62;bb_new_topic_link(\'text=Add New topic to \'.get_forum_name().\')&#60;/code&#62;&#60;br /&#62;
will result in a link:&#60;br /&#62;
&#60;a href=&#34;http://forum.sunshine.by&#34;&#62;Add New topic to bbPress&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sunshine.by на "post_form"</title>
			<link>http://forum.sunshine.by/topic/post_form#post-12</link>
			<pubDate>Вс, 12 Июл 2009 18:05:44 +0000</pubDate>
			<dc:creator>sunshine.by</dc:creator>
			<guid isPermaLink="false">12@http://forum.sunshine.by/</guid>
			<description>&#60;p&#62;post_form() function is used in bbPress to output the form which can be used variously - as a New Topic post and in Reply Post &#60;/p&#62;
&#60;p&#62;Basically it calles the post-form.php file, where francly, evertyhing is done just well. You would  only need to use CSS rules to make it better.&#60;/p&#62;
&#60;p&#62;On the other hand, post_form() allows the use of additional arguments:&#60;/p&#62;
&#60;p&#62;post_form() arguments:&#60;br /&#62;
h2 = empty;&#60;br /&#62;
last_page_only = true;&#60;/p&#62;
&#60;p&#62;These are easy to use. For instance, the following code&#60;br /&#62;
&#60;code&#62;post_form(\'h2=New Topic&#38;amp;last_page_only=FALSE\')&#60;/code&#62;&#60;br /&#62;
when used in forum.php will result in adding a New Topic post form labeled &#60;strong&#62;New Topic&#60;/strong&#62;, which would be added on every page of the forum.php (as opposite to only the last page of the forum list)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sunshine.by на "topic_page_links"</title>
			<link>http://forum.sunshine.by/topic/topic_page_links#post-6</link>
			<pubDate>Вс, 12 Июл 2009 17:05:20 +0000</pubDate>
			<dc:creator>sunshine.by</dc:creator>
			<guid isPermaLink="false">6@http://forum.sunshine.by/</guid>
			<description>&#60;p&#62;topic_page_links() - outputs the list of links to the pages of a bbPress topic.&#60;/p&#62;
&#60;p&#62;The default arguments are as follows:&#60;/p&#62;
&#60;p&#62;id =&#38;gt;0&#60;br /&#62;
showall=&#38;gt; false&#60;br /&#62;
end_size = 3&#60;br /&#62;
before = -&#60;br /&#62;
after =&#60;/p&#62;
&#60;p&#62;For instance, the following code&#60;br /&#62;
&#60;code&#62;&#38;lt;?php topic_page_links(get_topic_id, \'before=\'.__(\'Pages:\',\'ioni2\').\' [ &#38;amp;after= ]\');  ?&#38;gt;&#60;/code&#62;&#60;br /&#62;
will produce the folliwng result (given there are pages!)&#60;br /&#62;
&#60;strong&#62;Pages: [ 2 ]&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Have any questions? Ask me here!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
