Forum Replies Created
-
if only your invited users have login, then just set the forums as ‘private’.
If lots of users have login and you want only some to see the forums, then use bbpress and this additional plugin
In reply to: register page without emailI’d start by working out why emails are not arriving.
bbpress just uses the wordpress registration so start with
and then look at
In reply to: Suddenly “can’t create new topics” in any forumLooked here and found a tip to remap my users, said that would fix the problem. Remapped users.
so what was this tip?
🙂
In reply to: legend translationok, thanks, not one I can look at as it is a paid plugin
In reply to: legend translationby the way, what is the name of the other plugin?
In reply to: legend translationsorry, just re-read this properly, and you are falling between 2 stools. It is not a bbpress issue, bbpress uses translations to display the correct names in languages. That the other plugin developer has decided not to is not really a bbpress issue.
In reply to: Why “Login Here” shows up instead of Form?🙂
yes, you’ll need to look at the urls for topics replies and profiles, and search results, as well as other stuff that I can’t remember offhand – I spent many many hours writing the private groups plugin to catch issues and don’t have a list of them.
In reply to: Keymaster emailed being displayeddashboard>users>all users>edit user
and change
Display name publicly as
start with
your triple
===
means that is has to match type (eg string or integer) as well as value, hence whyif(bbp_forum_id() === '513')
didn’t work, as the forum id is an integer and by havng quotes round the number you are asking it to be a string
in your solution
<?php if(bbp_get_forum_id() === $forum_id = 513): ?>
would be better as
<?php if(bbp_get_forum_id() === 513): ?>
or better still
<?php if(bbp_get_forum_id() == 513): ?>
as unless you are using the $forum_id variable elsewhere (when it probbaly needs to be declared as a global) then the
$forum_id =
is redundantbut glad you fixed it
sorry, untested code, go with
if ($forum_id == ‘12345’) {
ok, but there are lots of ways non members can see content beyond a prefix of /forums/ so it depends if you are after a deterrent or a lock !!
In reply to: Elementor or short codeIn reply to: Elementor or short codeif you are using the ‘hello’ theme, then this plugin helps
I am very unclear as to what you are trying to achieve.
if you want one forum say forum id 12345 to display differently, then just amend content-single-forum to
<?php $forum_id = bbp_forum_id() ; if $forum_id = '12345' { ?> <div id="bbpress-forums" class="bbpress-wrapper"> <?php bbp_breadcrumb(); ?> <?php bbp_forum_subscription_link(); ?> <?php do_action( 'bbp_template_before_single_forum' ); ?> <?php if ( post_password_required() ) : ?> <?php bbp_get_template_part( 'form', 'protected' ); ?> <?php else : ?> <?php bbp_single_forum_description(); ?> <?php if ( bbp_has_forums() ) : ?> <?php bbp_get_template_part( 'loop', 'forums' ); ?> <?php endif; ?> <?php if ( ! bbp_is_forum_category() && bbp_has_topics() ) : ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php elseif ( ! bbp_is_forum_category() ) : ?> <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php endif; ?> <?php endif; ?> <?php do_action( 'bbp_template_after_single_forum' ); ?> </div> <?php } else { ?> <div id="bbpress-forums" class="bbpress-wrapper"> <?php bbp_breadcrumb(); ?> <?php bbp_forum_subscription_link(); ?> <?php do_action( 'bbp_template_before_single_forum' ); ?> <?php if ( post_password_required() ) : ?> <?php bbp_get_template_part( 'form', 'protected' ); ?> <?php else : ?> <?php bbp_single_forum_description(); ?> <?php if ( bbp_has_forums() ) : ?> <?php bbp_get_template_part( 'loop', 'forums' ); ?> <?php endif; ?> <?php if ( ! bbp_is_forum_category() && bbp_has_topics() ) : ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php elseif ( ! bbp_is_forum_category() ) : ?> <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?> <?php bbp_get_template_part( 'form', 'topic' ); ?> <?php endif; ?> <?php endif; ?> <?php do_action( 'bbp_template_after_single_forum' ); ?> </div> <?php } ?>
and change whichever display you want
In reply to: Different displays for method 1 and method 2great – glad you are fixed
In reply to: Topic Sidebaryou could try method 2 in this
it might work, it might not 🙂
In reply to: Topic Sidebarok, that’s a paid theme, so I can’t look at it.
I’d suggest you raise the issue with their support and see what they say
In reply to: Topic Sidebarthis will be theme related, what theme are you using?
In reply to: Different displays for method 1 and method 2method 2 is picking up on the page template file in your theme, this is theme dependant.
If you can give us a link to a live example of method 1, and a non bbpress page in your site that has borders, I’ll try and help further.
This whilst old still works well
In reply to: Why “Login Here” shows up instead of Form?ok, the line
echo esc_html__( 'You must be logged in to create new topics.', 'bbpress' ) . ' <a href="' . esc_url( thim_get_login_page_url() ) . '">' . esc_html__( 'Login here', 'bbpress' ) . '</a>';
is doing the Login Here
This line chooses the location from a setting in your theme
thim_get_login_page_url()
so I suspect it is as simple as changing that setting to the page you want it to say, so look at your theme settings
If that doesn’t work, come back