Hey guys,
Can you please explain me where to put the functions.php file ?
If I put it in the child theme directory,my whole site goes blank …
<?php
/**
* Functions .. additional to all the programs
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
function add_custom_role( $bbp_roles ) {
$bbp_roles['DDC Member'] = array(
'name' => 'DDC Member',
'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // i just want them to have the same capabilities as participants );
$bbp_roles['Forumlid'] = array(
'name' => 'Forumlid',
'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // i just want them to have the same capabilities as participants );
$bbp_roles['DDC Bestuur'] = array(
'name' => 'DDC Bestuur',
'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) // i just want them to have the same capabilities as participants );
return $bbp_roles;
}
add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
?>
This is my website: http://ecoperate.com, WordPress version is 4.0.1 and bbPress version is 2.5.4.
I noticed that the little avatar icons displayed in bbPress widget areas (e.g. to show recent posts or comments) don’t have any margin on the right and appear as though they stick to the text. In my case, this is a footer widget that displays the latest topic. I would like to add margin-right, but the problem is that the avatar icons in the actual forum area fall under the same CSS selector and appear to have enough margin already (they also have a border). So, when I add margin-right, it affects not only the widget icons. How can I do that, though? Is there a way to separate them, so that the icons in the forum area remain the same?
Many thanks in advance,
Rosa
This is my website: http://ecoperate.com, WordPress version is 4.0.1 and bbPress version is 2.5.4.
I have two forum groups running on my website (‘Opportunities’ and ‘Forum’); both of them highlight a different item in the menu when they’re active. Now, what I can’t manage to do is highlighting the respective menu items in the forum topics. At least not in a way they can tell the parent forums apart.
This works perfectly:
.single-topic .genesis-nav-menu .menu-item-71 > a
With the exception that only ONE of the menu-items is highlighted for every single topic (71 refers to menu item ‘Opportunities’). What I want to achieve is differentiation, by somehow linking the single-topics to the right parent forum. How can I do this?
Any help would be greatly appreciated! 🙂
Thanks,
Rosa
Hi there, I am a newbie to bbpress and need some help. I have installed and activated bbpress on my site on WordPress 4.1 and none of the admin menus such as Forums, Topics, Replies appear in the backend of the site on the left hand admin menu. I was wondering what might have gone wrong and how to get this to work. I have tried deactivating other plugins and still no good. I have also tried uninstalling and re-installing a few times without any luck. No actual error message appears on the site so I do not have anything else to go on, so maybe someone has some tips. Thanks
Aha! I was falling prey to this ticket:
https://bbpress.trac.wordpress.org/ticket/2739
Implemented the workaround in the ticket, and I can haz formatting!
I’m trying to add BBPress to my WordPress site, but after installation, my forum looks completely unformatted:
http://fortcollinsmodernquiltguild-fcmqg.rhcloud.com/forums/forum/fort-collins-modern-quilt-guild-forums/
I’ve tried removing all other plugins that didn’t come with the site, removing and re-adding themes, using the default themes, but it always looks like this. Is it supposed to look like this until I do something? Or is something else messing with what should be some sort of sane default formatting?
I went to the link above on how to create a child theme but when I tried to follow this link,https://make.wordpress.org/training/modules-in-progress/child-theme-module/ it was a 404 error. So I’m going to try and change the main theme. I go to the Twenty Eleven theme directory on the ftp to make the ‘bbpress’
ie wp-content/%your-theme-name%/bbpress directory. Correct? Should I this be the exact name of the directory? ‘bbpress’ie wp-content/%your-theme-name%/bbpress
see
https://codex.wordpress.org/Class_Reference/WP_Query
and look at the heading
Order & Orderby Parameters
my guess would be
‘orderby’ => array( ‘meta_value_num’ => ‘DESC’, ‘date’ => ‘desc’ ),
`
the date is the date of the post ie topic
wordpress and encryption – there are plugins such as discussed here
https://geek.hellyer.kiwi/plugins/end-to-end-encryption/
but either solution will be time consuming – good luck !
Well… this time I’m using “wp” as Table prefix, with “Start Over” and “Purge Previous Import” selected and, for the past 7 hours, it’s been “Deleting previously converted data” ….. (should I mention that the first attempt took only minutes so, I don’t see how the revert process could be taking so long) 🙁
PS
So I stopped it and started over, without the Purge option and ..
“Repair any missing information: Continue
WordPress database error: [Table ‘mydatabasename.wpforum_forums’ doesn’t exist]
SELECT convert(forum_forums.id USING “utf8”) AS id,convert(forum_forums.parent_id USING “utf8”) AS parent_id,convert(forum_forums.name USING “utf8”) AS name,convert(forum_forums.description USING “utf8”) AS description,convert(forum_forums.sort USING “utf8″) AS sort FROM wpforum_forums AS forum_forums LIMIT 0, 100
No forums to convert”
OK, I can’t figure out how to make a directory. I’ve looked all the options and can’t find it. How do you create a directory? I’m sorry but as I said I’m very new to this with little technical knowledge. I know how to a little HTML coding but that’s about it. I’m using theme Twenty Eleven and access my WordPress through HostGator.
suggest you put it as a project on
http://jobs.wordpress.net/
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.