Search Results for 'bbpress'
-
AuthorSearch Results
-
November 27, 2013 at 11:05 pm #139575
In reply to: Forums page format is not working
brucedongcai@gmail.com
ParticipantHello Stephen,
1) I am using XAMPP1.8(3) locally. I chose XAMPP for Windows. I did install it over 1 year ago. so I do not remember well, but it is from the same location: http://www.apachefriends.org/en/xampp.html.
2)What is “Window Xampp Apache (3.1.0.3.1.0)” – I found this info on XAMPP control panel. it is version 3.1.0.3.1.0. but it is not right information for you. 🙂
3)We have a patch ready to ship with bbPress 2.5.1
https://bbpress.trac.wordpress.org/ticket/2481
I do not know how to install the patch. can you provide the detail steps? I would love to test it. I also do updates/installation inside the wordpress panel. so I do not know how to manually do patch.:)4) If the patch is not working, how can un-install it or what should I do? so I can have recovery plan.
Happy thanksgiving!!!
thank you
November 27, 2013 at 10:56 pm #139574In reply to: Forum Replies: Text Tab Available But Not Visual
Stephen Edgar
KeymasterThe plot thickens…
I don’t disbelieve you, but I can’t understand why the visual tab has been working since the installation of bbPress a month ago and suddenly failed this week?
I think you may be using another plugin that adds this functionality and the issue may be with that plugin 😉
I followed the link and loaded the updated version on the server then installed it in the plugin directory. There was no change, I still can’t select the visual tab, but I do see the Add Media button and it works.
Neither bbPress or the plugin I linked to have an ‘Add media’ button :/
November 27, 2013 at 10:46 pm #139573In reply to: Forum Replies: Text Tab Available But Not Visual
Matoca
ParticipantThank you for writing back so quickly!
I don’t disbelieve you, but I can’t understand why the visual tab has been working since the installation of bbPress a month ago and suddenly failed this week?
I followed the link and loaded the updated version on the server then installed it in the plugin directory. There was no change, I still can’t select the visual tab, but I do see the Add Media button and it works.
Once I start getting some emails of posts I will be able to tell if the html has been removed from emailed posts.
Thank youNovember 27, 2013 at 8:52 pm #139572In reply to: User profile link, only show username.
justsayno1
ParticipantHi,
I am in the same situation and I have found a solution. You can apply filters to almost every function in bbpress it seems. I just followed the functions until I found these three filters:
apply_filters( 'bbp_get_user_profile_link', $user_link, $user_id ); apply_filters( 'bbp_get_reply_author_display_name', $author_name, $reply_id ) apply_filters( 'bbp_get_topic_author_link', $author_link, $args );Using these you can change basically everything. I found it easier to change the avatar ALT text vie the normal wordpress get_avatar filter since I wanted that to happen site wide anyway. Here is an example of the reply filter:
function replace_bbpress_replies_username_filter($author_name,$reply_id ){ $author_id = bbp_get_reply_author_id($reply_id); $author_object = get_userdata( $author_id ); $author_name = ucfirst($author_object->user_login); return $author_name; } add_filter( 'bbp_get_reply_author_display_name','replace_bbpress_replies_username_filter',10, 2);Hope that helps. You can do it through templating but this way you don’t have to worry about doing it in a million different templates and then also dealing the layout of the markup you use to replace the current markup. And if filters confuse you and you don’t understand go read this:
http://dev.themeblvd.com/tutorial/filters/
I had zero knowledge of how to do filters when I read this thread 16 hours ago and decided to not go the route the above person mentioned.
EDIT: I thought I’d add that they really could make this a lot easier with very little effort and make it so that you could configure what to use as a display name…. If anyone reads this from bbPress I’d be happy to get involved and do it for them. Seems so dumb to default to make it peoples full names when 90% people don’t want that. That is what facebook, G+ etc is for.
November 27, 2013 at 8:06 pm #139569In reply to: Forum Replies: Text Tab Available But Not Visual
Stephen Edgar
KeymasterbbPress disabled the visual editor in bbPress 2.3 ~8 months ago.
Take a look at this plugin if you want to enable it again
https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/
If you think that is what you want to try please use the download link attached to this post in their support forum as it is an updated version https://wordpress.org/support/topic/not-working-in-bbpress-24?replies=9#post-4687693
November 27, 2013 at 7:53 pm #139567Topic: Forum Replies: Text Tab Available But Not Visual
in forum TroubleshootingMatoca
ParticipantI have a bbPress forum running that has been successfully running for a little over a month now on a WP blog. Average usage is about 20 posts a day.
In the last few days I noticed that the Visual tab is not available for replies, only the text tab. I have tried to switch to the visual tab, but it is not available. This would not be so annoying except all posts are emailed to all admins and the replies are full of HTML code. I understand what it is, but the other moderators do not understand it.
So the emails look like this:
“worked closely with one of the researchers on this paper <span style=”line-height: 1.428571429;”>(both did their Internal medicine specials together at vet university)</span><span style=”line-height: 1.428571429;”> &”I hope someone is able to help. We are a busy forum helping very sick dogs and there probably have been 50 replies in the last few hours.
Thank you, MatocaNovember 27, 2013 at 7:50 pm #139566In reply to: Stylesheet Issues
Stephen Edgar
Keymaster@thetechnoman Are you using custom bbPress templates in your theme?
It’s hard to tell by your screenshot of what is or is not broken, to me that looks fine but I have no idea what it used to look like, can you give me some more information and/or screenshots of 2.4 vs 2.5 please.
November 27, 2013 at 7:46 pm #139565In reply to: Stylesheet Issues
Stephen Edgar
Keymaster@focallocal Cool, it looks like the patch has worked for you
The W3 (and any cache plugin for that matter) are known to be funky with bbPress, there are a few discussions here on bbpress.org if you want to know more on that.
November 27, 2013 at 7:27 pm #139564In reply to: Stylesheet Issues
focallocal
Participanti think i’ve found it.
the problem is only there when W3 Total Cache and bbPress are both switched on, if either are off the problem goes away. i’ve flushed the cache a few times but it made no difference so i believe there is a compatibility issue between the two. W3 is not essential to my site so i’ve switched it off and wont worry too much, but i thought you’d like to know.
November 27, 2013 at 6:46 pm #139559In reply to: Stylesheet Issues
focallocal
Participanti’m making all changes live to my site as i havent launched yet (hopefully in 2 days) and my hosting companies servers are running Litespeed.
<link rel=’stylesheet’ id=’bbp-default-css’ href=’http://focallocal.org/wp-content/plugins/bbpress/templates/default/css/bbpress.css?ver=2.5-5199′ type=’text/css’ media=’screen’ />
November 27, 2013 at 6:15 pm #139557In reply to: Stylesheet Issues
Stephen Edgar
KeymasterIt looks like you have patched the file correctly.
Can you view the source and get the stylesheet path and paste it here:
eg.
A ‘failed’ example
<link rel="stylesheet" id="bbp-default-css" href="http://localhost/wordpress37/wp-content/C:devhtdocswordpress37wp-contentpluginsbbpress/templates/default/css/bbpress.css?ver=2.5-5199" type="text/css" media="screen">A ‘working’ example:
<link rel='stylesheet' id='bbp-default-css' href='http://127.0.0.1/wp-content/plugins/bbpress/templates/default/css/bbpress.css?ver=2.5-5199' type='text/css' media='screen' />November 27, 2013 at 5:56 pm #139554Stephen Edgar
KeymasterAre you hosting this yourself on Windows?
If so we have a patch for bbPress 2.5.1 here
https://bbpress.trac.wordpress.org/ticket/2481We have had no known issues of this for bbPress 2.4
Who is your webhost provider and/or what software package and version are you using locally? eg. XAMPP 1.8.3
November 27, 2013 at 5:49 pm #139552ozgurpolat
ParticipantHi,
I have a bbpress Version 2.3.2 installation that works fine but if I upgrade to Version 2.4 or 2.5, the css breaks for subscribers and only for child forums. What I mean is if I have a parent forum and create a child forum, when a subscriber visits the child forum, css doesn’t display properly, but if the user is admin, there is no problem. Not sure how to fix it.
Thanks
November 27, 2013 at 5:47 pm #139551In reply to: Stylesheet Issues
focallocal
Participantfunction bbp_enqueue_style( $handle = '', $file = '', $dependencies = array(), $version = false, $media = 'all' ) { // No file found yet $located = false; // Trim off any slashes from the template name $file = ltrim( $file, '/' ); // Make sure there is always a version if ( empty( $version ) ) { $version = bbp_get_version(); } // Loop through template stack foreach ( (array) bbp_get_template_stack() as $template_location ) { // Continue if $template_location is empty if ( empty( $template_location ) ) { continue; } // Check child theme first if ( file_exists( trailingslashit( $template_location ) . $file ) ) { $located = trailingslashit( $template_location ) . $file; break; } } // Enqueue if located if ( !empty( $located ) ) { $content_dir = constant( 'WP_CONTENT_DIR' ); // IIS (Windows) here // Replace back slashes with forward slash if ( strpos( $located, '\\' ) !== false ) { $located = str_replace( '\\', '/', $located ); $content_dir = str_replace( '\\', '/', $content_dir ); } // Make path to file relative to site URL $located = str_replace( $content_dir, WP_CONTENT_URL, $located ); // Enqueue the style wp_enqueue_style( $handle, $located, $dependencies, $version, $media ); } return $located; } /** * Enqueue a script from the highest priority location in the template stack. * * Registers the style if file provided (does NOT overwrite) and enqueues. * * @since bbPress (r5180) * * @param string $handle Name of the script. * @param string|bool $file Relative path to the script. Example: '/js/myscript.js'. * @param array $deps An array of registered handles this script depends on. Default empty array. * @param string|bool $ver Optional. String specifying the script version number, if it has one. This parameter * is used to ensure that the correct version is sent to the client regardless of caching, * and so should be included if a version number is available and makes sense for the script. * @param bool $in_footer Optional. Whether to enqueue the script before </head> or before </body>. * Default 'false'. Accepts 'false' or 'true'. * * @return string The script filename if one is located. */ function bbp_enqueue_script( $handle = '', $file = '', $dependencies = array(), $version = false, $in_footer = 'all' ) { // No file found yet $located = false; // Trim off any slashes from the template name $file = ltrim( $file, '/' ); // Make sure there is always a version if ( empty( $version ) ) { $version = bbp_get_version(); } // Loop through template stack foreach ( (array) bbp_get_template_stack() as $template_location ) { // Continue if $template_location is empty if ( empty( $template_location ) ) { continue; } // Check child theme first if ( file_exists( trailingslashit( $template_location ) . $file ) ) { $located = trailingslashit( $template_location ) . $file; break; } } // Enqueue if located if ( !empty( $located ) ) { $content_dir = constant( 'WP_CONTENT_DIR' ); // IIS (Windows) here // Replace back slashes with forward slash if ( strpos( $located, '\\' ) !== false ) { $located = str_replace( '\\', '/', $located ); $content_dir = str_replace( '\\', '/', $content_dir ); } // Make path to file relative to site URL $located = str_replace( $content_dir, WP_CONTENT_URL, $located ); // Enqueue the style wp_enqueue_script( $handle, $located, $dependencies, $version, $in_footer ); } return $located; } /** * This is really cool. This functionNovember 27, 2013 at 5:28 pm #139549In reply to: Add new item to search criteria drop down list
Stephen Edgar
Keymaster…the search members (filters) has drop downs. Is this a part of the BBpress plugin?
No, this not part of bbPress, it is part of your ‘Sweet Date’ theme.
November 27, 2013 at 5:19 pm #139548In reply to: Forums page format is not working
Stephen Edgar
KeymasterWe have a patch ready to ship with bbPress 2.5.1
https://bbpress.trac.wordpress.org/ticket/2481
If you could test that patch that would be great, I have tested it on XAMPP 1.8.3 , Apache, IIS and a couple of other systems but we’d like some feedback on the patch before we release 2.5.1 to make sure we haven’t broken something else. 🙂
November 27, 2013 at 5:04 pm #139545In reply to: Stylesheet Issues
Stephen Edgar
KeymasterYes, it is a bug in bbPress 2.5, we have a patch in and ready for bbPress 2.5.1
Details are here if you want to apply the patch yourself:
https://bbpress.trac.wordpress.org/ticket/2481If not bbPress 2.5.1 is not far away….
November 27, 2013 at 2:55 pm #139543Topic: Forum subscriptions
in forum Troubleshootingkiwi3685
ParticipantI wonder, have I misunderstood this new (2.5) feature.
I expected that once I am subscribed to a forum I would receive email notification of any new post or reply in that forum. But I haven’t received any (and yes, there were posts overnight to forums I have subscribed to)
Am I wrong? Is “subscription” different to “notification”?
If they are different, what is the design purpose of subscriptions?
I had assumed that the subscription feature would mean I could deactivate ‘bbPress Notify’ plugin, but it seems I still need it.
November 27, 2013 at 2:48 pm #139542In reply to: bbPress 2.5 is out!
focallocal
Participanti added the 2481.01.2.patch but bbpress still breaks my site when active (it was fine before the update)
and here’s screenshots of what’s happening on my site: http://imgur.com/a/4SNAC
sorry, i have learned from this to wait a few weeks before updating – but if anyone could help me to see what what i’ve done wrong here that’d be a huge help.
EDIT: As your issue is fixed I removed the huge code chunk you posted. Netweb 3rd Dec
November 27, 2013 at 2:44 pm #139541In reply to: Subscribe to forum link
kiwi3685
ParticipantI simply added this to my bbpress.css file (in my theme folder)
#subscription-toggle {float:right;}
November 27, 2013 at 1:45 pm #139537In reply to: bbPress 2.5 is out!
focallocal
Participantthanks for the style sheet fix. any idea how long before its officially fixed in bbpress so i can decide whether to have a go at it myself or to wait?
i’m a little nervous about messing around with code as updates seem to break the things i change.. ironically in this case.
November 27, 2013 at 1:40 pm #139536In reply to: Stylesheet Issues
focallocal
Participanti think i am having the same issue, although i dont understand what windows would have to do with it.
i updated and the styling on my site was broken. if i deactivate bbpress it comes back to normal. here’s some screen shots: http://imgur.com/a/4SNAC
notice after the update the headers have turned blue, the outlines of all elements have gone and the image in the top left of the header has moved to the top of the page. the site is: http://www.focallocal.org
November 27, 2013 at 1:25 pm #139535In reply to: Forums page format is not working
brucedongcai@gmail.com
ParticipantStephen, fyi. I believe that I have the same problem like this one. https://bbpress.org/forums/topic/why-is-forum-index-in-bullet-points/
I am also asking them how did they fix it.thank you
November 27, 2013 at 1:12 pm #139534In reply to: Change font type in forum-index
Robin W
ModeratorYou might need to play a bit, and come back if this either works or doesn’t, I’ve only had a quick look, and suspect there’s a much better way…but
You main theme uses ‘Helvetica Neue’,sans-serif and the forum is using Arial
I’m still on 2.4.1 so can’t tell you which lines you need in version 2.5
So in the bbpress.css file you’ve correctly copied to theme’s folder, do a search for “font-size” and where you find it, add a line
font: ‘Helvetica Neue’,sans-serif;
That will take it in common with the main theme’s font.
for instance
#bbpress-forums div.bbp-forum-title h3, #bbpress-forums div.bbp-topic-title h3, #bbpress-forums div.bbp-reply-title h3 { background: none; border: none; font-size: 16px; line-height: 1em; margin: 8px 0; padding: 0; text-transform: none;you’d alter it to say
#bbpress-forums div.bbp-forum-title h3, #bbpress-forums div.bbp-topic-title h3, #bbpress-forums div.bbp-reply-title h3 { background: none; border: none; font-size: 16px; font: 'Helvetica Neue',sans-serif; line-height: 1em; margin: 8px 0; padding: 0; text-transform: none;November 27, 2013 at 1:11 pm #139533In reply to: Forums page format is not working
brucedongcai@gmail.com
Participanthi Stephen, I am using Window Xampp Apache (3.1.0.3.1.0). I guess that I am not using Window IIS.
more information as the following base on the research.I installed bbpress & buddypress on my site which has pitch theme. I suspect this could be from my theme formatting the bbpress forums this way.the pitch theme is working perfectly. I created a page which is called “Forums”(forum index page). I chose the default template. My forum index page is just a bunch of bullet points listing each text for the topics
example:
—-
Forum
Topics
Posts
FreshnessGroup Forums
group one (2, 0)
2
2
41 minutes ago
Avatar of admin adminnot group forum
cool
0
0
No Topics
———–I also asked that Pitch theme is compatibly with bbpress and buddypress or not.
Thank you
-
AuthorSearch Results