Results 1 to 6 of 6

Thread: Code help: author details

  1. #1
    Thread Starter
    Senior Member aggieoutlaw8's Avatar
    Join Date
    Oct 2010
    Location
    United States
    Posts
    125
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Code help: author details

    i have modified author.php to show more user details

    PHP Code:
    <strong><?php _e ('Member Since:','cp');?></strong> <?php echo date_i18n(get_option('date_format'), strtotime($curauth->user_registered)); ?>
                                        <br />
                                        <strong><?php _e ('Phone:','cp'); ?></strong> <a href="<?php echo $userdata->phone?>"><?php echo $userdata->phone?></a>
                                        <br />
                                        <strong><?php _e('Website:','cp'); ?></strong> <a href="<?php echo $curauth->user_url?>"><?php echo $curauth->user_url?></a>
                                        <br />
                                        <strong><?php _e('Email:','cp'); ?></strong> <a href="<?php echo $curauth->user_email?>"><?php echo $curauth->user_email?></a>
                                        <br />
                                        <br />
                                        <strong><FONT COLOR="#CC0000"><?php _e('Company Info:','cp'); ?> </strong></FONT> <?php echo $curauth->company_profile?>
    the original code uses "$curauth" which shows user details
    the function "$userdata" shows the info when logged in but i need it to say login to see user details, namely phone and email similar to the contact user tab...

    any ideas? thanks

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    39,710
    Thanks
    163
    Thanked 3,298 Times in 3,169 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Senior Member aggieoutlaw8's Avatar
    Join Date
    Oct 2010
    Location
    United States
    Posts
    125
    Thanks
    0
    Thanked 6 Times in 6 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Senior Member aggieoutlaw8's Avatar
    Join Date
    Oct 2010
    Location
    United States
    Posts
    125
    Thanks
    0
    Thanked 6 Times in 6 Posts

    location?

    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    Senior Member aggieoutlaw8's Avatar
    Join Date
    Oct 2010
    Location
    United States
    Posts
    125
    Thanks
    0
    Thanked 6 Times in 6 Posts

    got it!

    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    39,710
    Thanks
    163
    Thanked 3,298 Times in 3,169 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [MOD NEEDED] Contact form under ads details
    By pinocchio in forum ClassiPress General Discussion
    Replies: 7
    Last Post: October 29th, 2010, 04:45 PM
  2. My users are getting ip address and other details ...
    By arty101 in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: October 1st, 2010, 03:40 PM
  3. Location Details Issue
    By hiro in forum ClassiPress General Discussion
    Replies: 4
    Last Post: July 9th, 2010, 04:04 AM