Search Results for 'code'
-
Search Results
-
Topic: Fatal error: ob_end_flush()
I just installed bbpress 2.5.4 on WordPress 4.1, on two different websites.
On my test site, everything is working as expected, but on my live site (which has SSL) every time I try to access the default https://mysite.com/forums/ I get the following error:
Fatal error: ob_end_flush(): Cannot use output buffering in output buffering display handlers in /homepages/wordpress/wp-includes/functions.php on line 3269
I can create a new page with a different name than “forums” and use the shortcode successfully, but the breadcrumbs have a direct link to the “/forums” and it gives the same error.
Any idea what may be going on?
Thanks!
Topic: Avatars in widget 2012
Topic: New Topic/Reply button
Hi! So I’ve created a New Topic page using the shortcode but I can’t seem to figure out the code or where to place the code to add a New Topic button within the forums. I have stumbled across a plugin, but it costs a bit of money and I’d rather not pay for something that should come with the forum in the first place. Any chance someone could give me semi-detailed instructions of where to put a code, and what code to use? I’ve done some searching but can’t really figure it out.
Thanks
Topic: White screen "Blocked"
It seems a few of my users when trying to log in or register an account are directed to a white screen that says “Blocked”. It seems to go away eventually, but this has been an on-going issue. I notice it happens when they try using the short-code pages I’ve made, but not so much on the meta links. I don’t seem to get this issue but I am getting many complaints. Also, it seems like this may be related to plugins as I removed certain ones after a complaint and it seemed to fix this issue for a bit, but now it’s back.
Any idea what’s going on?
My site: http://the-divine.net
Can I just say, whilst bbPress is a great SSO solution for those wanting to hook up their WordPress with a forum, it is very difficult to get it going how you like it. There is virtually no decent documentation going over anything except the basics.
I am trying to achieve something relatively simple, however have had to resort to editing the actual plugin itself in an attempt to get it working how I’d like it to be.
What I am trying to do, is edit the freshness part of bbPress. What do I mean by that? Well, I am trying to edit the following:

So what I wanted it to do, was display the actual Topic Title. It makes sense, because as default – what has updated? What thread was last updated without having to drill into the forum?
I also found it bizarre that the title was added within the title tag of the freshness, really? Can we just have some sort of option to allow us to change how things are layed out, or at least create some documentation on how to actually change this without editing the bbPress plugin files (which is what I have had to resort to…)
My question is, how can I change what is displayed there? Surely there’s a better way around it that doesn’t involve hacking my way through the plugin files.
Which bbPress file actually changes this? Like I say, absolutely no documentation on what each file does – it is just guesswork………………
If I am missing something I apologise, but after looking for countless hours I just decided to edit the plugin source to achieve half of what I wanted – still doesn’t help as I would like to change the location of the author picture and time edited and I am not editing the plugin for those.
Am I being stupid?
If anyone would like the most recent topic name within the forum to display on the index, you can edit the Plugin source code directly like so:
if ( !empty( $time_since ) && !empty( $link_url ) ) $anchor = '<a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $time_since ) . '</a>'; else $anchor = esc_html__( 'No Topics', 'bbpress' ); return apply_filters( 'bbp_get_forum_freshness_link', $anchor, $forum_id, $time_since, $link_url, $title, $active_id );Find that chunk of code within bbpress/includes/forums/template.php and change to the following:
if ( !empty( $time_since ) && !empty( $link_url ) ) $anchor = '<a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $title ) . '</a>'; else $anchor = esc_html__( 'No Topics', 'bbpress' ); return apply_filters( 'bbp_get_forum_freshness_link', $anchor, $forum_id, $time_since, $link_url, $title, $active_id );All we have done here is changed the $time_since to $title. Now you need to re-add the $time_since variable in there somewhere, which is a pain because you may not want it right after the thread title (like myself…)
Topic: Avatar padding issue
Hello! I am new to bbpress. I have just made a new site for my clan and I decided to try out WordPress for the first time. Anyway, I’m going to try and keep this short for you guys. So, I have uploaded a theme and right off the bat there was an issue with the padding between the user’s avatar and username display.
Example:
I have plenty of experience with CSS and I’ve been looking through my FTP files to figure out where this issue is occurring but I can’t seem to find it. I would love to get some direction, or possibly a code to add somewhere in my CSS to fix this. Thanks!
Topic: Blank Forum Index
Hi all!
I’ve just completed setting up my forums using the shortcode method (implementing shortcode of forum index on a page). I did this because whenever I tried to access the forum index, I would get a blank page.
Now that I’m finished the development of the forum, I want to use the original index.At the moment, thegamingrpt.com/forums works fine thanks to the shortcode. However, thegamingrpt.com/tgrforums only loads a blank page. I used the ‘tgrforums’ root so that I could implement the shortcode on a page called ‘Forums’.
Basically, I want the original back because my breadcrumb is showing the original forum root and because my theme has a dedicated sidebar to bbPress.
Hope all this makes sense.
Thanks.