* Graham I have created a tool that displays a panel showing the online users and which boards have unread posts in them
I could not go down to individual posts level as the data is just not available
(you only get the data available on the forum 'home' page)
Basically you wrap the entire contents of xtforum.twig in a {% if %} statement
and control it from a set of variables in the translate file
Add a <xt:forum /> function on any page not set in the show_forum_paths variable and the online and new posts panels show instead
all the files are available from the forum page on http://baretest.xtgem.com
this version uses standard bootstrap 3.37 classes
NOTE: it will not work correctly until you have at least 2 boards or categories
coding for single board forums would have doubled the size of the code and was just not worth it
these are the control variables set in _xtgem_translations /xtforum

this goes at the top of xtforum.twig

and you have to add a
{%endif%}
at the end of the file
2017-02-08 02:53 (edited 2017-02-09 04:10 by Graham ) · (2)

Online: Guests: 1