MyBB Community Forums
years of service - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: years of service (/thread-226074.html)

Pages: 1 2


RE: years of service - Mastersly - 2020-01-18

ohhh i didnt had neither rar nor 7zio on my pc.
i thoung it was just a txt file

i have the following code
<p><if $post['regdate']+(60*60*24*7) <= TIME_NOW then><span style="color: gold;">Few days of Service</span></if> </p>
<p><if $post['regdate']+(60*60*24*30) <= TIME_NOW then><span style="color: gold;">One Month of Service</span></if> </p>
<p><if $post['regdate']+(60*60*24*60) <= TIME_NOW then><span style="color: gold;">Two Months of Service</span></if> </p>
<p><if $post['regdate']+(60*60*24*90) <= TIME_NOW then><span style="color: gold;">Three Months of Service</span></if> </p>
but to some user show up neither fews days of service nor one month of service


RE: years of service - Mastersly - 2020-01-20

can anyone help?


RE: years of service - Omar G. - 2020-01-20

I'd recommend to go with Krytic suggestion:
https://community.mybb.com/thread-173297-post-1170125.html#pid1170125


RE: years of service - Mipher - 2020-01-20

I created a plugin for this since seems a recurrent request: https://community.mybb.com/mods.php?action=view&pid=1330
If you want try it and let me know if everything is alright.


RE: years of service - Mastersly - 2020-01-20

Omar G. How can i make it for months? Just change the 365 to 30?

Mipher plugins often cause other errors to my forums that why i dont want a plugin but i will try it


RE: years of service - User 129272 - 2020-01-20

(2020-01-20, 06:29 PM)Mastersly Wrote: Omar G. How can i make it for months? Just change the 365 to 30?
Yes, I believe that would work.


RE: years of service - Mastersly - 2020-01-20

Krytic suggestion:

https://community.mybb.com/thread-173297...pid1170125

Dont show me the numbers and it show up to all profiles.(new profiles too)
it`s just says
years of service
i change it to month.. still nothing

Mipher you plugin works.