-
kodestar replied to the forum topic Can you check if this is intended activity stream behaviour in BP 1.6 please? in the group How-To and Troubleshooting 12 years, 2 months ago
I hadn’t noticed that, I hope it IS intended behaviour as I always found it annoying having small edits bump the post back to the top.
-
kodestar started the forum topic Problem with checking if a user is in a group in the group How-To and Troubleshooting 12 years, 2 months ago
Hi, since updating to the latest buddypress i’ve had issues with detecting if a member is in a specific group.
I have the following function
public function user_is_mod() {
global […] -
kodestar replied to the forum topic Problem with checking if a user is in a group in the group How-To and Troubleshooting 12 years, 2 months ago
ok, using $modgroup = new BP_Groups_Group(1); instead *seems* to be working, so the only thing I can think of is I read groups_get_group leverages WP cache, so I’m assuming a mod logs in, goes to the backend, it […]
-
kodestar replied to the forum topic Problem with checking if a user is in a group in the group How-To and Troubleshooting 12 years, 2 months ago
and some (not all) other users that ARE members can’t approve images.
-
kodestar replied to the forum topic Problem with checking if a user is in a group in the group How-To and Troubleshooting 12 years, 2 months ago
I’ve also tried $modgroup = groups_get_group(‘group_id=1’); instead of using an array, and it fixed it for my test user, but randomly some other users can approve images, even though they aren’t members =/
-
kodestar replied to the forum topic Can anybody help me with buddypress load more issue in the group How-To and Troubleshooting 12 years, 4 months ago
sounds like a script isn’t being loaded, are you using the Buddypress template pack? If so go to appearance/BP compatability and make sure the JS isn’t disabled. Otherwise try disabling all your other plugins […]
-
kodestar started the forum topic Split custom activity items from main activity stream in the group How-To and Troubleshooting 12 years, 4 months ago
Hi, on my site when a user has an image approved it creates a custom activity item, the code for the function is here http://pastebin.com/AkhJhuvH this works pretty well, but it makes it hard to keep on top of […]
-
kodestar replied to the forum topic function to send a private message in the group How-To and Troubleshooting 12 years, 4 months ago
Ignore that, I had a look at the messages_new_message function and realised it should be sending a notification so I guessed the issue was I was testing using the same id for uploader and denyer, i changed to […]
-
kodestar replied to the forum topic function to send a private message in the group How-To and Troubleshooting 12 years, 4 months ago
Thanks so much for that, it’s used within a plugin so I used:
`
function bp_send_image_denied_message($sender_id, $recip_id, $subject, $message) {
global $bp;
if ( $thread_id = messages_new_message( […] -
kodestar started the forum topic function to send a private message in the group How-To and Troubleshooting 12 years, 4 months ago
Is there a function that can be used to send a private message?
Currently on my site when an image is denied an email is sent out to the user telling them, however this can often end up in the users spam […]
-
kodestar started the forum topic How do I set a wordpress user role when a member joins a buddypress group? in the group Creating & Extending 12 years, 6 months ago
I’m using wordpress/buddypress on my site http://fanart.tv currently in the plugin I created It defines a new user role which I can then set a user as (global_moderator) which has the capability […]
-
kodestar replied to the forum topic How do I set a wordpress user role when a member joins a buddypress group? in the group Creating & Extending 12 years, 6 months ago
hmm, actually, would a better way to deal with this be to set the capability to view the menu to read and put an if (user_is_mod()) add_submenu_page
-
kodestar joined the group Creating & Extending 12 years, 6 months ago
-
kodestar replied to the forum topic Massive load issues with buddypress in the group How-To and Troubleshooting 12 years, 7 months ago
Hi, thanks for replying, any pointers on profiling queries? lol.
I have added images to the users profile, so I suppose people could be going to other members profiles to look at their images (I haven’t yet […]
-
kodestar started the forum topic Massive load issues with buddypress in the group How-To and Troubleshooting 12 years, 7 months ago
Hi, I’m having some major issues with buddypress and I have no idea why, was hoping someone might have some ideas.
1. Which version of WordPress are you running? 3.3.1
2. Did you install WordPress as a […] -
kodestar joined the group How-To and Troubleshooting 12 years, 7 months ago
@kodestar
Not recently active