Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 4,126 through 4,150 (of 14,323 total)
  • @robin-w

    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    @robin-w

    Moderator

    what theme are you using?

    In reply to: a link on the picture

    @robin-w

    Moderator

    great – glad you are fixed !

    @robin-w

    Moderator

    ok, I’ve loaded that theme and can see the issue -let me try and work out a solution

    @robin-w

    Moderator

    hmmm…

    try using

    Code Snippets

    The code works fine in my functions file

    @robin-w

    Moderator

    ok, Can you show a few lines above and below where you put it in the functions file?

    @robin-w

    Moderator

    and given ultimate member being present, are you sure this isn’t just a permission issue, ie the page doesn’t show because UM is protecting it?

    @robin-w

    Moderator

    so can you give us the code surrounding this use please

    In reply to: a link on the picture

    @robin-w

    Moderator

    might have been too complicated, maybe just try

    add_action( 'bbp_theme_after_topic_freshness_author', 'rew_freshness_display_reply');
    
    function rew_freshness_display_reply ($topic_id = 0) {
    		$topic_id   = bbp_get_topic_id( $topic_id );
    		$link_url   = bbp_get_topic_last_reply_url( $topic_id );
    		
    		$anchor = '<a class="rew_freshness_display_image" href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '"><img class="plato" style="width: 29px; height: 20px;" src="https://webershoot.com/mesimages/transplato.png">' . '</a>';
    	
    echo '<p class="platopost">'.$anchor.'</p>';
    }

    @robin-w

    Moderator

    can you give me the exact error please

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    ‘Oops! That embed can’t be found’ is not a bbpress error, it’s a wordpress one.

    but looking at the link below, I’d suggest it is related to your permalinks, and maybe the fact that you are using ID’s and a plugin for that

    https://wordpress.org/support/topic/wp-document-revision-plugin-permalink-does-not-work-to-embed/

    @robin-w

    Moderator

    try

    function rew_change_text( $translated_text, $text, $domain ) {
    	if ( $text == '<strong>Error</strong>: Your reply cannot be created at this time.') {
    	$translated_text = '<strong>Error</strong>: New moderation message';
    	}
    	return $translated_text;
    }
    
    add_filter( 'gettext', 'rew_change_text', 20, 3 );

    @robin-w

    Moderator

    what theme are you using ?

    In reply to: a link on the picture

    @robin-w

    Moderator

    Try

    add_action( 'bbp_theme_after_topic_freshness_author', 'rew_freshness_display_reply');
    function rew_freshness_display_reply ($forum_id = 0) {
    	// Verify forum and get last active meta
    	$forum_id  = bbp_get_forum_id( $forum_id );
    		$active_id = bbp_get_forum_last_active_id( $forum_id );
    		$link_url  = $title = '';
    
    		if ( empty( $active_id ) )
    			$active_id = bbp_get_forum_last_reply_id( $forum_id );
    
    		if ( empty( $active_id ) )
    			$active_id = bbp_get_forum_last_topic_id( $forum_id );
    
    		if ( bbp_is_topic( $active_id ) ) {
    			//then reset forum_id to the forum of the active topic in case it is a sub forum
    			//$forum_id = bbp_get_topic_forum_id($active_id);
    			$link_url = bbp_get_forum_last_topic_permalink( $forum_id );
    			$title    = bbp_get_forum_last_topic_title( $forum_id );
    		} elseif ( bbp_is_reply( $active_id ) ) {
    			//then reset forum_id to the forum of the active topic in case it is a sub forum
    			//$forum_id = bbp_get_reply_forum_id($active_id);
    			$link_url = bbp_get_forum_last_reply_url( $forum_id );
    			$title    = bbp_get_forum_last_reply_title( $forum_id );
    		}
    		
    		$anchor = '<a class="rew_freshness_display_image" href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '"><img class="plato" style="width: 29px; height: 20px;" src="https://webershoot.com/mesimages/transplato.png">' . '</a>';
    	
    echo '<p class="platopost">'.$anchor.'</p>';
    }

    @robin-w

    Moderator

    looks like you have already solved this?

    @robin-w

    Moderator

    if you are using copy/paste then paste as plain text

    In reply to: a link on the picture

    @robin-w

    Moderator

    what is your existing code?

    In reply to: Private forums

    @robin-w

    Moderator

    great – glad you are fixed !

    In reply to: Private forums

    @robin-w

    Moderator

    yes – that is no problem – just go into dashboard>users>edit and you can select which groups they belong to

    In reply to: Private forums

    @robin-w

    Moderator

    nothing automatic, I’d suggest you just create a check list or drop down list in your contact form

    In reply to: Private forums

    @robin-w

    Moderator

    set up a page and use a contact form plugin, then set the redirects in the private groups plugin forum visibility tab to that page

    In reply to: Private forums

    @robin-w

    Moderator

    set forum to public and use private groups to protect it – ie set at least one group ! Then use forum visibility

    In reply to: Private forums

    @robin-w

    Moderator

    @robin-w

    Moderator

    you seems to have an inline style which is overwriting any other styling eg

    style="height: auto !important;"> and <p style="height: auto !important;"

    from this code.

    <div class="bbp-reply-content" style="height: auto !important;">
    
    		
    		-ad-client="ca-pub-8895339382096709" data-adsbygoogle-status="done"><ins<p><strong>1. The Profession of Faith—The Shahada</strong></p>
    <p>&nbsp;</p>
    <p style="height: auto !important;">The Profession of Faith, the shahada, is the most fundamental expression of Islamic<br>

    It may be related to where you are importing the text from

Viewing 25 replies - 4,126 through 4,150 (of 14,323 total)