Search Results for 'test'
-
AuthorSearch Results
-
September 7, 2009 at 10:09 pm #31671
Topic: "next page" link redirects to WordPress login page
in forum Troubleshootingannejan
MemberI installed the latest bbPress version (1.0.2) and integrated in WordPress 2.8.4.
Everything seems working, but only the footer navigation with the “next page” links don’t work.
I think it is a conflict between the htaccess files of bbPress and WordPress.
If I switch Options -MultiViews to Options +MultiViews, the “next pages” work.
But from that moment the topic page redirects to /topic/17475/page/17475 (the latest number isn’t correct).
Anyone a solution? Thanks in advance.
September 7, 2009 at 7:38 pm #31667Topic: Plugin to display photos and html
in forum InstallationQuickD
MemberHow do you link to html link in the forum post and display photos. Is there a plugin for that? I have latest version of bbpress.
September 7, 2009 at 12:39 pm #78036In reply to: Important update for bbpress seo tools
Olaf Lederer
Participant@dragunoff, upgrade to the latest bbpress version
September 7, 2009 at 8:49 am #31659Topic: Change position for post inputfield
in forum TroubleshootingBaraBajen
MemberHi,
hoping for help, since I´m not in no way good enough to find this answer.
The inputfiled for posts/replys in atopic seems to be attached to the page where the first post in a topic was made. Since I´ve using the the threads so that the latest post gets on top in the first page (and therefore the first post ends upp last in the last page). What happens is that the posting (input)-field ends upp on the last page.
Is it possible to change in the code så that the posting field ends upp connected to the last posting/reply. And then (hopefully on page one).
Anybody?
September 6, 2009 at 9:48 pm #78683In reply to: Where to restore BBpress Tag (bbpress 1.0.2)
wsokc
MemberAt last its solved, I follow ur idea and its works.
First I upgrade it the old database to the latest bbpress, then I import it for each table manually, the tags located in bb_terms.
Thanks Anyway.
September 6, 2009 at 12:41 pm #78694In reply to: Lack of bbsync means I might go with SMF
Adam Harley (Kawauso)
MemberI’ve never quite understood the complaints about cookies and bbPress/WordPress integration… I set up a fresh copy of 1.0.2 locally with no prior knowledge and it worked fine (Windows test server). I FTPed it onto my live server and changed over the addresses and it works fine, apart from an odd quirk to do with bb-admin and where you log in. My cookies hold across either site, and for that matter to a MediaWiki install I have tied in to the same user set.
I quite understand the issue with cross-posting though. I’d fix it myself if I could work out how to initialise bbPress core cleanly inside WordPress, but that’s not possible in 1.0, so for now all you can use is plugins that do it by HTTP. Hopefully that will be integrated into core later on, but including bbPress as a WordPress plugin would be shoehorning something that was designed to be relatively standalone into a different structure and no doubt would over complicate things.
September 6, 2009 at 11:36 am #76967In reply to: Kin Kakumei (Gold Kakumei)
Marius-
Memberkirpi.it, here is the code, like Kawauso pointed out:
#latest th a, #forumlist th a, #favorites th a {style.css (line 714)
-moz-border-radius-bottomleft:6px;
-moz-border-radius-bottomright:6px;
-moz-border-radius-topleft:6px;
-moz-border-radius-topright:6px;
background-color:#9D0000;
border:1px solid #FFFFFF;
color:#FFFFFF;
padding:2px;You can see this theme in action at http://www.michaeljackson.no/forum
September 6, 2009 at 10:26 am #76966In reply to: Kin Kakumei (Gold Kakumei)
Adam Harley (Kawauso)
MemberIt’s using class
new-topic, so you’d need.newtopic {}… it can’t be found because there’s no actual CSS affecting it specifically. I’d recommend using Mozilla Firefox’s DOM inspector or looking at the HTML source to find class/ID tags for things.Oh, and it’s affected by (in Kakumei at least):
#latest th a, #forumlist th a, #favorites th aanda:visitedSeptember 6, 2009 at 8:28 am #78638In reply to: Added tags do not update the page
kirpiit
MemberSo.
1. – I just dowloaded 1.0.2 once again from bbpress.org and completely reloaded the Kakumei folder into my install. [1]
2. – Tags do *not* work as they should once you load the forum, log in and try. Please see http://www.kirpi.it/r/topic/evita (User: Evita Password: IE0Rc4vpTl7P) for a free test.
3. – When I disable Javascript as suggested, tags adding start to work fine (although not ajaxically, obviously): the tag is recorded, the page is reloaded, the tag is inserted into the list and the input field is cleared.
4. – Re-enabling Javascript, it sometimes work and sometimes not.
5. – Repeating points 3 and 4 confirms point 4. Test were done many times with the latest Firefox.
It is all funny, but I cannot get a clue of it.
—-
[1] I also updated the bb-templates/kakumei/rss2.php as indicated here
https://bbpress.org/forums/topic/all-rss-feeds-broken#post-57278 in attempt to solve the RSS problem (which was not solved, but this is another story).
September 5, 2009 at 5:35 pm #78325Ashish Kumar (Ashfame)
ParticipantTry integrating as per this tutorial of mine on a test install : http://blog.ashfame.com/2009/07/integrate-bbpress-10-with-wordpress-28/
Just follow closely and you should be fine.
September 5, 2009 at 12:58 pm #78667In reply to: css problem
Olaf Lederer
Participantmight be changed in my own sheet, but this is the class:
#latest th, #forumlist th, #favorites th {
text-align: left;
background-color:#666666;
font: 11px Arial, Helvetica, sans-serif;
font-weight: normal;
padding: 5px 9px;
color:#fff;
white-space: nowrap
}September 5, 2009 at 10:12 am #31643Topic: Connecting Facebook group to BBPress ?
in forum Requests & FeedbackMarius-
MemberI know theres a discussion going on about using Facebook Connect with BBPress, but I wonder if there is any there way to merge these two?
I run a website, with an own Facebook group. They usually just write on the wall what the latest discussion is. Manually, with no links.
Is it possible to get something like an RSS feed of the forum integrated into the Facebook group? So users there can see the 10 latest threads appear as links?
September 5, 2009 at 1:07 am #73172In reply to: target _blank
Adam Harley (Kawauso)
MemberCheck for a trailing space or anything after the
?>or before the<?php. That error implies that some text is being passed and in my test install, that was a space after the?>.September 5, 2009 at 12:53 am #77508In reply to: All RSS Feeds Broken?
Adam Harley (Kawauso)
MemberWith the final patch from track applied against 1.0.2 trunk you get:
bb-templates/kakumei/rss2.php
<?php
header( 'Content-Type: text/xml; charset=UTF-8' );
echo '<' . '?xml version="1.0" encoding="UTF-8"?' . '>' . "n";
bb_generator( 'comment' );
?>
<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><?php echo $title; ?></title>
<link><?php echo $link; ?></link>
<description><?php echo $description; ?></description>
<language><?php esc_html( bb_option('language') ); ?></language>
<pubDate><?php echo gmdate('D, d M Y H:i:s +0000'); ?></pubDate>
<?php bb_generator( 'rss2' ); ?>
<textInput>
<title><![CDATA[<?php _e('Search'); ?>]]></title>
<description><![CDATA[<?php _e('Search all topics from these forums.'); ?>]]></description>
<name>q</name>
<link><?php bb_uri('search.php'); ?></link>
</textInput>
<atom:link href="<?php echo $link_self; ?>" rel="self" type="application/rss+xml" />
<?php foreach ($posts as $bb_post) : ?>
<item>
<title><?php post_author(); ?> <?php _e('on')?> "<?php topic_title( $bb_post->topic_id ); ?>"</title>
<link><?php post_link(); ?></link>
<pubDate><?php bb_post_time('D, d M Y H:i:s +0000', array( 'localize' => false ) ); ?></pubDate>
<dc:creator><?php post_author(); ?></dc:creator>
<guid isPermaLink="false"><?php post_id(); ?>@<?php bb_uri(); ?></guid>
<description><?php post_text(); ?></description>
</item>
<?php endforeach; ?>
</channel>
</rss>bb-includes/defaults.bb-filters.php
<?php
/**
* Sets up the default filters and actions for most
* of the bbPress hooks.
*
* If you need to remove a default hook, this file will
* give you the priority for which to use to remove the
* hook.
*
* Not all of the default hooks are found in this files
*
* @package bbPress
*/
// Strip, trim, kses, special chars for string saves
$filters = array( 'pre_term_name', 'bb_pre_forum_name', 'pre_topic_title' );
foreach ( $filters as $filter ) {
add_filter( $filter, 'strip_tags' );
add_filter( $filter, 'trim' );
add_filter( $filter, 'bb_filter_kses' );
add_filter( $filter, 'esc_html', 30 );
}
// Kses only for textarea saves
$filters = array( 'pre_term_description', 'bb_pre_forum_desc' );
foreach ( $filters as $filter ) {
add_filter( $filter, 'bb_filter_kses' );
}
// Slugs
add_filter( 'pre_term_slug', 'bb_pre_term_slug' );
// DB truncations
add_filter( 'pre_topic_title', 'bb_trim_for_db_150', 9999 );
add_filter( 'bb_pre_forum_name', 'bb_trim_for_db_150', 9999 );
add_filter( 'pre_term_name', 'bb_trim_for_db_55', 9999 );
// Format Strings for Display
$filters = array( 'forum_name', 'topic_title', 'bb_title', 'bb_option_name' );
foreach ( $filters as $filter ) {
add_filter( $filter, 'esc_html' );
}
// Numbers
$filters = array( 'forum_topics', 'forum_posts', 'total_posts', 'total_users', 'total_topics' );
foreach ( $filters as $filter ) {
add_filter( $filter, 'bb_number_format_i18n' );
}
// Offset Times
$filters = array( 'topic_time', 'topic_start_time', 'bb_post_time' );
foreach ( $filters as $filter ) {
add_filter( $filter, 'bb_offset_time', 10, 2 );
}
add_filter('bb_topic_labels', 'bb_closed_label', 10);
add_filter('bb_topic_labels', 'bb_sticky_label', 20);
add_filter('pre_post', 'trim');
add_filter('pre_post', 'bb_encode_bad');
add_filter('pre_post', 'bb_code_trick');
add_filter('pre_post', 'force_balance_tags');
add_filter('pre_post', 'bb_filter_kses', 50);
add_filter('pre_post', 'bb_autop', 60);
add_filter('post_text', 'do_shortcode');
function bb_contextualise_search_post_text()
{
if ( bb_is_search() ) {
add_filter( 'get_post_text', 'bb_post_text_context' );
}
}
add_action( 'bb_init', 'bb_contextualise_search_post_text' );
add_filter('post_text', 'make_clickable');
add_filter('edit_text', 'bb_code_trick_reverse');
add_filter('edit_text', 'wp_specialchars');
add_filter('edit_text', 'trim', 15);
add_filter('pre_sanitize_with_dashes', 'bb_pre_sanitize_with_dashes_utf8', 10, 3 );
add_filter('get_user_link', 'bb_fix_link');
add_filter('sanitize_profile_info', 'esc_html');
add_filter('sanitize_profile_admin', 'esc_html');
add_filter( 'get_recent_user_replies_fields', 'bb_get_recent_user_replies_fields' );
add_filter( 'get_recent_user_replies_group_by', 'bb_get_recent_user_replies_group_by' );
add_filter('sort_tag_heat_map', 'bb_sort_tag_heat_map');
// URLS
if ( !bb_get_option( 'mod_rewrite' ) ) {
add_filter( 'bb_stylesheet_uri', 'esc_attr', 1, 9999 );
add_filter( 'forum_link', 'esc_attr', 1, 9999 );
add_filter( 'bb_forum_posts_rss_link', 'esc_attr', 1, 9999 );
add_filter( 'bb_forum_topics_rss_link', 'esc_attr', 1, 9999 );
add_filter( 'bb_tag_link', 'esc_attr', 1, 9999 );
add_filter( 'tag_rss_link', 'esc_attr', 1, 9999 );
add_filter( 'topic_link', 'esc_attr', 1, 9999 );
add_filter( 'topic_rss_link', 'esc_attr', 1, 9999 );
add_filter( 'post_link', 'esc_attr', 1, 9999 );
add_filter( 'post_anchor_link', 'esc_attr', 1, 9999 );
add_filter( 'user_profile_link', 'esc_attr', 1, 9999 );
add_filter( 'profile_tab_link', 'esc_attr', 1, 9999 );
add_filter( 'favorites_link', 'esc_attr', 1, 9999 );
add_filter( 'view_link', 'esc_attr', 1, 9999 );
}
// Feed Stuff
function bb_filter_feed_content()
{
if ( bb_is_feed() ) {
add_filter( 'bb_title_rss', 'strip_tags');
add_filter( 'bb_title_rss', 'ent2ncr',
;
add_filter( 'bb_title_rss', 'esc_html' );
add_filter( 'bb_description_rss', 'strip_tags');
add_filter( 'bb_description_rss', 'ent2ncr', 8 );
add_filter( 'bb_description_rss', 'esc_html' );
add_filter( 'post_author', 'ent2ncr', 8 );
add_filter( 'post_link', 'esc_html' );
add_filter( 'post_text', 'ent2ncr' );
add_filter( 'post_text', 'htmlspecialchars' ); // encode_bad should not be overruled by esc_html
}
}
add_action( 'bb_init', 'bb_filter_feed_content' );
add_filter( 'init_roles', 'bb_init_roles' );
add_filter( 'map_meta_cap', 'bb_map_meta_cap', 1, 4 );
// Actions
add_action( 'bb_head', 'bb_generator' );
add_action('bb_head', 'bb_template_scripts');
add_action('bb_head', 'wp_print_scripts');
add_action('bb_head', 'wp_print_styles');
add_action('bb_head', 'bb_rsd_link');
add_action('bb_head', 'bb_pingback_link');
if ( $bb_log->type === 'console' ) {
add_action('bb_head', array(&$bb_log, 'console_javascript'));
add_action('bb_admin_head', array(&$bb_log, 'console_javascript'));
}
add_action('bb_send_headers', 'bb_pingback_header');
add_action('bb_admin_print_scripts', 'wp_print_scripts');
add_action('bb_user_has_no_caps', 'bb_give_user_default_role');
add_action('do_pingbacks', array('BB_Pingbacks', 'send_all'), 10, 1);
add_action( 'bb_init', 'bb_register_default_views' );
add_action( 'set_current_user', 'bb_apply_wp_role_map_to_user' );
add_filter( 'bb_pre_get_option_gmt_offset', 'wp_timezone_override_offset' );
unset( $filters, $filter );rss.php
<?php
require('./bb-load.php');
// Determine the type of feed and the id of the object
if ( isset($_GET['view']) || bb_get_path() == 'view' ) {
// View
$feed = 'view';
$feed_id = isset($_GET['view']) ? $_GET['view'] : bb_get_path(2);
} elseif ( isset($_GET['topic']) || bb_get_path() == 'topic' ) {
// Topic
$feed = 'topic';
$topic = get_topic(isset($_GET['topic']) ? $_GET['topic'] : bb_get_path(2));
$feed_id = $topic->topic_id;
} elseif ( isset($_GET['profile']) || bb_get_path() == 'profile' ) {
// Profile
$feed = 'profile';
$feed_id = isset($_GET['profile']) ? $_GET['profile'] : bb_get_path(2);
} elseif ( isset($_GET['tag']) || bb_get_path() == 'tags' ) {
if ( isset($_GET['topics']) || bb_get_path(3) == 'topics' ) {
// Tag recent topics
$feed = 'tag-topics';
} else {
// Tag recent posts
$feed = 'tag-posts';
}
$feed_id = isset($_GET['tag']) ? $_GET['tag'] : bb_get_path(2);
} elseif ( isset($_GET['forum']) || bb_get_path() == 'forum' ) {
if ( isset($_GET['topics']) || bb_get_path(3) == 'topics' ) {
// Forum recent topics
$feed = 'forum-topics';
} else {
// Forum recent posts
$feed = 'forum-posts';
}
$forum = bb_get_forum(isset($_GET['forum']) ? $_GET['forum'] : bb_get_path(2));
$feed_id = $forum->forum_id;
} elseif ( isset($_GET['topics']) || bb_get_path() == 'topics' ) {
// Recent topics
$feed = 'all-topics';
} else {
// Recent posts
$feed = 'all-posts';
}
// Initialise the override variable
$bb_db_override = false;
do_action( 'bb_rss.php_pre_db' );
if ( !$bb_db_override ) {
// Get the posts and the title for the given feed
switch ($feed) {
case 'view':
if ( !isset($bb_views[$feed_id]) )
die();
if ( !$bb_views[$feed_id]['feed'] )
die();
if ( !$topics_object = new BB_Query( 'topic', $bb_views[$feed_id]['query'], "bb_view_$feed_id" ) )
die();
$topics = $topics_object->results;
if ( !$topics || !is_array($topics) )
die();
$posts = array();
foreach ($topics as $topic) {
$posts[] = bb_get_first_post($topic->topic_id);
}
$title = sprintf( __( '%1$s » View: %2$s' ), bb_get_option( 'name' ), $bb_views[$feed_id]['title'] );
$link = get_view_link($feed_id);
$link_self = bb_get_view_rss_link($feed_id);
break;
case 'topic':
if ( !$topic = get_topic ( $feed_id ) )
die();
if ( !$posts = get_thread( $feed_id, 0, 1 ) )
die();
$title = sprintf( __( '%1$s » Topic: %2$s' ), bb_get_option( 'name' ), get_topic_title() );
$link = get_topic_link($feed_id);
$link_self = get_topic_rss_link($feed_id);
break;
case 'profile':
if ( bb_get_option( 'mod_rewrite' ) === 'slugs' ) {
$user = bb_get_user_by_nicename( $feed_id );
} else {
$user = bb_get_user( $feed_id );
}
if ( !$user ) {
die();
}
if ( !$posts = get_user_favorites( $user->ID ) ) {
die();
}
$title = sprintf( __( '%1$s » User Favorites: %2$s' ), bb_get_option( 'name' ), $user->user_nicename );
$link = bb_get_profile_link($feed_id);
$link_self = get_favorites_rss_link($feed_id);
break;
case 'tag-topics':
if ( !$tag = bb_get_tag( $feed_id ) )
die();
if ( !$topics = get_tagged_topics( array( 'tag_id' => $tag->tag_id, 'page' => 0 ) ) )
die();
$posts = array();
foreach ($topics as $topic) {
$posts[] = bb_get_first_post($topic->topic_id);
}
$title = sprintf( __( '%1$s » Tag: %2$s - Recent Topics' ), bb_get_option( 'name' ), bb_get_tag_name() );
$link = bb_get_tag_link($feed_id);
$link_self = bb_get_tag_topics_rss_link($feed_id);
break;
case 'tag-posts':
if ( !$tag = bb_get_tag( $feed_id ) )
die();
if ( !$posts = get_tagged_topic_posts( array( 'tag_id' => $tag->tag_id, 'page' => 0 ) ) )
die();
$title = sprintf( __( '%1$s » Tag: %2$s - Recent Posts' ), bb_get_option( 'name' ), bb_get_tag_name() );
$link = bb_get_tag_link($feed_id);
$link_self = bb_get_tag_posts_rss_link($feed_id);
break;
case 'forum-topics':
if ( !$topics = get_latest_topics( $feed_id ) )
die();
$posts = array();
foreach ($topics as $topic) {
$posts[] = bb_get_first_post($topic->topic_id);
}
$title = sprintf( __( '%1$s » Forum: %2$s - Recent Topics' ), bb_get_option( 'name' ), get_forum_name( $feed_id ) );
$link = get_forum_link($feed_id);
$link_self = bb_get_forum_topics_rss_link($feed_id);
break;
case 'forum-posts':
if ( !$posts = bb_get_latest_forum_posts( $feed_id ) )
die();
$title = sprintf( __( '%1$s » Forum: %2$s - Recent Posts' ), bb_get_option( 'name' ), get_forum_name( $feed_id ) );
$link = get_forum_link($feed_id);
$link_self = bb_get_forum_posts_rss_link($feed_id);
break;
// Get just the first post from the latest topics
case 'all-topics':
if ( !$topics = get_latest_topics() )
die();
$posts = array();
foreach ($topics as $topic) {
$posts[] = bb_get_first_post($topic->topic_id);
}
$title = sprintf( __( '%1$s » Recent Topics' ), bb_get_option( 'name' ) );
$link = bb_get_uri();
$link_self = bb_get_topics_rss_link();
break;
// Get latest posts by default
case 'all-posts':
default:
if ( !$posts = bb_get_latest_posts( 35 ) )
die();
$title = sprintf( __( '%1$s » Recent Posts' ), bb_get_option( 'name' ) );
$link = bb_get_uri();
$link_self = bb_get_posts_rss_link();
break;
}
}
bb_send_304( $posts[0]->post_time );
if (!$description = bb_get_option( 'description' ) ) {
$description = $title;
}
$title = apply_filters( 'bb_title_rss', $title, $feed );
$description = apply_filters( 'bb_description_rss', $description, $feed );
$posts = apply_filters( 'bb_posts_rss', $posts, $feed );
$link_self = apply_filters( 'bb_link_self_rss', $link_self, $feed );
bb_load_template( 'rss2.php', array('bb_db_override', 'title', 'description', 'link', 'link_self'), $feed );
?>September 5, 2009 at 12:22 am #72864In reply to: Hide Links
Adam Harley (Kawauso)
MemberI think should do it, it’s based off code here: https://bbpress.org/forums/topic/open-links-in-new-window
Change the values of $forums to the forum IDs of those you wish to restrict (it’ll only work on direct parent forums, not grandparents or categories, I don’t want to include walker code unless people need it).
Tested on 1.0.2 trunk, so I’m not 100% sure it’ll run on 0.9, sorry.
<?php
/*
Plugin Name: Remove Links (conditional)
Description: Removes links for non-registered users. Based on <a href="http://ckon.wordpress.com/2007/07/12/bbpress-plugin-bb-tweaks/">bb tweaks</a>.
Plugin URI: https://bbpress.org/forums/topic/hide-links
Version: 0.01
*/
function bb_strip_links( $text ) {
global $topic;
$forums = array(
1,
2,
3,
);
if ( !in_array( $topic->forum_id, $forums ) )
return $text;
if ( !bb_current_user_can( 'write_post' ) )
$text = preg_replace('|<a (.+?)>(.+?)</a>|i', 'Login or register to download', $text);
return $text;
}
add_filter('post_text', 'bb_strip_links');
?>@Hanratty: hiding links using CSS visibility will still leave the link URLs in the code, which isn’t too desirable for some
September 4, 2009 at 6:54 pm #78636In reply to: Added tags do not update the page
kirpiit
MemberNo, the theme you see here now http://www.kirpi.it/r/topic/evita is the standard Kakumei, just the way it comes out of the install. Not even the slightest edit to it.
Instead, I have some plugin enabled.
September 3, 2009 at 7:41 pm #78586In reply to: Need to fix a couple of things in theme
gerikg
Member<?php bb_new_topic_link(); ?>the code to add new.The first one I know is in front-page.php
you have
<?php if ( $forums ) : ?>then the Latest Discussion
then Forum
<?php endif; // bb_forums() ?>Then Views
and the part you’re missing
<?php else : // $forums ?>
<div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php _e('Add New Topic'); ?></div>
<?php post_form(); endif; // $forums ?>September 2, 2009 at 6:04 pm #77077In reply to: bbpress and memcache?
frooyo
MemberThere does appear to be an option that everyone is overlooking … and that’s Output Caching.
We’ve talked about memcache, optcode caching and mysql query caching … but truly the most effective is simply perform Output Caching for non-logged in users.
In case someone is not aware, Output Caching is saving to disk the generated HTML. That way, instead of memcache where you have to make a call to the memcache server, or in mysql you’re still making the database call or in optcode caching, it’s simply pre-compliling the PHP … Output Caching is by far the fastest because it essentially just serving up pre-generated HTML straight from disk.
September 2, 2009 at 3:25 pm #78564In reply to: RSS feed for user
Ipstenu (Mika Epstein)
ModeratorInteresting. There actually IS an RSS built into your user ID: https://bbpress.org/forums/rss/profile/otto42
But it’s used for your favorites so not so much. You can see all your posts in your profile (recent posts) so in theory this should be ‘exportable’ to RSS.
The rss.php file has this:
// Get latest posts by default
case 'all-posts':
default:
if ( !$posts = bb_get_latest_posts( 35 ) )
die();
$title = esc_html( sprintf( __( '%1$s » Recent Posts' ), bb_get_option( 'name' ) ) );
$link = bb_get_uri();
$link_self = bb_get_posts_rss_link();
break;Which I think you could toss an extra if
if ( $user->ID == bb_get_current_user_info( 'id' ) )but that would only punt out a list of the current user’s posts, and not be a way to see anyones. The structure is there, though.September 2, 2009 at 1:52 pm #78611johnhiler
Member_ck_ posted a fix here that you can make to your template:
https://bbpress.org/forums/topic/navigation-not-working-only-for-page-1
I installed her “topics per page” plugin, which fixed it nicely as well (and gave more functionality to boot).
September 2, 2009 at 10:20 am #31632_working_
MemberThe navigation bar on the front page is not working, I have updated to the latest trunk and they are still not working.
Is there any way to fix for this. Any help will be much appreciated.
September 2, 2009 at 5:46 am #65581In reply to: Delete Post by It’s Owner
_ck_
ParticipantIn theory it should be also possible to allow users to move their own topics if placed in the wrong category:
(untested, should allow a user to move only their own topics within the same time period they can typically edit a topic, ie. 1 hour default)
function move_own_topic($retvalue, $capability, $args) {
if ($capability=="move_topic") {return bb_current_user_can( 'edit_topic', $args[1]);}
return $retvalue;
}
add_filter('bb_current_user_can', 'move_own_topic',10,3);August 31, 2009 at 8:58 am #78566In reply to: Changing the latest discussions part
x_maras
MemberOk, I managed to do it : )
I installed a plugin (“Topics Per Page (0.0.7)”) for reducing the number of the latest discussions’ posts and I changed in my template, in the front-page.php file, the order in the of the two tables (latest discussions and forums).
Finally was easier than I thought : )
August 31, 2009 at 7:53 am #31626Topic: Changing the latest discussions part
in forum Themesx_maras
MemberHi,
I ve just installed a bbpress forum and successfully moved the posts from an old forum that we had.
However, I would like to change a bit the appearance of the forum.
I’d like to reduce the number of the posts in the latest discussions around to 10 posts and i would also like
move the latest discussions in the bottom, under the Forum part.
Could you give me any tips how I could make that.
Thank you in advance,
Dinos
August 31, 2009 at 4:36 am #78499In reply to: Coverter from WP-Forum to bbpress
eclipsenow
MemberIt is SO sad that bbpress isn’t a one-click install plugin for WordPress. I want a forum that clicks into my main CMS quickly, that automatically reports latest posts to the *website homepage*, that automatically integrates user permissions etc, and that works with similar User Control Panel and information for all areas of the CMS.
I want a blog that can automatically send posts/articles to the forum (the way bbsyn USED TO before support for it was dropped) where the comments can enjoy the full power of a forum.
And I want it all in a few clicks.
Only Joomla seems to do that with it’s 2 highly supported “fully loaded” forums. (Forums that have all the options already in them, and that don’t need basic things like email-notification added on.)
-
AuthorSearch Results