Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi George,
    I wrote the code and since it became a little bit more than what could be managed in snippet,I got @ravisharma to convert that code into the plugin

    https://github.com/mediapress/mpp-global-shared-gallery

    Please activate this plugin. Once you have it activated, In Dashboard Edit gallery screen, you will notice a checkbox to allow everyone to upload.

    Once you check that for a gallery, everyone will be able to upload int it.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi Janette,
    thank you.
    that makes sense.

    At the moment the hook which is used to send email is called before creating the local notification.

    For now, can you please comment out the code from the bp-custom.php and then post and update and see if all users get notified. They should. Once it is happening,I will update the code and move the hook below local activity creation. That will allow us to make it work.

    The mailing without a queuing is going to be unreliable for large volume of emails.

    Please check with the hooked code disabled in bp-custom.php and let me know.We can proceed further then.

    Thank you for your patience.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi Janette,
    Thank you. I looked at it again and here is what happens, Please check and let me know if I am missing something or there is some difference you are observing

    1. When an activity update is created in the group, all members of the group are fetched and we create individual notifications for all these users. For each of these users, there goes an entry in the notifications table where

    item_id = The GroupId
    secondary_item_id = ID of the activity

    user_id = The User whom we should show the notification

    component = ‘localgroupnotifier’,
    component_action= ‘group_local_notification_’ . $activity_id,

    The notification is only deleted for the user if he/she clicks on the notification and reads the activity(On visiting single activity page).

    In normal cases, for each update,we will have multiple notification created, one for each member of the group.

    There are two cases where the php script timeout may affect us.
    a) If we have too many group members , say 5000 (which is very uncommon)
    b). Or there is some callback attached to ‘bp_group_activities_notify_members’ and the callback takes a lot of time.

    Can you please help me to understand if you think one of the above is happening?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi Janette,
    My apologies for not asking it before. By going out the notification, do you mean the notification by email or just the notification on BuddyPress site(local notification).

    PS: Your data seems correct to me. The notifications entry get deleted on read.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi Janette,
    Thank you for the prompt reply.
    No problem, appreciate the details. I will have an update in an hour.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi George,
    I will put it on github and link today. I am sorry for missing to post earlier.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi Janette,
    Welcome to BuddyDev forums.

    I am sorry for the inconvenience.

    Can you please tell me which version of BuddyPress, WordPress(Is it multisite?) and the Group Activity Notifier plugin are you using?

    I am looking at it, any of the above information will help me to do it quickly.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Media added on group all no longer showing #5449

    Thank you. Just tested now. can you please do 1 more thing and test it.

    Please visit http://ohconnect.com/groups/testing/mediapress/

    and there you will see wall photo gallery. Please Edit it and set its privacy as public. After that, Please try uploading from wall gallery.

    It seems to me that the privacy of the wall gallery was marked as some thing other than public and that is causing issue on activity stream.

    Can you please check if my assumptions are correct or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Media added on group all no longer showing #5447

    Hi Rhys,
    I just had a look and I don’t seem to find MediaPress there. Did you switch it off? Are you using any other plugin for upload in combination with MediaPress there?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: I'm not a programmer!!! #5443

    Hi Jobee,
    I am not going into details, but if you are using any of the BuddyPress themes you are dealing with crap(except the template pack). And I have seen them all and been in the market before any of the theme shops existed. So please don’t lecture me on quality by any xyz theme shop.

    And since you are not a programmer you opinion of quality does not matter to me. Money does not mean that the code you received is good. It is most probably a better marketing channel not value. Hire an expert to Check the code and see what you get before commenting on anything ours.

    I have a high disregard for bloated/bad code and yes the theme falls into that. If it is selling,It is the marketing and presentation not the quality of code. You are free to have assumptions and I don’t give a damn about it, but if someone starts like you did in your post, I want them to avoid our support. We don’t need customers like you.

    Thank you
    Brajesh