Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 4,751 through 4,775 (of 14,243 total)
  • @robin-w

    Moderator

    I had to look to see if I’d done that !!

    @robin-w

    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Forum Roles and you can hide any/all roles or do lots of other things

    @robin-w

    Moderator

    bbpress just uses wordpress signup, so whatever your WordPress site is using.

    There are several plugins that will let you change this email eg

    https://www.wpbeginner.com/plugins/how-to-send-a-custom-welcome-email-to-new-users-in-wordpress/

    or if you’re into coding, just google around to find some code

    @robin-w

    Moderator

    ok, so is there an example of one that is wrong on a page I can link to?

    your shot only showed a page that you would need to be logged in to see

    In reply to: 404 error issue

    @robin-w

    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, 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

    great – glad you are fixed

    In reply to: 404 error issue

    @robin-w

    Moderator

    you should not need to change, just save the permalink you want

    In reply to: 404 error issue

    @robin-w

    Moderator

    try

    dashboard>settings>permalinks and just click save – this resets the permalinks and often fixes this type of issue

    @robin-w

    Moderator

    so

    dashboard>settings>bbp style pack>topics index styling

    yes ?

    If so we need a link to an example on your site

    @robin-w

    Moderator

    once it has gone wrong it can take a new post to fix.

    Hopefully it will be ok going forward with the first bug fix enabled

    @robin-w

    Moderator

    it is a bug that can be seen sometimes with subforums.

    Install

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>bug fixes

    Fix Last Active Time

    This should fix it for future, but you may also need to run

    dashboard>tools>forums>repair forums>freshness

    to reset it.

    In reply to: Log In page

    @robin-w

    Moderator

    Great – glad you are fixed

    In reply to: Log In page

    @robin-w

    Moderator

    ok, try 4.6.8 style pack

    In reply to: Log In page

    @robin-w

    Moderator

    sorry, one of the many annoying thing now that WordPress has blocks is that it doesn’t like shortcodes unless written in a special way – I’ll release a new version shortly, but yes you add it as a shortcode block in a page, and that is your forums page

    @robin-w

    Moderator

    thanks

    @robin-w

    Moderator

    In the right sidebar of the Forum Edit page, under Forum Attributes, I select a parent forum from the list. After pressing Update, the field switches back to -No parent-.

    I cannot replicate this – forum parents are saved and can be switched back and forth.

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, 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

    Great – glad you are fixed

    @robin-w

    Moderator

    subscriptions used to be stored with the user, so in usermeta wp__bbp_forum_subscriptions which is what you are seeing – that data here is old.

    However on 2.6.x this has changed, and now subscriptions are stored in the postmeta of the forum or topic they are subscribed to.

    Each user has an entry

    so the query

    SELECT * FROMwp_postmetaWHEREpost_id= 2927 ANDmeta_keyLIKE '_bbp_subscription' ORDER BYmeta_idASC

    where 2927 is the ID of the forum

    will produce

    post_id	meta_key	meta_value
    2927 	_bbp_subscription 	1
    2927 	_bbp_subscription 	1191

    where the subsbribers to forum 2927 are user_id’s 1 and 1191

    @robin-w

    Moderator

    that’s great – I’m glad you got there.

    Could I ask you just to elaborate on ‘the problem with the dates depended on topics table structure’ to help others who might find this thread and have the same issue

    @robin-w

    Moderator

    no code that works is clumsy !!

    @robin-w

    Moderator

    no – with threaded replies plugin deactivated and threaded replies (TR) turned off it should work.

    I presume it worked 2 months ago?

    I also have no idea how bbpress does replies that have previously been threaded and now TR has been turned off. might that be the issue?

    @robin-w

    Moderator

    ate you still running the threaded replies plugin I did a few days ago? that’s designed to work with threaded replies turned on, no idea what it does if you turn threaded replies off and leave it active.

    Both it and the code above hook to the same link.

    @robin-w

    Moderator

    great – hope you get there

    @robin-w

    Moderator

    The $subs = explode(',' , $subs); turns the string in the database to an array.

    Can you confirm for the user selected that they have active subs?

    @robin-w

    Moderator
    <?php global $current_user; get_currentuserinfo(); $uid = bbp_get_current_user_id(); ?>
    <?php if ( bbp_get_user_forum_subscriptions( $uid ) ) : ?>
    <?php $subs = bbp_get_user_forum_subscriptions( $uid ) ; ?>
    <?php $subs = explode(',', $subs);
      <?php while ( bbp_forums() ) : bbp_the_forum(); ?>
      <?php $forum_id = $bbp->forum_query->post->ID; ?>
    	<?php if (in_array($forum_id, $subs)) { ?>
        <p><?php bbp_forum_title(); ?></p>
    	<?php } ?>
      <?php endwhile; ?>
    <?php endif; ?>
Viewing 25 replies - 4,751 through 4,775 (of 14,243 total)