Your theme developers will need to be a little more specific than “bbPress code has some problems”.
If bbPress’ code didn’t change and you updated your theme and now bbPress doesn’t work, then this is not a bPress issue, it is a issue with your theme and what changed in the latest theme update.
I suggest you contact the theme developers again, link them here to this post of mine, if there is a bbPress issue, I’m happy to work with the theme author to fix bbPress if that is the case.
i checked with technical support apparently the bbpress plugin code has some problem, hence it is not able to function properly. Is anyone facing that problem?
@phileas013
I would like the questions to be displayed the same way that on this bbpress forum.
On these forums the developer removed the content holding the labels and also moved the post date and id number in a different area.
Robin linked you to a plugin that enables you to show the lead topic, which this site does, so you have that. If you do not want to use the plugin, or you are really just using it to just show the lead topic, you can also use this custom php snippet that is on this site.
https://codex.bbpress.org/bbp_show_lead_topic/
I still do not find a way to add a border around the topic (and not the replies) or find a way to make it look different from the answers.
You can try some custom CSS like this. It won’t look as good as this site because of how its designed as I stated above.
.single-topic .topic {
border: 2px solid black;
}
I do not understand why the line in blue with “créateur” and “sujet” appears above and below the main topic.
Thats normal, its how the lead topic is supposed to be displayed by default.
put this in your child theme’s functions file, and make the number bigger than the number of forums you have
update_option ('_bbp_forums_per_page', 200) ;
Functions files and child themes – explained !
Hi,
First assure that ‘Allow guest users without accounts to create topics and replies’ is checked.
To allow guest just to create topics, in wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php one line 28 change with:
<?php if ( bbp_current_user_can_access_create_topic_form() && !bbp_is_anonymous() ) : ?>
To allow guest just to create topics, in wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php one line 28 change with:
<?php if ( bbp_current_user_can_access_create_reply_form() && !bbp_is_anonymous() ) : ?>
Update: Still didn’t find a way to fix this…
However, I noticed that the menu is okay on mobile. Also, if I’m using another page and adding the [bbp-forum-index] shortcode to it instead of the default forums root page, it’s okay as well.
I think you are now into custom web design !
I’ll do the following for you, but now you are talking abut amending the tpoics plugin, of which I have no coding knowledge
to get rid of the line below put this in your css
.bbp-footer.last-child {
display: none;
}
Hi, sorry for the late reply.
We have our forum index which I’ve created by adding a shortcode to a WordPress page: http://red-ferndevelopment.co.uk/FootballMedic/forums/
This page displays fine as I’ve been able to add a H1 and padding, but clicking into any of the other forum pages has no padding or H1 title tag.
Is there any way of doing this without manually editing each PHP file?
On a side note, I have a couple of questions about general customisation that I can’t seem to find answers for in the documentation, or in the forum. Should I start a new thread or post within this one?
Many thanks in advance.
Many thanks,
Austin
Solved! Going line by line through the Bones theme I discovered that the call to load jQuery <script type="text/javascript" src="/wp-content/themes/bones/library/js/jquery.js"></script> was located in the theme’s footer “for faster loading.” Moving this line to the header fixed the problem. Still not quite sure why – seems the editor cannot wait for jQuery to load – but at this point I’m just glad it’s sorted. Thanks again for your help @robin-w.
I had a member post a snippet or two of php in a couple of replies without closing the tag. The order of the replies are now messed up. Sometimes a reply will post up before the last one. Sometimes it will go to the top. On some topics they seem to be fine.
I have deleted all of the entries that had code in them. I have run the repair tools several times.
I have even installed the “Sort topic replies” plugin. The sorting does not appear to be working with that, however the option to always have the main topic post at the top does work and does make it a bit better.
I’m using the latest version and the link is http://www.dualcreatives.com/forums/ but most of this is happening in the private member forums. The public forum only has a few and I don’t see it happening on those.
Does anyone have any ideas on how I might fix this?
2. Changing the titles
The part that says ‘forum’ is harder – this is part of the template, so different title would require recoding that template. If you are up with changing php files, I’ll look at how easy that is
However I suspect you have dome that layout using shortcodes? If so then you could just put a header in your page for each – not as neat but perfectly functional. If not let me know how you have done the layout.
1. Removing the breadcrumbs
if you are fine with code then :
Layout and functionality – Examples you can use
if not then use my style pack plugin to turn them off
https://wordpress.org/plugins/bbp-style-pack/
yes I agree that would be better
If you know how to add code to your childtheme functions file, then
1. create a page called something like ‘Password Reset’ and put in the content the message you would like to display
Make a note of the url of this
2. Put this code into your functions file
add_action ('bbp_get_wp_login_action', 'rew_lost_pass', 20, 3) ;
function rew_lost_pass ($login_url, $r, $args) {
//bail if this is not a lostpassword
if ($r['action'] != 'lostpassword' ) {
return apply_filters( 'bsp_lost_pass1', $login_url, $r, $args );
}
//so this is lost password so go to lost password login page
$login_url = 'http://mysite.com/password_reset/' ;
//$login_url = $r['context'] ;
return apply_filters( 'bsp_lost_pass2', $login_url, $r, $args );
and change the line
$login_url = 'http://mysite.com/password_reset/' ;
to whatever url you had in 1. above
Hi,
Here is what the editor looks like when logged out:
http://www.sva.bc.ca/logged_out.png
And here is what it looks like when logged in, with any user role:
http://www.sva.bc.ca/logged_in.png
Note the TinyMCE/Quicktags editor buttons are missing. The images above show this for the topic creation but it’s the same for replies. Here is the HTML code that appears when I inspect the element (while logged in):
<div id="wp-bbp_topic_content-editor-container" class="wp-editor-container">
<div id="qt_bbp_topic_content_toolbar" class="quicktags-toolbar"></div>
<textarea id="bbp_topic_content" class="bbp-the-content wp-editor-area" name="bbp_topic_content" cols="40" tabindex="102" rows="12">
</textarea>
</div>
ok, I’d strongly recommend you have a testing site.
Creating a Test Site
Whilst it will take an initial effort to set up, it is well worthwhile
Hi Istrix,
Could you attach the lines from your functions file, containing this code? This will help with troubleshooting.
-Mads
Hi!,
I have kept the shortcode for lost password in bbpress and after giving email address and clicking “reset password” button no message is showing in the page like “please check your mail with reset password link”.
Please help.
How to add a VIP role same caps as participant.
When I add this code, my site will get a HTTP ERROR 500.
Please help.
Thanks!
can you post a link to an example and I’ll give you some code
It is possible, but would require some custom code, it’s doable, but more coding than just a couple of snippets here to help you out.
An alternative way to what you’ve asked though is kind of shipping with bbPress 2.6. We’ve added support for “per forum moderators”, so you could create a “private” forum and give a single user moderator access to that forum, likewise another forum for another user, and then your site moderators could be moderators of all those “user forums”. This would be dependant upon how many users you have as this would be a manual setup.
I’d suggest reading the docs, theres a good index of some “Getting started” docs here:
Codex
Hello
I’ve looked in forums, google, documentation but I couldn’t find how to achieve that or at least the starting point to customize the code.
I would like to give a forum/category of forums a special access right where the Participants can only see their own post and nothing else and moderator can see everything.
I do not wish to create a special user role because the other forums of the site are normal, i.e. a participant can create topic, see and respond to any other topic.
Is that doable? anyone could help getting in the right direction?
Thanks in advance
Chris
PS: Apologies for double posting I realized that the initial forum was not adequate.