Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 1 through 25 (of 26,824 total)
  • Author
    Search Results
  • #245886

    In reply to: Free bbpress theme

    Ricsca2
    Participant

    I found this one which is built for buddypress but the forum section is great even if you don’t use buddypress.

    BuddyX

    #245885
    manojmohandev
    Participant

    line #956,

    // Only update if reply is published
    if ( ! bbp_is_reply_pending( $reply_id ) ) {

    As per the comment, it should check if reply is published. But this condition will be true even if the reply is marked as spam. Instead it should use if ( bbp_is_reply_published( $reply_id ) ). Same thing I have observed for topic as well. If topic is marked as spam by akismet, the last active parameters reflects the spam topic instead of last published topic.

    #245868
    yt
    Participant

    Hello @robin-w

    The code is tested and works fine. Thank you for that.

    It seems that the code needs two modifications to be converted into a complete code. These two modifications are:

    1- Modification related to the user
    Absolutely directing the logged in user to the first page of the site is not useful in most cases, because

    Suppose the user has entered a forum topic and wants to reply to it. For this purpose, he enters the forum by entering his user information. In the default WordPress mode, the user who is on the current page is considered a logged in user and can send a reply

    However, with the above code, the user is redirected from the current page to the first page of the site and must return to the initial page of the topic in question with a few clicks. This causes user annoyance and increases the bounce rate from the forum.

    Therefore, the code needs to be modified so that the user on the current page (meaning any page of the forum or site that has a comment) is logged in on the same page as the current user after entering his user information and logging in, but at the same time does not have access to the counter.

    2- Correction related to the site and forum administrator
    The same problem as above is true for the administrator. For example, the administrator enters the forum and wants to create a topic or reply to a topic, so he enters the login information. In the default WordPress mode, he is considered logged in on the current page, but at the same time, the WordPress admin bar is displayed at the top of the forum or site, which means he has access to the counter.

    However, with the above code, the administrator is redirected from the current page to the counter, which should return to the original current page with a few clicks, just like the same user.

    Is it possible to modify the code as described?

    Thank you very much in advance for your valuable help.

    Janell2
    Participant

    Thank you Robin. I was afraid to update since the WordPress version was older, but took the plunge. it now works perfectly…again!

    Much appreciated!
    Janell

    Janell2
    Participant

    Hi,
    We have been using bbPress for a long time, and it has never given us any problems, so something has changed, and I can’t figure out what.  I don’t have a caching plug-in.  If you go to the Forum, click on the Topic, it says “This topic is empty” in the Topic (there has been for years.)  I have not changed the theme, or WordPress version, it just stopped working.

    Forum path: domainname/company-bulletin-board/companyforum/company-calendar/
    Topic that appears as link in the above Forum: domainname/company-bulletin-board/topic/key-dates/    When you click the link in the Forum, the topic says, “This topic is empty” which it is not.

    I tried as an experiment to substitute, “/companyforum/company-calendar/” for “/topic/” but that did not work.  This is happening for ALL the Topics, they all show “This topic is empty.”

    When I go to the list of Topics and click on the View in the WordPress Dashboard, again it says for every single topic, “This topic is empty.” Each topic has a lot of content.

    How do I fix this please?  I am out of ideas, especially since it just, “stopped working.”

    Thanks so much for your help.  Much appreciated. This is a members only Forum, so I worry about publishing the links. I have been through earlier posts from folks that have had a similar problem, but nothing has worked.
    Janell

    jennypins
    Participant

    What Happened to “Views” in bbPress 2.6.14?
    In earlier versions of bbPress, Views were visible as a menu item in the WordPress admin under Forums > Views.

    In version 2.6.14, the admin menu link to Views was removed by default as part of bbPress cleanup and streamlining.

    However, the Views themselves still exist — they’re just hidden from the admin menu unless you’re actively using or registering them.

    How to Restore the “Views” Menu
    You can manually re-enable the Views admin menu by adding a small code snippet to your theme’s functions.php file or a custom plugin:
    add_action( ‘bbp_admin_menu’, function() {
    add_submenu_page(
    ‘edit.php?post_type=forum’,
    ‘Topic Views’,
    ‘Views’,
    ‘manage_options’,
    ‘edit.php?post_type=topic_view’
    );
    });

    #245833
    Robin W
    Moderator

    now corrected in codes, to this

    /**
    * WordPress function for redirecting users on login based on user role
    */
    function my_login_redirect( $url, $request, $user ){
    if( $user && is_object( $user ) && is_a( $user, 'WP_User' ) ) {
    if( $user->has_cap( 'administrator' ) ) {
    $url = admin_url();
    } else {
    $url = home_url();
    }
    }
    return $url;
    }
    add_filter('login_redirect', 'my_login_redirect', 10, 3 );
    yt
    Participant

    Hello everyone

    My site is using the latest WordPress 6.8.2 with WordPress 2025 theme and BBPress community

    To change the color of closed topics in

    13. Preventing closed topics from going grey

    At address:

    Layout and functionality – Examples you can use

    The following code:

    #bbpress-forums .status-closed,
    #bbpress-forums .status-closed a {
    color: #aaa !important;
    }

    is introduced.

    I put it in the css snippet of WPCode plugin. but the code doesn’t work.

    Can anyone help me fix the problem?

    Thanks

    #245831
    yt
    Participant

    Hi everyone

    My site is using the latest WordPress 6.8.2 with WordPress 2025 theme and BBPress community

    In
    27. Custom Redirect After Login

    At address

    Layout and functionality – Examples you can use

    The following dual-purpose redirect code:

    /**
    * WordPress function for redirecting users on login based on user role
    */
    function my_login_redirect( $url, $request, $user ){
    if( $user && is_object( $user ) && is_a( $user, ‘WP_User’ ) ) {
    if( $user->has_cap( ‘administrator’ ) ) {
    $url = admin_url();
    } else {
    $url = home_url();
    }
    }
    return $url;
    }
    add_filter(‘login_redirect’, ‘my_login_redirect’, 10, 3 );

    It is introduced that I have it in the php sippet file of the WordPress plugin code but I am getting the error

    Your changes are saved but your snippet was deactivated due to an error, please check the syntax and try again. Error message: syntax error, unexpected token ;

    It seems that there is a problem with the code.

    Can anyone help to fix the problem?

    #245819
    Robin W
    Moderator

    Yes, this widget is no longer available.

    For you if you have the style pack plugin, you can use the bsp-profile shortcode instead

    [bsp-profile label="amend profile/password" edit="true"]

    You can simply add a shortcode block after the login widget.

    bbp style pack

    #245811
    yt
    Participant

    Hello everyone

    In the WordPress dashboard, Settings, Forums submenu,
    in the section:

    Community Features
    Community Features can be turned on or off

    There is an option called:
    Topic Tags: “Allow Topics to be tagged”

    By unchecking it, the tagging of forum members when writing and submitting a thread is disabled. This is sometimes necessary depending on the case.

    But the problem with this deactivation is that in addition to creating the above possibility, it also causes the defined tags of each thread to be disabled and not displayed, while this should not be the case because

    An administrator may want to prevent inappropriate tags from being inserted by non-professional users to manage the tags of the forum threads of his site and instead define an appropriate tag for that thread by editing the thread posted by users, so the defined tags of each thread should be displayed and there should be no reason for it to be disabled.

    Is there a solution to fix the problem stated?

    Thanks

    #245810
    #245805

    Topic: Free bbpress theme

    in forum Themes
    Ricsca2
    Participant

    Could you recommend a good free theme for bbpress?
    Actually, I only found this one:

    Responsive Forum


    I like it, but it’s very basic…

    #245802
    rameshb
    Participant

    Hi @robin-w,

    Thank you for taking the time to look into my issue. As per your suggestion, I installed the bbp Style Pack plugin. However, the moderation feature doesn’t seem to be working as expected. Unlike the WordPress contributor role, unapproved users are still able to publish posts directly without moderation.

    Could you please check and guide me further on how to ensure posts go into moderation before being published?

    Thanks again!

    #245797
    yt
    Participant

    Thanks for your reply

    I mean the twentytwentyfive WordPress theme block template.

    To view live errors, you can:

    1- By entering the forum home page address

    https://ghazavatonline.ir/forums/

    In the forum search form, enter a desired phrase and then press enter. Instead of displaying the search results, you will see in the header the error:

    Warning: Undefined array key “archive” in /home/ … /public_html/wp-includes/block-template.php on line 180

    Warning: Undefined array key “archive” in /home/ … /public_html/wp-includes/block-template.php on line 180

    2-Also, when you click on any of the tags that have topics assigned to them, instead of displaying the tags, the above error code is displayed and no topics are displayed

    For this, visit the address

    شکایت از قاضی دادگاه به علت عوض کردن جای متهم ها

    Click on the tag “تخلفات انتظامی قضات”

    Or go directly to the link

    https://ghazavatonline.ir/forums/topic-tag/disciplinary-breaches-of-judges/

    to see the same errors in the header and that no topic associated with the selected tag is displayed.

    Of course, it should be noted that the above errors are only generated when the twentytwentyfive block template is activated

    But when the twentytwentyfour and twentytwentythree templates are activated, they are not generated and work without problems.

    #245787
    Robin W
    Moderator

    bbpress works fine with classic themes (ie non block themes), so you should have no problems.

    However bbpress is an integral plugin to your website, so it will use whatever theme your site is using, so you cannot have one theme for wordpress and another for bbpress.

    #245784
    yt
    Participant

    Hello forum members

    My site is using the latest version of WordPress 6.8.2 and the 2025 Block Theme and BBPress Forum.

    I want to use the classic theme for BBPress Forum instead of the Block Theme

    Please guide me how can I activate my favorite classic theme instead of the default BBPress theme?

    Thanks

    #245774
    sbask
    Participant

    I’m not a wordpress developer, I just inherited and run a site. Can I hire you do to this?

    Robin W
    Moderator

    Install

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Topic Index Styling

    Item 16 – you can set to have no message

    #245761
    manojmohandev
    Participant

    Any update on this?

    I have digged again further for the issue. The issue has started during this ticket #2838 with the changeset #6923. The last reply and count should only be changed when reply is public regardless whether it is spam or in pending state.

    #245753
    Robin W
    Moderator

    Install

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Moderation (third row down, right hand side)

    and follow the instructions/guidance

    #245738
    Robin W
    Moderator

    ok, so we can hide the ip6, but getting the ip4 is harder i think.

    I found this post relating to Cloudfare which tends to indicate that even an ip4 might be just a Cloudflare address, but I only spent 2 minutes reading though !!

    https://wordpress.org/support/topic/real-ip-for-the-customers-cloudflare/

    so to hide an IP6, try this (untested!)

    add_filter ('bbp_get_author_ip', 'rew_hide_v6') ;
    
    function rew_hide_v6 ($author_ip='') {
    if ($strlen($author_ip)>20) $author_ip='' ;
    return $author_ip ;
    }

    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

    Let me know if it works

    #245649
    Robin W
    Moderator

    Every website is a unique combination of hoster, operating and hosting systems (eg apache, PHp) WordPress theme, plugins, settings and content, so I cannot just give you an answer.

    So between ‘some time ago’ (days? weeks? years?) and now – what has changed on your site?

    If you cannot answer that, then I can only suggest the core fault finding viz..

    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

    #245539
    Robin W
    Moderator

    ok, some late night thinking….

    bbpress just uses the WordPress function that finds and shows posts (bbpress forums, topics and replies are just posts with a custom post type!).

    So I’m thinking that the ‘find matches’ wordpress part is finding x number of replies, but then the ‘display part’ is finding one less/more to display, then at that point the page count gets to be wrong.

    This is just a guess at the moment, but as you are seeing issues with other topics that are not all ‘page 8’ I don’t think it is a pure maths issue.

    So my current hypothesis is that there is an item that is in the database as a match, but there is not a corresponding item to display – this could be for lots of reasons.

    If you go to your link but page 7, from the post numbered 120998 with text ‘AnTiHrIsTiS — Kingpin: Life of Crime (PC)’ this entry on page 7 has a link of

    /steam-records/page/8#120998

    If my thinking is correct (and it is probably wrong!) I’d guess it is at this point that the permalinks start to go wrong.

    So if you change the replies per page from 14 to 13, does it still start to go wrong from that same post number, or does it start to go wrong from another post number.

    This will help us narrow down what the issue might be.

    #245526
    Robin W
    Moderator

    ok, I am not a bbpress author, just someone who tries to help out.

    So it’s Sunday morning here in the UK, and I have guests coming for lunch, so I will try and pick this up later.

    But let’s just eliminate some stuff.

    1.

    dashboard>settings>permalinks and just click save – this resets the permalinks and may help

    2.

    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

Viewing 25 results - 1 through 25 (of 26,824 total)
Skip to toolbar