Search Results for 'bbpress'
-
Search Results
-
Hi everyone!
I’m using a members plugin called UserPro. I’m trying to integrate bbPress forums with the user profiles created through UserPro.
All I’m trying to do is replace the user’s photo and username links to instead link to the UserPro profiles.
The plugin’s developer gave users his own CSS changes to the “Loop-single-topic”, “Loop-single-reply” and the “loop-single-forum” .php files.
Though his supplied CSS works in terms of replacing the links, it also breaks the look of the entire forum and removes all of the info below the user’s pic and name.
Here’s the default “loop-Single-reply”:
<?php /** * Replies Loop - Single Reply * * @package bbPress * @subpackage Theme */ ?> <div <?php bbp_reply_class(); ?>> <div class="bbp-reply-author"> <?php do_action( 'bbp_theme_before_reply_author_details' ); ?> <?php bbp_reply_author_link( array( 'sep' => '', 'show_role' => true ) ); ?> <div class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></div> <div class="bbps-post-count"><?php printf( __( 'Post count: %s', 'Avada' ), bbp_get_user_reply_count_raw(bbp_get_reply_author_id()) ); ?></div> <?php if ( bbp_is_user_keymaster() ) : ?> <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?> <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div> <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?> <?php endif; ?> <?php do_action( 'bbp_theme_after_reply_author_details' ); ?> </div><!-- .bbp-reply-author --> <div class="bbp-reply-content"> <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header clearfix"> <div class="bbp-meta"> <?php if ( bbp_is_single_user_replies() ) : ?> <span class="bbp-header"> <?php _e( 'in reply to: ', 'bbpress' ); ?> <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a> </span> <?php endif; ?> <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a> <?php do_action( 'bbp_theme_before_reply_admin_links' ); ?> <?php bbp_reply_admin_links( array ( 'after' => '<span class="admin_links_sep"> | </span></span>') ); ?> <?php do_action( 'bbp_theme_after_reply_admin_links' ); ?> </div><!-- .bbp-meta --> </div><!-- #post-<?php bbp_reply_id(); ?> --> <div class="bbp-reply-entry"> <?php do_action( 'bbp_theme_before_reply_content' ); ?> <?php bbp_reply_content(); ?> <?php do_action( 'bbp_theme_after_reply_content' ); ?> <div class="bbp-arrow"></div> </div> </div><!-- .bbp-reply-content --> </div><!-- .reply -->Here’s his supplied CSS:
<?php /** * Replies Loop - Single Reply * * @package bbPress * @subpackage Theme */ ?> <div <?php bbp_reply_class(); ?>> <div class="bbp-reply-author"> <?php do_action( 'bbp_theme_before_reply_author_details' ); ?> <?php /* Integrating UserPro */ global $userpro; $link = preg_replace("/(?<=href=(\"|'))[^\"']+(?=(\"|'))/", $userpro->permalink( bbp_get_reply_author_id() ), bbp_get_reply_author_link( array( 'sep' => '<br />', 'show_role' => false ) ) ); echo $link . userpro_show_badges( bbp_get_reply_author_id() ); ?> <?php if ( bbp_is_user_keymaster() ) : ?> <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?> <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div> <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?> <?php endif; ?> <?php do_action( 'bbp_theme_after_reply_author_details' ); ?> </div><!-- .bbp-reply-author --> <div class="bbp-reply-content"> <?php do_action( 'bbp_theme_before_reply_content' ); ?> <?php bbp_reply_content(); ?> <?php do_action( 'bbp_theme_after_reply_content' ); ?> </div><!-- .bbp-reply-content --> </div><!-- .reply -->I would be grateful to get any assistance on how I might change the links alone without modifying or breaking everything else. Thanks so much in advance.
I’m using the Avada theme.
Topic: Similar to PHPBB
Hi all,
I have just installed bbpress here – forum.I’ve been looking through the forums here and found a few posts relating to the style of PHPBB.
What I am trying to do is have something like the this:
Forum#1
–Sub Forum #1
—-Description
–Sub Forum #2
—-DescriptionForum#2
–Sub Forum #1
—-Description
–Sub Forum #2
—-DescriptionForum#3
–Sub Forum #1
—-Description
–Sub Forum #2
—-DescriptionAnd have topics for each sub forum displayed – hope that makes sense. I’m not too sure about forums & categories so feel free to comment.
I have read about editing the plugin files in a child theme but not too sure how to go about that. I have worked with child themes in WordPress before (and am currently), but is there a ‘plugin child theme’?
Thanks,
Al.Topic: Comment Count in forum pages
Does anyone know why, under the page title, the comment count and author line is showing?
Comments are disabled for the page, but on every page with bbpress on it still shows this line.
If you’re not sure what I’m referring to, the line reads:
“By on in | 0 comments”
it is normally removed by disabling comments in typical WP pages.TIA,
edooze.Hi
I am setting up a new BBPRess forum and I have changed the default reply order to descending so new replies begin at the top. So far so good.
However, when a new reply is submitted the user is taken to the other end of the thread rather than to the newest end. Is there a tweak I need to the reverse order code?
this is what I have in my functions:
function custom_bbp_has_replies() { $args['order'] = 'DESC'; // 'ASC' (Ascending, Default), 'DESC' (Descending) return $args; } add_filter('bbp_before_has_replies_parse_args', 'custom_bbp_has_replies' );thanks for any help.
I’ve turned the plugins on and off and the conclusion is that the bbpress plugin – which are very important for my blog – is causing problems with the bol.com plugin which is also very important for my blog. How to solve this? The developer of the bol.com plugin says: “If the problem is caused by one of the other plugins I am afraid I can not help you any further. You might want to contact one of the developers of the plugin that is causing the problem and send them the information in your console. They will probably be able to help you.”
Can you help me?
Thank you very much
I have a lot of custom fields I’m using in a particular forum when posting a new topic, and I’m wondering what the best way is to make certain ones required. Similar to how the topic title and topic content are required on a standard forum.
Also, I need to be able to make the topic content not required for the forum as well.
I haven’t found much when searching around the site and Google, but I did find where empty fields are being checked in plugins/bbpress/includes/topics/functions.php (around line 186). I’m just not sure the cleanest/best way to tap into that.
I’ve also debated using something like jQuery Validation, but I’d like the check to be done at the server level if possible. Just to prevent as much spam/malicious intent as possible because this is a public forum.
I appreciate the help!
I’ve discovered another strange bit of behaviour on my bbPress forums that is annoying me. When a page gets up to the maximum number of posts on a page, the Reply field goes over to a brand new page by itself. This is just silly user interface design, as anyone going to the ‘last’ page of a thread just gets the Reply field and not the last post of the thread. To make maters worse, there’s no easy way to get back to that post short of going back to the whole topic, then clicking through to the second-last page of the thread. It’s ridiculous.
here’s an example of what I’m talking about: http://www.orderofgamers.com/forums/topic/a-star-wars-descent/page/3/
So. is there anyway to fix this clunky functionality? Many thanks for any help.
Topic: Import from vBulletin
Hi folks. Saw this page, https://codex.bbpress.org/import-forums/vbulletin/
It hasn’t been updated in 2 years. Just wondering if there are any improvements made to this tool?
Some of my concerns are these listed:
1. Custom vBulletin BBCodes are not supported eg. [youtube] – You will have to manually change these yourself either before importing in vBulletin or after importing into bbPress using phpMyAdmin.
2. All ‘Ordered Lists’
- will be displayed as numerical lists.
3. You may find extra page breaks <br> and paragraph <p> elements in topics and replies and is less than ideal and is from the way the BBCodes are converted during the forum import conversion. You will find these primarily around ‘blockquotes’ and ‘lists’
In regards to
#1 If I create the exact bbocodes in BBPress prior to the import, I assume this would rectify this area correct?
#2 This is definitely not good. I’m hoping someone knows a trick around this.
#3 Same as above.