Forum Replies Created
Hi @henrywright. Thanks for responding.
BTW, I want to apologize a little… for some reason I thought you were the author of the plugin… but Jeff Farthing is. That’s what I was picking on you (thought you said it was your plugin in another thread?).
So with that being said – plus your response – i’m going to climb inside later and see if i can locate the issue. If anyone sees anything in the meantime, feel free to add to this thread. Either way, i’ll plan on updating the plugin’s support forum in some fashion soon (thanks @rosyteddy).
Just wanted to say thanks (sorry for the delayed response) and i’ll look into this. Report back one way or the other.
Sorry, when i said “trying this one more time” I had difficulties posting this to the forum. Got white screen. So ignore that attitude.
Thanks. I’m holding to make sure this is what the client wanted, but i do eventually want to remove the unused avatar photos.
Think i figured it out. There was some read/write permissions on the folders – i changed everything to full permissions (this is on my local server) and it SEEMS to be working. I’m also noticing that no additional files are added “one level up” either. Still, no past avatar photos (-bpfull.jpg, -bpthumb.jpg) deleted.
Here’s the before (current avatars created the normal cropped BP way):
Here’s the after (notice the additional graphic one level up):
I’m looking over the code again top to bottom. If i understood how in this process BP knows where and what to look for in an avatar (filename wise), i properly wouldn’t be asking this stupid of a question.
I’ll also take a look at bp_core_avatar_handle_upload ($file) as well.
The old avatar images, generated by the normal BP avatar upload process. This is for a single user (the logged in user) only. The $args array seems good before the core cropping function is called.
Odd. I used the code you referred to in your first post and added a breakpoint. Saw the break on members directory but not on the group members page, which is why i concluded what i did.
I’ll give your new example and the old one additional consideration though. Thank you VERY much for your reply and with any success, i’ll update this ticket.
I personally hope my ticket request is considered though.
Ok, you can’t mean edit BP Core… what exactly do you mean by manually?
@shanebp – those examples and hooks don’t apply to group member pages (which you assumed correctly, that’s what i’m currently playing with).
Just for the record, I created the ticket: https://buddypress.trac.wordpress.org/ticket/5356#ticket
Thanks guys. I’ll take a look at this today. Sorry for the late response. apparently the “notify me of follow ups replies via email” is taking a vacation.
BTW, the sort in this instance is sorting with user meta. Not the best setup, I admit. But my point was that i want to be able to generate my own SQL and pass it back in somewhere along the line.
And yes, using BuddyPress 1.9.1. and i’ve traced it all from the template all the way down.
i share @shanebp confusion, there’s no naming convention (in BP I can refer to a BP field by it’s ID or what i named it). I wish i knew more about the BP Integration Add On.
Not easily out of the box, from what I know. Why on the groups pages? Are you wanting a registration to be associated with the group that they registered from?
If i had to do this, I would use either build a form and put it on the group’s home template or use a third party plugin like Gravity Forms to add a form via shortcode on the template. There are pros/cons to either method.
If all you are doing is associating a group with a registration, then having a link to the BuddyPress registration page (via a querystring – say ?groupid=1 or ?groupname=test-group) and have that registration page include that group id in a hidden field (that gets added as a BP profile field upon submission/registration).
Feel Free to reach out to me – i might be interested, but I can help spread the word for you as well. Just to clarify that this is a paying gig… you used the magic words “this is a great opportunity” and in my experience, well… you know.:)
My contact form is at davidbisset.com.
Thanks. I’m preparing some credentials. Will email you as soon as i have something for you.
Answers to your questions:
2) more or less empty DOM object. Here’s the actual HTML being returned in the AJAX call and also what is being posted according to Firebug:
3) Yes. I can reproduce it locally on my own machine (again, with the default BP theme or with my custom theme).
4) Yes, seems like all browsers. Especially Firefox and Safari.
5) I’m running the main site on wpengine, we have a test server elsewhere, and i have a local site running. Not 100% sure about the first two but i’m saying they aren’t running any server caching. My local machine def. isn’t. And nobody is running any caching (or similar) plugins.
6) I’ll get that shortly. This is a private BP network and i want to make sure i can give this to you secure. Is there a private way to do this?
Awesome. This works. I did see ‘plugin-template’ as something odd when reading through the code, but didn’t have time to investigate.
Thanks Boone. Sorry, I didn’t mean for you to pick this up, just leaving a note in the forums before I dived in. But thank you, and i’ll continue to be poking at the skeleton component.
Guys, fyi – i have updated the plugin. New control panel added plus a bug fix.
More information on my blog here:
@johnjamesjacoby, would love to find out how. Would be honored to make this step, especially since i’m working on the next update.
Thanks, although note I don’t think this is ready for production. However if someone wants to test and improve it and share, i’m all ears.
This is cool, i’ve been monitoring this off and on – glad to see you come through! Happy to test this one out.