an
groups-icon

User image in header

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    ziki ben tov
    -1 points
    Beginner

    Hello all,

    I am working on 8.8 micro jobs and want to display the user image and user ID for registered users.
    I want to put it instead of the links displayed in the right corner of the header (dashboard, notification, favorites, logout), so when a user hover his image or user ID, a dropdown is shown with the links mentioned above.
    I found that those links are in the class_design.php file and the code for one of them is:

    $STRING .= $b_f.’‘.$CORE->_e(array(‘account’,’46’)).’ (‘.$CORE->FAVSCOUNT().’)‘.$b_a;

    I copied the PHP code for user image from the account-overview.php file:

    ID ); }else{ echo “#”; } ?>” class=”frame”><?php echo get_avatar($userdata->ID , 60 ); ?>

    But I am having a hard time to combine this two line of codes regarding the correct syntax.
    Can you please help me? Or is there a better way to accomplish this?

    Thanks in advance,
    Yaniv

    November 15, 2015 at 10:35 pm
  • Josh njenga
    -13 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    November 18, 2015 at 1:53 pm
  • fiona wylder
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    December 15, 2015 at 11:10 pm
  • ziki ben tov
    -1 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    December 15, 2015 at 11:35 pm

472

Views

3

Replies