The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
4 posters

    Dynamic universal links

    blindbat1457
    blindbat1457
    Forumember


    Male Posts : 667
    Reputation : 6
    Language : English
    Location : Santa Clarita, CA

    Solved Dynamic universal links

    Post by blindbat1457 September 19th 2011, 8:17 am

    I know that is a confusing title but what I need is help with a few things. One being I want to create my own links like Sign out, Messages and Profile.

    What I mean is if I put this in my template

    Code:
    <div id="sNavbar">
      <ul>
        <li><a href="http://forumthememedia.forumotion.com/search">Search</a></li>
        <li><a href="http://forumthememedia.forumotion.com/register">Register</a></li>
        <li><a href="#">No New Messages</a></li>
        <li><a href="#">Profile</a></li>
        <li><a href="#">Sign out</a></li>
      </ul>
    </div>

    Then what would be the dynamic link be for messages, profile and sign out? So that whenever a user is logged in they can click on profile and it takes them to their profile.

    Another thing is I want the message link to show an image when there is a new message.. how do I do this?


    Last edited by blindbat1457 on September 19th 2011, 6:25 pm; edited 1 time in total
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    Solved Re: Dynamic universal links

    Post by Nera. September 19th 2011, 11:51 am

    Hi,

    Just click on Profile navigation of the forum you are doing it for and take the links from the browser. Do it for all.
    blindbat1457
    blindbat1457
    Forumember


    Male Posts : 667
    Reputation : 6
    Language : English
    Location : Santa Clarita, CA

    Solved Re: Dynamic universal links

    Post by blindbat1457 September 19th 2011, 6:23 pm

    I got the links from another forum but that wouldn't work because they would apply specifically to my user.


    Solution:
    Profile link: /profile?mode=editprofile
    PM (Inbox): /privmsg?folder=inbox
    Sign out: m/login?logout
    kirk
    kirk
    Forumaster


    Male Posts : 11037
    Reputation : 653
    Language : English,Vulcan,Klingon, Romulan,& Gorn

    Solved Re: Dynamic universal links

    Post by kirk September 19th 2011, 6:26 pm

    Since the topic was marked as solved i will now lock the thread.
    Jophy
    Jophy
    ForumGuru


    Male Posts : 17922
    Reputation : 836
    Language : English
    Location : Somewhere

    Solved Re: Dynamic universal links

    Post by Jophy September 20th 2011, 12:14 am

    You forgot it Razz

      Current date/time is September 24th 2024, 5:23 am