Thank you for your responses but I haven´t been able to fix the problem yet.
Unfortunatelly the embeeding is not working even using just the image or video url. It is only showing hyperlinks to the URLs.
As suggested by the codex embeds page I used the [embed]…[/embed] shortcodes with the same results.
By the way, I have wordpress “Auto-embeds” and bbpress “Auto-embed Links” checked
Any other idea on how to fix this problem?
if necesary you can use this test user:Username: ricardo2012
password: 123***
Thank you again,Luciano
Anonymous User 7670885Inactive
@kraigg: Check out the “View” link under one of your forums in WordPress Admin > Forums. Note that using the “View” link works; the difference between this URL and the one linked from /groups-shortcode/ is that the one that works ends in ‘forum’; the link from /groups-shortcode/ ends in ‘forums’.
In short: forums are there, but not where /groups-shortcode/ expects to find them. It looks like you have some sort of URL forwarding turned on so that when visiting a group, the first tab opened is the forum tab. However, it is should point to /forum/, not /forums/.
I’ve also had to downgrade to 2.1.3 after getting reports from some users that they were seeing the page not found page on all pages under our /forums/
I’ve filed a trac ticket here:
https://bbpress.trac.wordpress.org/ticket/2041
Copy and pasting the text:
After upgrading to 2.2 I got reports from certain users that they were seeing our page not found on all forum pages under the /forums/ URL including the base URL itself.
I logged in and tested it with my admin account and did not see it.
I created a normal user account and also could not repro.
I then signed in as that specific user and got a repro.
I then checked the network activity in Chrome and noticed that the site was sending a 200 HTTP code but serving up the standard 404 page. Which explains why I wasn’t seeing any 404’s in my web server error log.
Note that our forums are accessed via HTTPS so this may help you repro.
I downgraded to 2.1.3 and instantly the issue was fixed.
I haven’t noticed any heuristic with the user account that I managed to repro on. I even checked the cookie string to see if there was something odd about that users cookies, but didn’t notice anything.
As an admin on your site, you have the ability to post unfiltered HTML. There should be a warning above the post box that says this.
Regular user’s HTML is filtered to prevent malicious code from peeking through, and it’s possible images and/or specific attributes aren’t allowed on your installation, and they are getting filtered out.
Add the [bbp-topic-index] shortcode to your page.
https://codex.bbpress.org/shortcodes/
bbPress 2.2 language files should go in /languages, not /bbp-languages, so: /wp-content/plugins/bbpress/languages/bbpress-ja.mo.
Embed Media means you don’t have to copy all of that HTML to post an image. It should be enough to just paste the link the the relevant image or video. See https://codex.wordpress.org/Embeds.
My original setup was based on WordPress 3.4.2 and BuddyPress 1.6.1
I added a BP Group Forum which we realized will not be sufficient and if anything just confusing to members. So I completely deleted the Forums page and added a new page called Group Discussions. I then went to BP settings and pointed forums option to use this page. No problem there.
Next, I installed bbPress 2.2 / activated / added couple of test forums / check the slug making sure that it worked by going to: http://ch.lifewithababy.com/forums and it did.
Next step was to add a new Forums page which I did. Right after http://ch.lifewithababy.com/forums became blank??? Why???
I then deleted the Forums page and http://ch.lifewithababy.com/forums worked again… hmmm…
At this point I am confused…
So I ended up adding the page and then adding a shortcode to show the forum and it works, kind of.
It works for public but if I login as a member (one of my test buddypress members) the page no longer available??? As a logged in member I get “We’re sorry, but we can’t find the page that you’re looking for. Perhaps searching will help.” which makes no sense at all.
Could someone please help? I have no idea what is causing this mysterious behaviour and how to resolve it.
Thanks.
Hello,
My users are not able to publish photographs in the forum by embeeding their flickr html code into new threads ( it looks like bbpress deletes the html code ). Example of the code :
<a href=”http://www.flickr.com/photos/josue_arzate/7982828578/” title=”Milpa Alta por Josué Arzate Ontiveros, en Flickr”><img src=”http://farm9.staticflickr.com/8036/7982828578_9b9bd93c21.jpg” width=”500″ height=”332″ alt=”Milpa Alta”></a>
I have “Embed media (YouTube, Twitter, Flickr, etc…) directly into topics and replies.” checked.
The code embeeds perfectly when I do it (administrator) but is not working with my users.
Does anyone knows how can I fix this?
Thank you for your help,
Luciano
wp 3.4.2
bbpress 2.1.2
buddypress 1.6.1
my site: http://www.luchotv.com
I’m trying to display the latest replies from the forum, but while the widget is perfectly running, each time i use i get “no topics”
I upgraded to Version 2.2 just now and when click submit to create topic or click edit for the existing topic, it shows the blank page and the page title says the fatal error: Call to undefined function bb_get_id_from_slug()…
<br />
<b>Fatal error</b>: Call to undefined function bb_get_id_from_slug() in <b>/home/omijin/public_html/wp-content/plugins/buddypress/bp-forums/bp-forums-functions.php</b> on line <b>178</b><br />
I am using WordPress 3.4.2 and I would like to display the latest questions (last 5 or 10 Qs) in my static homepage. There is a way to add some code to my template and display bbpress questions?
Thanks,
Hello bbpress,
I updated to version 2.2 and I am getting the error. The line is
948 endif; // class_exists check
949 exists check
Is it missing something…like the comment tag or semicolon?
Thanks for the good works you guys do
CK
Sorry, my bad, try resetting your permalinks.
https://codex.bbpress.org/faq/#404
Ok, sorry for that… Still, im am new to all this. I am not afraid to get my hands dirty. But what exactly should i be looking for in the css code? I tried testing the default bbpress theme and the problem is not there… So yes, this is a theme problem… :/
@hypnoscribe – Please don’t post big code dumps; it’s not easy to read and easily accessible by linking to your site, a pastebin, or any other place.
@netweb – If you’re going to answer questions, make sure they’re the correct answers. 🙂
Looking just a bit deeper in Inspector, you’ll notice the CSS isn’t part of WordPress or bbPress. Like @nguyenkinh said, this is a problem with the CSS in your theme.
This is the content of my themes css. Cant see the code you are refering ton in there… 🙁
{snip}
Was offline for a week and finally found some time to give it a try. I used the coding below to use HTTP_X_FORWARDED_HOST if it’s provided for function bhp_verify_nonce_request, so I do not skip any checks this way.
function bbp_verify_nonce_request( $action = '', $query_arg = '_wpnonce' ) {
// Get the home URL
$home_url = strtolower( home_url() );
// Build the currently requested URL
$scheme = is_ssl() ? 'https://' : 'http://';
$request_host = $_SERVER["HTTP_X_FORWARDED_HOST"]? $_SERVER["HTTP_X_FORWARDED_HOST"] : $_SERVER["HTTP_HOST"];
$requested_url = strtolower( $scheme . $request_host . $_SERVER['REQUEST_URI'] );
// Check the nonce
$result = isset( $_REQUEST[$query_arg] ) ? wp_verify_nonce( $_REQUEST[$query_arg], $action ) : false;
// Nonce check failed
if ( empty( $result ) || empty( $action ) || ( strpos( $requested_url, $home_url ) !== 0 ) )
$result = false;
// Do extra things
do_action( 'bbp_verify_nonce_request', $action, $result );
return $result;
}
Hi guy! I FIXED IT, be in heaven again.
Here’s my solution, as I said before, it’s about your theme. You should browse to your WordPress theme folder, open the style.css and if your problem are the same as mine you should find some code like this:
.reply {
margin: 10px 20px 0 0;
text-align: left;
text-transform: none;
font-size: 12px;
position: relative;
height: 25px
overflow: hidden;
position: relative;
right: -20px;
}
Now you just simply put 2 lines
height: 25px
overflow: hidden;
in the comment or just delete it, cause I found in bbpress.css there is the id name reply, it was overide by WordPress.
If you need more details, email me.
SKParticipant
In spite of that BBLANG configuration, it seems the forum page is still using English.
<html xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://ogp.me/ns#" dir="ltr" lang="en-US">
SKParticipant
Rookie question. Wrong question. My apologies.
My wp-config actually says
define('WPLANG', '');
define('BBLANG', 'hu_HU');
I was thrown off simply by the fact that bbPress doesn’t seem to be picking up Hungarian strings from the language file.
Looks perfect. As I only want to give Editors the forum-moderation, I think, I only have to add the first part of the code.
A small hint: as I understand the code, there the code-comment in the 2nd part i incorrect:s
$role = get_role( ‘author’ ); // gets the editor role
It gets the author-role, isnt it?
-
This reply was modified 13 years, 7 months ago by
nyks-barton.
-
This reply was modified 13 years, 7 months ago by
nyks-barton.
hi thank you for the quick response, helps a lot when you are trying to work your way through a problem. I must first say though I am new to this wordpress php bbpress thing.
SO you mentioned I use bbpress-functions.php? Can you be more specific I know you already are but I would like to know the exact steps to take if you will.
I know changing the following code in bbpress.php for the plugins>bbpress file. but if I change this than the updates will delete the changes I make so therefore I need to make a child theme. So where do I paste the following code in bbpress-functions.php?
public static function register_post_types() {
// Define local variable(s)
$post_type = array();
/** Forums ************************************************************/
// Forum labels
$post_type[‘labels’] = array(
‘name’ => __( ‘Enchanted’, ‘bbpress’ ),
‘menu_name’ => __( ‘Enchanted’, ‘bbpress’ ),
‘singular_name’ => __( ‘Forum’, ‘bbpress’ ),
‘all_items’ => __( ‘All Forums’, ‘bbpress’ ),
‘add_new’ => __( ‘New Forum’, ‘bbpress’ ),
‘add_new_item’ => __( ‘Create New Forum’, ‘bbpress’ ),
‘edit’ => __( ‘Edit’, ‘bbpress’ ),
‘edit_item’ => __( ‘Edit Forum’, ‘bbpress’ ),
‘new_item’ => __( ‘New Forum’, ‘bbpress’ ),
‘view’ => __( ‘View Forum’, ‘bbpress’ ),
‘view_item’ => __( ‘View Forum’, ‘bbpress’ ),
‘search_items’ => __( ‘Search Forums’, ‘bbpress’ ),
‘not_found’ => __( ‘No forums found’, ‘bbpress’ ),
‘not_found_in_trash’ => __( ‘No forums found in Trash’, ‘bbpress’ ),
‘parent_item_colon’ => __( ‘Parent Forum:’, ‘bbpress’ )
);