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.

Images for groups

View previous topic View next topic Go down

Images for groups

Post by PA on November 10th 2012, 11:54 pm

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

PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Re: Images for groups

Post by darkgoku on November 11th 2012, 12:12 am

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

darkgoku
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down

Re: Images for groups

Post by PA on November 11th 2012, 12:16 am

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

PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Re: Images for groups

Post by darkgoku on November 11th 2012, 12:24 am

ui know im tyring to help u

darkgoku
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down

Re: Images for groups

Post by PA on November 15th 2012, 4:36 am

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

PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Re: Images for groups

Post by ProphecyCSS on November 15th 2012, 5:52 am

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.

ProphecyCSS
Forumember

Posts : 97
Reputation : 7
Language : English

Back to top Go down

Re: Images for groups

Post by Kaizer Lee on November 15th 2012, 10:16 am

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

Re: Images for groups

Post by PA on November 16th 2012, 1:21 am

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://illiweb.com/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://illiweb.com/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://illiweb.com/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://illiweb.com/fa/admin/couronne.png") no-repeat scroll 0 0 transparent;
        height: 15px;
        line-height: 17px;
        padding-left: 18px;
        padding-top: 2px;
        width: 15px;
    }

PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Re: Images for groups

Post by nextlevelgaming on November 16th 2012, 8:55 am

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
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Images for groups

Post by PA on November 16th 2012, 5:07 pm

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.

PA
Forumember

Posts : 219
Reputation : 2
Language : english

Back to top Go down

Re: Images for groups

Post by nextlevelgaming on November 16th 2012, 10:14 pm

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
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Images for groups

Post by Kaizer Lee on November 18th 2012, 9:10 am

Rideem3 wrote:You could get them by the group color:
Code:
 p a span[style="color:COLORHERE"] {
        background: url("http://illiweb.com/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
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

Re: Images for groups

Post by Photondragon12345 on November 18th 2012, 3:27 pm

Frances Kaizer wrote:
Rideem3 wrote:You could get them by the group color:
Code:
 p a span[style="color:COLORHERE"] {
        background: url("http://illiweb.com/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
Forumember

Male Posts : 226
Reputation : 1
Language : English, Chinese, A little french
Location : USA

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

Back to top Go down

Re: Images for groups

Post by nextlevelgaming on November 18th 2012, 8:41 pm

Photondragon yeah it only effects the legend section. Atleast I know that for phpbb2. Other forums well not to sure.

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

Re: Images for groups

Post by nextlevelgaming on November 19th 2012, 3:12 am

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
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Images for groups

Post by Kaizer Lee on November 19th 2012, 11:41 am

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

Re: Images for groups

Post by PA on November 21st 2012, 10:09 am

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!

PA
Forumember

Posts : 219
Reputation : 2
Language : english

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