-
Horoshiy posted on the forum topic Redirect common users from wp-admin page to my_own_page in the group How-To and Troubleshooting: 14 years ago
Thanks in advance…
Horoshiy
-
Horoshiy started the forum topic Redirect common users from wp-admin page to my_own_page in the group How-To and Troubleshooting: 14 years ago
Good day!
Could you help me find solution of redirecting common users (not admin) from “http://…/wp-admin/” page to my own special page?
I don’t want common users to see wp-admin page at all… -
Horoshiy started the forum topic Nav tabs using ajax in the group How-To and Troubleshooting: 14 years, 3 months ago
Hi, everybody.
I need help.
How can i make the nav tabs on a members directory page to process using ajax, instead of reloading the page?Thanks in advance…
-
Horoshiy posted on the forum topic Recently active member avatars returns no members found in the group How-To and Troubleshooting: 14 years, 3 months ago
furthermore, function bp_has_members(); returns no members!!!
-
Horoshiy started the forum topic Recently active member avatars returns no members found in the group How-To and Troubleshooting: 14 years, 3 months ago
Hello! I have a sidebar in my main page and I put widget “Recently active member avatars” to the sidebar. In main page this widget returns that it can’t find any member!!! In any other child pages it returns normal results (avatars of registered members). By main page I mean the root domain page like […]
-
Horoshiy started the forum topic How to count sent messages in the group How-To and Troubleshooting: 14 years, 3 months ago
Good day. I’d like to count messages in sentbox. I’m using function:
function get_total_threads_for_user( $user_id, $box = 'inbox', $type = 'all' ) { global $wpdb, $bp; $exclude_sender = ''; if ( $box != 'sentbox' ) $exclude_sender = ' AND sender_only != 1'; if ( $type == 'unread' ) $type_sql = $wpdb->prepare( " AND unread_count != [...]
-
Horoshiy started the forum topic How to count sent messages in the group How-To and Troubleshooting: 14 years, 3 months ago
Good day. I’d like to count messages in sentbox. I’m using function:
function get_total_threads_for_user( $user_id, $box = 'inbox', $type = 'all' ) { global $wpdb, $bp; $exclude_sender = ''; if ( $box != 'sentbox' ) $exclude_sender = ' AND sender_only != 1'; if ( $type == 'unread' ) $type_sql = $wpdb->prepare( " AND unread_count != [...]
-
Horoshiy started the forum topic How to count sent messages in the group How-To and Troubleshooting: 14 years, 3 months ago
Good day. I’d like to count messages in sentbox. I’m using function:
function get_total_threads_for_user( $user_id, $box = 'inbox', $type = 'all' ) { global $wpdb, $bp; $exclude_sender = ''; if ( $box != 'sentbox' ) $exclude_sender = ' AND sender_only != 1'; if ( $type == 'unread' ) $type_sql = $wpdb->prepare( " AND unread_count != [...]
-
Horoshiy started the forum topic how to display widget in the group How-To and Troubleshooting: 14 years, 3 months ago
Good day.
I want to display widget “Recently Active Member Avatars” NOT in sidebar but in my custom pages.
Could anyone help me to do it?Horoshiy
-
Horoshiy started the forum topic redirecting to main page in the group How-To and Troubleshooting: 14 years, 4 months ago
Good day. I’m creating new template for registered users who want to post their “Projects”. It’s like an object with standard fields, but for a single user there can be several Projects. So I created file “…/buddypress/bp-themes/bp-default/members/single/projects.php” with my content. Then I edited file…[Read more]
-
Horoshiy posted an update 14 years, 4 months ago
@boonebgorges Maybe you know smth about profile field types? I need to create a new type ‘year’. Is there any simple way to do it?
-
Horoshiy posted on the forum topic profile fields by id in the group How-To and Troubleshooting: 14 years, 4 months ago
ok, thank you for help! I’ll do it by grouping, it’ll be better…
-
Horoshiy posted on the forum topic profile fields by id in the group How-To and Troubleshooting: 14 years, 4 months ago
Maybe I should be more concrete. My main task is to get profile fields structured inside the profile page. I need to place fields in 3 columns and in right order. So let’s imagine that we have 9 fields: Login, email, password, First Name, Last Name, Middle Name, Country, City, Address, Place of birth, Date […]
-
Horoshiy posted on the forum topic profile fields by id in the group How-To and Troubleshooting: 14 years, 4 months ago
no-no-no… I think you didn’t understand me… I need to get field name by id but there is NO function
“xprofile_get_field_NAME( $field_name_or_id )”
such as “xprofile_get_field_DATA( $field_name_or_id )” which exists.
-
Horoshiy started the forum topic profile field types in the group How-To and Troubleshooting: 14 years, 4 months ago
Good day! I’m interesting is there an easy way to create a new type of profile fields? There are checkbox, selectbox, textfield, etc. but there are no such specific fields like yearbox (like ‘2010’) or fields with restrictions (like numbers between 1 and 17) or something else… first of all I need yearbox, can you […]
-
Horoshiy started the forum topic profile fields by id in the group How-To and Troubleshooting: 14 years, 4 months ago
Good day! is there a way to call profile fields by id, but not only data in the field but an input_name, name, description, etc. function “echo xprofile_get_field_data( $field_name_or_id );” echoes just data and nothing more. Maybe I should rewrite function bp_the_profile_field() to bp_the_profile_field_byid( $field_id, $userid=null ); or there is…[Read more]
-
Horoshiy joined the group How-To and Troubleshooting 14 years, 4 months ago
@horoshiy
Not recently active