yes I agree that would be better
If you know how to add code to your childtheme functions file, then
1. create a page called something like ‘Password Reset’ and put in the content the message you would like to display
Make a note of the url of this
2. Put this code into your functions file
add_action ('bbp_get_wp_login_action', 'rew_lost_pass', 20, 3) ;
function rew_lost_pass ($login_url, $r, $args) {
//bail if this is not a lostpassword
if ($r['action'] != 'lostpassword' ) {
return apply_filters( 'bsp_lost_pass1', $login_url, $r, $args );
}
//so this is lost password so go to lost password login page
$login_url = 'http://mysite.com/password_reset/' ;
//$login_url = $r['context'] ;
return apply_filters( 'bsp_lost_pass2', $login_url, $r, $args );
and change the line
$login_url = 'http://mysite.com/password_reset/' ;
to whatever url you had in 1. above
Hi,
Here is what the editor looks like when logged out:
http://www.sva.bc.ca/logged_out.png
And here is what it looks like when logged in, with any user role:
http://www.sva.bc.ca/logged_in.png
Note the TinyMCE/Quicktags editor buttons are missing. The images above show this for the topic creation but it’s the same for replies. Here is the HTML code that appears when I inspect the element (while logged in):
<div id="wp-bbp_topic_content-editor-container" class="wp-editor-container">
<div id="qt_bbp_topic_content_toolbar" class="quicktags-toolbar"></div>
<textarea id="bbp_topic_content" class="bbp-the-content wp-editor-area" name="bbp_topic_content" cols="40" tabindex="102" rows="12">
</textarea>
</div>
ok, I’d strongly recommend you have a testing site.
Creating a Test Site
Whilst it will take an initial effort to set up, it is well worthwhile
Hi Istrix,
Could you attach the lines from your functions file, containing this code? This will help with troubleshooting.
-Mads
Hi!,
I have kept the shortcode for lost password in bbpress and after giving email address and clicking “reset password” button no message is showing in the page like “please check your mail with reset password link”.
Please help.
How to add a VIP role same caps as participant.
When I add this code, my site will get a HTTP ERROR 500.
Please help.
Thanks!
can you post a link to an example and I’ll give you some code
It is possible, but would require some custom code, it’s doable, but more coding than just a couple of snippets here to help you out.
An alternative way to what you’ve asked though is kind of shipping with bbPress 2.6. We’ve added support for “per forum moderators”, so you could create a “private” forum and give a single user moderator access to that forum, likewise another forum for another user, and then your site moderators could be moderators of all those “user forums”. This would be dependant upon how many users you have as this would be a manual setup.
I’d suggest reading the docs, theres a good index of some “Getting started” docs here:
Codex
Hello
I’ve looked in forums, google, documentation but I couldn’t find how to achieve that or at least the starting point to customize the code.
I would like to give a forum/category of forums a special access right where the Participants can only see their own post and nothing else and moderator can see everything.
I do not wish to create a special user role because the other forums of the site are normal, i.e. a participant can create topic, see and respond to any other topic.
Is that doable? anyone could help getting in the right direction?
Thanks in advance
Chris
PS: Apologies for double posting I realized that the initial forum was not adequate.
When I place the shortcode in a page, it renders the form as expected. And when I enter a username or email address, the form submits and refreshes the current page.
Example: http://www.ccghpa.com/test01/
So with the shortcode in a widget on my forums page I would expect the form to submit and refresh the current page. Instead, it jumps to a random forum.
Hello
English is not my forte. I will try to write you understand what I mean and what I want and something advise.
We’re going to be a big project. We establish mmporg page in which guild will have its pages, posts and also their forum and all in one website.
BbPress will do together with Budypress.
I set up the group in Buda press and there a separate forum, but can not add multi layer one major forum in the forum. It has to do administration on the bulletin board in WordPress.
Assign rights administrators with limited options, but the problem is that it can delete all topics and I do not want it. It may read topics.
I want to set that could delete your own topics and dirty.
I adjusted the law in the bbPress code, such as false and true, may well lubricated.
I just want that each guild had their own separate forum and in which their users and manage this forum only. The others can not do.
Thank you
yes, the code I posted above if placed in your plugin would tell bbpress to look in
content/plugins/myplugin/templates/templates1/
ok,
when I put the shortcode in the text widget, I just get it displayed as text ie [bbp-lost-pass] rather than rendered.
can you try the code in a page and see where that goes
I’m using an iThemes Builder theme and have a page template with a right column being used for that page. Under Appearance > Widgets, I have a Text widget applied to this column with the following code:
[bbp-lost-pass]
This renders the lost password form.
can you tell us how you have put that code in the widget – ie what widget you are using and how you have put [bbp-lost-pass] in it
ok, so back to your initial post – you renamed the forum root slug as ‘Index’ – yes?
if you do that, and then create a wordpress page called ‘Index’ and in that page put
[bbp-forum-index]
Then call that page from your menu and it should all work nicely.
sidebars are theme related – start by looking at
Step by step guide to setting up a bbPress forum – Part 1
section 8
The code is included in 2.6 alpha
/includes/extend/buddypress/notifications.php
lines 43-45
// Bail if not the notification action we are looking for
if ( 'bbp_new_reply' !== $action ) {
return $action;
}
Hi,
I’m using bbPress 2.6-alpha on one site and I was wandering what was a recommended way of keeping that installation up to date with the latest 2.6 code? WP doesn’t report any updates but I guess important updates are made on code and they end up in that ZIP on Download page, right?
Hi Robin,
In the dashboard page it displayed this message that how i find out about it. So appearently 2.6.1.1 doesn’t have it, otherwise this message link wouldn’t displayed on admin page?
Attention: bbpress-bug: If you use bbpress < 2.6 please apply the changes described there: https://bbpress.trac.wordpress.org/ticket/2779 to get the notifications working
I even opened the notifications.php in notepad and even did a search for “else return $action;” , looked from top to bottom many times, no phase like that?
Not sure if I have to change the whole bunch of code or what from the 5512 link above.
This is a another language I have no idea what I’m suppose to do?
If all I need is to put this “else return $action;” , please show me how and where to put it? I put very bottom “else return $action;” ?> and getting a white page? Please help..
Show how bbPress 2.6.1.1 don’t have it? Perhaps is there’s a page I can go download this notifications.php ?
Please help,help. Thanks
1. create a page
2. put one of these two shortcodes in it
[bbp-topic-form] – Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.
[bbp-topic-form forum_id=$forum_id] – Display the ‘New Topic Form’ for a specific forum ID.
3. add the page to your menu
I’ve been mulling this over…
I don’t think the following will work, but it’s worth an initial try – add this to your functions file
function bsp_breadcrumbs ($args) {
$pre_current_text = $args['current_text'] ;
$args['current_text'] = '[glossary_exclude]'.$pre_current_text.'[/glossary_exclude]' ;
return $args ;
}
//add the filter
add_filter('bbp_before_get_breadcrumb_parse_args', 'bsp_breadcrumbs');
Let me know either way !
what bbpress role does the person have? if admin, and they see the ip address in replies, you could put the email under this using
add_action ('bbp_theme_after_reply_author_admin_details', 'rew_show_email') ;
function rew_show_email () {
$user_id_rew = bbp_get_reply_author_id () ;
$user_info_rew = get_userdata($user_id_rew);
$email = $user_info_rew->user_email;
echo 'Email: '.$email ;
}
put this in your functions file
https://codex.bbpress.org/functions-files-and-child-themes-explained/