Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: iamdom - syyskuu 25, 2011, 01:18:12 IP

Otsikko: Quick question: MemberGroup
Kirjoitti: iamdom - syyskuu 25, 2011, 01:18:12 IP
Star image filename:
you can use $language for the language of the user {theme URL}/images


How do I add a picture to the MemberGroup?

Under the..

Name: *****
Rank: Admin
(Picture)     How do i add a picture under here?

Please help.
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: iamdom - syyskuu 25, 2011, 02:06:40 IP
Need help a.s.a.p please.
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: kat - syyskuu 26, 2011, 06:49:17 AP
Hi, Dom. Welcome to the forum.

I'm not sure what you mean, with that.

Do you mean a picture like...

<------------ That one?
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: iamdom - syyskuu 26, 2011, 02:07:33 IP
No k, where it says Doc Writer, Thank you for the welcome.
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: Illori - syyskuu 26, 2011, 02:11:04 IP
that is a "star" or as we call it around here a badge, you can add them when you edit the membergroup and it tells you on that page where you should put them, in your themes images folder
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: iamdom - syyskuu 26, 2011, 02:23:52 IP


Like this. ^^

Some of it you can still see and before the admin there is a a picture before the admin but i don't want that and the bit of writing at thend.

Here is the code:


<a href="http://media.photobucket.com/image/forum rank/torusatu/Metal_Forum_admin.png?

I know i have a admin in the gfx designer it was just a test..
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: Illori - syyskuu 26, 2011, 02:25:51 IP
put the image on your server in the correct location and it will work. dont rely on free image hosts when you have a real host.
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: iamdom - syyskuu 26, 2011, 02:31:53 IP
Yes, i have uploaded it into themes. I copy the admi.png into the star and it does not work?

Otsikko: Re: Quick question: MemberGroup
Kirjoitti: Illori - syyskuu 26, 2011, 02:33:01 IP
you put in the image name and it does not work? then you dont have it in the right folder, put it in the folder for your theme not the themes folder.
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: iamdom - syyskuu 26, 2011, 02:44:01 IP
Lol, ive tried everything uploading it in the theme folder then in the theme > image folder Admi.png i put in the star and still not working...   >:(
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: Angelina Belle - syyskuu 26, 2011, 03:49:00 IP
This will be a theme-by-theme thing.
Start by putting a copy in Themes/default/images
You may need to put it in Themes/<theme_name>/images for every single theme. Or not.  I am not certain on this one....


Then:

In ?action=admin;area=membergroups;sa=edit;group=1
You will see [g]Star image filename:[/b] {theme URL}/images/ and then an empty box.
You fill in just the file name (admi.gif, or whatever it is called).

Hit "tab" and you'll see the little image to the right of the box change
For example: if you put bdaycake.gif in that box, you'll see the badge turn into a birthday cake before you even hit "save"


GIF, not png.  It doesn't seem to like png files.
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: Illori - syyskuu 26, 2011, 04:24:02 IP
it does not matter what type of image it is png or gif either or both should work just fine.
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: Angelina Belle - syyskuu 26, 2011, 04:49:27 IP
I tested this out on one of my forums, and the png image just plain didn't work as a star, but the GIF image did work.
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: Illori - syyskuu 26, 2011, 04:52:35 IP
the badges here are png so they do work, maybe the image you used was corrupted.
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: kat - syyskuu 26, 2011, 04:57:34 IP
If you're overwriting an existing file, it needs to be the same file extension...

No good replacing a gif with apng, if the code's not changed to accommodate that. (Obviously).

Or, have I missed something?
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: Illori - syyskuu 26, 2011, 04:59:28 IP
yes you missed the part about putting the image name in the space for stars where you can put any image name and file type there.
Otsikko: Re: Quick question: MemberGroup
Kirjoitti: kat - syyskuu 26, 2011, 05:02:40 IP
Ah.

Does Dom know that, with the interwebz, case IS critical?

Maybe they're using "PNG", when they should be using "png"?

Worth checking?