I must be doing something wrong when I enter the first bit of code into the bbpres-functions.php file of the them I get an error regarding the public function error. Can someone give me an idea on where I am making a mistake?
My suggestion would be to just use a similar rule. Let’s say that this page has the class “page-id-2”, then amend your above CSS to look like this:
.bbpress #page,
.page-id-2 #page {
width: 100%;
}
…sorry for the post above but i cannot edit anymore, here come the right one:
Thanks jaredatch! I inserted the above code from “jshultz” at the end, just before the last “?>” in the functions.php of my theme and it seems to work well 🙂
This code removes only the 1 item: “this forum contains … topics… and … themes”
But i’d like to get rid also of 3 other following things from the info area:
– Viewing x topics – 1 through x (of x total)
– You may use these HTML tags and attributes: a href title abbr title acronym title blockquote cite
– Topic Tags + the field below
How could that be accomplished?
It’s a pity no plugin does seem to exist allowing to surpress those things that are of no use for many less proficient members that use my forum.
-
This reply was modified 13 years, 4 months ago by
nikoski.
My original code snippet above is wrong. I had copied out of a plugin I wrote and it has a syntax error (extra parathesis) from ripping it out of a class.
If you use the snippet @jshultz provides, that should be correct. You should be able to place it inside your theme’s functions.php file.
Do not place anything (or modify at all) inside the /bbpress plugin folder, as you will lose all changes when you update bbPress.
@jshultz:
Bacuase of no idea about php: where exactly should i place you code in the “functions.php”?
And what about removing the following lines from bbpress?…
Viewing 2 posts – 1 through 2 (of 2 total)
Oh I just thought it’s a short code which I can paste or change just few things. Thanks anyway! (at least the front page of forums looks nice 🙂 )
Do you mean wp theme template or bbpress theme template? Can you tell me what should I write into the CSS file? I need some help, coz I don’t know CSS well, I could copy you the code, just tell me which file you need.
Thank you
How very dumb of me… yes, it’s my custom theme. I could have sworn when I switched to Twenty Eleven with the same code I had the same problem.
Thanks for taking the time to reply.
Unless you place one of the forum short codes on a page, there is no page assigned to bbPress templates.
I found out how to change the breadcrumb url, alt and text myself. You can change the code in bbp-common-template.php (/wp-content/plugins/bbpress/bbp-includes/bbp-common-template.php) on line 1889…
// Add the breadcrumb
$crumbs[] = '<a href="/forums/">Forums</a>';
It’s just a normal link tag so you can name it and add alt tag as you wish 🙂
-
This reply was modified 13 years, 4 months ago by
Garindan.
-
This reply was modified 13 years, 4 months ago by
Garindan.
Hello,
I have installed the BBPress Forum and have reviewed the installation forums. I have placed the following short code on a page: [bbp-forum-index]
But it is not showing when you go to that page.
I am not sure what I am doing wrong.
Any advice would be greatly appreciated.
Regards…..
OK, but bbpress is running with
Custom root slugs to prefix your forums and topics with. These can be partnered with WordPress pages to allow more flexibility.
how I can find my page ID because forum based is “discussions” and I don’t have page name with “discussions”
Thank’s for help
my forum link
http://www.zikadonf.fr/monespace/discussions/forum/principal/
… might not be to use bbpress at all.
I have a standalone bbpress that I would love to import & integrate. I assumed that the “forum” would be a category on my wp install, and the topics subcategories, and the forum posts seen as wp posts and comments.
This would allow my wp site to act as neither blog nor forum but a truly integrated website, with everyone acting like an author, and a central way for me to control the content flow.
But from my explorations I discovered that it doesn’t work this way at all. Forum posts are not wp posts, there’s still 2 separate systems in this “integrated” model. So the comments on my wp install have a different codebase than the comments/replies in my forum, for example.
I’m considering totally tricking out one of the many form plugins (Gravity Forms, etc) to create “posts” in the “forum” category in my wp install. So the whole concept of the forum is nothing more than having logged in users create guest posts in a truly integrated wp install.
Just curious if anyone has done this — I can’t be the first guy to think of this idea. The biggest drawback so far is that i would need to find a way to import the posts in my old standalone forum to become posts in my new setup.
Log into your WordPress admin, go to Pages, click Edit on the page you want, then look at the URL. The post=xx part will show you the page ID, which you can then use in your code:
if( ! is_user_logged_in() && is_page( xx ) ) {
// use get_permalink() to get the URL.
}
This fits to the original question, so I am writing it here. What is the reason to have this bbp-login, bbp-register and bbp-lost-password code anyway? I’ve just spent a considerable amount of time customizing this bbp code to make it play nice with my theme. And then I had to realize that under certain circumstances the user ends up at the original WordPress login, register and lost password forms – which is certainly not waht I want. So why the … are those bbp forms there when obviously the original WordPress forms accomplish the same things. I could have customized the WordPress forms and all would have been good, no? To have this bbp forms seems to be redundant, confusing and – as it was in my case – time consuming. The bbp team, should supply such forms only if they go all the way, error detection and such included, or not supply it at all.
OK first read about short codes here.
Basically a short code is a place holder for content (html, images, posts, etc). When you place [bbp-forum-index] into the content of a page, it will be replaced automatically with an index of your forums in bbPress. Try it out and you’ll see what I mean.
Hello,
I want to add a link with the “pagetitle” of bbpress forum page.
bbpress is running in a wordpress page but how I can find it? where it is?
I want to past a simply code as
if ( !is_user_logged_in()&&is_page('???') ) {my link...
thank you for helping.
WP: 3.4.1
bbpress: 2.1.2
theme: Frisco for BuddyPress
If you need any css files or other I can copy the code here.
Are you familiar with what short codes do and how to use them?
You can use the [bbp-lost-pass] short code to show a change/lost password form.
There is an option in Settings > Forums to allow/disallow annonymous posting. Set this so that users are required to login in order to post in the forums.
You can show a registration form with the [bbp-register] short code.
There’s a lack of documentation at the moment because the site is being redone (slowly) and the individuals responsible for the majority of the documentation are also the main developers, who are busy writing code 😀
The location of the forums on your site depend on the settings you have set in Settings > Forums. Take a look at the documentation for basic settings.
You can also manually place the forums index on any regular WordPress page by using the [bbp-forum-index] short code. Short code reference.
Hello again,
I have created a new page and added [bbp-topic-form] shortcode inside it. However, this page isn’t 100% full width.
How can I “force” this page to get the .bbPress #page class ?
Thanks
Hi Guys,
bbPress (2.1.2) on WP 3.4.2 logout gives error code 500 (Internal server error).
Error log:
> mod_security: Access denied with code 500. Pattern match
> “\\.php\\?.=(http|https|ftp)\\:/.\\?” at REQUEST_URI
> [hostname “www.xxx.nl”] [uri
> “/wp-login.php?action=logout&_wpnonce=5a9ef61b36&redirect_to=http%3A%2F%2Fwww.xxx.nl%2Fwp-admin%2Fplugins.php%3Fplugin_status%3Dall%26loggedout%3Dtrue%23038%3Bpaged%3D1%26%23038%3Bs”]
bbPress doesn’t use rawurldecode()?
For now, what is the best solution? Which file and which code should I change? Or is there another solution?
I have WordPress 3.4.2 and bbPress plugin version 2.1.2.
I recently used the migration tool to import the data from an old bbPress 1.1 forum. Everything seemed to go quite well. I did lose some topics but I can certainly live with it.
I have, however, noticed that the Login Notice “You Must be logged in to post a topic” is NOT showing when users are not logged in.
I can see the code (or what I think is the code) in the bbPress template but it just won’t show.
Yous assistance would be appreciated.