Results 1 to 3 of 3

Thread: How to Add an Account Link

  1. #1
    Senior Member Gunaxin's Avatar
    Join Date
    Mar 2010
    Location
    Baltimore, MD - USA
    Posts
    117
    Thanks
    37
    Thanked 26 Times in 16 Posts

    Default How to Add an Account Link

    [Moved here from another thread. Nick]

    Quote Originally Posted by Nick View Post
    You can change the wording for email validation requests in user_signin_language.php. The language for forgotten password emails is in main_language.php.
    Thanks for the point in the right direction. So now I arrive at my next stupid question. The email states that the user can change their password on their account page, which is certainly true. However I don't see an easy way for the user to know where their account page is. I suppose they could submit something, and then click on their own name. Or if we have the Gravatar thing enabled they can click on their Gravatar up on the menu. I can't seem to find the User Profile / Account settings as an option for the regular text menu though, which seems odd to me. I've looked through multiple themes, and I don't see it on any examples sites. Without running Gravatar, how is the user supposed to easily get to their profile?

  2. #2
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,862
    Blog Entries
    88
    Thanks
    485
    Thanked 809 Times in 528 Posts

    Default

    Quote Originally Posted by Gunaxin View Post
    Without running Gravatar, how is the user supposed to easily get to their profile?
    It's assumed that you'd be running some kind of avatar plugin, but if not, try this:

    In your navigation.php template, change:
    PHP Code:
    <!-- Navigation Bar -->
    <ul class="navigation">
        <?php   if ($h->currentUser->loggedIn) {
                    if(
    $h->isActive('avatar')) {
                        
    $h->setAvatar($h->currentUser->id16);
                        echo 
    $h->linkAvatar();
                    }
                } 
    ?>
    to

    PHP Code:
     <!-- Navigation Bar -->
     <ul class="navigation">
         <?php   if ($h->currentUser->loggedIn) {
                     echo 
    "<li><a href='" .  $h->url(array('page'=>'account')) . "'>" .  $h->lang["main_user_theme_account"] . "</a></li>";
                     } 
    ?>

  3. #3
    Senior Member Gunaxin's Avatar
    Join Date
    Mar 2010
    Location
    Baltimore, MD - USA
    Posts
    117
    Thanks
    37
    Thanked 26 Times in 16 Posts

    Default

    Excellent, thanks again. I was actually on the right track with trying to add this myself, but then figured I should ask the question and get an official answer.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. I cant submit any link
    By download in forum How-To and Troubleshooting
    Replies: 37
    Last Post: 12-15-2010, 11:29 PM
  2. external link toolbar
    By baadier in forum Plugin Suggestion Box
    Replies: 13
    Last Post: 09-22-2010, 02:48 PM
  3. Where's the link to my profile?
    By nothingman in forum How-To and Troubleshooting
    Replies: 12
    Last Post: 11-20-2009, 01:16 PM
  4. Permalinks, Redirect 301 and Link Structure
    By carlo75 in forum How-To and Troubleshooting
    Replies: 9
    Last Post: 10-21-2009, 07:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •