Replies
Hi Brajesh
Ah I’m not sure I’m entirely following you in that case. So you are suggesting to create one field TYPE which automatically generates 2 select input fields?
If you say having 2 fields (the way I’ve described above) will make it easier to filter, then I may give it a try that way initially and if that doesn’t work, will come back and re-read what your suggestion again π
With many thanks as always
NikHi Brajesh
Thank you so much for your prompt and helpful reply. If I understand correctly, you’re suggesting creating two fields ie. one for countries and one for states, with each state having a connection to a specific country (presumably via xprofile_meta)?
Then use js (on ready or change) to filter the relevant states…
Hopefully that makes sense and will give it a try.
Regards
NikHi Brajesh
Thank you so much for your time.
I understand completely what you say about the fact that the server can’t identify how many files have been uploaded and having delved into the code, I can see how you’ve handled this.
> “In case of upload from activity, we do no keep a record of all the files uploaded client side and we do not inform server that consider these n files as single unit.”
I guess this is the part I am still trying to get my head around ie. what is the difference with an activity upload which means that the number/details of files ARE stored somehow and can used to create an activity entry at the time of upload.
> “We can do it by sending a new request at the end of the uploads to inform server. It is not very difficult to achieve.”
I am assuming this is how one would handle creating the relevant activity entry for a bulk upload from the gallery? Presumably by hooking into mpp:uploader:upload.complete?
My client is willing to pay me to overcome this issue if I can, I’m just trying to work out if it’s realistic for me to attempt π
Thank you again for all your assistance and I shall do some more digging myself.
Regards
NikHi Brajesh
So sorry to trouble you again but I am trying to understand why this works automatically when files are uploaded from the activity feed but not when they’re uploaded from the profile/gallery ie. is there any specific reason (other than, it just hasn’t been implemented that way) and if not, how difficult do you think it would be to hook into the same action as runs when uploading from the activity feed?
I really wish this wasn’t such an issue for me but my clients have used rtMedia in the past and can’t understand why I am struggling to offer them the same functionality. Of course, I personally think MediaPress is better in many ways but my clients aren’t currently seeing it that way π
With many thanks again
NikThank you again Brajesh… I *almost* understand what you’re saying, although does seem strange that it works if users upload directly from the activity screen but not when uploading in their own galleries, you know your way around BuddyPress far better than I ever will so I’m assuming there’s a good reason why that’s the case and not something that’s easily overridden π
Regards
NikHi Brajesh
Thank you again. Just to be clear, currently the only way to get image uploads to appear in the activity feed in that format is for the user to visit the manage gallery screen after the upload is complete?
There wouldn’t be any way of triggering that automatically?
Regards
NikHi Brajesh
Aaah… thank you for persisting with me. I’ve tried that again and I now see what you mean!
That is indeed doing exactly what I want but hope you’ll agree it’s not hugely intuitive. Is there any way of making that the default behaviour so that users don’t have to take an extra step to ensure their uploads get published on the activity page?
Regards
NikHi Brajesh
I’m really sorry but I’m not following you.
What should be checked under “Automatically Publish to activity When?”?
What do you mean by the “option to publish media to activity” (ie. is this something the user selects?) and where does it appear?
Also what part of the gallery edit page should I be visiting after upload and what should I be seeing?
With many thanks again and apologies if I’m misunderstanding something obvious π
Nik
Hi Brajesh
Thank you for getting back to me so quickly.
Is that the setting marked “Automatically Publish to activity When?”
And are you saying that I should keep “New Gallery is created” checked but UNcheck “New Media added/uploaded”?
As far as I can see, that will create an entry which shows “X created a new gallery” but doesn’t show how many images have been uploaded and wouldn’t create an entry at all if the member was adding images to an existing gallery, is that as expected?
With many thanks again.
Nik
Hi Scott
You may find it helpful to check out this thread… https://bbpress.org/forums/topic/bbpress-notifications-not-clearing-up/#post-209895, particularly the post almost at the end which states:
“It looks like this is a known bug, and a patch might be implemented in the future (see βAttachmentsβ):
https://bbpress.trac.wordpress.org/ticket/3341Editing bbpress/includes/extend/buddypress/notifications.php as shown there has fixed the issue for me.”
I also used the same patch and it fixed the issue for me too, though heaven knows why it’s taking BBPress so long to address themselves π