problem with title of watched topics in notifications
4 posters
Page 1 of 1
problem with title of watched topics in notifications
https://help.forumotion.com/t137560-title-of-watched-topics-in-notifications
i think there is a little problem with the code above
1st is an image
as you see looks like it can not get the topic name
only
testname replied to this topic
also its fail when i try translate it to Arabic
here is a forum i make to test forumotion codes
http://micsoft-test.forumg.biz
i think there is a little problem with the code above
1st is an image
as you see looks like it can not get the topic name
only
testname replied to this topic
also its fail when i try translate it to Arabic
here is a forum i make to test forumotion codes
http://micsoft-test.forumg.biz
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with title of watched topics in notifications
Hello
I am having the same problem that when I create a Topic & post into it says topic does not exist even when you have the topic title showing.
I even tried changing versions & restarting a thread after deleting the original thread.
1st Pic in the forum board
2nd Pic is the thread
3rd is Pic is the missing thread & post
Regards
Cassini
Just had a thought that possible reconfigure the board to an earlier date might resolves the problem
Regards
Cassini
I am having the same problem that when I create a Topic & post into it says topic does not exist even when you have the topic title showing.
I even tried changing versions & restarting a thread after deleting the original thread.
1st Pic in the forum board
2nd Pic is the thread
3rd is Pic is the missing thread & post
Regards
Cassini
Just had a thought that possible reconfigure the board to an earlier date might resolves the problem
Regards
Cassini
Last edited by cassini on January 3rd 2015, 12:07 pm; edited 1 time in total (Reason for editing : added comment)
Re: problem with title of watched topics in notifications
Hi @Michael_vx,
If the text of the topic title cannot be simplified, the placeholder texts "This topic" will be used.
@cassini I do not think your question is related to this topic. If you can, please create your own support topic.
Thanks
If the text of the topic title cannot be simplified, the placeholder texts "This topic" will be used.
@cassini I do not think your question is related to this topic. If you can, please create your own support topic.
Thanks
Re: problem with title of watched topics in notifications
@Ange Tuteur
will
they lead to the post okay with no problem as i see
only the topic title that wont show
how ill make the title simplified
will
Your first subject
مشاركة تجريبية
both are wont show in the barthey lead to the post okay with no problem as i see
only the topic title that wont show
how ill make the title simplified
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with title of watched topics in notifications
Did you make any modifications to the code. Try this :
I made a test and "Your first subject" worked, but "مشاركة تجريبية" did not.
- 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}
});
I made a test and "Your first subject" worked, but "مشاركة تجريبية" did not.
Re: problem with title of watched topics in notifications
hmm i think this mean the Script needs the Arabic letters
because still some letters when being with other letters they have a style like
and thanks a lot for the hard work
let me know how i can add these letters into the Scriptا ب ت ث ج ح خ د ذ ر ز س ش ص ض ع ف ق ك ل م ن و ى ئ ي
because still some letters when being with other letters they have a style like
means topicمشاركة
and thanks a lot for the hard work
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with title of watched topics in notifications
Well the problem when characters like those are used is that the URL of the topic changes to : /t1-topic
instead of : /t1-مشاركة
To get the name of the topic we strip it from the topic URL, but in the case of arabic titles, the topic title in the URL is always "topic"
instead of : /t1-مشاركة
To get the name of the topic we strip it from the topic URL, but in the case of arabic titles, the topic title in the URL is always "topic"
Re: problem with title of watched topics in notifications
so this one will not be solved since the its from the URLAnge Tuteur wrote:Well the problem when characters like those are used is that the URL of the topic changes to : /t1-topic
instead of : /t1-مشاركة
To get the name of the topic we strip it from the topic URL, but in the case of arabic titles, the topic title in the URL is always "topic"
okay
i like to ask for one last thing
change these words
قام بالرد على
instead of replied to
بموضوع تراقبة
instead of this topic
when i tried to that the Script fails
then do any thing you like to the topic
and thanks a lot
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: problem with title of watched topics in notifications
Yes, unfortunately that is the case.
For the script, try this :
For the script, try this :
- Code:
$(function(){
var middle_text = " قام بالرد على ";
var empty_title = "بموضوع تراقبة";
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}
});
Re: problem with title of watched topics in notifications
worked
by the way its working on firefox only Safari not working
topic is end
thanks for the help @Ange Tuteur
by the way its working on firefox only Safari not working
topic is end
thanks for the help @Ange Tuteur
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Similar topics
» Title of watched topics in notifications
» Disable notifications for watched topics
» how to customized links in toolbar, and translation, change the "in a watched topic" link and preview of pm's in notifications??
» Members receiving emails and notifications for members active in watched topics
» Watched Top Notifications & Picture uploads
» Disable notifications for watched topics
» how to customized links in toolbar, and translation, change the "in a watched topic" link and preview of pm's in notifications??
» Members receiving emails and notifications for members active in watched topics
» Watched Top Notifications & Picture uploads
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum