Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 9,451 through 9,475 (of 64,472 total)
  • Author
    Search Results
  • #181701
    expat
    Participant

    what the? Doesnt bbpress come with a default moderation tools?

    #181699
    Tamas Rottenbacher
    Participant

    Hi @fuskeren!

    I don’t use bbPress style pack plugin.
    The theme use that code for call the last active topic display:
    <a rel="internal" href="<?php bbp_forum_last_reply_url(); ?>" title="Legutóbbi aktív téma: <?php bbp_forum_last_topic_title(); ?>"><?php bbp_forum_last_topic_title(); ?></a>
    and under that: (the second line, the time and user)

    <?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?>
    <?php bbp_forum_freshness_link(); ?>
    <?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>

    I’m tried add that code:

        <?php
        	$forum_id  = bbp_get_forum_id( $forum_id );
    		$active_id = bbp_get_forum_last_active_id( $forum_id );
    	?>
        <?php echo bbp_get_forum_last_reply_url( $forum_id ); ?><br />
    	<?php echo bbp_get_forum_last_reply_title( $forum_id ); ?>

    But that add “Comment:” or “Reply:” because that is the reply title, not the last active topic.

    #181698
    wilsonca
    Participant

    Yes, I’m using akismet but it doesn’t do any good for bbPress, unless there is a way to link it to the plugin that i don’t know about.

    #181697
    Robin W
    Moderator

    best I can say is this plugin may help

    https://wordpress.org/plugins/bbpressmoderation/

    #181688
    Fuskeduske
    Participant

    Hi Aduronia,

    I can advise you to follow this thread: https://bbpress.org/forums/topic/last-activity-linktopic-name-error/

    Might be the same problem, if you don’t think so. Please write back

    -Fuske

    #181682
    aduronia
    Participant

    Hi –

    I’m having a problem on a site I help maintain where, in the forums that are part of the groups, the only topic that will display is the first topic. However, the URL still reads as if it’s the correct topic – it’s just displaying the content of the first one on the page.

    Example here: http://cgdating.staging.wpengine.com/groups/the-living-room/forum/

    When you click on the top post about the “emotional UHaul cycle”, you get that thread. Great.
    When you click on the next post, “I have an idea…”, you get the same UHaul thread, but the URL reads as if you should be in the correct thread.

    We tried installing the beta for 3.6, that didn’t work.

    Any ideas?

    WP Version: 4.7.2
    bbPress version: 2.5.12
    Link to site: http://cgdating.staging.wpengine.com

    #181665
    crewockeez
    Participant

    http://pastebin.com/raw/An3NR6Tt

    file form-anonymous.php in bbpress folder in my theme

    #181648
    Fuskeduske
    Participant

    Hi RotiSoft,

    Could you provide me with a description of how you’re displaying the titles?

    I’ve just recently had a longer correspondence with RobW, about what i think is the same issue.

    He told me as follows:

    Basically a category holds the last active ID of its sub forums, and each sub forum also holds its last active ID. But deleting a sub forum topic seems to get the category last active ID wrong.

    I see that he just updated he’s bbpress style pack plugin, with a hotfix for this issue,
    while he gave me the snippet of the code used for the fix, it does not work if your tweak is done if you’re using code as in this: https://bbpress.org/forums/topic/freshness-link/

    I don’t think Robin would mind me sharing the code snippet, as he implemented it in he’s free plugin, but as requested i would like to know how you’re displaying it.

    -Fuske

    #181647
    Robin W
    Moderator

    lots of shortcodes available for putting into pages and posts

    Shortcodes

    and I have additional shortcodes in my style pack plugin

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

    #181645
    Robin W
    Moderator

    ok, it’s not a released version, so suggest you post a trac ticket for the error

    https://bbpress.trac.wordpress.org/newticket

    #181623
    Robin W
    Moderator

    this – it has some parts changed !!

    add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ;
    
    function rew_filter_anonymous_post_data( $retval, $r  ) {
    	// Filter variables and add errors if necessary
    	$r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name',  $r['bbp_anonymous_name']  );
    	if ( empty( $r['bbp_anonymous_name'] ) )
    		bbp_add_error( 'bbp_anonymous_name',  __( '<strong>ERROR</strong>: Invalid author name submitted!',   'bbpress' ) );
    
    	// Website is optional
    	$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
    
    	// Return false if we have any errors
    	$retval = bbp_has_errors() ? false : $r;
    
    	// Finally, return sanitized data or false
    	return apply_filters( 'rew_filter_anonymous_post_data', $retval, $r );
    }
    #181613
    crewockeez
    Participant

    i insert code on functions.php on my team

    add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ;
    
    function rew_filter_anonymous_post_data( $retval, $r  ) {
    	// Filter variables and add errors if necessary
    	$r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name',  $r['bbp_anonymous_name']  );
    	if ( empty( $r['bbp_anonymous_name'] ) )
    		bbp_add_error( 'bbp_anonymous_name',  __( '<strong>ERROR</strong>: Invalid author name submitted!',   'bbpress' ) );
    
    	// Website is optional
    	$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
    
    	// Return false if we have any errors
    	$retval = bbp_has_errors() ? false : $r;
    
    	// Finally, return sanitized data or false
    	return apply_filters( 'bbp_filter_anonymous_post_data', $retval, $r );

    upload file functions.php on server. open site error.

    #181612
    Robin W
    Moderator

    not sure what you mean, but corrected code here

    add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ;
    
    function rew_filter_anonymous_post_data( $retval, $r  ) {
    	// Filter variables and add errors if necessary
    	$r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name',  $r['bbp_anonymous_name']  );
    	if ( empty( $r['bbp_anonymous_name'] ) )
    		bbp_add_error( 'bbp_anonymous_name',  __( '<strong>ERROR</strong>: Invalid author name submitted!',   'bbpress' ) );
    
    	// Website is optional
    	$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
    
    	// Return false if we have any errors
    	$retval = bbp_has_errors() ? false : $r;
    
    	// Finally, return sanitized data or false
    	return apply_filters( 'rew_filter_anonymous_post_data', $retval, $r );
    }
    #181611
    Robin W
    Moderator

    if you know ftp then rename the bbpress folder.

    #181610
    Robin W
    Moderator

    what version of bbpress are you using?

    #181606
    padrenola
    Participant

    “Warning: A non-numeric value encountered in . . . /wp-content/plugins/bbpress/includes/forums/template.php on line 1441”

    Here is line 1441 $retval = $replies + $topics;

    http://www.sndg.org/2017/forums/

    This kind of thing is out of my knowledge base. Is it something I did, or a bad line in the install?

    #181603
    crewockeez
    Participant

    no insert code on fuctions file. on site error

    add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ;
    
    function rew_filter_anonymous_post_data( $retval, $r  ) {
    	// Filter variables and add errors if necessary
    	$r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name',  $r['bbp_anonymous_name']  );
    	if ( empty( $r['bbp_anonymous_name'] ) )
    		bbp_add_error( 'bbp_anonymous_name',  __( '<strong>ERROR</strong>: Invalid author name submitted!',   'bbpress' ) );
    
    	// Website is optional
    	$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
    
    	// Return false if we have any errors
    	$retval = bbp_has_errors() ? false : $r;
    
    	// Finally, return sanitized data or false
    	return apply_filters( 'bbp_filter_anonymous_post_data', $retval, $r );
    }
    #181600
    Tamas Rottenbacher
    Participant

    Hy!

    I’m convert my old Invision Power Board forum to bbPress. After that i use the Admin/Tools/Forums functions. Now i see the last activation, but that info is wrong.
    So, the last active topic name and writer user is good, correct. But the link on the topic name is bad.

    The topic name is the first (last active) and the link is for the second active topic.

    How can i fix that?

    Thank You!

    #181598
    Robin W
    Moderator

    untested, but try adding this to your functions file

    add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ;
    
    function rew_filter_anonymous_post_data( $retval, $r  ) {
    	// Filter variables and add errors if necessary
    	$r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name',  $r['bbp_anonymous_name']  );
    	if ( empty( $r['bbp_anonymous_name'] ) )
    		bbp_add_error( 'bbp_anonymous_name',  __( '<strong>ERROR</strong>: Invalid author name submitted!',   'bbpress' ) );
    
    	// Website is optional
    	$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
    
    	// Return false if we have any errors
    	$retval = bbp_has_errors() ? false : $r;
    
    	// Finally, return sanitized data or false
    	return apply_filters( 'bbp_filter_anonymous_post_data', $retval, $r );
    }
    #181596

    In reply to: Create New Topic

    fastk9dad
    Participant

    I’m trying to find where the button gets created so I can edit the link then follow the rest of this post: https://bbpress.org/forums/topic/how-to-add-new-topic-button/

    #181593
    crewockeez
    Participant

    yes. i bbPress will now use this template instead of the original. but test don’t work

    #181591
    Robin W
    Moderator

    This is in a file called form-anonymous.php :

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-anonymous.php
    bbPress will now use this template instead of the original
    and you can amend this

    you will see that lines 26-29 contain

    <p>
    			<label for="bbp_anonymous_email"><?php _e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
    			<input type="text" id="bbp_anonymous_email"   value="<?php bbp_author_email(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_anonymous_email" />
    		</p>

    Just delete this and save, and this field will not be shown

    #181588

    In reply to: My Forum page crashes

    Fuskeduske
    Participant

    As Robin suggested, you can disable all addons, i would however try disabling bbpress too.

    I have had same problem lately after doing some work on my site, and i solved it by disabling and enabling bbpress.

    #181559
    #181558

    Topic: Create New Topic

    in forum Plugins
    deadtomorrow
    Participant

    Hi there,

    Does anyone know if there is a plugin that allows for a slightly nicer way of creating a New Topic?

    E.g. either a new page as this forum on bbpress.org does, or something that opens at the top of the screen? Anything that doesn’t place the form at the foot of the page.

    Thanks 😀

    Jack

Viewing 25 results - 9,451 through 9,475 (of 64,472 total)
Skip to toolbar