Forum Replies Created
-
Fantastic! Thanks @shanebp
@sbrajesh Sorry for the delay.
That works perfectly. Although I have to let you know that I specified with CSS that the form should be a fixed height, already (patch up job), so that may effect those two lines you gave me.
Thanks for the exchange, @danbp and @henrywright
Maybe I’ve driven myself to exhaustion, but I’m finding it hard to make use of the information danbp provided.Hey @henrywright
That did appear to be it, but it must also exist in another js file. I’m not very familiar with BP’s theme structure, but isn’t the legacy folder referred to where other files don’t have a reference, or something like that?
Thanks for the speedy response.
Oh dear, @danbp Sorry to waste your time. I was using it because I downloaded it from a 3rd party source. Gotta stop doing that.
Thanks. Think I’ll consider hiring a hand to update it. I like it’s lightweight coding.
Thanks @shanbp
May I ask what do I do with the instances of $some_field in your snippet? I see it in BP and WP’s documentation. I know $someword takes the place of the name of something, but that’s about it.@henrywright-1 That’s not a bad idea. That would be the best solution granting that it creates the new line in time for the video to render – but how will I apply CSS to something that doesn’t automatically have a class/ID (still learning my CSS here).
@henrywright-1 No. But I can. My first concern regarding this thread was to suggest that the BP core be changed to do this anyway – but as my luck would have it (if I understood you), that’s a WP feature and not a BP feature. Which is sad because I’ve been using annoying-ass shortcodes from a plugin to put my Youtubes in my other blogs.
Thanks for your time and input 🙂
Yeah. Great. Never thought of that.
Yes, but intercepting that embed code before it’s “printed” on the activity stream is possible. I don’t know how to read PHP, but this is how this fellow did it:
Hi @henrywright-1
I had no idea that Buddypress relied on any 3rd-party support.What I do know is that someone was nice enough on WP forums to write me up a plugin that adds wmode=”opaque” to the resulting Youtube embed codes – so I’d imagine there wouldn’t be much of a problem with BP’s oEmbed files from adding something on both ends of the resulting HTML.
Crap.
I could just link /*user*/profile/activity/@hnla Thank you, Hugo. I’ll pay special mind to give the right details in the future.
I am seeking out the widgets file in Custom Community.
@mercime I was thinking something wasn’t right when I didn’t see it in bp-core-widgets.php
On widgets screen: https://i.imgur.com/x4FkHHR.png
On the sidebar: https://i.imgur.com/MvRRv3D.pngCan’t for the life of me imagine which plugin is responsible for this.
Right. Me, personally, I have two options. Pay someone to do that or sabotage the effect somewhere along the way.
What would I need to tell someone who’ll be doing that?If it is a function coming from the theme it comes with bp-default and every other theme I’ve ever installed.
https://i.imgur.com/9A0badJ.png
On the post form itself, on the bottom of the form “Post In”, “Privacy” (added by a plugin), and “Post”. That area is hidden by default until the user clicks the “What’s New” text field.To solve my problem I’ve changed my theme’s inline CSS height to be tall enough to reveal the extra form objects. My solution fails when you make an activity post and the jQuery hides the objects in question, again.
I guess what I want to know is how to implement the data from my revised .pot file.
@mercime Those terms are not dictated by the default.pot file. I’ve eliminated every occurring of “Friend” and “Group” in there, and yet it appears/
I was originally asking about the sub-menus in the profile page etc. I can’t find what defines the printed text. e.g. “Friends”, “Groups” etc.
hahaha Good to be recognised @Chouf1
That didn’t seem to do anything for me. However I have found what is at work here and removed it.
Solution</strong
Remove Line 112
` add_theme_support( 'custom-header', $custom_header_args );
`Was the topic moved to “Creating & Extending”? I certainly didn’t post it in here and it makes less sense than “How-To & Troubleshooting”.
You’re my hero