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.

Images for groups

+2
darkgoku
PA
6 posters

Go down

Images for groups Empty Images for groups

Post by PA Sat 10 Nov 2012 - 23:54

I'd like to know if there is any way for all groups to have a particular image show up on the profiles/posts of the people who are in that group.
Just like different groups have different colors, except an image instead.
Now, before you say you can do that with ranks, imagine what you would do if you had 100-200 members. Groups are a much more efficient way of doing this, so I'm wondering if it's possible through some type of script.

Btw its phbb3
avatar
PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Images for groups Empty Re: Images for groups

Post by darkgoku Sun 11 Nov 2012 - 0:12

could u post a link and create me a test account with admin
darkgoku
darkgoku
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down

Images for groups Empty Re: Images for groups

Post by PA Sun 11 Nov 2012 - 0:16

err no.
My forum isn't any different than any other phbb3 forum with a couple groups.
avatar
PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Images for groups Empty Re: Images for groups

Post by darkgoku Sun 11 Nov 2012 - 0:24

ui know im tyring to help u
darkgoku
darkgoku
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down

Images for groups Empty Re: Images for groups

Post by PA Thu 15 Nov 2012 - 4:36

Yes, preferably under the post content. Like under your name or the amount of posts.
avatar
PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Images for groups Empty Re: Images for groups

Post by ProphecyCSS Thu 15 Nov 2012 - 5:52

The way im looking at it, you cant, but you can go to ranks and use that you can use images instead for text ranks.
avatar
ProphecyCSS
Forumember

Posts : 97
Reputation : 7
Language : English

Back to top Go down

Images for groups Empty Re: Images for groups

Post by Kaizer Lee Thu 15 Nov 2012 - 10:16

You can just create a rank. Also, if you intend on removing the name of the rank (Text), please specify what's your forum version.
Kaizer Lee
Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

Images for groups Empty Re: Images for groups

Post by PA Fri 16 Nov 2012 - 1:21

I quote myself:

Now, before you say you can do that with ranks, imagine what you would do if you had to rank 100-200 members. Groups are a much more efficient way of doing this, so I'm wondering if it's possible through some type of script.

Rideem I'm wondering if you can improve on this one. Right now it makes the image on the left of the username, all I need is to shift this image down.

Code:
 p a[href="/u1"] {
        background: url("http://2img.net/i/fa/admin/couronne.png") no-repeat scroll 0 0 transparent;
        height: 15px;
        line-height: 17px;
        padding-left: 18px;
        padding-top: 2px;
        width: 15px;
}

.forabg a[href="/u1"] {
        background: url("http://2img.net/i/fa/admin/couronne.png") no-repeat scroll 0 0 transparent;
        height: 15px;
        line-height: 17px;
        padding-left: 18px;
        padding-top: 2px;
        width: 15px;
    }
    .forumbg a[href="/u1"] {
        background: url("http://2img.net/i/fa/admin/couronne.png") no-repeat scroll 0 0 transparent;
        height: 15px;
        line-height: 17px;
        padding-left: 18px;
        padding-top: 2px;
        width: 15px;
    }
    .postprofile strong a[href="/u1"] {
        background: url("http://2img.net/i/fa/admin/couronne.png") no-repeat scroll 0 0 transparent;
        height: 15px;
        line-height: 17px;
        padding-left: 18px;
        padding-top: 2px;
        width: 15px;
    }
avatar
PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Images for groups Empty Re: Images for groups

Post by nextlevelgaming Fri 16 Nov 2012 - 8:55

that code you have provided is only for 1 user. and thats you.

you can use javascript/jQuery to find the groups name and add a div/span with the image in it that you would like. As of right now, I have not played around with anything like this and am currently headed to bed. Maybe if no one answers you tomorrow I will help you with a code. Thanks
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

Images for groups Empty Re: Images for groups

Post by PA Fri 16 Nov 2012 - 17:07

oh.

Well if its difficult or not possible then forget it. It's not really necessary, I was just wondering if it could be done.
avatar
PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Images for groups Empty Re: Images for groups

Post by nextlevelgaming Fri 16 Nov 2012 - 22:14

Well anything can really be done honestly. Its just how you go about it thats all. Let me know for sure if you would like it done or not.
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

Images for groups Empty Re: Images for groups

Post by Kaizer Lee Sun 18 Nov 2012 - 9:10

Rideem3 wrote:You could get them by the group color:
Code:
 p a span[style="color:COLORHERE"] {
        background: url("http://2img.net/i/fa/admin/couronne.png") no-repeat scroll 0 0 transparent;
        height: 15px;
        line-height: 17px;
        padding-left: 18px;
        padding-top: 2px;
        width: 15px;
}

Wouldn't adding the group code here also help? like the g1 code?
Kaizer Lee
Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

Images for groups Empty Re: Images for groups

Post by Photondragon12345 Sun 18 Nov 2012 - 15:27

Frances Kaizer wrote:
Rideem3 wrote:You could get them by the group color:
Code:
 p a span[style="color:COLORHERE"] {
        background: url("http://2img.net/i/fa/admin/couronne.png") no-repeat scroll 0 0 transparent;
        height: 15px;
        line-height: 17px;
        padding-left: 18px;
        padding-top: 2px;
        width: 15px;
}

Wouldn't adding the group code here also help? like the g1 code?

Kaizer, you know the group glow that someone made a tutorial on? It only affected the legend, not the actual group members. Dont know if it is my forum problem or if it is meant to be that
Photondragon12345
Photondragon12345
Forumember

Male Posts : 226
Reputation : 1
Language : English
Location : USA

http://photon-duel-academy.forumotion.com/

Back to top Go down

Images for groups Empty Re: Images for groups

Post by nextlevelgaming Sun 18 Nov 2012 - 20:41

Photondragon yeah it only effects the legend section. Atleast I know that for phpbb2. Other forums well not to sure.
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

Images for groups Empty Re: Images for groups

Post by nextlevelgaming Mon 19 Nov 2012 - 3:12

oh was he talking bout a[href="/g1"] css hack? my bad. lmao... hey rideem get ahold of me I have another addition to the tagging system, and would like your help.
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

Images for groups Empty Re: Images for groups

Post by Kaizer Lee Mon 19 Nov 2012 - 11:41

Yeah, that's what I meant, the only group ._. not the members. Members have to be manualled which I hate that's why I ditched the glow code for a lot of them ._.
Kaizer Lee
Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

Images for groups Empty Re: Images for groups

Post by PA Wed 21 Nov 2012 - 10:09

Sorry, I'll check it and lt you know, thanks Very Happy

Mhm, yeah it works. Of course, the groups will need to be colored, but thats not really an issue. Thanks!
avatar
PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Back to top


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