Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 1,801 through 1,825 (of 11,570 total)
  • Author
    Search Results
  • #193917
    quigley05
    Participant

    Hi Robin,

    The ‘Replies Created’ template is replacing the one originally within the buddypress profile section.
    (https://obeii.com/discussions-replies-created/) (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 also contains ‘Subscribed Topics’ using similar code and that sections works as expected.
    (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(); ?>
    #193913
    Robin W
    Moderator

    I know you have done plugins in turn, but all at once ? – usual advice is

    It 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

    #193903
    Robin W
    Moderator

    untested but try

    <?php add_filter ('bbp_before_has_replies_parse_args' , 'rew_filter_for_user' ) ; ?>
        <?php bbp_get_template_part( 'pagination', 'replies' ); ?>
        <?php bbp_get_template_part( 'loop', 'replies' ); ?>
        <?php bbp_get_template_part( 'pagination', 'replies' ); ?>

    and in your functions file put

    function rew_filter_for_user ($args) {
    //not sure if the next two lines are needed, so have commented out
    //global $current_user;
    //get_currentuserinfo();
    $uid = bbp_get_current_user_id();
    $args[‘author’] => $uid ;
    return $args

    }

    loop-replies from memory has the ‘no relies’ part in it, so you shouldn’t need the ‘if’ statement
    I’m really pushed at the moment hence no time to test, but if it doesn’t work come back, and if I get time I’ll load it to my test site and debug

    #193885
    Ash Whitney
    Participant

    Hi Robin

    I was using your BBP Style Pack plugin already as it’s a very useful plugin. I’ve just updated to the lastest version and set the number of forums in the new feature under Forum Display – which works great.

    Thank you kindly for your time and for the very useful update to the plugin.

    Regards

    Ash

    #193872
    codenameita
    Participant

    Hi there,
    I’m trying to write some advanced search functions for BBpress. One of these should let people search only in the forum or subforum they currenty are in. I followed several examples posted on the net and tried to refine them myself.
    Unfortunately, I am experiencing a problem with the bbp_forum_get_subforums fuction.
    The fuction I am writing should be able to get the list of subforums present in a category type forum when the search is fired from a category type forum.
    The code is as follows:

    //If the forum is a category, then search in all the subforums
     if( bbp_is_forum_category($forum_id)){
            $sub_forums = bbp_forum_get_subforums($forum_id);
            $subforum_id = array_column($sub_forums,'ID');
    	$min_subforums = min($subforum_id);
    	$max_subforums = max($subforum_id);
    	$r['meta_query'] = array(
        	    array(
       	        'key' => '_bbp_forum_id',
           		'value' => array($min_subforums,$max_subforums),
    	   	'compare' => 'BETWEEN',
    	    )
        	);
     }

    Unfortunately, bbp_forum_get_subforums($forum_id) gives a false result.
    Strangely enough, if I try to put the same code in a fuction and add it with “add_action” to a forum page, it gives me the corret list of subforums if the current forum is a category.
    Can someone please help me addressing this problem? I am using the latest version of WP and BBpress.

    #193853
    quigley05
    Participant

    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; ?>
    #193817

    In reply to: 404 Erros acces

    Robin W
    Moderator

    It 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

    Robin W
    Moderator

    should be there

    1. It 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

    2. https://wordpress.org/plugins/bbp-style-pack/

    #193782
    tymbusku
    Participant

    Hi ALL
    In which line of style.css describ those color????

    f.ex: sticky color is on the line 161 of style.css

    1) the color of your forums name? (the one on the right-top corner)

    2) the background color of forums ?

    3) the title of table ?(the gray one on the top: Topic — Add New » Posts Last Poster Freshness …)

    4) the original topic color ? (there 2 colors i think)

    5) those words color? (Hot tags, Latest Discussions, Forums, View..)

    6) the white line under under those title: Hot tags, lastest discussions…?

    7) all link words ?( add new, no-reply, untag… the original color is green)

    8) all link words ?(when mose hover)

    8) background color of the bottom section of forums ?(there is : xxxxxxx is proudly powered by bbPress)

    9) Now, when u add a new topic, theres a table which ask u the subjet, the content, the tag and the ection. i want to change the background color of this table, which line it is?

    10)Now, when u look at a topic, theres the original post and reply. the background of each one is on which line?

    11)last thing..: i want to also change those word (the word, not the color) : ‘Enter a few words(call tag)separeted by spaces to help someone find your topic’ and ‘ pick a section’

    Thank you a lot!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    #193751
    Robin W
    Moderator

    It 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

    Robin W
    Moderator

    untested, but try

    <?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 $user_id = get_current_user_id() ; ?>
    
    			<?php if ( bbp_get_user_topics_started($user_id ) ) : ?>
    
    				<?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' ); ?>

    This sets the user up as current user

    webmasterfreya
    Participant

    Additional information :

    The same applies for (private forum topic)favorites and private forum topic subscriptions (not visible in overview),
    (via menu or direct link) /members/erwintest/forums/subscriptions/
    (via menu or direct link) /members/erwintest/forums/favorites/

    however not for private forum subscriptions (visible in overview).
    /members/erwintest/forums/subscriptions/ (NB link exists)

    Via Administrator, select member erwintest:
    (via menu or direct link) /members/erwintest/forums/favorites/ returns ALL favorites of user erwintest
    (not in menu) /members/erwintest/forums/subscriptions/ returns now error 404 (duh?)

    Getting more confused every day 🙂

    to recapitulate :

    Members of groups with private forum can not see their own stuff on topic level concerning private forum(s)
    Link to subscriptions overwiew can only be acessed by the user , not by higher level like administrator

    Robin W
    Moderator

    It 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

    webmasterfreya
    Participant

    Hi Robin,

    Thanks for your reply.
    I do not have this plugin bbp private groups.

    In the mean time I found out that the same applies to the overwiew of topic subscriptions.

    https://www.freya.nl/members/erwintest/forums/subscriptions/ shows only the topic subscriptions from the Non private fora.

    Logged in as administrator all topic subcriptions for the user are visible ( including the topic subscriptions within private fora).

    Initialy I thought it should be a problem somewhere in Buddypress (because there one can create private groups and forum) but they pointed me to bbPress.

    webmasterfreya
    Participant

    ello,

    Members of private groups are missing in their overviews the started topics and created replies from private forum(s) .

    e.g Group member erwintest (member of 1 group) added some topics and replies in the private forum that should (at least i expect that) pop up via this link
    /members/erwintest/forums/ and /members/erwintest/forums/replies/ but they don’t.

    However if i logon as administrator and use the same links, the started topics and created replies placed in the private forum of user erwintest do popup.

    Is this expected behaviour or not?

    With Non private forums there is no problem.

    site: freya.nl
    Latest WordPress, bbPresss and Buddypress

    #193571
    Martin J
    Participant

    Thanks for the follow up. Here is what I did…

    1. Disabled all plugins except bbpress
    2. I switched to a WP default theme, ie: twentyfifteen and twentyseventeen
    3. Did the above with Chrome, Firefox, and MS Edge browsers

    Same thing still happens. So with the admin bar disabled, and logging in from the default WP login screen, and with bbpress enabled, I just get redirected to the site’s front page — no admin page. So I still have to add wp-admin/ at the end of the url address to get into the admin area. If I disable bbpress, then everything works normal. Enable it again, goes back to the issue.

    As mentioned, I’ve encountered this for at least a couple years. So based on testing, it’s not theme related and not plugin (other plugins) related. Something about bbpress is redirecting after logging in with the default WP login and not sending me directly into the admin.

    If there is something coded in bbpress for “Forum logging in” for front-end users, then I can see this being relevant. However, logging into the admin, is the problem.

    #193557
    webmasterfreya
    Participant

    Hi,

    I have the following code in my themes functions.php
    function bbp_reverse_reply_order( $query = array() ) { // bbp_has_replies_query is depricated ?
    $query['order']='DESC';
    return $query;
    }
    add_filter('bbp_has_replies_query','bbp_reverse_reply_order');

    This works fine except when a new reply is added, you get redirected to the page with the oldest replies instead of the page that contains the just added reply. This seems to be an old problem, have tried various plugins, but they all lead to the same outcome.

    So the question is how to force, after adding a new reply, to be directed to the right page.

    site freya.nl, latest versions WordPress and bbPress.

    #193551
    Robin W
    Moderator

    This is not standard behaviour.

    It 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

    #193544
    saulmayo
    Participant

    nobody knows how to proceed?

    I want to ask also if this plugin is dead. it seems that there is no movement in support, the repository version has 8 months … only tested until the version of wp 4.7 …

    #193507
    dedotombo
    Participant

    I have the exact same issue using BuddyPress 2.9.4 (cannot update to 3 because of theme issues) and bbpress 2.5.14 (latest).

    #193402
    edugorilla7
    Participant

    How can be export Sabai discuss forum data to bbPress?
    I have exported csv files from Sabai discuss plugin.
    Please help !
    My wordpress Version is 4.9.4 with latest bbPress verison.

    #193339
    #193338
    MBV
    Participant

    So this is what I understand from this thread so far, to provide clarity moving forwards:

    1. Dynamic reply box that opens next to post replying to in forum is actually already a feature of bbpress, but not for BuddyPress group forums.
    2. Some themes seem to not engage this functionality and the way to fix that is to copy the reply.js file into a folder called js that is at the root of child theme.
    3. It works with visual editor

    So the only problem is that it does not work for Buddypress Group forums. However, @robkk mentioned, earlier in this thread, a patch he made. But he has not been active on these forums for over a year.

    https://bbpress.trac.wordpress.org/ticket/2974
    It is pretty easy to workaround this issue as well, since all you have to do is enqueue the javascript with a different conditional or enqueue it sitewide, but doing it sitewide might cause another issue somewhere.
    Here I just added a bbpress-functions.php file to a twentysixteen child theme. I edited out the conditional causing the issues with groups. You can test this on my test site as well.
    You would have to remove the file later if the trac tickets patch I linked to is committed and you are using version 2.6 of bbPress, so that you can have the file enqueued on the pages where it is needed.
    https://cloudup.com/czqFBqJE8TE

    The trac ticket he mention seems to be resolved yet it’s not working for BP group forums. The link to the code on cloudup is broken.

    So that’s the summary of where we are at on this thread… the big question is, does anyone have any insight or can help with enabling the dynamic reply box to BP group forums topics?

    jamnet.kr
    Participant

    My situation is… if I try to write text, then bbpress show me an “error”.

    Would you mind check this image “https://prnt.sc/jotnub“…

    I was installed and test about “peepso”. And after deleted peepso, I can not write post on bbpress any more…

    Anyone can help me??

    jovmbbuzz
    Participant

    Good day!

    I was having issue on viewing private forum. It says “Oh bother! No topics were found here!”
    See screenshot here: http://prntscr.com/joveye

    Also I wasn’t able to create topic on a forum and was being redirected to a 404 page.

    I already do plugin and theme conflict test but still it wont work.

    I am using the latest version of wordpress and bbpress. The site is using Jollyany theme by JollyThemes. I even tried switching to twentyseventeen theme but still not working.
    This is the site where I am having issues with: http://b-mforum.com/

    Hoping for any solutions. Thanks in advance!

Viewing 25 results - 1,801 through 1,825 (of 11,570 total)
Skip to toolbar