Forum Replies Created
-
Author
-
chazzzzyParticipant
OK.. I solved this..
Grab the file in the main theme folder kleo/bbpress/form-search.php
Copy it to your child theme kleo-child/bbress/form-search.php
And change the following:
On line 16, change from:
COPY CODE<input tabindex="<?php bbp_tab_index(); ?>" type="text" value="<?php echo esc_attr( bbp_get_search_terms() ); ?>" name="bbp_search" id="bbp_search" />
to:
COPY CODE<input tabindex="<?php bbp_tab_index(); ?>" type="text" placeholder="<?php _e( 'Search Forums...', 'bbpress' ); ?>" value="<?php echo esc_attr( bbp_get_search_terms() ); ?>" name="bbp_search" id="bbp_search" />
You guys might want to change this file in the theme so that there is consistency in the looks.
Thanks!
Charles
chazzzzyParticipantSorry.. I should have stated that I already had that selected. In fact, I just went in, disabled nested then reenabled it and now I can’t get the setting to stay on! Weird! That is TOTALLY weird! Never experienced such a thing!
When I select Enable Threaded (5 deep).. and hit save, the page changes, says that settings have been saved, but the item is still not selected!
Have no idea what is going on here!
November 17, 2014 at 22:16 in reply to: Can you guys make Buddypress CSS not conflict with BBpress CSS? #35813chazzzzyParticipantYes please!
November 17, 2014 at 21:03 in reply to: Can you guys make Buddypress CSS not conflict with BBpress CSS? #35801chazzzzyParticipantYou know what.. don’t worry about it. I enabled the TinyMCE Visual tab in the forums (bbPress Enable TinyMCE Visual Tab) and Buddypress CSS overwrites the bbpress css.
But don’t worry about it.. it’s not your problem since it’s not a default setting in bbpress.. in other words. as the plugin states: “bbPress 2.3.0 disabled the TinyMCE “visual tab” by default.”
chazzzzyParticipantThe code above actually makes it scroll down on all of those links, including the ones you arr asking for.
chazzzzyParticipantThanks so much!
Can you let the developers of the theme also know? So that they can update that file in the next release?
Thanks!
Charles
chazzzzyParticipantThe login button is in the upper right corner.. pic included.
Thanks!
Charles
Attachments:
You must be logged in to view attached files.October 31, 2014 at 23:44 in reply to: Adding the word MORE to the + navigation tab in buddypress #33728chazzzzyParticipantWow! Great stuff! Works perfectly! Thank you.. “scary” high five! (You know, Halloween!)
Attachments:
You must be logged in to view attached files.October 29, 2014 at 18:35 in reply to: Link to READ a notification marks it as READ, doesn't open it #33475chazzzzyParticipantOf course I will try out your plugin!
I didn’t know what to do with the function above, so I just commented out the whole Actions areas on buddypress/members/single/notifications/notifications-loop.php
COPY CODE<table class="notifications"> <thead> <tr> <th class="icon"></th> <th class="title"><?php _e( 'Notification', 'buddypress' ); ?></th> <th class="date"><?php _e( 'Date Received', 'buddypress' ); ?></th> <!-- <th class="actions"><?php _e( 'Actions', 'buddypress' ); ?></th> --> </tr> </thead> <tbody> <?php while ( bp_the_notifications() ) : bp_the_notification(); ?> <tr> <td></td> <td class="notify-text"><?php bp_the_notification_description(); ?></td> <td class="notify-date"><?php bp_the_notification_time_since(); ?></td> <!-- <td class="notify-actions"><?php bp_the_notification_action_links(); ?></td> --> </tr> <?php endwhile; ?> </tbody> </table>
Thanks!
CharleschazzzzyParticipantOK.. I fixed it… I added :gt(0) to the links.. to get the following code:
COPY CODE/* Buddypress profile - scroll page below when clicking navigation */ add_action('wp_footer', 'kleo_bp_add_link_nav'); function kleo_bp_add_link_nav() { echo '<script>jQuery(document).ready(function() { ' . "\n\t" . 'jQuery("#item-nav .item-list-tabs a:gt(0), #item-body #subnav a:gt(0)").each(function() {' . "\n\t\t" . 'jQuery(this).attr("href",jQuery(this).attr("href")+"#item-nav");' . "\n\t" . '}); ' . "\n" . '});</script>' . "\n"; }
chazzzzyParticipantActually, it breaks the whole clicking the + sign in the nav.. it no longer works as I guess it’s adding the #item-nav to that item as well.
chazzzzyParticipantWhoops.. Abe.. the code breaks the navigation from dropping down when you click the + sign on a mobile phone.
October 29, 2014 at 01:48 in reply to: Link to READ a notification marks it as READ, doesn't open it #33395chazzzzyParticipantWhen I say it “Goes Away” I mean that it moves into the READ tab which nobody even realizes that that happens. It just appears to disappear for everyone.
October 29, 2014 at 01:13 in reply to: Users on LAPTOPS using the Buddypress area think site is broken #33384chazzzzyParticipantI don’t remember how that happened! I think I was so buried in trying to set the site up that I forgot that I had posted that!
Sorry about that!
For those coming her, the topic was resolved over here: https://archived.seventhqueen.com/forums/topic/change-buddypress-change-profile-photo-url
Charles
chazzzzyParticipantWow Abe!! Thank you so much!! Works like a charm! Yeah!
You should perhaps include it in future updates as I’m sure others on laptops encounter the same issue.
Thanks again and thank you sharmstr for all your help as well!
Charles
October 25, 2014 at 23:40 in reply to: Users on LAPTOPS using the Buddypress area think site is broken #33073chazzzzyParticipantOK.. I found the following to address the Sub Nav items… I took your code and added the subnav items.. resulting in the following longer code. You replaced bp_get_displayed_user_nav() with my_bp_get_displayed_user_nav()
I also replaced bp_get_options_nav() with my_bp_get_options_nav()
And I then had to copy over all the php files in buddypress/members/single over to my child theme.
And I replaced all instances of bp_get_options_nav() with my_bp_get_options_nav()
It required me to change around 12 pages.. which is a pain!
Here is the code I also added to my functions.php after your code:
COPY CODEfunction my_bp_get_options_nav() { global $bp; // If we are looking at a member profile, then the we can use the current component as an // index. Otherwise we need to use the component's root_slug $component_index = !empty( $bp->displayed_user ) ? bp_current_component() : bp_get_root_slug( bp_current_component() ); if ( !bp_is_single_item() ) { if ( !isset( $bp->bp_options_nav[$component_index] ) || count( $bp->bp_options_nav[$component_index] ) < 1 ) { return false; } else { $the_index = $component_index; } } else { if ( !isset( $bp->bp_options_nav[bp_current_item()] ) || count( $bp->bp_options_nav[bp_current_item()] ) < 1 ) { return false; } else { $the_index = bp_current_item(); } } // Loop through each navigation item foreach ( (array) $bp->bp_options_nav[$the_index] as $subnav_item ) { if ( !$subnav_item['user_has_access'] ) continue; // If the current action or an action variable matches the nav item id, then add a highlight CSS class. if ( $subnav_item['slug'] == bp_current_action() ) { $selected = ' class="current selected"'; } else { $selected = ''; } // List type depends on our current component $list_type = bp_is_group() ? 'groups' : 'personal'; // echo out the final list item echo apply_filters( 'bp_get_options_nav_' . $subnav_item['css_id'], '<li id="' . $subnav_item['css_id'] . '-' . $list_type . '-li" ' . $selected . '><a id="' . $subnav_item['css_id'] . '" href="' . $subnav_item['link'] . '#item-body" rel="nofollow">' . $subnav_item['name'] . '</a></li>', $subnav_item ); } }
I’m sure there is an easier way to change this stuff.. as it doesn’t work on the Group navigation items within the Group pages.. buy hey.. at lease I won’t have people yelling at me that the site doesn’t work when they are on a laptop!
Thanks again sharmstr!
Attachments:
You must be logged in to view attached files.October 25, 2014 at 21:29 in reply to: Users on LAPTOPS using the Buddypress area think site is broken #33049chazzzzyParticipantAwesome that works for the main navigation items, not the sub-nav items. Let me play around with it for a second and figure out how to add it to the sub-nav items.
Will post update!
Thanks!
Charles
October 22, 2014 at 22:25 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32647chazzzzyParticipantI know.. I was trying to use a phrase to express my happiness and after I wrote it I had a sneaky suspicion I was making a faux-pas!
Thanks again for everything and I’ll contact your friend for sure!
I’ll forward the fixes to WPEngine to get them to fix the deal.
Charles
October 22, 2014 at 22:12 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32642chazzzzyParticipantsharmstr, you are the MAN! (If you are a man.) Works like a charm!
I updated it a little to fix it on the Activity Page as well:
COPY CODEadd_action( 'wp_enqueue_scripts', 'load_buddypress_js' ); function load_buddypress_js () { if (bp_is_group() || is_page( 'activity' )) { wp_enqueue_script('buddypress_query',plugins_url() . '/buddypress/bp-core/js/jquery-query.min.js',array("jquery")); wp_enqueue_script('buddypress_members',plugins_url() . '/buddypress/bp-core/js/widget-members.min.js',array("jquery")); wp_enqueue_script('buddypress_cookie',plugins_url() . '/buddypress/bp-core/js/jquery-cookie.min.js',array("jquery")); wp_enqueue_script('buddypress_scroll',plugins_url() . '/buddypress/bp-core/deprecated/js/jquery-scroll-to.min.js',array("jquery")); wp_enqueue_script('buddypress_js',get_template_directory_uri() . '/buddypress/js/buddypress.min.js',array("jquery")); } }
By the way.. I LOVE street art.. always doing stuff with it over here are Underground Network. Shoot me an email at the contact on my website as I’d like to have your contact info.
@Dave.. you too as well..October 22, 2014 at 19:47 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32623chazzzzyParticipantsharmstr.. slight typo in your code.. should be ‘/buddypress…’ the / before buddypress.
I added the code.. then it of course breaks things.. the comments below the text box won’t load and I get the following error when looking at the console:
COPY CODE[Error] TypeError: undefined is not a function (evaluating 'jq.cookie("bp-activity-oldestpage",1,{path:"/"})') bp_init_activity (buddypress.min.js, line 1) (anonymous function) (buddypress.min.js, line 1) j (jquery.js, line 2) fireWith (jquery.js, line 2) ready (jquery.js, line 2) J (jquery.js, line 2)
October 22, 2014 at 17:21 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32610chazzzzyParticipantI’ve had no other issues with WPEngine and they are great at getting back with you support wise, so I wouldn’t worry about it.
Perhaps you should open a support ticket as well. That way we can stack this from all sides!
Charles
October 22, 2014 at 16:53 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32606chazzzzyParticipantYeah, I’m not cool with a bandaid. I did get a response rom WPEngune and his suggestion actually fixes the problem of the buttons, but of course disables the auto updating feature:
Tony Le, Oct 21 10:36 PM:
Hi Charles,Thanks for the details. After reviewing the article, it looks like there is a possible solution: Uncheck the “update activity automatically” feature in BuddyPress settings.
Is this something you have tried on your end? Additionally, is this an issue that has recently occurred? Look forward to hearing from you. Thanks!
Sincerely,
Tony Le | Customer Support Specialist
WP Engine – Finely Tuned WordPressIf you go back to my underground.net it now works.
But it means that WPEngine is doing something that breaks BuddyPress and I’d like it if they could fix it.
Dave, how long ago did you notice this problem? I’d like to let WPEngine know.
@sharmstr, what is the code to load the script on particular pages (activity, /groups/group-name/)?Thanks!
CharlesOctober 22, 2014 at 03:41 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32533chazzzzyParticipantit is definitely something WPEngine is doing. I just emailed their support as it happens on ALL of the sites I have hosted with them.
Thanks for everything sharmstr.
Maybe I can hire you when things take off on my end.. which should be in the next couple weeks!
Charles
October 22, 2014 at 03:24 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32530chazzzzyParticipantAhh.. I see.. 2014 DOES do the expand thing EXCEPT in the Groups area of Sitewide activity!
http://underground.staging.wpengine.com/members/charles/ (Works here.)
Doesn’t work here: http://underground.staging.wpengine.com/groups/writers-group/
or here: http://underground.staging.wpengine.com/groups/writers-group/
So it seems like it’s my provider somehow??
Charles
October 22, 2014 at 03:18 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32529chazzzzyParticipantI don’t think I can enable debugging on the staging site.. but I did remove everything from functions.. still same problem. I enabled the Parent theme only and the same problem. I enabled 2014 but it doesn’t do that disappear/reappear thing in the buddy press area anyway.. Tried all the other themes.. but they don’t do that expand thing..
Let me see if I can find a theme that does the expand thing!
October 22, 2014 at 01:51 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32522chazzzzyParticipantThis site is a copy of mine (staging) and has the same login so you can go into it as well.
underground.staging.wpengine.com
I disabled ALL plugins except for Visual Composer and BuddyPress and Revolution Slider (even with Visual composer and Slider I still got the error.)
So this is happening with the theme pretty much right out of the box.
Thanks
Charles
October 22, 2014 at 01:43 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32521chazzzzyParticipantI set the site to debug on but put display off since I have people looking at my site right now.. the debug.log is in the /wp-content/debug.log if you want to look at it.
Thanks!
Charles
October 22, 2014 at 00:19 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32507chazzzzyParticipantNo prob! Thanks so much for this!
October 21, 2014 at 20:09 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32485chazzzzyParticipantYes.. go to underground.net and register upper right. Once registered, go to groups, join writer’s group and then click the Text box (it will be broken)
But if you go to your own profile/activity and click the text box.. it’s fine.
Thanks!
Charles
October 21, 2014 at 19:24 in reply to: Attachment and Post Buttons for "What's new posts" on groups were hidden #32476chazzzzyParticipantThis buttons are not there on my site either.. even if I remove all plugins except for the ones you bundle.
We’re talking about the What’s New for GROUPS. Not the What’s New for your Profile. That works fine. Clicking the text box in a What’s New in a GROUP does nothing. Adding in the CSS Dave suggest above is a bandaid as it is simply making the buttons appear at all time and then it screen up posting in the comments section below.
So.. the javascript to expand the Text box and reveal the buttons is broken on the Groups pages, but not broken on the Profile sectkions.
chazzzzyParticipantNothing works.. I can’t even remove the custom pages. Any idea how I can just remove them? The remove_action does not work at all.. and I’ve tried so many variants from googling things around the net.
Thanks so much!
Charles
-
AuthorPosts