thanks jjj.
here’s what i needed to do, in case anyone else is interested.
- install bbpress and wptouch pro plugins
- in bbpress settings, under theme packages, choose the bbpress
default – bbp-theme-compat
- create a wp page forums and use [bbp-forum-index] short code for a
forum index page
- in wptouch admin make sure that both “Enable ‘topic’ post type” and
“Enable ‘reply’ post type” are NOT selected (thanks to emilio at
bravenewcode)
- put a copy of bbpress/bbp-theme-compat/extras/archive-forum.php into
the active wptouch child theme iphone (etc) directory(ies).
- tweak style
i have no idea why a copy of archive-forum.php was needed in the wptouch theme as i didn’t need to copy any of the bbpress files into my desktop theme (twentyten child) and i didn’t copy any of the other bbpress files into the wptouch theme. but at least it seems to be working with a minimum of fuss.
You could try something like this (for an install that also has BuddyPress):
function disable_all_widgets( $sidebars_widgets ) {
if ( function_exists('is_bbpress') ) {
if (is_bbpress()) {
$sidebars_widgets = array(false);
remove_all_actions('bp_register_widgets');
unregister_sidebar( 'bp_core_widgets' );
}
}
return $sidebars_widgets;
}
add_filter('sidebars_widgets', 'disable_all_widgets', 1, 1);
Looks very promising – thanks for your input!
@JJJ this is mainly for you & anyone else who might be editing the site, so if there’s a better place to discuss this, e.g. the the bbPress devblog, let me know.
I looked at the current page structure and thought it could be structured a bit differently:
About & Features reshuffled
-
About
- GNU License
- Domains (possibly merged with License page)
- Get involved
- Privacy
- The Story
- Development
-
Features
- Fully Integrated
- Multisite Forums
- Simple Setup
- Examples/Showcase (might be better off as its own parent)
Move to codex
- Installation
- Requirements
This also depends on the plan for pages like ‘simple’, ‘integration’ and ‘multisite’, which might not need dedicated pages if they can be explained simply enough in a paragraph (I’ll give it a shot).
-
This topic was modified 13 years, 12 months ago by
Erlend.
-
This topic was modified 13 years, 12 months ago by
Erlend.
-
This topic was modified 13 years, 12 months ago by
Erlend.
Lynq, that’s what I assumed, too. This link suggests the approach you took:
https://codex.bbpress.org/theme-compatibility/
Re: Markdown
Feedback should be directed towards the WP-Markdown support forum.
Re: Search
wpmudev.org has got a very elegant forum search set up on their site, including an alternative Google search. Maybe they’ll share the code. I’ll refer them to this thread and try get a conversation going.
Re: Breadcrumbs & Tags
Agreed, I’ll do some mockups.
I have not used Semisecure Login, but a quick look around found this:-
https://wordpress.org/support/topic/simple-modal-login-and-semisecure-login-reimagined
> “I didn’t used with SimpleModal Login. But maybe “Theme My Login” is a good alternative for you?! That works with Semisecure Login Reimagined.”
> “This plugin themes the WordPress login, registration and forgot password pages according to your current theme. It creates a page to use in place of wp-login.php, using a page template from your theme. Also includes a widget for sidebar login.” https://wordpress.org/extend/plugins/theme-my-login/
You may be able to create a new login page/template and get around the issue that way.
Have a good read at a few other sites with other alternatives as the Semisecure Login Reimagined plugin is no longer being developed and there may be other solutions that are actively supported to meet your needs.
It looks like this is my solo topic.:-) So I continue contributing. Here is my progress in resolving the isue described above.
I have created bbpress-extras directory in MYTHEME directory. All files from /wp-content/plugins/bbpress/bbp-theme-compat/extras were copied into this directory. Than I edited bbpress-functions.php (copied to MYTHEME directory). Following code looks to be promising
function bbpress_custom_template() {
if ( is_bbpress() ) {
require_once ( 'bbpress-extras/page-front-forums.php');
exit;
}
}
add_action('template_redirect', 'bbpress_custom_template');
This is the result: http://poradci-sobe.cz/forums/
This looks like this is the way how my custom template files can be stopped to be ignored by bbpress. At least the first file I am testing – page-front-forums.php. I will try to make the condition more precize and to create special condition for each template file I want to use.
Does anybody know, why this approach creates as many forum lists as the number of forum is?? Each forum lists is the same except forum name is different. I would expect there will be only one forum lists without any name.
I am looking for JJJs answer saying “this is a very poor solution”. I am trying my best. Sorry for that.:-)
-
This reply was modified 13 years, 12 months ago by
viktora.
I found it easier just to do it by CSS.
All of the bbPress pages will put a class of .bbPress on the body tag.
My sidebar is #primary.
So what I did was this small bit of css:
.bbPress #primary {
display: none;
}
Then I added in some extra CSS to extend the width, easy!
Markdown Plugin
I like Markdown, though cutting & pasting the above text/reply crashed Safari on the iPad twice.
Reproduce Steps: start a reply, I’m using this post itself for an idea on size, it is now so slow and I can’t type or delete text faster than one character a second.
Forum Wide Search
See Trac Ticket #1575 https://bbpress.trac.wordpress.org/ticket/1575
The code in #1575 is a WP plugin ‘Search bbPress’ though it needs an update for bbPress 2.1 (remove old widget typo bug code and whatever else may need updating)
Ideally getting #1575 closed and built into bbPress would be the ideal scenario 🙂
Breadcrumbs & Tags
These are features available in the bbPress software, as such I think they should be used here at bbPress.org/forums to help showcase the features of bbPress. As for the actual user experience/implementation of said features, ideas on how you use them and how they could be best used here would be great.
(~typing at only one character per second here, there is some performance issue with Markdown going on here or at least on iPad Safari)
Hello,
I’d like to use bbPress so I’m looking at setting it up on my blog…
I use the plugin Semisecure Login Reimagined to encrypt login details before they’re sent off to the server…
When I use the bbPress shortcode for the login or use the login widget I get the message:
> Semisecure Login is not enabled! Please enable JavaScript and use a
> modern browser to ensure that your password is encrypted.
Does anyone know if it is possible to get around that?
Thanks!
Found it 🙂
On the https://codex.bbpress.org/shortcodes/ page the shortcodes for this are listed towards the bottom 🙂
Is this the proper approach? removing all of the php get_sidebar() function calls?
Ok – it seems to be working as expected now, with a clean refresh. The only difference is that I followed your instructions, Lynq, and not those peppered around this site. The following links say to copy the contents of the bbp-twentyten folder to the theme folder:
https://bbpress.org/forums/topic/bbpress-2-0-theme-compatibility/
https://codex.bbpress.org/step-by-step-guide-to-creating-a-custom-bbpress-theme/
That doesn’t work for me, however. Copying the contents of the bbp-theme-compat folder did work.
Is this simply a documentation problem that needs to be fixed?
Thank you both for the help and attention!
Hello,
I tried to use the bbpress rate post plugin on WordPress 3.4.1, bbpress 2.0.3, BuddyPress 1.5.6 and the plugin v. 1.6.6. In the group forums it works very well, but in the site-wide forums there is nothing, so I thought I will modify and make it to work in bbpress…
I opened the files (bb-rate-forum-posts.php – the main file) looked at the hooks and tried to find the similar hooks for bbpress, but unsuccessfully for now. I tried few changes but always get blank screen errors.
Can anyone help me, with code, or just hints? Or some other plugin recommendation?
Thanks in advance.
hi,
i’ve just installed bbpress 2.1 on a test site and am loving it. great job and many thanks to all, especially (of course) jjj.
so far the new theme compatibility seems to be working just fine (and MUCH easier to set up) with my simple twentyten child theme.
however, there are very weird problems with the mobile theme from the wptouch pro plugin (for example, with wptouch pro switched on, the blog is displaying forum topic titles without any blog or forum content). what makes this especially weird is that i did have wptouch pro working with bbpress 2.0.
i’ve asked for help on the bravenewcode support forum, but they don’t offer official support for wptouch with bbpress (although, as per usual, emilio is willing to a look)…. so i thought i’d ask here too as wptouch mobile theme plugin might be something of interest to bbpress users and some of you may have a suggestion.
thanks for any ideas to try…;
Just to make sure (and after taking a backup) I deleted my bbpress plugin folder.
re-downloaded it and re uploaded it.
So using my current theme and installing a fresh copy of bbpress my bbpress.css file loads from within my theme folder.
Your theme doesn’t happen to hard code a css path or anything does it? It could be a plugin loading in the css file or something, but not too sure apart from that, sorry!
P.s. I also used the bbpress-functions.php file from bbp-theme-compat
That’s exactly what’s happening. I’m using the responsive theme. I have a responsive-child theme folder that includes the necessary information for me to use it and have responsive as the template, along with style.css that has some modifications to the responsive theme’s css. I then copied everything from …/wp-content/plugins/bbpress/bbp-themes/bbp-twentyten to the responsive-child folder and added the aforementioned line to bbpress-functions.php.
bbpress ignores .../responsive-child/css/bbpress.css and instead calls the one from the plugins folder.
I added a simple css line in my style.css file for my child theme to try to replace the background color of the rows on the forum index:
#content table tbody tr.odd td {background-color:#efefef;}
The web inspector in Firefox shows that it is recognized but precedence is taken by the aforementioned css file in the plugins folder.
-
This reply was modified 14 years ago by
Clay.
It still calls the bbpress.css in the plugins folder. Is there a specific place that the add_theme_support line needs to go in bbpress-functions.php?
I did the following today:
-
Install a fresh version of wordpress and bbpress plugin.
-
Copy all files (except style.css) from …/wp-content/plugins/bbpress/bbp-themes/bbp-twentyten to my child theme folder
-
Modify bbpress-functions.php to include add_theme_support( 'bbpress' );
bbpress is still using the bbpress.css file from wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/css
I’ve been tinkering with it for hours and I cannot get it to start using my child theme’s css files by default. They properties always are overwritten by the bbpress.css file in the plugins folder.
Ideas?
-
This topic was modified 14 years ago by
Clay.
Inside this file: http://www.geekandjock.com/wp-content/themes/parallelus-mingle/bbpress.css
Line 104.
#bbpress-forums .bbp-forums-list li {
display: inline;
font-size: 11px;
}
You will need to change to:
#bbpress-forums .bbp-forums-list li {
display: block;
font-size: 11px;
}
This is the one thing that keeps cropping up when I am on these forums, so once you have got yourself comfortable with this then the rest of the stuff I have done with my forum has been mostly CSS. there is some PHP because I wanted to try and make it a bit unique, but none of it touches the core.
Good luck!
Nothing, looks correct to me.
If you check the markup you now have markup ready for your CSS.
Now in your css you could add something along the lines of:
.bbp-forums .bbp-forum-info .bbp-forums-list .bbp-forum {
display: block;
}
omg, so am I copying the file bbpress-functions.php into the theme root and then adding this other code at the bottom and then modding the loop-single-forum.php file?
@Rastarr I have a feeling that when I used the backticks it cut off some of the code and you might of copied that across so it was formatted incorrectly?
Hmm sorry Rastarr, I can’t get the code formatting to display correctly currently.
http://pastebin.com/qsuEvBgL
-
This reply was modified 14 years ago by
Lynq.
-
This reply was modified 14 years ago by
Lynq.
-
This reply was modified 14 years ago by
Lynq.