The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Topic title code problem

2 posters

Go down

Solved Topic title code problem

Post by yayayes February 27th 2015, 10: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: https://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:
Topic title code problem Screen%20Shot%202015-02-27%20at%202.47.53%20PM
Topic title code problem Screen%20Shot%202015-02-27%20at%202.46.34%20PM
yayayes
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 February 27th 2015, 11: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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Topic title code problem

Post by yayayes February 27th 2015, 11:25 pm

Yeb, it's working now. You are the best, Thank you Ange Tuteur ><!
yayayes
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 February 27th 2015, 11:43 pm

You're welcome ^^

Topic archived

Have a nice day. Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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