Search Results for '+.+default+.+'
-
Search Results
-
Hey there,
I have made some changes in bbpress/includes/core/capabilities.php
The changes alter the capabilities of roles.
I wish these changes to survive updates. So I would like to include these changes in the file functions.php of my child theme.
Changes are in bold:
Change 1
// Moderator
case bbp_get_moderator_role() :
$caps = array(// Primary caps
‘spectate’ => true,
‘participate’ => true,
‘moderate’ => false,
‘throttle’ => true,
‘view_trash’ => true,// Forum caps
‘publish_forums’ => false,
‘edit_forums’ => false ,
‘read_private_forums’ => true,
‘read_hidden_forums’ => true,// Topic caps
‘publish_topics’ => true,
‘edit_topics’ => true,
‘edit_others_topics’ => true,
‘delete_topics’ => true,
‘delete_others_topics’ => true,
‘read_private_topics’ => true,// Reply caps
‘publish_replies’ => true,
‘edit_replies’ => true,
‘edit_others_replies’ => true,
‘delete_replies’ => true,
‘delete_others_replies’ => true,
‘read_private_replies’ => true,// Topic tag caps
‘manage_topic_tags’ => true,
‘edit_topic_tags’ => true,
‘delete_topic_tags’ => true,
‘assign_topic_tags’ => true,
);break;
Change 2
// Participant/Default
case bbp_get_participant_role() :
default :
$caps = array(// Primary caps
‘spectate’ => true,
‘participate’ => true,// Forum caps
‘read_private_forums’ => true,// Topic caps
‘publish_topics’ => false,
‘edit_topics’ => false,// Reply caps
‘publish_replies’ => true,
‘edit_replies’ => true,// Topic tag caps
‘assign_topic_tags’ => true,
);break;
}return apply_filters( ‘bbp_get_caps_for_role’, $caps, $role );
}How can I include them in the file functions.php of my chid theme? Thank you very much in advance
After installing the plugin monalisa, this broke my site. After disable all back to normal, but the default smilies disappeared, no longer they are. I thought maybe overwrote the file where the images, but I do not know which file is, could it be that?
Thanks in advance.
Hello
I want to prevent user role with participant from creating new topics. By default, registered users are given the participant role. I want the forums to be organized and if I allow everyone in they will mess the forums.
I read this: https://bbpress.org/forums/topic/prevent-users-from-creating-topics/
But it’s no longer applicable to the current version.
I tried this fix:
.bbp-topic-form { display: none; }But it’s incorrect because users will not be able to edit their replies and it affects the functionality of forums.
Please help!
Topic: Forum root not showing
I’ve just installed bbPress and have come across a bit of an issue. Hopefully it’s something I’ve done wrong rather than anything else 🙂
The forum will display fine – I’ve set up a default forum, topic, etc – except for the forum root page. That appears as blank.
I’ve kept everything as default so the root is ‘forums’. Here it is… http://artiss.co.uk/sandbox/forums/
Blank page. Not even a 404. No, I don’t have any posts or pages set up with the same name. I even changed this to another name and still got the same.
However, a direct link to the forum I set up works… http://artiss.co.uk/sandbox/forums/forum/test-forum/
Anybody have an idea what the problem is?
Thanks,
David.I just can’t figure it out with the templates noomatter how much I am googling as I am new and can’t get what exactly the problem is. I have followed so many different tutorials, but well, they didn’t lead where I want.
What I have:
a website running localy with a child theme of twentyeleven with a sidebar.
After installing bbpress, the the default forum page ‘sitename/forum’ was well visualized, but the sidebar was empty and the forum did not have full extent.
I wanted to add text before the forum itself as well as create a new sidebar and so created a new page ‘sitename/forums’ choosing ‘Sidebar Template’, with text and then shortcode [bbp-forum-index]. Also created a new sidebar an registered it. Searching for changes created bbpress.php which is simply my index.php (as I can’t find any php file named template.. just sidebar.php, which is not the one I want.). Also tried to make same php as template adding* Template Name: Forum Templateto be able to chose it from dashboard.Now I have:
*default forum page [sitename/forum]- that has a view as I want, till the moment I click on the topic that gets displayed as page per whole extent while also showing the bbpress sidebar = overlapping.
*created forum page [sitename/forums] that I indeed want to have, that has this overlaping problem, and not displaying the bbpress sidebar instead the usual one.Checking with firebug it is clear that on default forum page, articles are presented as forum pieces, but in the created forum page they are simply presented as articles.
So I suspected I should change smth here instead of the content calling smth different..<?php get_template_part( 'content', get_post_format() ); ?>
However it just looks like nor my created template, nor page bbpress.php is understood as bbpress page.. (as my sidebar is checking that and so it does not appear).If someone could direct where/what to read or try out I would really appreaciate,
Thanks in advance,
Image above explains it. I could edit or remove the separator in the core template file, but it’ll change back to default in the next bbpress update. Any help is appreciated.Hi all,
I have page titles which have a line beneath them.
However on the forums pages the line is missing. Can someone please tell me how I can go about customising this part of my site:
Kind regards
Hello, I have spent 5 years on my site and downloaded bb press today because of all the great things they said about it on this site.
Now I can no longer access my dashboard to edit anything.
I have been deleting plugins from my file manager in cpanel but it’s not helping.
I have found some things in the forums and tried to change all my wordpress user roles and capablities to the defaults but it’s not doing anything.
I noticed that registration was disabled too so i re-enabled it in the database.
Now my site and database are a complete mess and I have no idea how to fix it.
Why would you ever release this software?
No one will answer me either.
5 years of nonstop hard work and it’s not looking good.
I just saved up for 4 years and did a 20k ad campaign too.
Topic: Bottom pagination links
Any idea how to move bottom pagination links place. Its default under this message box. I want it like this site after topics and before message box.
I am using a child themes. I read your instructions on setting up the child themes configuration. I copied the folder
Souce:wp-content/plugins/bbpress/templates/default/bbpress
Destination: /wp-content/themes/%your-theme%/bbpress/Bbpress will normally use the default files found at
wp-content/plugins/bbpress/templates/default/bbpressHowever if you create a directory in your child theme at
/wp-content/themes/%your-theme%/bbpress/
(where %your-theme% is your child theme’s name)
then any files stored there will be used instead.Thereafter, there appears two “unsubscribe” button in the forum. Before copying the “bbpress” folder to the child-theme, I only see one unsubscribe.
I run a multisite installation of WordPress 4.4 and bbPress 2.4 installed with the Twenty Twelve theme.
I exported “all current” bbpress-cs_CZ.mo and bbpress-cs_CZ.po files at https://translate.wordpress.org/projects/wp-plugins/bbpress/dev/cs/default?filters%5Bterm%5D=Your+username+must+be+unique%2C+and+cannot+be+changed+later.&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
The first thing is, that all strings in exported files are in english. I manualy changed the string “Your username must be unique, and cannot be changed later.” to “Vaše pĹ™ezdĂvka musĂ bĂ˝t unikátnĂ a nejde pozdÄ›ji zmÄ›nit.” in the bbpress-cs_CZ.mo and inserted that file via ftp to these folders:
/matia.info/wp-content/languages/bbpress
/matia.info/wp-content/languages/plugins
/matia.info/wp-content/plugins/bbpress/languagesNone of them works though. My site is at http://www.objasnujeme.cz/registrace/
There is a string “Your username must be unique, and cannot be changed later.” instead of the czech translation.