Notifications to display the "actual forum".
The forum of the forums :: Support forum :: Forum Design & Appearance Help :: Design & Appearance Problems Archives
Page 1 of 1 • Share •
Re: Notifications to display the "actual forum".
When the notification says "in a watched topic", you can click on those words (hyperlink) and it'll bring you to the reply.
Re: Notifications to display the "actual forum".
Hello!
Add this script in your forum (I found it in the Spanish support forum):
You can change the content of the variables
Script by: Ea
Add this script in your forum (I found it in the Spanish support forum):
- Code:
$(function(){
var texto_medio = " has writed a message in";
var si_titulo_vacio = "this topic";
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(/^(.*) has writed a message in (<a href="\/t[0-9]+(p[0-9]+)?-([^#"]*)#[0-9]+">)[^<]+<\/a>$/);c&&(b=c[1]+texto_medio+c[2],a=c[4],a="topic"==a||/^[\s-]*$/.test(a)?si_titulo_vacio:a.replace(/-/g," ").replace(/(^\s+|\s+$)/g,""),a=b+a+"</a>")}return a}
});
You can change the content of the variables

Script by: Ea
Re: Notifications to display the "actual forum".
Try this: Translate the code into English or whatever language your forum is set to.

Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

Re: Notifications to display the "actual forum".
Hell Draxion,
Give this a try :
Title : Your choice
Placement : In all the pages
Give this a try :
Title : Your choice
Placement : In all the pages
- Code:
$(function(){
var texto_medio = "in a watched topic ";
var si_titulo_vacio = "this topic";
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(/^(.*)(<a href="\/t[0-9]+(p[0-9]+)?-([^#"]*)#[0-9]+">)[^<]+<\/a>$/);c&&(b=c[1]+texto_medio+c[2],a=c[4],a="topic"==a||/^[\s-]*$/.test(a)?si_titulo_vacio:a.replace(/-/g," ").replace(/(^\s+|\s+$)/g,"").replace(/\?nid=\d+/,""),a=b+a+"</a>")}return a}
});
The forum of the forums :: Support forum :: Forum Design & Appearance Help :: Design & Appearance Problems Archives
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum