Time with prefix in...
 

[Solved] Time with prefix instead of suffix  

  RSS

peacherd
(@peacherd)
Active Member
Joined: 6 months ago
Posts: 9
16/06/2019 12:32 am  

Hi there,

Is it possible to change the time feature (2 hours ago) so that the “ago” is placed before the time. In french, we write “Il y a 3 heures” = “ago 3 hours” and not “3 heures il y a” = 3 hours ago” which is currently what appears.

Thanks for a really great plugin… The best comment system I’ve ever touched, and I have tried quite a few “premium” ones.


YordanSoares
(@yordansoares)
New Member
Joined: 6 months ago
Posts: 1
16/06/2019 9:19 am  

I have the same quesiton that @peacherd. In spanish we say: “Hace 3 horas” (3 hours ago). I translated the strings, but isn’t match for spanish: it’s appear like “3 horas hace“, a sentence without coherence in our language. Is there a way to change the order of each part of this strings? I mean [adjective] [number] [time unit] instead of [number] [time unit] [adjective] as appears right now. Thanks in advance for helping us.


peacherd liked
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3480
16/06/2019 1:28 pm  

Hi @peacherd, @yordansoares,

Thank you for contacting us.

I'm sorry, but wpDiscuz doesn't have such a feature yet. 

Please follow the steps to get it resolved.

1. Below is the archived folder, please download the folder.

2. In the folder, you'll see the class.WpdiscuzHelper.php file.

3. Replace the file class.WpdiscuzHelper.php in the wp-content/plugins/wpdiscuz/utils/ directory with the file I've provided. 


peacherd
(@peacherd)
Active Member
Joined: 6 months ago
Posts: 9
16/06/2019 1:52 pm  

Thank you so much for this, and the speed of the fix. It works perfectly for me, and makes it look a whole lot better. 

Will soon be getting a few of your addons. Once again, this comment plugin beats all of them!


Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3480
16/06/2019 2:04 pm  

Dear @peacherd,

We'd really appreciate and be thankful if you leave a good review on the plugin page. This is the best way to say thank you to this project and support team.


peacherd
(@peacherd)
Active Member
Joined: 6 months ago
Posts: 9
16/06/2019 2:10 pm  
Posted by: Astghik

Dear @peacherd,

We'd really appreciate and be thankful if you leave a good review on the plugin page. This is the best way to say thank you to this project and support team.

With pleasure. Thanks again!


Share:
Green
Default
Pear
Black Emo
{green}:grinning:
{green}:wink:
{green}:face:
{green}:inlove:
{green}:sweaty:
{green}:surprised:
{green}:lovekiss:
{green}:laugh:
{green}:formalsmile:
{green}:displeased:
{green}:cool:
{green}:resent:
{green}:nerd:
{green}:screaming:
{green}:amazed:
{green}:sad:
{green}:deceitful:
{green}:starryeyes:
{green}:evil:
{green}:shocked:
{green}:tears:
{green}:sulky:
{green}:smile:
{green}:vomited:
{green}:hi:
{green}:afraid:
{green}:crazy:
{green}:rabid:
{green}:fighting:
{green}:nonoise:
{green}:blushed:
{green}:idontknow:
{green}:scared:
{green}:razz:
{green}:kiss:
{green}:eat:
{green}:shutmouth:
{green}:gape:
{green}:suspicious:
{green}:laughingoutloud:
{green}:bruise:
{green}:crying:
{green}:pray:
{green}:serious:
{green}:excitement:
:)
:d
:wink:
:mrgreen:
:neutral:
:twisted:
:arrow:
:shock:
:???:
:cool:
:evil:
:oops:
:razz:
:roll:
:cry:
:eek:
:lol:
:mad:
:sad:
:!:
:?:
:idea:
:hmm:
:beg:
:whew:
:chuckle:
:silly:
:envy:
:shutmouth:
{pear}:happy:
{pear}:smile:
{pear}:laugh:
{pear}:laughingoutloud:
{pear}:crying:
{pear}:exhausted:
{pear}:nerd:
{pear}:surprised:
{pear}:veryhungry:
{pear}:wink:
{blackemo}:laughtertotears:
{blackemo}:gift:
{blackemo}:love:
{blackemo}:inlove:
{blackemo}:shamefaced:
{blackemo}:heart:
{blackemo}:crazy:
{blackemo}:anguished:
{blackemo}:bruise:
{blackemo}:easymoney:
{blackemo}:exhausted:
{blackemo}:vampire:
{blackemo}:shutmouth:
{blackemo}:wink:
{blackemo}:carnival:
{blackemo}:flowers:
{blackemo}:hotdrink:
{blackemo}:party: