Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • Plugins
  • Themes
  • Documentation
  • Blog
  • Support
  • Download

BuddyPress.org


  • Register
  • Lost Password
  • Log In

@horoshiy active 2 years, 4 months ago
Maybe you know smth about profile field types? I need to create a new type ’year’. Is there any simple way to do it? View
  • Personal
  • Mentions
  • Favorites
  • Profile picture

    Horoshiy posted on the forum topic Redirect common users from wp-admin page to my_own_page in the group How-To and Troubleshooting: 2 years, 6 months ago

    Thanks in advance…

    Horoshiy

  • Profile picture

    Horoshiy started the forum topic Redirect common users from wp-admin page to my_own_page in the group How-To and Troubleshooting: 2 years, 6 months 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…

  • Profile picture

    Horoshiy started the forum topic Nav tabs using ajax in the group How-To and Troubleshooting: 2 years, 8 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…

  • Profile picture

    Horoshiy posted on the forum topic Recently active member avatars returns no members found in the group How-To and Troubleshooting: 2 years, 9 months ago

    furthermore, function bp_has_members(); returns no members!!!

  • Profile picture

    Horoshiy started the forum topic Recently active member avatars returns no members found in the group How-To and Troubleshooting: 2 years, 9 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 [...]

  • Profile picture

    Horoshiy started the forum topic How to count sent messages in the group How-To and Troubleshooting: 2 years, 9 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 != [...]

  • Profile picture

    Horoshiy started the forum topic How to count sent messages in the group How-To and Troubleshooting: 2 years, 9 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 != [...]

  • Profile picture

    Horoshiy started the forum topic How to count sent messages in the group How-To and Troubleshooting: 2 years, 9 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 != [...]

  • Profile picture

    Horoshiy started the forum topic how to display widget in the group How-To and Troubleshooting: 2 years, 9 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

  • Profile picture

    Horoshiy started the forum topic redirecting to main page in the group How-To and Troubleshooting: 2 years, 10 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]

  • Profile picture

    Horoshiy posted an update: 2 years, 10 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?

  • Profile picture

    Horoshiy posted on the forum topic profile fields by id in the group How-To and Troubleshooting: 2 years, 10 months ago

    ok, thank you for help! I’ll do it by grouping, it’ll be better…

  • Profile picture

    Horoshiy posted on the forum topic profile fields by id in the group How-To and Troubleshooting: 2 years, 10 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 [...]

  • Profile picture

    Horoshiy posted on the forum topic profile fields by id in the group How-To and Troubleshooting: 2 years, 10 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.

  • Profile picture

    Horoshiy started the forum topic profile field types in the group How-To and Troubleshooting: 2 years, 10 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 [...]

  • Profile picture

    Horoshiy joined the group How-To and Troubleshooting 2 years, 10 months ago

  • Profile picture

    Horoshiy started the forum topic profile fields by id in the group How-To and Troubleshooting: 2 years, 10 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]

Profile picture of Horoshiy
  • Activity
    • Personal
    • Mentions
    • Favorites
  • Profile
    • View
  • Sites 0
    • My Sites
  • Forums
    • Topics Started
    • Replies Created
    • Favorites

See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS

Follow BuddyPress on Twitter • GPL • Contact Us • Terms of Service

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • BuddyPress.org
    • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Lost Password
    • Log In
Log Out