Extra topic colors not working
3 posters
Page 1 of 1
Extra topic colors not working
Hello everyone,
I tried to use Ange Tuteur's tutorial and add more topic title colors, but after following all the steps, nothing happens and I cannot see more colors. What did I do wrong? Or what could block the script? :o
Thanks for all the help!!
I tried to use Ange Tuteur's tutorial and add more topic title colors, but after following all the steps, nothing happens and I cannot see more colors. What did I do wrong? Or what could block the script? :o
Thanks for all the help!!

- Tutorial:
- Forum link:
Last edited by Mimóza on February 13th 2016, 2:08 pm; edited 1 time in total
Re: Extra topic colors not working
I checked the console and an error pointed me to this script :
Anyway, the only spot that needs to be corrected is this :
If you look closely the closing apostrophe is missing, just add it to the end of the string above and it should resolve the error.
- Code:
window.location.pathname=='/post'&&$(function(){
var lang={
info:'The poll will be added automatically.',
poll_question:'How was the tutorial?',
poll_answers:'Good\nAverage\nPoor
};
if(document.post&&document.post.mode.value=='newtopic'&&document.post.f.value==3){
$(document.post.poll_title).closest('fieldset').html('<strong>'+lang.info+'</strong><input type="hidden" name="poll_title" value="'+lang.poll_question+'" /><input type="hidden" name="poll_option_text" value="'+lang.poll_answers+'"><input type="hidden" name="poll_length" value="30" /><input type="hidden" name="poll_cancel_vote" value="1" />')
}
});
Anyway, the only spot that needs to be corrected is this :
- Code:
'Good\nAverage\nPoor
If you look closely the closing apostrophe is missing, just add it to the end of the string above and it should resolve the error.
- Code:
'Good\nAverage\nPoor'
Re: Extra topic colors not working
Ooooh!
I didn't even check that script if working till now.
Thank you soooo much!!!





Thank you soooo much!!!


Re: Extra topic colors not working
Topic solved and archived ~ brandon_g


Remember to mark your topic

General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Team Leader
Review Section Rules | Request A Review | Sticker Points

» Adding extra colors
» Adding extra button to post editor - topic template
» Remove extra search box and post new topic inside a topic.
» i recently changed the colors of my forum but in topic body the colors didnt change
» How do I add more Topic Colors?
» Adding extra button to post editor - topic template
» Remove extra search box and post new topic inside a topic.
» i recently changed the colors of my forum but in topic body the colors didnt change
» How do I add more Topic Colors?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum