Add an image to the rank name ( + customizing ranks)

Post new topic   Reply to topic

View previous topic View next topic Go down

Add an image to the rank name ( + customizing ranks)

Post by Jalokim on November 4th 2009, 6:02 pm

Rank Name Customization
How to modify your rank name

The result:



Tools you may need:


Tinypic.com for image uploads (we use tinypic because it gives a short URL this is important)
Photoshop/GIMP or your admin panel color picker (for color hex codes)
A mini rank name image (max 16x16 pixels)
*html knowledge (for more complex customizations)


Rank Name text effects


For the first part all you do is edit the rank menu settings.
Go to Admin panel-> Users and Groups -> Rank Administration
Edit one of your existing ranks, or create a new one

In the rank title first type the name you want, for example "Administrator"
Next to make part of the title bold you have to give it an html bold class.

Here's how: <b>Admin</b>istrator

Now we need to give the font some color.
To do this you have to add a vaild html color tag to a font tag.

Here's how: <font color="#000000"><b>Admin</b></font>istrator


Warning!
Make sure all your tags are properly opened and closed. Example <font></font> <b></b>. If you do not close your tag , your posts or forum can be affected!
Warning!
when you use <font color> you have to use the proper ="#6 digit hexcode" , if you do not use the proper form the color won't appear.


Remember that the Rank Title has a limit of characters. If you put to much code the title won't fit!


Rank Name Image


As mentioned above don't go overboard with your rank effects. Just changing the bold and color is a whole load of difference. You need the extra space to use images in your rank name!


To add an image to your rank title all you need to do is upload an image to tinypic.com
We use tinypic.com because the image url is very short which saves a lot of space. If you didn't use any text effects from above you can upload your image to other hosts, with longer urls.

- upload your max 16x16 picture to tinypic
- retrieve the short url and copy it

Now we need to add a simple img html tag infront of your text

Here's how: <img src="url from tinypic.png" /><font color="#000000"><b>Admin</b></font>istrator

and thats it. The image tag has an integrated end tag /> you don't need to add a </img> tag!

As soon as you save your rank, the image and text effects will appear.


Tutorial Written by Jalokim , special thanks to the original author of the bold and color trick

_________________

Jalokim
Global Moderator
Global Moderator

Male
Posts: 5945
Age: 20
Language: English,Polish,CSS,HTML
Location: Poland
Country:
Join date: 2007-08-04

http://tealeafgraphics.7forum.net/index.htm

Back to top Go down

View previous topic View next topic Back to top


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