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.

Profile Field Linking To Groups?

5 posters

Go down

Solved Profile Field Linking To Groups?

Post by nextlevelgaming 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

Profile Field Linking To Groups? Firstv10

after

Profile Field Linking To Groups? Second10


Can anyone help me do this?
nextlevelgaming
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 July 26th 2012, 9:09 pm

Since this has not been done. I'd suggest creating a gif image.
JadeMehBoi
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 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
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 July 26th 2012, 9:15 pm

Have you tried image mapping
JadeMehBoi
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 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
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 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
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 July 27th 2012, 3:48 am

i have problem same you. please help me in early time. thanks
badboy10a8
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 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
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 July 27th 2012, 10:00 am

SolveD?
Sanket
Sanket
ForumGuru

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

Back to top Go down

Solved Re: Profile Field Linking To Groups?

Post by nextlevelgaming 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
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 July 27th 2012, 10:20 pm

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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51481
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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