-
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? (Continued because BP Forum Will Not L in the group How-To and Troubleshooting 12 years, 2 months ago
“Is this really the loop or just each group?”
Let’s put it this way … whenever I cycle through all groups and whenever I cycle through a single group, my plug-in takes effect. I know that […]
-
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? (Continued because BP Forum Will Not L in the group How-To and Troubleshooting 12 years, 2 months ago
Anyone — is it possible to know the Group ID during the Loop?
-
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? (Continued because BP Forum Will Not L in the group How-To and Troubleshooting 12 years, 2 months ago
I get
HTTP 500 Internal Server Error
on that statement.I am running WP 3.4.2 and BP 1.5.6
-
frank thirteen started the forum topic Is it Possible to Get the Current Group ID While in the Loop? (Continued because BP Forum Will Not L in the group How-To and Troubleshooting 12 years, 2 months ago
Out-of-the-box, BP has a Send Invites link on the Groups forum. We don’t want that link unless you are a Group Admin or Group Moderator. Currently, we only have 1 private group set at this time with a group […]
-
frank thirteen started the forum topic Is it Possible to Get the Current Group ID While in the Loop? (Continued in New Post) in the group How-To and Troubleshooting 12 years, 2 months ago
Does anyone know how to capture the current group id?
bp_get_group_id()
is empty upon inspection during the loop.Thanks.
-
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? in the group How-To and Troubleshooting 12 years, 2 months ago
let’s start a new thread. BP Is getting too deep in my shorts here.
-
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? in the group How-To and Troubleshooting 12 years, 2 months ago
MAJOR FRUSTRATION — BP FORUM TELLS ME “It looks like you\’ve already said that!”
-
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? in the group How-To and Troubleshooting 12 years, 2 months ago
@modemlooper (bp forum not letting me post nicely, so I am splitting my reply in 2 parts)
Out-of-the-box, BP has a Send Invites link on the Groups forum. We don’t want that link unless you are […]
-
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? in the group How-To and Troubleshooting 12 years, 2 months ago
@modemlooper (having technical trouble posting right now…stay tuned)
-
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? in the group How-To and Troubleshooting 12 years, 2 months ago
I remember trying those last week and ended up having to resort to the if() statements I have included earlier in this thread.
I have progressed to the point of having to hard code the group ID […]
-
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? in the group How-To and Troubleshooting 12 years, 2 months ago
Tried
bp_group_id()
— no luck. -
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? in the group How-To and Troubleshooting 12 years, 2 months ago
@modemlooper:
if (groups_is_user_mod( get_current_user_id(), $guid ) == "1") return;
elseif (groups_is_user_admin( get_current_user_id(), $guid ) == "1") return;
else ...Everything else works — […]
-
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? in the group How-To and Troubleshooting 12 years, 2 months ago
-
frank thirteen replied to the forum topic Is it Possible to Get the Current Group ID While in the Loop? in the group How-To and Troubleshooting 12 years, 2 months ago
Thanks @modemlooper.
My question is not how to display it. My question is how to capture it.
Currently I assign it to a variable like this
$guid = bp_get_group_id();
The problem is that while I am in […]
-
frank thirteen replied to the forum topic What is the command to get the current group id? in the group How-To and Troubleshooting 12 years, 2 months ago
Why not answer the question?
-
frank thirteen replied to the forum topic What is the command to get the current group id? in the group How-To and Troubleshooting 12 years, 2 months ago
Any BuddyPress Guru’s out there?
-
frank thirteen replied to the forum topic What is the command to get the current group id? in the group How-To and Troubleshooting 12 years, 2 months ago
Any experts or specialists or experienced BuddyPress types out there that know how to capture the
$group_id
so I can use it in the following?groups_is_user_mod( $user_id, $group_id )
Is it even possible?
-
frank thirteen replied to the forum topic Is there a function call is_group_mod() ? in the group How-To and Troubleshooting 12 years, 2 months ago
Any experts or specialists or experienced BuddyPress types out there that know how to capture the
$group_id
so I can use it in the following?groups_is_user_mod( $user_id, $group_id )
Is it even possible?
-
frank thirteen replied to the forum topic Is there a function call is_group_mod() ? in the group How-To and Troubleshooting 12 years, 2 months ago
Found it
groups_is_user_mod( $user_id, $group_id )
But now I need to find out how to capture the current group id. Right now I am hard coding it and I don’t want to do it that way.
Does anyone know how […]
-
frank thirteen started the forum topic What is the command to get the current group id? in the group How-To and Troubleshooting 12 years, 2 months ago
Does anyone know how to return the current group id?
This returns nothing
bp_get_group_id()
- Load More
@frank13
Active 9 years, 2 months ago