by RandomSil October 9th 2015, 9:41 am
I did have it on all pages, however I was successful in doing so. The first code required an extra set of }));; at the end of the code after looking at the other code and realising it had that i thought to give it a shot.
For anyone who sees this and is confused. Make the first code the following.
- Code:
$(function(){
var middle_text = " replied to ";
var empty_title = "this topic";
if(typeof(compileNotif)!="function")return;var d=compileNotif;Toolbar.compileNotif=compileNotif=function(b){var a=d(b);if(b.text.type==FA.Notification.NOTIF_TOPIC_WATCH){var c=a.match(/^(.*) wrote a message (<a href="\/t[0-9]+(p[0-9]+)?-([^#?"]*)[^"]+">)[^<]+<\/a>$/);c&&(b=c[1]+middle_text+c[2],a=c[4],a="topic"==a||/^[\s-]*$/.test(a)?empty_title:a.replace(/-/g," ").replace(/(^\s+|\s+$)/g,""),a=b+a+"</a>")}return a}
});;
});;
Topic is solved, however I have one other question. When in the notification bar it shows the thread names without capital letters. Is that possible to change?
Again thank you very much for your help it is truly appreciated.