UserPro Forums
  • Create new topic
  • Forums
    • No replies topics
    • Newest topics
    • Forum statistics
  • Account
    • Lost password
    • Register
    • Login
  • Documentation
  • Back to main site

Community Forums

User To User Support Forum/Forums/ tronkybs's Replies
Avatar
  • Profile
  • Topics Started
  • Replies Created
  • Favorites

Forum Replies Created

  • 9 years, 6 months ago Avatartronkybs
    Participant

    In this code, what should i add to link the avatar to the user profile (author)?

    $user_id = get_the_author_meta(‘ID’);
    echo get_avatar($user_id, $size=50);
    echo userpro_show_badges($user_id, $inline=true);

    in reply to: How to link Author Box with author's profile page?
    9 years, 7 months ago Avatartronkybs
    Participant

    +1

    in reply to: postbyuser – pagination
    9 years, 7 months ago Avatartronkybs
    Participant

    I downloaded your changes to the files bbPress and css and it works almost everything but the change is absent for “bbp-notice-template info”, which shows the link to the profile bbPress (version 2.3.2). You can change the link to point to the author’s profile userpro?

    in reply to: Integrating UserPro profile links, user badges in bbPress!
    9 years, 7 months ago Avatartronkybs
    Participant

    In fact, this did not make sense, but that’s what happens if you also set the logout via modal. Instead of linking to logout, to logout page the problem is solved by itself.

    in reply to: Open login/registration via modal: not work with redirect
    9 years, 7 months ago Avatartronkybs
    Participant

    Logout via modal redirect to http://www.mysite.com/wp-admin/admin-ajax.php?loggedout=true
    Why?

    in reply to: Open login/registration via modal: not work with redirect
    9 years, 7 months ago Avatartronkybs
    Participant

    For some reason, the string “has update a page” is not fully translated, in my language “Page” is written “Pagina”. In the italian language file, this string is there but in the site “Page” remain in English. Why?

    in reply to: String missing in language file
    9 years, 8 months ago Avatartronkybs
    Participant

    exactly …. thanks for understanding Nexnivis 😉

    in reply to: New Update Available – v1.0.86
    9 years, 8 months ago Avatartronkybs
    Participant

    I’ve already reported on this forum: When a user logs in using social networks, can not choose the role (custom) with which to register on my website (which includes a choice of one of two roles defined). Users must choose the role with which they have access to certain content, I need this change. In your plugin, you can only set a default role, I need a user can choose to take effect before that recording on my website.

    in reply to: New Update Available – v1.0.86
    9 years, 8 months ago Avatartronkybs
    Participant

    The problem of registration through social networks and the choice of the user role has been resolved?

    in reply to: New Update Available – v1.0.86
    9 years, 8 months ago Avatartronkybs
    Participant

    http://codecanyon.net/item/easy-social-share-buttons-for-wordpress/6394476

    but I’ve already solved, with a setting of that plugin … there remains the problem of the default role. I can not use the social login on my site, my users should be able to choose the role when they register.

    in reply to: Social signup and roles problem + Bug in modal login/signup
    9 years, 8 months ago Avatartronkybs
    Participant

    The problem of modal login is not working, after much research is caused by any other social plugins installed in wordpress (addthis, share this, social share, etc.). It is enough to analyze the login page with google chrome to find out: FB.getLoginStatus() called before calling FB.init(). By disabling the plugin social sharing posts, login modal operates again, shame that those plugins are essential for me!

    in reply to: Social signup and roles problem + Bug in modal login/signup
    9 years, 8 months ago Avatartronkybs
    Participant

    3) I set the login and logout with modal window; I also set it to logout the user to be directed to the homepage. When the user logs out via modal window, it is brought to the home page, but the login page …. is this normal?

    in reply to: Social signup and roles problem + Bug in modal login/signup
    9 years, 8 months ago Avatartronkybs
    Participant

    I’ve done it! 😀

    in reply to: Integrating UserPro with your theme comments!
    9 years, 8 months ago Avatartronkybs
    Participant

    Help me to integrate profiles userpro in this code?

    PHP
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    <?php if ( ! function_exists( 'et_custom_comments_display' ) ) :
    function et_custom_comments_display($comment, $args, $depth) {
    $GLOBALS['comment'] = $comment; ?>
    <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
    <article id="comment-<?php comment_ID(); ?>" class="comment-body clearfix">
    <div class="comment_avatar">
    <?php echo get_avatar( $comment, $size = '80' ); ?>
    </div>
     
    <div class="comment_postinfo">
    <?php printf( '<span class="fn">%s</span>', get_comment_author_link() ); ?>
    <span class="comment_date">
    <?php
    /* translators: 1: date, 2: time */
    printf( __( 'on %1$s at %2$s', 'Divi' ), get_comment_date(), get_comment_time() );
    ?>
    </span>
    <?php edit_comment_link( esc_html__( '(Edit)', 'Divi' ), ' ' ); ?>
    <?php
    $et_comment_reply_link = get_comment_reply_link( array_merge( $args, array(
    'reply_text' => esc_attr__( 'Reply', 'Divi' ),
    'depth'      => (int) $depth,
    'max_depth'  => (int) $args['max_depth'],
    ) ) );
    ?>
    </div> <!-- .comment_postinfo -->
     
    <div class="comment_area">
    <?php if ( '0' == $comment->comment_approved ) : ?>
    <em class="moderation"><?php esc_html_e('Your comment is awaiting moderation.','Divi') ?></em>
    <br />
    <?php endif; ?>
     
    <div class="comment-content clearfix">
    <?php
    comment_text();
    if ( $et_comment_reply_link ) echo '<span class="reply-container">' . $et_comment_reply_link . '</span>';
    ?>
    </div> <!-- end comment-content-->
    </div> <!-- end comment_area-->
    </article> <!-- .comment-body -->
    <?php }
    endif;
    in reply to: Integrating UserPro with your theme comments!
    9 years, 8 months ago Avatartronkybs
    Participant
    PHP
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    if ( ! function_exists( 'et_postinfo_meta' ) ) :
    function et_postinfo_meta( $postinfo, $date_format, $comment_zero, $comment_one, $comment_more ){
    global $themename;
     
    $postinfo_meta = '';
     
    if ( in_array( 'author', $postinfo ) )
    $postinfo_meta .= ' ' . esc_html__('by',$themename) . ' ' . et_get_the_author_posts_link() . ' | ';
     
    if ( in_array( 'date', $postinfo ) )
    $postinfo_meta .= get_the_time( $date_format ) . ' | ';
     
    if ( in_array( 'categories', $postinfo ) )
    $postinfo_meta .= get_the_category_list(', ')  . ' | ';
     
    if ( in_array( 'categories', $postinfo ) )
    $postinfo_meta .= get_the_term_list( $post->ID, 'genere', ' ', ', ', '' ) . ' | ';
     
    if ( in_array( 'comments', $postinfo ) )
    $postinfo_meta .= et_get_comments_popup_link( $comment_zero, $comment_one, $comment_more );
     
    echo $postinfo_meta;
    }

    here is the code that draws the columns to display in the meta post

    in reply to: Author post link to profile
Viewing 15 posts - 1 through 15 (of 25 total)
1 2 →

About forum

Here you can find help from UserPro plugin developers and other UserPro fellow users. Please be polite and ask your questions. NO SPAM!

Search Forums

Follow us

  • facebook
  • twitter
  • youtube
© Copyright UserPro