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 14th 2016, 1:08 am; 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 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Similar topics
» Adding extra button to post editor - topic template
» Topic Colors
» How do I add more Topic Colors?
» the topic pup up stoped working on my forum in all of sudden
» Change / Remove Topic Colors Script doesn't work
» Topic Colors
» How do I add more Topic Colors?
» the topic pup up stoped working on my forum in all of sudden
» Change / Remove Topic Colors Script doesn't work
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum