Search Results for 'code'
-
Search Results
-
I am having issues placing a current user’s ‘Replies Created’ and ‘Subscribed Forums’ within their unique templates. See below.
‘Replies Created’ (login testuser / test1234)
https://obeii.com/discussions-replies-created/
Code seems to just want to display all replies instead of the specific users. How can this be corrected to be filtered to that specific user?<?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?> <?php if ( bbp_get_user_replies_created( $uid ) ) : ?> <?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; ?>‘Subscribed Forums’ (login testuser / test1234)
https://obeii.com/discussions-subscriptions/
It works fine for ‘Subscribed Topics’ below the item, however ‘Subscribed Forums’ comes up empty with no results. Any clue on why that is?<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; ?>Hey all,
So I have a WordPress page called Register which uses the shortcode [bbp-register] to call up the registration form. I have linked the page below. The problem right now is that the “register” button isn’t doing anything. It does not appear to be clickable so when I enter an e-mail and password you can’t go any further. Not sure what would happen to prevent the button from working, hoping someone can notice if I’m missing anything.
Wordpress Version: 4.9.7
BBPress Version: 2.5.14Thanks in advance for any advice!
Topic: Keyword Shortcode
Hello and installed BBpress, and everything is ok. But when I use the Statistics shortcode. I get a column, annoying. Could someone tell me, what php file I can modify. To show me the data horizontally. And not vertical? … It would only be to change that code and for me it would be great.
My website is: https://www.libreriaurano.com/blog/
Hello,
How do I make sections in main Index forum page? I want to divide forums in multiple sections as mentioned below. I tried enabling the “Alternate Forum template 1” in bbp style plugin.. but didn’t work.
Example forum – https://mk3focusrs.club/forum/
I know we must insert a shortcode by creating different page for each forum section… but ain’t understanding how to… can someone help?
i want to show forums on my own theme but i don’t know how. does bbpress provide shortcodes?
I’m customizing my buddypress/bbpress user pages to be taken out of their traditional framework and placing that data on indvidual pages. However, when I do this the code has issues recognizing the current user and automatically ignores the logged in user. Does anyone know how to resolve this issue?
URL: http://obeii.com/discussions-topics-started/
CODE: (topics started)
<?php do_action( 'bbp_template_before_user_topics_created' ); ?> <div id="bbp-user-topics-started" class="bbp-user-topics-started"> <div class="bbp-user-section"> <?php if ( bbp_get_user_topics_started() ) : ?> <?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 bbp_is_user_home() ? _e( 'You have not started any topics.', 'bbpress' ) : _e( 'This user has not started any topics.', 'bbpress' ); ?></p> <?php endif; ?> </div> </div><!-- #bbp-user-topics-started --> <?php do_action( 'bbp_template_after_user_topics_created' ); ?>Topic: Change user color
Hello BBPRESS community,
I really want to change color of my usergroups in my forum made by bbpress.
I have the standard role (keymaster, moderator, blocked ecc) but with names modified by editing the file functions.php in my theme folder.Now I would like to change the color in the status bar and in the topic/threads, example Administrator in the red, moderators in blue ecc.
I tried a insert this code in bbpress/templates/default/css/bbpress.css:.bbp-author-role-keymaster { background:blue; color:white; padding:0 5px; }but it does not change anything, why?
I want to change color here
and in threads/topic discussion.
How I do?
Thank you very much.Hey, this is a bit of a unique situation, so I’m not sure how much you’ll be able to help. We had a bbPress forum which we closed in 2015. The “topics” we migrated to a custom post type so that we could keep them published, but without the forum framework.
Recently, we’ve decided to re-open the forums on a new site. I exported the Forums, the Topics (which I switched back to the “topic” custom post type), and the Replies. We’re having two issues:
1) The topics are not longer associated with their respective forums. Same for the replies with their topics. I know we can manually re-associate them, but there are hundreds of topics and replies. I’ve tried the Repair tool under the Tools menu, but it didn’t fix anything. Are there any other options?
2) Additionally, the replies are not appearing in admin at all. I can see that there are 300+ published replies but where the list should be, I instead get this fatal error:
Fatal error</b>: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4096 bytes) in <b>xxxxxx\wp-includes\class-wp-hook.php</b> on line <b>279</b>Any help on either of these would be much appreciated. Thanks!
I get the error message “Oh bother! No topics were found here!”. I have installed bbpress and working on a divi theme. My shortcode for forum works but not my topics or index short code and I get this error. https://motionspecificrelease.ca/msr-community/