Profile Field Linking To Groups?
5 posters
Page 1 of 1
Profile Field Linking To Groups?
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
after
Can anyone help me do this?
For a better example here is what I'm talking about
before
after
Can anyone help me do this?
Re: Profile Field Linking To Groups?
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?
Re: Profile Field Linking To Groups?
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
Then in the section where i wanted it to show i placed this code
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
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
Re: Profile Field Linking To Groups?
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?
Re: Profile Field Linking To Groups?
i have problem same you. please help me in early time. thanks
badboy10a8- New Member
- Posts : 8
Reputation : 0
Language : vietnamese
Re: Profile Field Linking To Groups?
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- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Profile Field Linking To Groups?
yes sanket. i was waiting to hear if i could maybe make a tut on it but all good its solved
Re: Profile Field Linking To Groups?
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Linking to a profile field?
» Profile Field for Custom Profiles adding an additional unwanted field?
» Text field profile field as a widget
» Profile field, multiple words with different colors in the same profile filed
» Profile Field did not show in profile
» Profile Field for Custom Profiles adding an additional unwanted field?
» Text field profile field as a widget
» Profile field, multiple words with different colors in the same profile filed
» Profile Field did not show in profile
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum