Forum Replies Created
-
In reply to: I‘m looking for Author Page Comment (bbpress)
sorry, I simply don’t understand what issue you are describing, please give a more detaled explanation and a link to an example on your site
In reply to: 404 on Edit my postbbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
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 twentytwelve, and see if this fixes.
In reply to: Cannot access abc/forumssorry I’ve read this twice, and I do appreciate that you’ve tried to give us lots of good info (unlike many posters!), but I don’t know what your actual issue is.
Can you describe in one sentence what is/is not happening and what you would expect.
In reply to: New to bbPresslook at the step by step guides in the documentation
I want the forum menu link to be visible but nothing else, no forum titles/topics etc simply a login panel and a message explaining that the forum is for members only.
ok, put the following in your functions file
//Stop non-logged in user seeing the forums and show forum login page instead
function lab_logged_in_bbptopics($have_posts){ if (!is_user_logged_in()){ header("Location: /forum-login/"); exit ; } return $have_posts; } add_filter('bbp_has_topics', 'lab_logged_in_bbptopics'); add_filter('bbp_has_forums', 'lab_logged_in_bbptopics'); add_filter('bbp_has_replies', 'lab_logged_in_bbptopics');
The create a page called ‘forum login’ and ensure the permalink is set to ‘forum-login’. You can actually use any name or permalinl, but the permalink has to match the one in line 3 above.
into that page you can put something like
You must be both registered AND a member of the club to use the forums. If you are not a member, why not <a href="/join-us/"> Join the club </a> Otherwise please login in [bbp-login]
Then create a ‘join-us’ page that they can go to.
If I disable the toolbar in this way, will I need a plugin to allow users to make basic changes to their profile in an environment that is consistent with the front end of the website?
There are several ways to get an edit profile – this one adds it to your custom menu if they are logged in
In reply to: Help – Multiple Profile TrollsI’m not a lawyer, and the law is of course different depending on where the world you are.
In reply to: Forum not showing uphow did you put the link in – are you in visual or text mode? and what exactly did you put in?
In reply to: Author Posts Position messsed upbbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
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 twentytwelve, and see if this fixes.
In reply to: Topics not appearing in forumyes I believe it will be fixed in wordpress 4.0.1 (it was a wordpress change), but no idea when that is coming out
In reply to: Help – Multiple Profile TrollsMany plugins are not ‘maintained’ as this take time, and if no functionality is being added, the authors can be working on other things, or have just got bored! I think it is a shame.
However many still work fine, and if not there are usually alternatives.
I haven’t tried it, but take a look at
In reply to: Forum not showing upcan you post the exact code you’re putting into your page
In reply to: Highlight keymaster replyprobably several ways you could do this.
Quickest I can think of is to alter the loop-single reply template
You should really do this in a child theme, as otherwise theme upgrades will overwrite this – google wordpress child theme video for lots of useful videos on how to do this – it’s quick and simple.
Create a bbPress folder in your theme :
Wp-content/%yourthemename%/bbpress
Where %yourthemename% is the name of your theme.
Then go into
Wp-content/plugins/templates/default/bbpress/loop-single-reply-php
Copy this file into the bbPress folder in your theme. bbPress will now use this file instead of the default, and you can amend this file.
line 61 does the content styling, so quickest to alter the background of this file.
so you would put a check I their for keymaster, and if so, use a different class that has a different background.
How up on coding and css are you, so that I don’t spend hours typing what you already know?
In reply to: Forum Icons?no problem, glad you’re fixed !
In reply to: Forum Icons?@zick123 – didn’t quite understand your post.
you just out the code into your functions file and then use the ‘featured image’ part of the forum to add whatever image you wish ie
Dashboard>forums>all forums and edit the forum, on the right ahdn side you’ll see ‘featured image’ and just add whichever one there.
In reply to: Forum Index not displaying properlySuggest this is theme related and you need to get bbpress to use the right theme template
In reply to: Dropdown menu with all forums – How to ?The problem i’m having is on all other pages
so you altered code in “content-archive-forum.php”
how or what are you doing for the other ‘pages’?
In reply to: Forum Icons?just tested worked fine on my twentyten test site
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 twentyten to prove your code works.
In reply to: 2 roles instead of 1great – glad you’re fixed !
If you want forums to be visible but not accessible to non-logged in users then you need my plugin
https://wordpress.org/plugins/bbp-private-groups/
which gives you loads of options on how your forums display
The admin bar (called the toolbar) can be disabled apart from admins
add
//disable toolbar for non-admins if (!current_user_can('manage_options')) { show_admin_bar(false); }
to you functions file
In reply to: Permissions issuebut got a message to the effect that it contained an ‘invalid header’. Thought you’d like to know.
Yes thanks for letting me know – I just re-tried it and it loaded fine. I did it direct ie
Dashboard>plugins>add new and searched for it. It installed and activated with no issues.
Strange 🙂
In reply to: What does bbp_template_before_forums_loop do?both fairly easy !
Breadcrumbs
Search
Dashboad>settings>forums> look for search and unclick it.
In reply to: What does bbp_template_before_forums_loop do?Actions are ‘placeholders’ to allow you to add code without having to alter the templates, so this line does nothing – it is a hook for you/others see
In reply to: Permissions issuegreat – glad you’re fixed !
In reply to: BBpress topic and posts positioninghmmm, sorry cannot explain why that didn’t work
In reply to: Creating a New Query Object from within a Classsuggest you look at how the forums widget lists the forums
wp-content/plugins/bbpress/includes/common/widgets.php
the forum widget starts at line 497