Search Results for 'bbpress'
-
AuthorSearch Results
-
July 25, 2018 at 4:12 pm #194080
In reply to: Migrate from Simple Press
Robin W
Moderatorinstall and activater bbpress
go to
dashboard>tools>forums>import forum and select simplepress5 from the platform listJuly 25, 2018 at 2:39 pm #194076Topic: Migrate from Simple Press
in forum Installationsquaremdesign
ParticipantNeed to migrate a Simple Press forum to BBPress – what is the best way to do this?
July 25, 2018 at 11:32 am #194071In reply to: Anonymous posting not working
Robin W
ModeratorIt could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
July 24, 2018 at 3:27 am #194057In reply to: Replies Created & Subscribed Forums
Robin W
Moderatorok, so this works on my test site
in discussions-replies
<?php add_filter ('bbp_before_has_replies_parse_args' , 'rew_filter_for_user' ) ?> <?php if ( bbp_get_user_replies_created( $user_id = bp_loggedin_user_id() ) ) : ?> <?php bbp_get_template_part( 'pagination', 'replies' ); ?> <?php bbp_get_template_part( 'loop', 'replies' ); ?> <?php bbp_get_template_part( 'pagination', 'replies' ); ?> <?php else : ?> <p><?php _e( 'You have not replied to any topics.', 'bbpress' ); ?></p> <?php endif; ?>and in functions
function rew_filter_for_user ($args) { $uid = bbp_get_current_user_id(); $args['author'] = $uid ; return $args ; }let me know if it works on yours
July 23, 2018 at 11:38 pm #194056Topic: @user-name vs @user name functionality
in forum TroubleshootingRobertL4807
ParticipantMy forums currently recognize “@user-name” with the dash.
Anyone know how to get bbPress to recognize “@user name” with a space?Much appreciated
ThanksJuly 23, 2018 at 7:25 pm #194055In reply to: Replies Created & Subscribed Forums
quigley05
Participant1. I created a new template file titled discussions-replies and discussions-subscriptions under my WordPress child theme.
2. I placed within discussions-replies the following code:
<?php /* Template Name: Discussions Replies Created */ get_header(); // Page options $header = ghostpool_option( 'page_header' ) == 'default' ? ghostpool_option( 'page_page_header' ) : ghostpool_option( 'page_header' ); $height = ghostpool_option( 'page_header_height', 'padding-bottom' ) != '' ? ghostpool_option( 'page_header_height', 'padding-bottom' ) : ghostpool_option( 'page_page_header_height', 'height' ); $format = ghostpool_option( 'blog_format' ); $style = ghostpool_option( 'blog_style' ); $alignment = ghostpool_option( 'blog_alignment' ); $cats = ghostpool_option( 'blog_cats' ) ? implode( ',', ghostpool_option( 'blog_cats' ) ) : ''; $post_types = ghostpool_option( 'blog_post_types' ) ? implode( ',', ghostpool_option( 'blog_post_types' ) ) : ghostpool_option( 'blog_post_types' ); $orderby = ghostpool_option( 'blog_orderby' ); $per_page = ghostpool_option( 'blog_per_page' ); $offset = ghostpool_option( 'blog_offset' ); $image_size = ghostpool_option( 'blog_image_size' ); $content_display = ghostpool_option( 'blog_content_display' ); $excerpt_length = ghostpool_option( 'blog_excerpt_length' ); $meta_author = ghostpool_option( 'blog_meta', 'author' ); $meta_date = ghostpool_option( 'blog_meta', 'date' ); $meta_comment_count = ghostpool_option( 'blog_meta', 'comment_count' ); $meta_views = ghostpool_option( 'blog_meta', 'views' ); $meta_likes = ghostpool_option( 'blog_meta', 'likes' ); $meta_cats = ghostpool_option( 'blog_meta', 'cats' ); $meta_tags = ghostpool_option( 'blog_meta', 'tags' ); $read_more_link = ghostpool_option( 'blog_read_more_link' ); $pagination = 'page-numbers'; ?> <div class="sub-nav-container"> <div class="sub-nav-pagetitle"> <h1><?php the_title(); ?></h1> </div> <div class="sub-nav-about-menu"> <?php wp_nav_menu( array( 'theme_location' => 'sub-nav-discuss-menu', 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'sub-nav-discuss-menu', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?> </div> <div class="sub-nav-extramenu"> </div> </div> <div id="gp-content-wrapper" class="gp-container"> <?php do_action( 'ghostpool_begin_content_wrapper' ); ?> <div id="gp-inner-container"> <div id="gp-content"> <div class="gp-entry-content"> <div id="bbpress-forums"> <?php do_action( 'bbp_template_before_user_replies' ); ?> <div id="bbp-user-replies-created" class="bbp-user-replies-created"> <div class="bbp-user-section"> <?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?> <?php if ( bbp_get_user_replies_created( $user_id = bp_loggedin_user_id() ) ) : ?> <?php bbp_get_template_part( 'pagination', 'replies' ); ?> <?php bbp_get_template_part( 'loop', 'replies' ); ?> <?php bbp_get_template_part( 'pagination', 'replies' ); ?> <?php else : ?> <p><?php _e( 'You have not replied to any topics.', 'bbpress' ); ?></p> <?php endif; ?> </div> </div> </div> </div> </div> <?php get_sidebar( 'left' ); ?> <?php get_sidebar( 'right' ); ?> </div> <?php do_action( 'ghostpool_end_content_wrapper' ); ?> <div class="gp-clear"></div> </div> <?php get_footer(); ?>In discussions-subscriptions template I inserted the following code:
<?php /* Template Name: Discussions Subscriptions */ get_header(); // Page options $header = ghostpool_option( 'page_header' ) == 'default' ? ghostpool_option( 'page_page_header' ) : ghostpool_option( 'page_header' ); $height = ghostpool_option( 'page_header_height', 'padding-bottom' ) != '' ? ghostpool_option( 'page_header_height', 'padding-bottom' ) : ghostpool_option( 'page_page_header_height', 'height' ); $format = ghostpool_option( 'blog_format' ); $style = ghostpool_option( 'blog_style' ); $alignment = ghostpool_option( 'blog_alignment' ); $cats = ghostpool_option( 'blog_cats' ) ? implode( ',', ghostpool_option( 'blog_cats' ) ) : ''; $post_types = ghostpool_option( 'blog_post_types' ) ? implode( ',', ghostpool_option( 'blog_post_types' ) ) : ghostpool_option( 'blog_post_types' ); $orderby = ghostpool_option( 'blog_orderby' ); $per_page = ghostpool_option( 'blog_per_page' ); $offset = ghostpool_option( 'blog_offset' ); $image_size = ghostpool_option( 'blog_image_size' ); $content_display = ghostpool_option( 'blog_content_display' ); $excerpt_length = ghostpool_option( 'blog_excerpt_length' ); $meta_author = ghostpool_option( 'blog_meta', 'author' ); $meta_date = ghostpool_option( 'blog_meta', 'date' ); $meta_comment_count = ghostpool_option( 'blog_meta', 'comment_count' ); $meta_views = ghostpool_option( 'blog_meta', 'views' ); $meta_likes = ghostpool_option( 'blog_meta', 'likes' ); $meta_cats = ghostpool_option( 'blog_meta', 'cats' ); $meta_tags = ghostpool_option( 'blog_meta', 'tags' ); $read_more_link = ghostpool_option( 'blog_read_more_link' ); $pagination = 'page-numbers'; ?> <div class="sub-nav-container"> <div class="sub-nav-pagetitle"> <h1><?php the_title(); ?></h1> </div> <div class="sub-nav-about-menu"> <?php wp_nav_menu( array( 'theme_location' => 'sub-nav-discuss-menu', 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'sub-nav-discuss-menu', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?> </div> <div class="sub-nav-extramenu"> </div> </div> <div id="gp-content-wrapper" class="gp-container"> <?php do_action( 'ghostpool_begin_content_wrapper' ); ?> <div id="gp-inner-container"> <div id="gp-content"> <div class="gp-entry-content"> <div id="bbpress-forums"> <div id="bbp-user-subscriptions" class="bbp-user-subscriptions"> <h2>Subscribed Forums</h2> <?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?> <?php if ( bbp_get_user_forum_subscriptions( $uid ) ) : ?> <?php bbp_get_template_part( 'pagination', 'forums' ); ?> <?php bbp_get_template_part( 'loop', 'forums' ); ?> <?php bbp_get_template_part( 'pagination', 'forums' ); ?> <?php else : ?> <p><?php _e( 'You are not currently subscribed to any forums.', 'bbpress' ); ?></p> <?php endif; ?> <br><br> <h2>Subscribed Topics</h2> <?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?> <?php if ( bbp_get_user_topic_subscriptions( $uid ) ) : ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php else : ?> <p><?php _e( 'You are not currently subscribed to any topics.', 'bbpress' ); ?></p> <?php endif; ?> </div> </div> </div> </div> <?php get_sidebar( 'left' ); ?> <?php get_sidebar( 'right' ); ?> </div> <?php do_action( 'ghostpool_end_content_wrapper' ); ?> <div class="gp-clear"></div> </div> <?php get_footer(); ?>3. I then created two new pages with WordPress under their parent named “Discussions”, one page titled Replies and the other Subscriptions. I then assigned each page to their proper template that I just had created.
4. Now when I load the pages, the code is asking for a current user, however it ignores and shows on Replies all replies made by all users; on Subscriptions it shows that the user has made NO subscriptions, even though they have.
July 23, 2018 at 10:34 am #194053In reply to: Replies Created & Subscribed Forums
quigley05
ParticipantHi Robin,
Not quite sure I understand the question. The template names are mentioned within the code I provided and they are located in a page I’ve created in the WordPress backend, not one that is already provided within Buddypress or BBpress.
Would it be at all helpful to receive access to my backend? Hope this was helpful.
July 23, 2018 at 9:06 am #194051In reply to: Replies Created & Subscribed Forums
quigley05
ParticipantHi Robin,
I’m pasting what I’ve wrote in earlier messages as the issue hasn’t changed. Feel free to access these pages through the login as I think that will help clarify things.
The ‘Replies Created’ template is replacing the one originally within the buddypress profile section. It currently displays a list of all global replies within the forum, versus just the current user’s replies.
(https://obeii.com/discussions/replies/) (testuser / test1234)<?php /* Template Name: Discussions Replies Created */ get_header(); ?> <div class="sub-nav-container"> <div class="sub-nav-pagetitle"> <h1><?php the_title(); ?></h1> </div> <div class="sub-nav-about-menu"> <?php wp_nav_menu( array( 'theme_location' => 'sub-nav-discuss-menu', 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'sub-nav-discuss-menu', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?> </div> <div class="sub-nav-extramenu"> </div> </div> <div id="gp-content-wrapper" class="gp-container"> <?php do_action( 'ghostpool_begin_content_wrapper' ); ?> <div id="gp-inner-container"> <div id="gp-content"> <div class="gp-entry-content"> <div id="bbpress-forums"> <?php do_action( 'bbp_template_before_user_replies' ); ?> <div id="bbp-user-replies-created" class="bbp-user-replies-created"> <div class="bbp-user-section"> <?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?> <?php if ( bbp_get_user_replies_created( $user_id = bp_loggedin_user_id() ) ) : ?> <?php bbp_get_template_part( 'pagination', 'replies' ); ?> <?php bbp_get_template_part( 'loop', 'replies' ); ?> <?php bbp_get_template_part( 'pagination', 'replies' ); ?> <?php else : ?> <p><?php _e( 'You have not replied to any topics.', 'bbpress' ); ?></p> <?php endif; ?> </div> </div> </div> </div> </div> <?php get_sidebar( 'left' ); ?> <?php get_sidebar( 'right' ); ?> </div> <?php do_action( 'ghostpool_end_content_wrapper' ); ?> <div class="gp-clear"></div> </div> <?php get_footer(); ?>The ‘Subscribed Forums’ template is also replacing the one originally within the Buddypress profile section. It currently ignores the current user and claims they have no content even though they do. The page also contains ‘Subscribed Topics’ using similar code, which that sections works as expected with no known issues.
(https://obeii.com/discussions/subscriptions/) (testuser / test1234)<?php /* Template Name: Discussions Subscriptions */ get_header(); ?> <div class="sub-nav-container"> <div class="sub-nav-pagetitle"> <h1><?php the_title(); ?></h1> </div> <div class="sub-nav-about-menu"> <?php wp_nav_menu( array( 'theme_location' => 'sub-nav-discuss-menu', 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'sub-nav-discuss-menu', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?> </div> <div class="sub-nav-extramenu"> </div> </div> <div id="gp-content-wrapper" class="gp-container"> <?php do_action( 'ghostpool_begin_content_wrapper' ); ?> <div id="gp-inner-container"> <div id="gp-content"> <div class="gp-entry-content"> <div id="bbpress-forums"> <div id="bbp-user-subscriptions" class="bbp-user-subscriptions"> <h2>Subscribed Forums</h2> <?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?> <?php if ( bbp_get_user_forum_subscriptions( $uid ) ) : ?> <?php bbp_get_template_part( 'pagination', 'forums' ); ?> <?php bbp_get_template_part( 'loop', 'forums' ); ?> <?php bbp_get_template_part( 'pagination', 'forums' ); ?> <?php else : ?> <p><?php _e( 'You are not currently subscribed to any forums.', 'bbpress' ); ?></p> <?php endif; ?> <br><br> <h2>Subscribed Topics</h2> <?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?> <?php if ( bbp_get_user_topic_subscriptions( $uid ) ) : ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php else : ?> <p><?php _e( 'You are not currently subscribed to any topics.', 'bbpress' ); ?></p> <?php endif; ?> </div> </div> </div> </div> <?php get_sidebar( 'left' ); ?> <?php get_sidebar( 'right' ); ?> </div> <?php do_action( 'ghostpool_end_content_wrapper' ); ?> <div class="gp-clear"></div> </div> <?php get_footer(); ?>July 23, 2018 at 4:41 am #194036In reply to: Replies Created & Subscribed Forums
Robin W
Moderatorok, can I ask what you are trying to achieve?
where does this display ?
is this in buddypress or bbpress screen?
July 23, 2018 at 1:02 am #194029Topic: Best bbPress Admin / monitoring plugin?
in forum PluginsRobertL4807
ParticipantLooking for an admin panel plugin to be able to monitor latest posts and replies.
Also, a word blocker plugin would be great too.
I see a couple admin panel plugins but they are 3 software versions old.
Any suggestions?
Much appreciated.
Kindest,
RobertJuly 22, 2018 at 4:24 pm #194027In reply to: How to create members Area?
Robin W
Moderatorthis is a support forum for bbpress which ruins under wordpress, so if you are not wordpress then your thread is irrelevant 🙂
July 22, 2018 at 2:40 pm #194022Topic: Topic Description box not appearing
in forum Troubleshootingkwinanaonline
ParticipantI have tried to create a topic as a user and it does not have a box to enter the description… Please see image below.
WP version – 4.9.7
bbPress version – 2.5.14
Link to site
July 22, 2018 at 2:07 pm #194021In reply to: All Replies to Topic went to Spam
Robin W
ModeratorIt could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
July 22, 2018 at 1:56 pm #194020In reply to: Move forum information to the bottom
Robin W
ModeratorIf you know how to use ftp, then
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
Then on your pc create a text file called content-single-forum.php and put the following contents into it
<?php /** * Single Forum Content Part * * @package bbPress * @subpackage Theme */ ?> <div id="bbpress-forums"> <?php bbp_breadcrumb(); ?> <?php bbp_forum_subscription_link(); ?> <?php do_action( 'bbp_template_before_single_forum' ); ?> <?php if ( post_password_required() ) : ?> <?php bbp_get_template_part( 'form', 'protected' ); ?> <?php else : ?> <?php if ( bbp_has_forums() ) : ?> <?php bbp_get_template_part( 'loop', 'forums' ); ?> <?php endif; ?> <?php if ( !bbp_is_forum_category() && bbp_has_topics() ) : ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_single_forum_description(); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php elseif ( !bbp_is_forum_category() ) : ?> <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php endif; ?> <?php endif; ?> <?php do_action( 'bbp_template_after_single_forum' ); ?> </div>FTP this file to the directory you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-single-forum.php
bbpress will then use this file.
July 22, 2018 at 1:23 pm #194019In reply to: Logged in as different user
Robin W
ModeratorI cannot say – that would require access to your sites files, database and admin, and I suspect your users PC – and well beyond any free help.
all I can say is that wordpress is used on 74 million sites, and bbpress just uses wordpress logon, nothing more.
July 22, 2018 at 12:42 pm #194016In reply to: Logged in as different user
rasmusandesther
ParticipantI have queried this in with the WordPress support and as expected they say it is a BBpress issue.
So who is right?
July 22, 2018 at 11:50 am #194013In reply to: Odd slow-query
Robin W
Moderatornot directly, but bbpress does call wordpress functions via wp_query, and suspect this is the result of one of those.
July 22, 2018 at 7:50 am #194011Topic: Odd slow-query
in forum TroubleshootingIndrekkor
ParticipantHello,
Been optimizing my bbPress install, have managed to make it blazing fast with switching to MariaDB and configuring indexes.
Now i got rid of the usual slow-queries from my slow-query.log now something appeared that i haven’t seen before.
Is this a core bbPress query?
SELECT wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND wp_posts.post_parent IN (LONG LIST OF IDs) AND ( ( wp_postmeta.meta_key = '_bbp_forum_id' AND CAST(wp_postmeta.meta_value AS SIGNED) NOT IN ('11212874','22','1778309','2273738') ) ) AND wp_posts.post_type = 'reply' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC, wp_posts.ID DESC LIMIT 0, 1;July 21, 2018 at 2:21 pm #194008In reply to: Logged in as different user
Robin W
Moderatorbbpress just uses wordpress login, so at best this is a wordpress issue, so suggest you log it there
July 21, 2018 at 2:04 pm #194007In reply to: Logged in as different user
rasmusandesther
ParticipantThe text was a reply, when I asked if used bookmarks to log in or if she did anything different when logging in.
The user has now sent me two screenshots where I can see she is logged in as a different users, again neither her old or new username.
So I would say it is a BBpress issue.
July 21, 2018 at 1:56 pm #194006In reply to: Logged in as different user
Robin W
Moderatorthat’s not what the text you quoted says – she states that it is an old username.
Anyway this is a wordpress not bbpress issue, and is highly likely that it is user pc/browser/cookie/remember me issue.
Wordpress powers 10% of the internet, if this happened then it would be a major security issue for the whole of the internet 🙂
July 21, 2018 at 1:15 pm #194004In reply to: bbpress with Mailster
Robin W
Moderatorbbpress just uses wordpress registration, so the question is
Is there any way that we can automatically send a welcome email to the people that have registered using Mailster plugin?
and ask mailster 🙂
July 21, 2018 at 10:41 am #194002Topic: bbpress with Mailster
in forum PluginsAnmol DR Pant
ParticipantIs there any way that we can automatically send a welcome email to the people that have subscribed to the website through bbpress registration using Mailster plugin?
July 21, 2018 at 8:45 am #194000In reply to: Logged in as different user
Robin W
Moderatorlog in is a wordpress issue, bbpress just uses the wordpress login
when you say ‘being logged in as a different user.’ is this logging in as user ‘a’ and getting user ‘b’, or on entering the site being already logged in as user ‘b’.
July 21, 2018 at 8:06 am #193994Topic: Migration from Invision Power Board 4
in forum Installationdinsl
ParticipantHello there!
Is it possible to migrate from IPB 4 to bbpress? From the importer i see only the option IPB 3 and doesn´t work as the IPB 4 database is different.
I saw also one thread https://codex.bbpress.org/getting-started/importing-data/import-forums/invision/ but not for the IPB 4x version. Can somebody help me please?
Thanks in advance
-
AuthorSearch Results