vForums Support > Programming & Coding :: Code Requests & Support :: > Image As Category Name

Image As Category Name - Posted By dog199200 (dog199200) on 8th Sep 09 at 5:08am
Hi;

I was wondering if I can get a code made please that would allow me to set the name of a catagory with an image. I think it would be best to have an array that will first check the id of the category and then replace the category name with an image. I have tried the switch-it code and it wouldn't work. The reason why I am wanting this is so I can add a glow effect to the category title text, i think it would be a nice effect.

Re: Image As Category Name - Posted By Dreg[Bot] (dregondrahl) on 11th Sep 09 at 8:04am
=/ i don't know why UBBC doesn't work and the character limit for it is low. hmm

Re: Image As Category Name - Posted By dog199200 (dog199200) on 11th Sep 09 at 11:53am
well ubbc works, but the character limit is to low to add a link, thats why i was thinking maybe it can be done via code, using an array to call the category names with a supplied image link. I have an idea how i think it can be done, but my javascript sucks os bad I have no idea how to really do it.

Re: Image As Category Name - Posted By ElseAndrew (elseandrew) on 11th Sep 09 at 4:26pm
Add the image to your censored would word list and replace it with a small ubbc [head] for example.

Re: Image As Category Name - Posted By dog199200 (dog199200) on 12th Sep 09 at 1:38am
and what if by an odd chance someone used it. The forum isn't a small chat forum, its going to be a forum for a big game, so using censored words would cause conflicts as soon as someone ends up coming across it and trust me someone will.

Re: Image As Category Name - Posted By ElseAndrew (elseandrew) on 12th Sep 09 at 2:42am
Posted By dog199200 on 12th Sep 09 at 1:38am
 
and what if by an odd chance someone used it. The forum isn't a small chat forum, its going to be a forum for a big game, so using censored words would cause conflicts as soon as someone ends up coming across it and trust me someone will.


Call it something you know qont get used, something like [4tgf5] if someone uses that its a pure guess.

Re: Image As Category Name - Posted By dog199200 (dog199200) on 13th Sep 09 at 5:44am
well maybe if I made each one the max character limit for the category name, then it make it very hard to get. I'll see what I can do with that.