The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Title of tagged topic in notifications

2 posters

Go down

In progress Title of tagged topic in notifications

Post by Kami-sama October 25th 2015, 6:21 pm

Hello!

I was working recently to translate all English text of the toolbar to my forum language (Lithuanian). Thank you, @"Agne Tuteur" for great tutorials! I have two questions about one of them. Tutorial:
https://help.forumotion.com/t137560-title-of-watched-topics-in-notifications

1. Is it possible to leave the special characters like "ą, č, ę,..." in the link?
2. How can I add to this code, so that "PERSON tagged you in a topic" would also show the name of the topic? If it is possible of course.
Kami-sama
Kami-sama
Forumember

Female Posts : 407
Reputation : 12
Language : EN, RU, DE, LT
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down

In progress Re: Title of tagged topic in notifications

Post by Ange Tuteur October 25th 2015, 6:30 pm

Hi @Kami-sama,

Unfortunately accented charcters can't be preserved since the topic name is retrieved via the topic URL. ( accents and special characters in URLs don't go well )

You might be able to do this via the language script.

For example, replace a topic by %(topic_name)s ( and the same for in a watched topic ), and it should display the topic name. However, it'll contain dashes as that's the topic URL value.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Title of tagged topic in notifications

Post by Kami-sama October 26th 2015, 4:53 am

Ah alright Smile I had a feeling that's how the tittles were got.

Yes, I already used that tutorial, but it doesn't work in the notifications page itself. So I was wondering if such script like in the the tutorial, link by me, is possible.
Kami-sama
Kami-sama
Forumember

Female Posts : 407
Reputation : 12
Language : EN, RU, DE, LT
Location : Lithuania

http://hogas.huhohi.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum