MyBB Community Forums

Full Version: years of service
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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
can anyone help?
I'd recommend to go with Krytic suggestion:
https://community.mybb.com/thread-173297...pid1170125
I created a plugin for this since seems a recurrent request: https://community.mybb.com/mods.php?acti...w&pid=1330
If you want try it and let me know if everything is alright.
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
(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.
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.
Pages: 1 2