Forum Replies Created
-
In reply to: participant reply or topic confirm
sorry I don’t understand you sentance
In reply to: where to put bbpress.css in child-themeso did you copy/paste it – exactly as per my code and what exact errors did you get?
In reply to: bbPress site separate from my main website?Whilst I can see some of your concerns, there are no security concerns that bbpress will let your users access your wordpress site backend – none of us would use bbpress if it had backdoors like that.
You core issue seem to stem from
I had to install some bbPress code in my functions file to stop non-administrator profiles from seeing the WordPress main menu at the top of the forum.
Please explain further? or give us the code you used.
With that, in having to add code such as this I subsequently shut down my entire site due to adding code the functions.php file that it didn’t like. Not a good situation for me.
That is a wordpress issue, and if you are not good at coding you should not be editing files ion a live site. You really need a test site
https://codex.bbpress.org/getting-started/testing-your-bbpress-installation/creating-a-test-site/
Yes you can set up a separate domain/sub-domain with wordpress and bbpress running, and just show bbpress in this site. BUT you can’t have this administered by the other wordpress site (well at least not at any level of understanding that you would have – you are not ready for multisite 🙂 )
So either you run one site or two sites. 1 site will not give you security issues if set up correctly in wordpress. 2 sites will mean lots of duplication of usernames, double updating, and more room for error.
I’d suggest you look strongly at the test site route – this will force you to learn about how a wordpress site is put together, which will allow you to do changes with confidence of more technical knowledge and no risk to live
Good luck, and do come back and let us know how you get on
In reply to: participant reply or topic confirmit’s not the default behaviour.
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
In reply to: where to put bbpress.css in child-themeAll plugin writers write code to try and not interfere with each other – but occasionally we fail.
I’d suggest you post a thread on their support forum to see if they can help.
Did you try my shorter code – there is a reason for this question !
In reply to: Disable topic creation on certain forumsok, so you need to amend form-topic.php
Presumimg you can use FTP and use an editor
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.phpMake a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/form-topic.phpbbPress will now use this template instead of the original
and you can amend thisSo in form-topic.php you need to amend line 28 from
<?php if ( bbp_current_user_can_access_create_topic_form() ) : ?>
to
<?php if ( bbp_current_user_can_access_create_topic_form() && (bbp_get_forum_title() == 'other' ) : ?>
This should then only allow new topics if the user can create a topic and the cforum title is ‘other’ forum
This is untested, but should work !
In reply to: bbPress and s2Membernot quite sure what your questions is.
bbpress will assign the default role on first user login – that’s the way it does it – in effect if there is no role it gives the user then default. So when s2member creates the account, you may not see a bbpress role until they have logged in.
if that isn’t your question, then I’m not sure what you mean by
However, they still cannot access the forums because a subscription has not been created in s2Member
Isn’t that exactly what a membership plugin should do??
bit confused, but please come back and explain some more !
In reply to: bbPress & tinyMCEIn reply to: where to put bbpress.css in child-themeso did you try my code???
In reply to: where to put bbpress.css in child-themeok – can only suggest it could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
In reply to: where to put bbpress.css in child-themeTry :
function rew_add_custom_role( $bbp_roles ) { $bbp_roles['bbp_global_moderator'] = array( 'name' => 'Globale moderator', 'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() ) // the same capabilities as moderator ); return $bbp_roles; } add_filter( 'bbp_get_dynamic_roles', 'rew_add_custom_role', 1 );
In reply to: where to put bbpress.css in child-themeIt’s because you haven’t set the moderate primary cap 3rd one down in the list below.
The full default mod caps are
// Moderator case bbp_get_moderator_role() : $caps = array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => true, 'throttle' => true, 'view_trash' => true, // Forum caps 'publish_forums' => true, 'edit_forums' => true, '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, );
you are missing
'moderate' => true,
from yours !
use
and click the ‘website details’ section of the report
if it’s wordpress it will say.
Don’t offhand know what the others appear as
In reply to: Background Content BoxGreat – glad you’re fixed !
In reply to: Background Content BoxAlso, what profile is bbpress putting there on the left and how do I edit what shows?
can you post a more detailed explanation – I don’t understand your question !
In reply to: Background Content Boxon your first it is being affected by
http://olympusnetworkmc.com/wp-content/plugins/bbpress-new-ui//inc/css/dark.css?ver=4.4.2
change line 1411
media screen #bbpress-forums div.bbp-forum-content, #bbpress-forums div.bbp-topic-content, #bbpress-forums div.bbp-reply-content {
padding-left: 5px !important;
}to from 5px to say 30px
In reply to: Theme For Forum Orientated Web Siteyou can also then style it using
In reply to: Profile next to forum post is offon first issue – We need a link to your site to be able to see what is happening
On second – this will let you display a badge dependant on no. posts – load it and if you like what it does I can give you a piece of code to make it work for user levels
In reply to: Sidebar on the wrong sideIn reply to: Change freshness timing typeno problem
In reply to: Change freshness timing typeum yes – that’s how I did it 🙂
Suggest you download the plugin and crack it open to see how it was done
In reply to: Theme like bbpress.orgbbpress doesn’t have theme’s – it uses your sites theme, but sometimes integration is not great.
Unfortunately your link produces a certificate error (The security certificate presented by this website was issued for a different website’s address.) on the https side, so I didn’t visit.
If it is just styling rather than function try my plugin
https://wordpress.org/plugins/bbp-style-pack/
Otherwise give us a valid link, and I’ll take a quick lookIn reply to: Change freshness timing typeload my plugin
In reply to: Excluding Forums from Recent Topics Widgetbut yes as Pascal says, you do need to list the forums that you want to include
and I have just updated the plugin for a technical error which should not affect you, but you may want to load the latest version from my site
In reply to: Excluding Forums from Recent Topics Widgetok, I think I know the problem.
If you copied/pasted the shortcode from my website, it incorrectly formats the shortcode on your website.
I’ve now corrected, so if you go back onto my website and copy/paste then it will now work.
or just type the shortcode in !