chrisj
Active member
I was trying to fix this add-on for 1.2:
http://xenforo.com/community/resources/recentstatus.160/
The structure off the add-on is:
Controllers:
ClearCache.php - Doesn't seem to be used but would reset the cache.
Controller - Empty file, probably does nothing.
Public.php - adds status and status comments to the response->params.
DataWriter:
ProfilePost.php - saves the profile post and resets the recent status cache. (so clearcache seems extraneous)
Listener:
DataWriter.php - triggers the ProfilePost datawriter.
LoadClassController.php -triggers the Public.php code.
TemplateHook.php - adds status and status comments to the templete. (so Public.php seems extraneous)
I've written an add-on before but I didn't hook into Xenforo as much. Am I correct in stating that it can be cut down to:
DataWriter:
ProfilePost.php
Listener:
DataWriter.php
TemplateHook.php
http://xenforo.com/community/resources/recentstatus.160/
The structure off the add-on is:
Controllers:
ClearCache.php - Doesn't seem to be used but would reset the cache.
Controller - Empty file, probably does nothing.
Public.php - adds status and status comments to the response->params.
DataWriter:
ProfilePost.php - saves the profile post and resets the recent status cache. (so clearcache seems extraneous)
Listener:
DataWriter.php - triggers the ProfilePost datawriter.
LoadClassController.php -triggers the Public.php code.
TemplateHook.php - adds status and status comments to the templete. (so Public.php seems extraneous)
I've written an add-on before but I didn't hook into Xenforo as much. Am I correct in stating that it can be cut down to:
DataWriter:
ProfilePost.php
Listener:
DataWriter.php
TemplateHook.php