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
5 posters

    Profile Field Linking To Groups?

    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Profile Field Linking To Groups?

    Post by nextlevelgaming Thu 26 Jul - 19:06

    I have a field that only moderators and admin can configure to each member. What I am trying to do is create that icon, and anytime it changes the link on top of it to the "group" will stay the same unless they change "groups" The member can only join one Group.

    For a better example here is what I'm talking about

    before

    Profile Field Linking To Groups? Firstv10

    after

    Profile Field Linking To Groups? Second10


    Can anyone help me do this?
    JadeMehBoi
    JadeMehBoi
    Forumember


    Male Posts : 64
    Reputation : 7
    Language : HTML/CSS
    Location : South Carolina

    Solved Re: Profile Field Linking To Groups?

    Post by JadeMehBoi Thu 26 Jul - 19:09

    Since this has not been done. I'd suggest creating a gif image.
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Profile Field Linking To Groups?

    Post by nextlevelgaming Thu 26 Jul - 19:13

    what do you mean gif image? I know what gif is but why? I have made css link with background image blah blah blah. That sort of code would work. But, how would i create that link to be groups page, and how to create the image with the php variable?
    JadeMehBoi
    JadeMehBoi
    Forumember


    Male Posts : 64
    Reputation : 7
    Language : HTML/CSS
    Location : South Carolina

    Solved Re: Profile Field Linking To Groups?

    Post by JadeMehBoi Thu 26 Jul - 19:15

    Have you tried image mapping
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Profile Field Linking To Groups?

    Post by nextlevelgaming Thu 26 Jul - 19:41

    yes i know image mapping as well. The only issues i am having are actually showing the image and the name of the group.

    inside the "view_topic_body"

    I placed a css code

    Code:
    /* START CODE FOR POST TITLE IMAGE*/
    * {

    margin : 0;
    }

    /* Where the menu will be*/


    #menu-container {

    width : 165px;

    margin : 20px auto;

    border : none;
    }


    */Rids of Bullets*/
    ul#topnav{

      list-style-type : none;

    }


    /* Sets the viewing size as well as gives space from margin*/


    ul#topnav li {

    width : 143px;

    height : 27px;

    margin : 5px;
    }

    /* Sets image size */


    ul#topnav li a {

    display : block;

    font-family : Tahoma, Geneva, sans-serif;

    font-size : 15px;

    font-weight : bold;

    text-shadow : #0 2px 2px 2px;

    color : #006600;

    width : 143px;

    height : 27px;

    background-image : url('{postrow.displayed.profile_field_list}');

    text-align : center;

    line-height : 27px;

    text-decoration : none;
    }
    /* DONE CODE */

    Then in the section where i wanted it to show i placed this code

    Code:
    <div id="menu-container">
    <ul id="topnav">
    <li id="topnav1"><span class="gensmall">{GROUP_NAME}</span></li>

    </ul>

    The two variables {postrow.displayed.profile_field_list} and {GROUP_NAME} are not appearing. maybe i am doing something wrong with the variables. All i want to do is make it so the image is the background of the Text of the group. if it does not link that is fine with me
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Profile Field Linking To Groups?

    Post by nextlevelgaming Thu 26 Jul - 20:35

    there is no difference i wanted to add that to the icon profile field so that it automatically changes if they change a group, and change the image when a moderator or admin changes it. I figured it out finally. Could I make a tutorial on this maybe?
    badboy10a8
    badboy10a8
    New Member


    Male Posts : 8
    Reputation : 0
    Language : vietnamese

    Solved Re: Profile Field Linking To Groups?

    Post by badboy10a8 Fri 27 Jul - 1:48

    i have problem same you. please help me in early time. thanks
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Profile Field Linking To Groups?

    Post by nextlevelgaming Fri 27 Jul - 3:49

    i have figured it out, only thing is i have yet to succeed on linking it. It is simply text. But it will change everytime a user changes groups as well as the "title" image.
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Profile Field Linking To Groups?

    Post by Sanket Fri 27 Jul - 8:00

    SolveD?
    nextlevelgaming
    nextlevelgaming
    Forumember


    Male Posts : 989
    Reputation : 38
    Language : English|CSS|HTML5|javascript|
    Location : New York

    Solved Re: Profile Field Linking To Groups?

    Post by nextlevelgaming Fri 27 Jul - 19:30

    yes sanket. i was waiting to hear if i could maybe make a tut on it but all good its solved
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Profile Field Linking To Groups?

    Post by SLGray Fri 27 Jul - 20:20

    Topic Solved & Locked



    Profile Field Linking To Groups? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is Wed 13 Nov - 17:17