Search Results for 'bbpress'
-
AuthorSearch Results
-
November 27, 2013 at 6:46 pm #139559
In 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
November 27, 2013 at 12:39 pm #139532In reply to: Stylesheet Issues
Tadas Krivickas
ParticipantHi,
This is definitely a bug in bbp 2.5 on Windows. 2.4.1 does not have this issue. You can reproduce it by reverting to 2.4.1 (works again) -> update to 2.5 (doesn’t work again).
<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">Windows 7 x64, httpd+php+mysqld, latest stable WP, BP, BBP
November 27, 2013 at 12:28 pm #139531In reply to: Subscribe to forum link
Cars10
ParticipantI agree, the location is so hidden, I would have not found it without you.
Can bbPress make this link more prominent and better located?Thanks
I try to adderss this by CSS for now, but css class is same everywhere, so need to think clever ,-)
November 27, 2013 at 12:02 pm #139528In reply to: Edit topic reply, changes post order
Robin W
ModeratorIt shouldn’t do – just tested with bbPress 2.4.1 and editing by admin in either the dashboard or in the options when viewing the post doesn’t change it’s “published” date, which is what the forum uses as it’s display order.
Have you got any plugins or changes you’ve made that could affect this.
And.. has this just started happening and what version of bbPress are you on?
November 27, 2013 at 10:19 am #139526In reply to: Recent update seemed to break all my titles?
FreeWPress
ParticipantI remember wich one time i have disabled all plugin in my site and i lost mosto info for major of them.. in particular bbpress, when i enabled it show 404 page in all topics and forums.. I have saved. I go in options and see all options correct, and save it.. after saving it work fine… Mistery…
November 27, 2013 at 9:52 am #139522In reply to: Recent update seemed to break all my titles?
FreeWPress
Participantwhat is your wordpress version? Have you try to save again all bbpress forum options?
November 27, 2013 at 8:59 am #139520In reply to: Menu link to Profile
Robin W
ModeratorDiggories,
Some great tips there.
mm, the upgrade will have overwritten the change – as per first post
Of course you’ll need to make a note of this change, as it is lost whenever you upgrade bbpress versionsI haven’t upgraded yet, let me know if putting it back fixes it !
November 27, 2013 at 7:27 am #139518In reply to: Add new item to search criteria drop down list
robertFudge
ParticipantThanks for the reply, this theme uses BBpress and the search members (filters) has drop downs. Is this a part of the BBpress plugin? Any help is appreciated.
Details:
http://themeforest.net/item/sweet-date-more-than-a-wordpress-datinNovember 27, 2013 at 4:37 am #139508In reply to: Display topics younger than X
Stephen Edgar
KeymasterTake a look at the Data Parameters of
WP_Queryhttps://codex.wordpress.org/Class_Reference/WP_Query#Date_ParametersYou can also create custom views in bbPress eg.
function ntwb_register_custom_views() { bbp_register_view( 'popular-topics', __( 'Popular Topics' ), array( 'meta_key' => '_bbp_reply_count', 'orderby' => 'meta_value_num' ), false ); bbp_register_view( 'unpopular-topics', __( 'Unpopular Topics' ), array( 'meta_key' => '_bbp_reply_count', 'orderby' => 'meta_value_num', 'order' => 'asc' ), false ); bbp_register_view( 'random-topic', __( 'Random Topic' ), array( 'orderby' => 'rand' ), false ); bbp_register_view( 'closed', __( 'Recently Closed' ), array( 'post_status' => 'closed' ), false ); } add_action( 'bbp_register_views', 'ntwbc_register_custom_views' );November 27, 2013 at 4:32 am #139507In reply to: No Forum subscriptions (update to 2.5)
FreeWPress
Participantyes topic subscriptions are ok.. it work fine..
I don’t have
bbpress.phpin my child theme folder… -
AuthorSearch Results