-
Collab+ posted on the forum topic Need help with PM function in forums in the group How-To and Troubleshooting: 13 years, 7 months ago
i changed it! see in the code above?
-
Collab+ posted on the forum topic Need help with PM function in forums in the group How-To and Troubleshooting: 13 years, 7 months ago
Thought for sure this would work but it didn’t
function bp_forum_send_private_message_link() {
echo bp_forum_get_send_private_message_link();
}
function bp_forum_get_send_private_message_link() {
global $bp, $topic_template;if ( !bp_the_topic_is_mine() || !is_user_logged_in() )
return false;return apply_filters(…[Read more]
-
Collab+ started the forum topic Need help with PM function in forums in the group How-To and Troubleshooting: 13 years, 7 months ago
I am trying to put a Private Message Function in the forums so people can choose to PM eachother in the forums, but I am getting stuck on the function!!! I know I am close, but I am having trouble with some of it… here is what I have so far `function bp_forum_send_private_message_link() { echo […]
-
Collab+ posted on the forum topic Get IP address that can pass current $user_ID? in the group How-To and Troubleshooting: 13 years, 7 months ago
have you tested it on your site? Like mine?
So once the user logs in, it’s there forever right?
-
Collab+ posted on the forum topic Get IP address that can pass current $user_ID? in the group How-To and Troubleshooting: 13 years, 7 months ago
ok, actually this looks fine so far, because it seems like once they have logged in, wordpress saves it for good.
ray, if i put the function for the IP above, and the topic poster Id i was talking about before, it would work?
-
Collab+ posted on the forum topic Get IP address that can pass current $user_ID? in the group How-To and Troubleshooting: 13 years, 7 months ago
so everybody has to log in in one day for all of them to be showed? š wow, bummer…
why can’t we change that?
-
Collab+ posted on the forum topic Welcome to buddypress.org Ninjas in the group buddypress.org Ninjas: 13 years, 7 months ago
Found a bug: the RSS Links on the support topics page go to a page that says:
You must specify a table prefix in your bb-config.php file.
-
Collab+ joined the group buddypress.org Ninjas 13 years, 7 months ago
-
Collab+ posted on the forum topic Get IP address that can pass current $user_ID? in the group How-To and Troubleshooting: 13 years, 7 months ago
How weird. Now the IP showed, but only with the admin account and the group owner account. All the others it did not appear
-
Collab+ posted on the forum topic Get IP address that can pass current $user_ID? in the group How-To and Troubleshooting: 13 years, 7 months ago
im putting the functions in bp-custom
then the call in groups/single/members.php
-
Collab+ posted on the forum topic Get IP address that can pass current $user_ID? in the group How-To and Troubleshooting: 13 years, 7 months ago
if you have tested it, does it work on your site?/
When I put your updated code, nothing appears
-
Collab+ posted on the forum topic Get IP address that can pass current $user_ID? in the group How-To and Troubleshooting: 13 years, 7 months ago
Huh???? Is that the right code?
doesn’t look like it
-
Collab+ posted on the forum topic Get IP address that can pass current $user_ID? in the group How-To and Troubleshooting: 13 years, 7 months ago
-
Collab+ posted on the forum topic Get IP address that can pass current $user_ID? in the group How-To and Troubleshooting: 13 years, 7 months ago
Actually, Brandon, do you have a membership at wpmu?
Maybe you could ask this question there for further answers
-
Collab+ started the forum topic Get IP address that can pass current $user_ID? in the group How-To and Troubleshooting: 13 years, 7 months ago
Hello. I am trying to put the user’s IP address in the group/members.php, or the group’s directory. I want the user listed’s IP address to show only if the user is the group admin or mod. But now what I am having trouble on, is that the IP address is the same for all users, […]
-
Collab+ posted on the forum topic Having trouble with IP in the group How-To and Troubleshooting: 13 years, 7 months ago
idk I found one that seemed like it passed the $user_id for the comments `// applied to the comment author’s IP address prior to saving the comment in the database. function auto_reverse_proxy_pre_comment_user_ip() { if ( !empty($_SERVER) ) { $X_FORWARDED_FOR=explode(“,”, $_SERVER); $REMOTE_ADDR=trim($X_FORWARDED_FOR); //take the first element in…[Read more]
-
Collab+ posted on the forum topic Having trouble with IP in the group How-To and Troubleshooting: 13 years, 7 months ago
I tied logging in, loggin out, Your code does not work, it just simply does not appear. Nothing appears.
And I want the IP to display in the group’s member list, and topic page
I have just about given up, seems like it’s just impossible
-
Collab+ posted on the forum topic How to display the User Post Count in Topic.php in the group How-To and Troubleshooting: 13 years, 7 months ago
Hey ray, i have a quick question. I have wp-ban installed, and it adds a function that fetch’s the IP address of the user logged in i think, it’s the standard function for calling it. the full code is here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/having-trouble-with-ip/#post-96715 What i did is I put the…[Read more]
-
Collab+ posted on the forum topic How to display the posterās user role in forums for that specific group in the group How-To and Troubleshooting: 13 years, 7 months ago
is there a way around it? I would love both
-
Collab+ posted on the forum topic How to display the posterās user role in forums for that specific group in the group How-To and Troubleshooting: 13 years, 7 months ago
any ideas ray?
- Load More
@vegasparty607
Not recently active