The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Profile Field Linking To Groups?

View previous topic View next topic Go down

Solved Profile Field Linking To Groups?

Post by nextlevelgaming on July 26th 2012, 9:06 pm

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?

nextlevelgaming
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Solved Re: Profile Field Linking To Groups?

Post by JadeMehBoi on July 26th 2012, 9:09 pm

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

JadeMehBoi
Forumember

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

http://jademotion.forum.st/forum

Back to top Go down

Solved Re: Profile Field Linking To Groups?

Post by nextlevelgaming on July 26th 2012, 9:13 pm

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?

nextlevelgaming
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Solved Re: Profile Field Linking To Groups?

Post by JadeMehBoi on July 26th 2012, 9:15 pm

Have you tried image mapping

JadeMehBoi
Forumember

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

http://jademotion.forum.st/forum

Back to top Go down

Solved Re: Profile Field Linking To Groups?

Post by nextlevelgaming on July 26th 2012, 9:41 pm

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
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Solved Re: Profile Field Linking To Groups?

Post by nextlevelgaming on July 26th 2012, 10:35 pm

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?

nextlevelgaming
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Solved Re: Profile Field Linking To Groups?

Post by badboy10a8 on July 27th 2012, 3:48 am

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

badboy10a8
New Member

Male Posts : 8
Reputation : 0
Language : vietnamese

Back to top Go down

Solved Re: Profile Field Linking To Groups?

Post by nextlevelgaming on July 27th 2012, 5:49 am

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.

nextlevelgaming
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Solved Re: Profile Field Linking To Groups?

Post by Sanket on July 27th 2012, 10:00 am

SolveD?

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: Profile Field Linking To Groups?

Post by nextlevelgaming on July 27th 2012, 9:30 pm

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

nextlevelgaming
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Solved Re: Profile Field Linking To Groups?

Post by SLGray on July 27th 2012, 10:20 pm

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum