Replies
- Richard Foley on January 22, 2018 at 9:17 pm in reply to: [Resolved] Gallery is not selected (message on activity upload) #13079
hi Brajesh,
It’s not clear to me what you mean by 1. The user needs to be able to upload from the activity feed into a default album, right? Presumably the first one found under
wp_usermeta.meta_key = '_mpp_wall_photo_gallery_id'
or have I misunderstood you?R.
- This reply was modified 6 years, 10 months ago by Richard Foley.
- Richard Foley on January 22, 2018 at 8:29 pm in reply to: [Resolved] Gallery is not selected (message on activity upload) #13068
hi Brajesh,
having fixed my bad data, everything works as expected again, PHEW!
I’d recommend at least an error message somewhere in your mpp_get_gallery routine which says something like “assigned gallery id=$id is invalid”, which could be dropped into STDERR/apache error logs, and at least give an indication of what’s wrong.
Happy bunny here now 🙂
R.
- Richard Foley on January 22, 2018 at 8:00 pm in reply to: [Resolved] Gallery is not selected (message on activity upload) #13065
hi Brajesh,
ok, it seems that $id = mpp_get_wall_gallery_id() is returning an $id or 79791, which is then not able to be used by mpp_get_gallery( $id ).
component=members, id=1, media_type=photo
->gallery_id=79791
However no such post/gallery exists, and this is because some galleries have been deleted, but not the usermeta records:
wp_usermeta where meta_key = '_mpp_wall_photo_gallery_id'
I think we need a bad data fixup script here 🙂
R.
- Richard Foley on January 22, 2018 at 7:16 pm in reply to: [Resolved] Gallery is not selected (message on activity upload) #13062
Looking at what is printed via the activity box (file upload) I can see that the
My Profile
gallery selector is assigned the value “0”. This seems to imply it’s not finding the ‘default album’ for this user, even though the user has a valid public image album. This may be the cause?<div id="whats-new-post-in-box"> Post in: <label for="whats-new-post-in" class="bp-screen-reader-text">Post in</label> <select id="whats-new-post-in" name="whats-new-post-in"> <option selected="selected" value="0">My Profile</option> <option value="68">Active Nudists</option> <option value="404">Autistic naturists & nudists</option> <option value="130">Bare Beaches</option> <option value="249">Censorship</option>
Nope, that’s not it, as a successful upload user also has a gallery value=”0″. Hmmm… presumably then, when MP tries to assign the image to a gallery, on upload, it’s unable to discover it on it’s own. So there must be some DB./taxonomy relationships missing…
- This reply was modified 6 years, 10 months ago by Richard Foley.
- This reply was modified 6 years, 10 months ago by Richard Foley.
- Richard Foley on January 22, 2018 at 2:26 pm in reply to: [Resolved] Gallery is not selected (message on activity upload) #13058
hi Brajesh,
I’ve captured some screen for you to take a look at this. Perhaps you can spot something:
https://www.smartlook.com/play/shared/1fbbd9e0b28bd902878b4bc556cce3fdaa78efc0
Cheers
R.
- Richard Foley on January 22, 2018 at 2:04 pm in reply to: [Resolved] MediaPress Lightbox 50/50 success/failure #13057
hi Brajesh,
I agree, and that looks like a great tool to be able see what’s going on, at least for the first steps. Thanks for the tip, and if the users continue to see these issues, I’ll report back here soon with a URL of their screen for investigation.
Thanks!
R.
- Richard Foley on January 19, 2018 at 8:29 am in reply to: [Resolved] BCP + WPML not permitting user to edit blog. #13006
hi Brajesh,
as per the other ticket, WPML has declared they don’t support BP groups, so this ticket can also go west. TMTOWTDI 🙂
Cheers
R.
- Richard Foley on January 19, 2018 at 8:28 am in reply to: [Resolved] BCP + WPML not connecting via categories. #13004
hi Brajesh,
I’ve done some more research into this, and I note that on the WPML site, they say they don’t support BP group translations. SO, in fairness, I can hardly expect your BCG plugin to do a 3-way support of something which is actively non-supported on one side of the triangle.
Therefore, I’m looking at another solution to my local problem, and am closing. Thanks for listening 🙂
R.
- This reply was modified 6 years, 10 months ago by Richard Foley.
- Richard Foley on January 18, 2018 at 10:49 pm in reply to: [Resolved] BCP + WPML not connecting via categories. #13003
hi Brajesh,
looking at this a little more, I can see that the wp_posts (original blog+2=3) all have what look like the correct postmeta:
+---------+---------+---------------+------------+ | meta_id | post_id | meta_key | meta_value | +---------+---------+---------------+------------+ | 1197085 | 141401 | _is_bcg_post | 1 | | 1197086 | 141401 | _bcg_group_id | 379 | | 1197101 | 141406 | _is_bcg_post | 1 | | 1197102 | 141406 | _bcg_group_id | 379 | | 1197108 | 141408 | _is_bcg_post | 1 | | 1197109 | 141408 | _bcg_group_id | 379 | +---------+---------+---------------+------------+
Which basically looks pretty good. This makes me think that BuddyBlog + BCG should be able to identify the blog as being a part of this group, regardless of what translations are going on. Somehow it doesn’t quite mesh together though…
R>
- Richard Foley on January 18, 2018 at 9:55 pm in reply to: [Resolved] BCP + WPML not connecting via categories. #13001
hi Brajesh,
I don’t think it should be so difficult, if we can look at it together. You/I/we *need* to fixup WPML support, or WPML need to assist with MediaPress support. Oje, oje…
At first glance, if I look at the category changes which WPML have made, it seems fairly consistent. For instance where I have say “mycat” as the english (en) category. The German equivalent (even when not translated) then becomes “mycat-de”, which is consistent, and easy to follow.
This might be something we can sort out, you think?
R.