-
Author
-
October 10, 2014 at 02:21 #31226DaveParticipant
and also on the activity stream… I thought they were broken at first but then I got to looking at it and they were just hidden. I fixed it with a little css.
#buddypress #whats-new-options {
height: 50px;
}Awesome theme.
October 10, 2014 at 05:10 #31237sharmstrModeratorThey show up fine on my site and the demo once you click in the box. Perhaps you are using a plugin that changed the css?
I think long ago I saw it happen if the body font was bigger than the default.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 10, 2014 at 16:13 #31324DaveParticipantHi sharmstr, the only plugins I have installed so far are the bundled plugins. I might have changed the font size!
October 10, 2014 at 16:21 #31325sharmstrModeratorOkay. Thanks for the update.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 21, 2014 at 19:24 #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.
October 21, 2014 at 20:03 #32484sharmstrModeratorWhat’s the error you’re getting? Can I create an account to test on your site?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 21, 2014 at 20:09 #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 22, 2014 at 00:04 #32506sharmstrModeratorSorry for the delay. My real job got in the way 🙂 I’ll do it now.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 00:34 #32508sharmstrModeratorI’m still sorting this out, but the “what’s new” animations aren’t the only things broken. You have other javascript things broken too. I’m leaning towards the order in which your minified files are loading. Is there any way you can unminify buddypress.js so we can test?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 00:36 #32509sharmstrModeratorSorry, scratch that. I just realized the latest version of kleo minimizes it. Still searching….
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 01:05 #32514sharmstrModeratorOkay. For whatever reason, your page is not loading the buddypress javascript file on the groups page. That’s why some of the javascript functions aren’t firing. Try clicking on any of the comment buttons. They should be opening up a comment form instead of reloading the page. The show more / show less doesnt work either.
It is loading on the profile page and that’s why everything works there.
It would be easier to figure out if an error was present in the buddypress.js file, but since its not even loading, you’ll have to turn on WP Debug to see if you get an error when it makes the enqueue_scripts call.
Turn on debuging in wp-config.php, then load the group page. Hopefully we’ll be able to see why its not loading the script.
COPY CODEdefine('WP_DEBUG', true); define('WP_DEBUG_DISPLAY', true);
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 01:43 #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 01:51 #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 02:15 #32523sharmstrModeratorWhat’s in your kleo-child folder? Specially your functions.php file? Can you try enabling the parent kleo on the staging site and see if that make a difference?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 02:17 #32524sharmstrModeratoroh and enable debugging and display it on the staging site.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 02:28 #32525sharmstrModeratorAnd for the heck of it, try the 2014 theme. That will either pinpoint or rule out kleo. Whoop.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 03:18 #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 03:24 #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:41 #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:51 #32534sharmstrModeratorhehehe 😀
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 03:52 #32535sharmstrModeratorShort term you can load it using your functions.php file. Just make sure you put in a check so that it only runs within the groups.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 05:27 #32540DaveParticipantThe site I’m working on is in wpengine’s staging area also, my groups latest activity is working with my css fix.
I haven’t updated the theme to the latest update yet though.
October 22, 2014 at 16:05 #32599sharmstrModerator@dave Are you saying that the javascript that unhides the buttons works? Or are you just saying that you see the buttons right when the page loads? What about your comment buttons? Do those unhide the comment form without reloading the page? Its an important difference.
In any case, its not a css issue in @chazzzzy case.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 16:20 #32601DaveParticipantI see the buttons when the page loads, there’s no unhide animation on mine which I’m ok with.
I’ve installed BuddyPress Activity Plus though which adds a few icons to add an image/link/video underneath the main box which might be making a difference.
I posted something in the groups last night and I noticed that the top of the post was partially hidden after posting it on my screen, but after refreshing it, everything looked fine.
I haven’t noticed anything odd with the comment buttons.
October 22, 2014 at 16:53 #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 17:05 #32609DaveParticipant@chazzzzy I noticed it right around when I created this post, October 10th.
I’ve been a little concerned about doing this on WPEngine. I can just imagine the issues that are going to pop up once it’s moved to their super cached front end. Hopefully I’ll be wrong!
October 22, 2014 at 17:21 #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 17:36 #32611DaveParticipantGood to hear about WPEngine, they seem fine to me too except the FTP is really slow. The issue here isn’t a problem for me, I’m ok with my quick css fix and kind of prefer it since I have the Activity Plus buttons below it. I think we should definitely stay in touch on WPEngine matters though so we know when problems are universal. If you want, let me know when you have your contact form up on your site and I’ll send you my email address.
October 22, 2014 at 17:45 #32612sharmstrModerator@chazzzzy try this in your fucntions.php file
COPY CODEadd_action( 'wp_enqueue_scripts', 'load_buddypress_js' ); function load_buddypress_js () { global $bp; if (bp_is_group()) { wp_enqueue_script('buddypress',get_template_directory_uri() . 'buddypress/js/buddypress.min.js'); } }
As far as Uncheck the “update activity automatically” feature in BuddyPress settings I saw that when searching for the problem over on the buddypress support forums. And there was an open ticket on it that’s gone no where.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 19:47 #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 20:02 #32628sharmstrModeratorhmmm. its hard to test with my setup because buddypress.js already loads. give me a sec.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 20:19 #32631sharmstrModeratorI just looked and your site isn’t loading several buddypress javascript files. Not just buddypress.js. :/ It should be loading 6 of them, but is only loading 1. All of those files get loaded by the enqueue_scripts function in buddypress-functions.php (around line 232). Maybe you can call that function instead of the wp_enqueue_scripts line. Its in a class so you’d have to account for that.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 20:42 #32634sharmstrModeratorOKAAAAYYYY. Try this.
COPY CODEadd_action( 'wp_enqueue_scripts', 'load_buddypress_js' ); function load_buddypress_js () { if (bp_is_group()) { 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/depreciated/js/jquery-scroll-to.min.js',array("jquery")); wp_enqueue_script('buddypress_js',get_template_directory_uri() . '/buddypress/js/buddypress.min.js',array("jquery")); } }
I suck at calling functions in classes, so the above will just load all the missing js files one by one. To test this (DONT DO THIS) I removed all the code in the enqueue_scripts function that buddypress uses to make sure that none of those files would load. Seems to work. Let me know.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 22:12 #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 22:21 #32645sharmstrModeratorIts WOman 🙂 Ah, I didnt know you had an issue with the activity stream as well. You should really keep an eye on a fix for this though. It would suck to have theme add new scripts and you not know about it.
Street Art… yeah, that’s my friends area. I’m just building a site for her. You should hit her up. She’s currently on the board of whatever you call it in Los Angeles. They decide what murals to put where or something like that 🙂 And she’s reppin’ artists from across the globe trying to bring them over here for short stints. She an amazing person in general. Her name is Zippy
Glad you got everything sorted. Whoop!
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 22, 2014 at 22:25 #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:35 #32649DaveParticipantThank you sharmstr! Those scripts weren’t loading for me either. I want to hire you too after I win the lottery!
Charles, I’ll send you my email.
October 22, 2014 at 23:55 #32665AbeKeymastergreat debugging… you are really the .. woman 🙂
thanks @sharmstr
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The topic ‘Attachment and Post Buttons for "What's new posts" on groups were hidden’ is closed to new replies.