Jump to content

Does anyone know how to implement years of service?


xOrlo

Recommended Posts

Good night, I would like to implement the years of services in my forum, I have currently been watching an old tutorial that is already archived in this forum but I do not get the code <div>and its formulas work.

Can anyone please explain to me how to do it?

Thank you so much for your help beforehand!

Link to comment
Share on other sites

It really depends what you're trying to achieve. If by "years of service" you mean "years since installed", then you can alter that by modifying conf_global.php file. 

conf_global.php should be in your suite web root. 
There should be, and if it's not just add following:

$INFO['board_start'] = '1599604121';

Note that number is UNIX timestamp.  You can use this site to convert between human readable date and UNIX timestamp. 

This is tested on Invision Community Suite 4.4.x so I don't know if that is going to work with 4.5.x. In any case, should not cause any downtime. even if unsupported.

Link to comment
Share on other sites

15 hours ago, xZero said:

It really depends what you're trying to achieve. If by "years of service" you mean "years since installed", then you can alter that by modifying conf_global.php file. 

conf_global.php should be in your suite web root. 
There should be, and if it's not just add following:


$INFO['board_start'] = '1599604121';

Note that number is UNIX timestamp.  You can use this site to convert between human readable date and UNIX timestamp. 

This is tested on Invision Community Suite 4.4.x so I don't know if that is going to work with 4.5.x. In any case, should not cause any downtime. even if unsupported.

I think he means the time a user is a member on his forum, similar to 'X YEARS OF FLAKING'.

Coincidentally, I wrote a plugin that serves exactly this purpose, I will be putting it on sale soon.

 

Please no more private messages, mentions or anything like that. I don't offer any support at the moment.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...