The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Topic title code problem

View previous topic View next topic Go down

Solved Topic title code problem

Post by yayayes on February 27th 2015, 3:51 pm

Hi guys,

Last time I got the code from here that allow me to add and change the color of the topic title. (see the link below) The code is very useful. However, I discovers some bugs that come with it. (please refer to the pictures) I'm wondering if there is anyway at all I can get rid of them? Thank you very much. ^^

Link: http://help.forumotion.com/t137233-how-add-change-the-color-of-topic-title?nid=3#926921
My Forum: http://thelosteden.com/forum
Forum Version: Invision
Bugs:


yayayes
Forumember

Female Posts : 49
Reputation : 1
Language : Thai
Location : Bangkok, London & Hong Kong

Back to top Go down

Solved Re: Topic title code problem

Post by Ange Tuteur on February 27th 2015, 4:07 pm

Hello @yayayes,

I saw I made a mistake in that script. Find and replace this :
Code:
if (!document.post) return;

By this :
Code:
if (!document.post || !document.post.topic_color) return;

and you should be golden. thumright

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Topic title code problem

Post by yayayes on February 27th 2015, 4:25 pm

Yeb, it's working now. You are the best, Thank you Ange Tuteur ><!

yayayes
Forumember

Female Posts : 49
Reputation : 1
Language : Thai
Location : Bangkok, London & Hong Kong

Back to top Go down

Solved Re: Topic title code problem

Post by Ange Tuteur on February 27th 2015, 4:43 pm

You're welcome ^^

Topic archived

Have a nice day. Smile

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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