News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

[TIP/TRICK] Membergroup Images Instead of Name

Started by jblazeofek, April 27, 2009, 12:51:11 PM

Previous topic - Next topic

JBlaze

WARNING: This method can seriously damage your forum! Do not use this unless you know what you're doing!

For those that are wondering how to make a membergroup name an image instead of just boring old text, here you go.

Go to Admin -> Membergroups -> {Group} Modify -> Group Name

Then, do the following
<img src="http://www.url-to-image.com/image.jpg" />

Add that as the Membergroup name INSTEAD of entering text.
Remember to replace the URL provided with the actual URL of the image you are using.

See attached screenshots for a demo :)

* This tip works for board names as well.
** I Highly recommend that you host the image on your site as it will speed up the loading time of the image and prevent lag on your site.

Jason Clemons
Former Team Member 2009 - 2012

shadow82x

#1
Nice post and well said. :)
You can also use the same image code for several other spots in your forum, such as board names and descriptions.

Quote** I Highly recommend that you host the image on your site as it will speed up the loading time of the image and prevent lag on your site.
Very good point.
Colin B
Former Spammer, Customize, & Support Team Member

SAFAD

Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer @ Electron Inc.

JBlaze

Quote from: Shadow82x on April 27, 2009, 05:58:15 PM
Nice post and well said. :)
You can also use the same image code for several other spots in your forum, such as board names and descriptions.

Quote** I Highly recommend that you host the image on your site as it will speed up the loading time of the image and prevent lag on your site.
Very good point.

Thanks Shadow82x :)
Jason Clemons
Former Team Member 2009 - 2012

Informatics

thank you... i'll consider to use it on our forum.


You can catch me @ Forum Informatika a.k.a Indonesian Informatics Online Community @ http://if.web.id




Mods:
1. LinkTree v.1.1.0 [Topic  || Download]
2. Header Rotator v.1.1.0 for 1.1.x | v.2.1 for 2.0 [Topic || Download]

B.SkiLLs

cool. Didnt think of that before. Use to many other images in that area .. lol
VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


★MR.TALENT★

Nice post and well said. :)

Quote from: Shadow82x on April 27, 2009, 05:58:15 PM
You can also use the same image code for several other spots in your forum, such as board names and descriptions.

Quote** I Highly recommend that you host the image on your site as it will speed up the loading time of the image and prevent lag on your site.
Very good point.
Community Helper√
SMF 2.0 Gold √

KensonPlays


Owner of Mesozoic Haven

Iomega0318

Quote from: B.SkiLLs on May 07, 2009, 04:05:49 AM
cool. Didnt think of that before. Use to many other images in that area .. lol
lol same here, thank you for this tip!
UOFreeshards.net
UOFreeshards.net 2.1 Aplha Test Site
"I believe in Christianity as I believe in the sun...
not because I see it but because by it I see everything else."
C.S. Lewis

Heed what I say, for it shall be mentioned only once.

Iomega0318

Hmm found an error, on 2.0 RC5 if you make this edit it breaks the theme and outputs this:

<td><a href="http:///forums/index.php?action=admin;area=membergroups;sa=members;group=10"><img src="http:///forums/Themes/default/images/ranks/banned.pn&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td style=" text-align:="" center"="">0</a></td>


Also shows no image..
UOFreeshards.net
UOFreeshards.net 2.1 Aplha Test Site
"I believe in Christianity as I believe in the sun...
not because I see it but because by it I see everything else."
C.S. Lewis

Heed what I say, for it shall be mentioned only once.

Ken.

Great tip.  :)

We've been using images as board names for a long time now... they look nice, work great and we love it.  8)
"If you don't have a stack of failures in your shop, you aren't trying hard enough". --Richard Raffin.


★MR.TALENT★

but make sure u dont use a image to large it mess up the forum big time lol
Community Helper√
SMF 2.0 Gold √

Mari-chi

ooo I've been wondering this. Thanks Jaaaay. <3

JBlaze

Jason Clemons
Former Team Member 2009 - 2012


WantSome

I've done this on my forum and I love the idea.

I've done this for Admin, Global Moderators, Moderators and Mentors on my site. 

The only issue is that when I go to change a member's primary member group, to make them a moderator, say, the drop down menu is blank (since there is not text and it won't show a picture) and you have to kind of guess where your moderator button might be.

The images do show beside the check buttons for the 'additional member group' area, though.  Go figure.

~Dragon~

Please do not PM or email, Thank respond please post fast to SMF!

kizarze

Using this tip to -create new membergroups- has broken my forum. Any ideas?

Clara Listensprechen

I shall continue to be an impossible person so long as those who are now possible remain possible. {Michael Bakunin 1814-1876}

pqlal789qreo

Nice post and well said. 
You can also use the same image code for several other spots in your forum, such as board names and descriptions.




Advertisement: