Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 576 through 600 (of 26,830 total)
  • Author
    Search Results
  • #236755
    #236749
    Robin W
    Moderator

    on holiday at the moment, so untested solution !!

    But try

    add_filter( 'bbp_topic_admin_links' , 'rew_no_close', 10 , 1) ;
    
    function rew_no_close ($r) {
    	if (!bbp_is_user_keymaster() && bbp_is_topic_open()) {
    		unset ($r['close']) ;
    	}
    return $r ;
    }

    This should ensure that only keymasters can close topics (assumes moderators have no backend access)

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    #236743

    In reply to: Custom Login

    Robin W
    Moderator
    #236727
    valvatine
    Participant

    Hello,

    I created a bbpress forum on this site that is just available for approved members.

    When I click on user profile links, I obtain the following error:
    Sorry, but the page you were trying to view does not exist.
    It looks like this was the result of either a mistyped address or an out-of-date link
    .

    So, I would like to know how I can create the topics started page and others page displayed on user profile page. Is there any shortcode to do that or any other solutions?

    Thanks in advance for your help!

    I am keymaster on the website but I dont have access to source code of the site. I am using WordPress 6.2.2, bbpress Version 2.6.9.

    #236696
    Robin W
    Moderator
    #236684
    alombredugrandarbre
    Participant

    Bonjour,
    Je n’ai pas trouvé l’objet de mon problème sur le forum et j’espère ne pas faire de doublon. Dans le cas contraire veuillez m’excuser.

    Je débute en tant que modératrice sur WordPress et j’ai du mettre à jour le php de mon site (hébergé sur IONOS et passé de 5.6 à 8.1). Tout fonctionne bien sur l’interface WordPress et sur le site (http://alombredugrandarbre.com/) mais un message d’erreur m’empêche d’accéder à la page du forum (http://alombredugrandarbre.com/forum/).

    J’ai essayé toutes les étapes de résolution de problème suggérées au début de ce sujet et rien n’a fonctionné. Auriez-vous une idée pour m’aider s’il vous plait ?
    Cordialement,

    #236683
    Robin W
    Moderator

    seems to be quite a lot of them

    https://en-gb.wordpress.org/plugins/search/display+random+posts/

    untried but this seems to support custom post types

    Recent Posts Widget Extended

    #236643
    Robin W
    Moderator

    just got 10 minutes to look at this.

    try this

    add_action ('bbp_theme_after_reply_content' , 'rew_display_acf') ;
    
    function rew_display_acf () {
    	$id = bbp_get_reply_id() ;
    	//if it is the topic...
    	if (bbp_is_topic( $id ) {
    		echo '<br>Lake Marker 2: ' .get_field( 'lake_marker_point_2' ) ;
    	}
    }

    or

    add_action ('bbp_theme_after_reply_content' , 'rew_display_acf') ;
    
    function rew_display_acf () {
    	$id = bbp_get_reply_id() ;
    	//if it is the topic...
    	if (bbp_is_topic( $id ) {
    		echo '<br>Lake Marker 2: ' .get_field( 'lake_marker_point_2', $id ) ;
    	}
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    #236635
    Robin W
    Moderator

    ok, so this should take them out

    add_filter( 'bbp_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1 );
    add_filter( 'bbp_forum_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1  );
    
    function rew_strip_nbsp ($message) {
    $message = str_replace ('&nbsp;' , '', $message ) ;
    return ($message) ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    #236634
    Robin W
    Moderator

    ok, so this should take them out

    add_filter( 'bbp_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1 );
    add_filter( 'bbp_forum_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1  );
    
    function rew_strip_nbsp ($message) {
    $message = str_replace ('&nbsp;' , '', $message ) ;
    return ($message) ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    #236615
    Robin W
    Moderator

    ok, so this should take them out

    add_filter( 'bbp_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1 );
    add_filter( 'bbp_forum_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1  );
    
    function rew_strip_nbsp ($message) {
    $message = str_replace ('&nbsp;' , '', $message ) ;
    return ($message) ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    #236609
    Robin W
    Moderator

    ok, not sure how to help further, maybe try

    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

    #236604
    Robin W
    Moderator

    try

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Subscription Emails

    where you can amend what is sent, or indeed switch to plain text

    #236595
    catchlight
    Participant

    Robin Wright! You are an underrated gem in the WordPress community! You have solved the 404 I had with bbpress and Elementor on the user profiles page for the last week! Thank you so much! This worked.

    #236569
    Robin W
    Moderator

    @ph59 – ah I see, then yes try the code above, if it doesn’t work, let me know and I’ll try and find time to fix it

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    Robin W
    Moderator

    hmmmm… not sure it would be that, as bbpress is loading ok.

    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

    #236498
    lmstearn
    Participant

    Hi,
    WordPress 6.2.2 running Twenty Twenty-Three theme, BBPress 2.6.9.
    Moved the only hidden (pending) topic from a public forum to a private forum, and published it. Topic, and moved replies all look fine in the private forum.
    The public forum from whence it was moved still has this:

    This forum has NN topics (+1 hidden), NNN replies …

    As expected, clicking the +1 hidden doesn’t change the number of topics displayed. Repaired the forum, cleared site cache, no change to the +1 hidden.
    If a detail in the move topic process was missed, please advise.
    Thanks.

    #236497

    Topic: Forums Index

    in forum Installation
    StudentFilmmakers
    Participant

    Why does my forum index look like this instead of the neat page I am accustomed to?

    https://wordpress-879226-3710705.cloudwaysapps.com/forums/

    Ronny Kreuzberg
    Participant

    Hello, i am using this code Part to show latest Topics in certain Forums. It is giving the correct Topic ids but wont show them except of original Language even if i opened it in a different language first.

    <section class=”topics”>

    <div id=”bbpress-forums” class=”bbpress-wrapper”>

    <h3><?php echo __(‘Recent Topics’, ‘WordPress’); ?></h3>

    <?php

    $topic_parents = array();

    foreach ($match_parent_ids as $match_parent_id) {

    $match_ids = get_children(array(
    ‘post_parent’ => $match_parent_id,
    ‘post_type’ => ‘forum’,
    ‘fields’ => ‘ids’,
    ));

    foreach ($match_ids as $match_id) {

    $topic_ids = get_children(array(
    ‘post_parent’ => $match_id,
    ‘post_type’ => ‘topic’,
    ‘fields’ =>’ids’,
    ));

    foreach ($topic_ids as $topic_id) {
    echo $topic_id;
    }

    $topic_parents = array_merge($topic_parents, $topic_ids);

    }

    }

    $args3 = array(
    ‘post__in’ => $topic_parents,
    ‘post_type’ => ‘topic’,
    ‘post_status’ => bbp_get_public_status_id(),
    ‘posts_per_page’ => 10,
    ‘orderby’ => ‘freshness’,
    ‘order’ => ‘DESC’,
    );

    if (bbp_has_topics($args3)) :

    bbp_get_template_part(‘loop’, ‘topics’);

    else :

    bbp_get_template_part( ‘feedback’, ‘no-topics’ );

    endif;?>

    </div>

    </section>

    Thanks for helping

    #236483
    Robin W
    Moderator

    try this

    add_action( 'wp_footer', 'bsp_supports_js' );
    
    function bsp_supports_js() {
    	echo '<script>document.body.classList.remove("no-js");</script>';
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    #236467
    wulfenhart
    Participant

    Hello everyone,

    Loving BBPress. I was wondering how I can change the name of the page/header of the forums from “Forums” to the title of my choosing?

    I run a RPG forum, and want to keep it immersive. 🙂

    I could not find anything on the settings, so it makes me wonder if some tinkering is needed somewhere else.

    Thank you in advance, and bravo for such a wonderful addition to WordPress.

    #236466
    StudentFilmmakers
    Participant

    I am working on getting the site off buddyboss. I think there is something wrong with the forums’ hierarchy. All the group forums are there, but the forums page does not show all the forums. I am working on a staging site at https://wordpress-631920-3100285.cloudwaysapps.com/forums/forum/filmmakers/, and I am trying to track down the solution so that all my forums show up at /forums and not individually or only with groups.

    #236451
    Robin W
    Moderator

    usual one that is sent by wordpress.

    #236445
    Robin W
    Moderator

    ok, so I registered on your site and just got one email with username and password, which is what I would expect from wordpress, as far as I know bbpress is not involved in this process.

    #236444
    tapiohuuhaa
    Participant

    If the extension works on backend, it is is useless for me. I would need extensions only frontend. I have site for solving crosswords. Honoring other peoples all hints should give as default hided.

    I tried to find the button definitions for text editor. My idea is just replace
    DEL or CODE with SPOILER. If I would find the source code, maybe I could add some codes. That apparently needs alo finding filter code, which defines, which codes are allowed.

    I though also that I could replace some code and related texts and icons of TinyMCE with another code, texts an icons.

    So I would not need to add anything. But I didn’t find, where buttons have been defined for the text editor s d TinyMCE.

    BTW. I didn’t get frontend texts translated in your GD bbPress Tools. I deleted entire translation, which I made for it because filtering worked better, but filtering works only for texts, which don’t have dynamic texts (%s etc). I get with “My WP Translate” translated “WP Sitemap Page”, so the translation tool works. I have another issue here https://wordpress.org/support/topic/translating-into-finnish/. So could you answer there.

Viewing 25 results - 576 through 600 (of 26,830 total)
Skip to toolbar