What I want to change is “Oh bother! No search results were found here!” , not “Oh bother! No topics were found here!” which is what your plug-in changes. This is what I want to edit:
bbpress/templates/default/bbpress/feedback-no-search.php (inactive)
but it’s marked as “inactive” so what does that mean?
I am trying to edit the phrase “Oh bother! etc,” but when I get to the Plugin Editor it’s saying that the default template is inactive, like this –
bbpress/templates/default/bbpress/feedback-no-replies.php (inactive)
I am using WordPress 4.4.2 running Twenty Sixteen theme. and bbPress is Version 2.5.8
My site is http://www.fagleyforum.site
How can I find the right place to edit this phrase?
There is a function: bbp_get_super_stickies() which is used inside the function bbp_has_topics(). This function basically returns a list of Post IDs from the wp_options table from a row with the key: “_bbp_super_sticky_topics” or “_bbp_sticky_topics”
So one approach could be: override default args
bbp_has_topics(array('show_stickies' => false);
Extra loop for stickys (not tested, just a sketch)
$query = new WP_Query(array('inlucde' => bbp_get_super_stickies());
Though i recommend looking into the function bbp_has_topics to be aware of all possible cases.
bbPress 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 twentyfifteen, and see if this fixes.
Then come back
All I want to do is have my website show other users’ basic info when I click their name in a forum post.
That’s what it is supposed to do – click my name here and you’ll go to my profile !
bbPress 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 twentyfifteen, and see if this fixes.
Then come back
bbPress 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 twentyfifteen, and see if this fixes.
Then come back
bbPress 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 twentyfifteen, and see if this fixes.
Then come back
before you do that, lets just eliminate theme and plugin.
bbPress 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 twentyfifteen, and see if this fixes.
Then come back
Hi,
So you have bbPress translated into CZ if I understand correctly ?
If so, would you mind helping with the translation for the whole CZ community ? https://translate.wordpress.org/locale/cs/default/wp-plugins/bbpress
If you are interested, I can guide you on becoming PTE for bbPress, let me know. Then you can import you .po file and everybody can have bbPress in CZ then !
Thanks,
Pascal.
Just went to log into my site which uses the bbp-login shortcode and it just shows me a blank page. logged in using the wp-login, checked the login page with the shortcode, the shortcode is still there.
Also, the forums page is all blank as well. no forums are showing. Go to forums > all forums, they are listed there.
Tried Chrome and IE. Same issue on both.
@robin-w: thank you for your reply. I’m sure it could work. However using this solution forces me to create a function for every language I add.
@casiepa: Goeiemorgen, daar zijn we weer! Thanks for helping out. I have achieved a lot of what I want but the breadcrumbs remains. (for reference, see this topic on WPML: https://wpml.org/forums/topic/multiple-site-languages-but-just-a-bbpress-forum-in-english/).
As a result of this thread I have an English forum AND a Dutch page displaying the forum with a shortcode with only one set of topics. Exactly what I want.
For the breadcrumbs I tried to create a solution with an onclick event and then navigate back in the history but that is not reliable. When a user is entering a topic from, let’s say a google search result page and then clicking the breadcrumb link they are send back to the google page.
I imagine something like this:
The English page for the forum has the slug: supportforum (for example)
The Dutch page for the forum has the slug: helpforum (for example)
On the forum index page no breadcrumbs are needed.
On the topics page I only want a link back to the forum index for the appropriate language.
So the ‘solution’ must not link back to the forum slug but to the page where the index lives.
I have absolutely no idea how to achieve this.
The outputted link has to be something like this:
http://www.my-site.com/forumpage-slug/
For the other languages:
http://www.my-site.com/language-code/localized-forumpage-slug
In my case English is the default language and Dutch is the translation.
The urls should be:
http://www.my-site.com/supportforum/ -> for the default English language.
and
http://www.my-site.com/nl/helpforum -> for the Dutch language forum page.
and
same way for every other language added.
I hope this description make sense.
HTH
Regards,
Adri
Update: creating a page with the [bbp-forum-index] shortcode works, no idea why it’s broken on the default forum root.
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.
Then come back
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.
sorry someone has edited that page and made it less helpful.
Try
Now we have some forums, we need to have somewhere to display them.
There are two ways to do this. Most themes support method 1, and this can (can not will) produce tighter theme integration on style [Note this was true for v 2.2 not sure if it still is !]. However Method 2 allows you to have some introductory words. Your choice…!
Method 1
This requires a couple of checks first
a. In Dashboard>settings>forums look for what is set in the forum root under the forum root slug heading. The default is ‘forums’ but you can set this to anything
b. In Dashboard>settings>permalinks check that the common settings check is set to ‘postname’ If it isn’t and you don’t want to change it, then use method 2.
Now just create a wordpress page that has the heading that was found in a. above eg if the root slug is ‘forums’ create a page with the title ‘forums’, and save.
Once the permalink has been created, you can rename the page to whatever you wish eg ‘mysite forums’ (as the permalink will stay the same, and it is this permalink that bbpress looks for)
Save this page, add it to a menu if you are using custom menus, or decide its order if you have automatic menus. Then publish it to your site.
Job done!
Method 2
If either your theme doesn’t work with method 1, you don’t want permalinks with postname, or you want to use some introductory text (eg “welcome to our forums…”, then method 2 is for you.
In dashboard>pages
go to add new page
Call this ‘Forums’ or whatever you want your menu item to be.
Then in the content section, you may want to have some introductory words “welcome to the forum” etc. then add the following bbpress shortcode
[bbp-forum-index]
Save this page, add it to a menu if you are using custom menus, or decide its order if you have automatic menus. Then publish it to your site.
You will now have a forum page, and a forum to display.
bbPress 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.
Did you create any page (also look in drafts and trash) that has a /forums slug ?
If you nowhere have a page with that slug, that bbPress should default to /forums to show the existing forums (don’t forget to create at least 1 public forum to see the list)
Pascal.
Thanks for your reply, Pascal.
In that case, that plugin is probably not going to help us anyway. So never mind the shortcode error.
Our problem is still with the bbPress activity stream, we are hoping to limit its contents to only should be visible to members of a particular group. We are using MemberMouse and the bbPress MemberMouse extension to limit users access to only the forums they are taking a class for, but they are seeing activity from other forums in the feed.
Also, we would like to limit access to this default bbPress page to be private for admins only, if at all possible: http://www.themysticdreamacademy.com/forums/
Hope someone can help us with one or both of these issues.
Thanks,
Rory
Hi there,
I’m helping a client resolve an issue with their bbPress Activity Stream. Their website has many online classes that are kept separate from each other, and their wish is to have the Activity Stream only show activity that is relevant to the forum a user has access to, and keep info from other forums private (they are using MemberMouse to restrict access). I did some research on here and on Google and found several threads that talked about similar issues, but wasn’t able to find any solutions.
The site uses the latest version of WP (4.4.2) and bbPress (2.5.8) and is located at http://www.themysticdreamacademy.com/
I thought the bbPress Activity Stream Shortcode Plugin would do the job, so I installed that and did a quick test, but I’m getting this error: Fatal error: Call to undefined function bp_has_activities() in /home/myst1cadm1n/public_html/wp-content/plugins/bp-activity-shortcode/bp-activity-as-shortcode.php on line 102
If that issue could be resolved, we may be all set since we can set up shortcodes to display different streams for different forums. Otherwise, we’d like to know if there’s a way to limit the Activity Stream to only show content the user has access to.
Finally, my client is also concerned about the default forums page, which shows a listing of recent topics from all forums and is visible to anyone who finds it: http://www.themysticdreamacademy.com/forums/ Users who aren’t logged in aren’t able to click any of the links, but they are still concerned about privacy. Is it possible to make this page private so only logged-in admins can see it? Or can it be removed somehow?
Thanks for your time,
Rory
Hi,
Please try to run the recalculation repair tools (Tools > Forums > Repair Forums), start with ‘Recalculate last activity in each topic and forum’.
If that did not work, try to switch to a default WordPress theme to make sure it’s not a problem with your current theme.
Pascal.
Copy the file ‘/wp-content/plugins/bbpress/templates/default/bbpress/feedback-no-forums.php’ to a child theme and then modify the file to what you want to obtain.
Pascal.
@membershipsite101
Using the index shortcode on the ‘forum’ page is perfectly normal. If you leave the /forum page blank then you can choose whether to show the forums index or the topics index on the bbpress settings page.
As I noted before the URL of the Welcome page says it is a subpage of the ‘Help’ page (http://membershipsite101.com/help/welcome). So I would expect it to use the template of the /help page, not the one of the /forum page. Do you perhaps have a page titled ‘Welcome’? Try hovering over the forum title on the /forum page and see what the link says. If the forum root is ‘discussion’ then the /welcome page should be either /discussion/welcome or /forum/discussion/welcome.
I think you need to review your bbpress settings again. Look at my page http://spaug.net/forums.
I use the bbpress default settings as follows:
Forum root slug: forums
Forum slug: forum
Topic slug: topic
And I check the ‘Forum Prefix’ box as recommended.
Then my URLs are as follows:
Root page: sitename/forums
Individual forum page: sitename/forums/forum/forum-name
Individual topic page: sitename/forums/topic/topic-title
I suggest that you try changing the forum root slug to ‘forum’ or ‘forums’
Finally, unless you are very adept at CSS modifications, I recommend the ‘bbp style pack’ plugin. It allows you to modify colors, fonts, font size, etc easily.
Remember, whatever optimizepress theme template.php you want to use for the forums page (right sidebar, no sidebar, etc) make a second copy of it IN THE SAME FOLDER and rename it bbpress.php. That way bbpress will always use that template. I also make a copy of the bbpress.css file from plugin folder (\wp-content\plugins\bbpress\templates\default\css\bbpress.css) and put it in the theme folder. That way you can use the WordPress Editor (Appearance>Editor) to make changes.
I just did a quick Google search on ‘Optimizepress and bbPress’ and it looks like there is a lot of incompatibility. I also noted that Optimizepress was discontinuing their support forum in favor of their ‘customer happiness team’. My condolences
Having fun yet?
Maury
Maury
sorry hit publish a bit early meant to go to say
You can copy all the templates across, but you only need to copy those that you want to change, and it is better just to do this, as then you know which you have altered.
so if you wanted to amend loop-single-forum you would do the following
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
Make 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/loop-single-forum.php
bbPress will now use this template instead of the original
and you can amend this
First off let me say I think I may have no clue as to the move of the bbpress files to child theme.
wp-content/themes/theme_name/??????
should that be the first folder and later under bbpress templates, i.e start @ “default” and copy ALL files an folders to move under the websites theme????? Eactly where and what is copied?
My second question. css fixtures seem to be working fine, but I can not remove the (#,#) beside the sub-forum titles on the main page.
Next question, how can I remove the announcement area?
I would also like to remove the View # topics @ the top of the topics list & just display at the bottom of the list.
Now here is where the layout starts to really change.
I would like to remove the bar saying Topic, Voices, Replies, Freshness.
Then reformat the forum list to display
The topic area the same, but remove the voices # & replies # & place a small vertical divider and finally display a box of user profile pictures from the participants in the topic.
Yeah, it’s a big difference in the look & considering I’m having a hard time just know where to put the folders should be interesting trying to pull this off. Hopefully you guys have patience. 🙂
Hi,
I suspect your theme … try to switch to a default one.
Pascal.