https://wordpress.org/plugins/bbp-private-groups/ would solve the first one, but not encryption or a network of private diaries
This all sounds very bespoke and time consuming
and since bbp_reply_count is in the metadata, you’d need to refer to that
see
https://codex.wordpress.org/Class_Reference/WP_Query
so something like
add_action( 'bbp_init', 'view_twentyplus_posts_init' );
function view_twentyplus_posts_init()
{
$args = array(
'meta_key' => '_bbp_reply_count' ,
'orderby' => array( 'meta_value_num' => 'DESC', 'title' => 'ASC' ),
'meta_query' => array(
array(
'key' => '_bbp_reply_count' ,
'value' => '19',
'compare' => '>',
),
);
);
bbp_register_view( 'twentyplus_posts', __('Popular Posts', 'twentyplus'), $args, false );
}
◾
When viewing http://thewritepractice.com/topic/test/ as admin, the Edit link is there in the box. When viewing it as the author of it however, not seeing Edit.
The above are wordpress roles (and useful info) but can you tell me what bbpress roles you have set for this user.
Im designing a forum with users, panel users and expert users.
I want users to be able to ‘upgrade’ there account. All they have to do to make this happen is provide the website with extra information. (this sounds to me like a “buy a subscription” function and have them pick a Bronze, Silver or Gold subscription, so im looking in to bbpress/wordpress membership plugins, but there doesn’t seem to be one that suits me)
I don’t need paid subscriptions, I just want to change there forum role. It would be nice to intergrade this with something like a form plugin, so I can intergrade that with mailchimp so i can make lists based on there ‘subscription’
Another method would be have different sign up form on the website, before they become member and have them fill out the information I need based on the Role they want to become.
ok, you mention ‘contributor’ – do you mean wordpress roles or bbpress roles?
I made some digging and have created a bug ticket if it makes any help: https://core.trac.wordpress.org/ticket/31231#ticket
If this is just a request (ie you are going to look at this), then any ‘form’ plugin will do that
eg
https://wordpress.org/plugins/contact-form-7/
I have disabled file uploads in my bbPress forum, and all works well, that is to say, people can’t upload files.
Until… you go back into a post you made and edit it, when you are editing the post then the ability to attach a file is now available.
How can I switch it off so it is actually off?
Please help.
🙂
WordPress 4.0.1
bbPress Version 2.5.4
http://www.thewargameswebsite.com/
It would be better to show a link to the form
load my plugin
https://wordpress.org/support/plugin/bbp-style-pack
and go into
Dsahboard>settings>bbp style pack>d. forum display and click no. 5
you could put a link into the page so that they click to get to it
load my plugin
https://wordpress.org/support/plugin/bbp-style-pack
and go into
Dsahboard>settings>bbp style pack>d. forum display and click no. 5
You could put the form first, but it will hide your forums, but if you really want to do that come back.
ok, the following code removes the edit for bbpress, but leaves it for normal wordpress pages
function wpse_remove_edit_post_link( $link ) {
if (is_bbpress()) return '' ;
else return $link ;
}
add_filter('edit_post_link', 'wpse_remove_edit_post_link');
The users will still be able to edit their topics and replies via the in-box edit buttons
No problem.
Now you are back to the original, you might like to try this plugin that I have recently published
https://wordpress.org/plugins/bbp-style-pack/
to style the elements within bbpress
Wow. Crazy that nobody has ever tried to use that feature before!
Here’s the interesting thing though. WordPress.org’s support forum is (I’m 99% sure) built in bbPress and it does successfully allow you to edit topics that you’ve posted. The interface you are sent to when editing your topic does not reside inside the WordPress admin area. Rather it is right there on the publicly facing page.
I wonder how they are doing that?
Another interesting wrinkle in this whole thing is that according to the bbPress User Roles and Capabilities, participants should be able to edit their own topics.
I too had this issue and found countless other posts dated many years ago with no solution. I am using bbpress v2.5.4 and buddypress v2.1.1 on WordPress v4.1. I “resolved” this by editing my functions.php file within the bbpress plugin directory and replacing any character values with a blank. Good enough for me. This “solution” IS NOT RECOMMENDED as any update to bbpress is more than likely to overwrite it. Unless you don’t mind going back in and remembering to re-hack it after each update. No doubt it can be done better. The client just requested I get rid of the code values. Without further to do…
GoTo: yoursite\wp-content\plugins\bbpress\includes\common\functions.php
Between Lines 1090 and 1091 Add:
$search_bbpress_titles = array("&# 039;", "&am p;", "R 11;", "&qu ot;"); // ' & - "
$topic_title = str_replace($search_bbpress_titles, '', $topic_title);
Then add the same two lines further down between Lines 1233 and 1234.
NOTE: You will have to remove the spaces from the $search_bbpress_titles array line as I was unable to post without it parsing that line. Don’t know the coding on this form to post properly. Email me if you need the code.
Looking forward to any other helpful input. No need to remind me how better you are at coding. 🙂
Just shows how much we don’t play with – I’ve never hit that link.
By the way I’m not part of the plugin team, just a humble user !
But after a bit of testing, for a topic called Test Topic :
Within the post you’ll see an edit which takes you to
http://www.mysite.com/forums/topic/test-topic/edit/
which allows a user to edit
But the EDIT link at the bottom goes to
http://www.mysite.com/wp-admin/post.php?post=18358&action=edit
which is a wordpress supplied link, which a user isn’t allowed to edit as it is a backend function, unless they have privilege to access topics on the backend which only moderators and keymasters can do.
So participants see this link which they can’t use !!
Well spotted – I’ll take a look when I get a moment at whether this can be switched off in wordpress for bbpress pages, or the link changed.
Hi Guys,
I am trying to have a page in WordPress which shows two sections:
1) posts with 20 or more replies
2) posts with 19 or less replies
I have created a page with the following shortcodes:
[bbp-single-view id="twentyplus_posts"]
[bbp-single-view id="lesstwenty_posts"]
I have added the following into my themes functions.php file:
// Add Custom View - Forum Home
add_action( 'bb_init', 'view_twentyplus_posts_init' );
function view_twentyplus_posts_init()
{
$args = array( 'post_count' => '>19' );
bb_register_view( 'twentyplus_posts', __('Popular Posts', 'example'), $args, false );
}
add_action( 'bb_init', 'view_lesstwenty_posts_init' );
function view_lesstwenty_posts_init()
{
$args = array( 'post_count' => '<20' );
bb_register_view( 'lesstwenty_posts', __('Forum Posts', 'example'), $args, false );
}
However all I get in response is:
Oh bother! No topics were found here!
Oh bother! No topics were found here!
Any idea what I am doing wrong here?
It has taken me a while, and sorry @jacobofeijoo probably far too late for you, but just published a plugin that should do all the forum styling you need
https://wordpress.org/plugins/bbp-style-pack/
For those who have been asking a new plugin which hopefully will help
https://wordpress.org/plugins/bbp-style-pack/
Changing style items – now in this plugin so no need to create child themes and post complicated code into style sheets
Changing how the forum looks, the most asked for items, such as vertical sub forums, hiding counts, adding ‘create new topic’ links, removing ‘private’ prefix, adding forum descriptions, changing breadcrumbs and more
Login – create simple menu items to help with logging in, registration and changing profiles
Shortcodes – 3 useful new shortcodes to help your display
Feedback both positive and ‘needs improvement’ welcomed !
suggest you put this as a project on
http://jobs.wordpress.net/
Hi,
When a user creates an account at http://thewritepractice.com/index.php?/register/JUZsw5 and then goes to the bbPress forum at http://thewritepractice.com/bw and posts a topic, there is an Edit link at the bottom of that topic. But when they click that link, they get this error message:
You are not allowed to edit this item.
A few notes:
- I’m on the latest version of WordPress.
- This problem persists when all plugins but bbPress is activated.
- This problem persists when the 2015 theme is activated.
I installed and activated the bbPress Advanced Capabilities plugin and learned that if I enabled “Edit others topics” for Participants, the participant could then edit their topic.
So in other words, bbPress thinks that the topic is being created by someone other than themselves.
Any ideas how this could be the case? It’s very strange…
Thanks!
since bbpress uses wordpress registration this is really a wordpress issue
In wordpress you should just disable ‘anyone can register’
I’m also stopped recive the notifications by email after update… to 2.5.4 (not sure about version). This happens because new bbPress send one email to all subscribed people. I publish the solutions for another issue few weeks ago https://bbpress.org/forums/topic/hook-to-bbpress-notifications/#post-156426 but it also the solution for your issue.
In few words about my code:
- Disable default bbPress notifications (one email per all users).
- Add similar notifications but it sends one email per user and WordPress send it by using cron (not immediately).
P. S. I’m also using WP SMTP plugin to send email throw external SMTP server.
I have the same issue as above, ‘When someone fill out the password reset form on BBP forum and hits submit, the page just refreshes. it looks like the form just hasn’t worked.’, but it does. The email is sent. Once the email is sent the steps that follow are the same as a normal WordPress password reset.
The above php functions changes what happens after the email is sent and the email link is used to reset the password. They do not effect the original issue- ‘it looks like the form just hasn’t worked.’
Thank you for your time.
Jerry
I agree, plugins tend to break WordPress every now and then, but I did hardcode certain plugins directly into my child theme, these can not update unless I update them myself.
In my first 12 months of WordPress studies/experiments there were a lot ofplugins binned due to conflicts or outright fails.
Thank you 🙂 I’m just trying to use this repository like bower_component. I can’t find SVN URL endpoint to using it in bower. Few examples from Bower API (bower. io/docs/api/#install):
svn+ssh://package. googlecode. com/svn/
svn+https://package. googlecode. com/svn/
svn+http://package. googlecode. com/svn/
I try use svn+h t t p s : / / bbpress. svn. wordpress. org/ but it doesn’t work.
P. S. I use a lot of spaces because bbpress. org doesn’t allow publish replies with external links.