Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: Drakness - tammikuu 29, 2009, 10:11:03 AP

Otsikko: Buttons wont work :S
Kirjoitti: Drakness - tammikuu 29, 2009, 10:11:03 AP
Well i want to add custom buttons but next to them this appears:


Otsikko: Re: Buttons wont work :S
Kirjoitti: sawz - tammikuu 29, 2009, 10:24:22 AP
and how are you adding the buttons?
those images should be in the same folder as the default group images.
Otsikko: Re: Buttons wont work :S
Kirjoitti: Drakness - tammikuu 29, 2009, 10:43:42 AP
By putting the HTML link there.
And i have tried but when i enter the name of it.. it does not show up.
Otsikko: Re: Buttons wont work :S
Kirjoitti: sawz - tammikuu 29, 2009, 10:50:11 AP
if your going to use html, use a plain old image tag:
<img scr="http://mydomain.com/image.gif">

as for the image name not working, make sure they are in the same folder as the other group images. and try not to have spaces in the file name.

image.gif is good

my image.gif isn't.
Otsikko: Re: Buttons wont work :S
Kirjoitti: Drakness - tammikuu 29, 2009, 11:41:03 AP
I can't get it to work... the <img src etc isin't working at all, and i placed my button here: {Theme URL} -> Images And my picture "Police.gif" Then i go to settings, i type in Police and it won't show nothing.
Otsikko: Re: Buttons wont work :S
Kirjoitti: sawz - tammikuu 29, 2009, 12:11:38 IP
my bad, dyslexia, <img src=

i inverted the r and c

so sorry
Otsikko: Re: Buttons wont work :S
Kirjoitti: Brettflan - tammikuu 29, 2009, 05:10:17 IP
You're trying to set group images? If so, use the bare path (generally just a filename) rather than with the HTML code. Example:
image.png
instead of:
<img src="http://here.com/Themes/default/images/image.png">
Otsikko: Re: Buttons wont work :S
Kirjoitti: Tyrsson - tammikuu 30, 2009, 02:16:13 AP
Just enter the file name :)
Otsikko: Re: Buttons wont work :S
Kirjoitti: greyknight17 - helmikuu 08, 2009, 02:27:27 IP
Drakness, is this issue resolved now? All you need to do was upload your custom images to /Themes/default/images/ folder and then put only the filename into each membergroup since it already has the path listed.