Average age in forumhome
This modification is in the archives.
This is a modification I really wanted for my forum and I am posting it cause I thought that others may find it useful as well. However, I only had the idea as Xenon helped my really much with the query (My SQL knowledge is very basic and this is why this hack isn't supported, I wish I could support it but I don't have the knowledge to do so).
Thanks also to tamarian for fixing the issue with the table prefix. ![]() Instructions 1. Import the attached XML file. It's a plugin, not a product ![]() 2. Edit template FORUMHOME: Find: HTML Code:
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span> </if> HTML Code:
Average Age: $avg_age ![]() If you liked this and you are using it, don't forget to click INSTALL! If you want less or more than 2 decimals at the average then:
Download This modification is archived and cannot be downloaded. Supporters / CoAuthors
Screenshots
|