xf_phantom
Well-known member
That's something what is bothering me since the first public XF Version.
Couldn't we get some UI in the acp, where we can manage the "cached" values from the registry (and also e.g. addon caches)? (like the mybb cache manager http://docs.mybb.com/Admin_CP_Cache_Manager.html )
this makes peoples life easier, if they run into problems like http://xenforo.com/community/threads/phantom-1-user-awaiting-approval.56870/ or
http://xenforo.com/community/threads/errorexception-undefined-index-text_direction.56801/
It's also perfect while addon development for scenarios e.g. just think about an addon with own content type handlers.. everytime you create a new handler, you need to refresh the cache, but there's no way to do this.. you need to trigger the rebuild yourself.. ( http://xenforo.com/community/threads/content-types-and-fields-handlers.53217/ )
In the end, this system would just need a title, a description for the UI and the callback class & method
e.g.
This system would make posts like "create or edit a language, to trigger the cache rebuild" unnecessary
Couldn't we get some UI in the acp, where we can manage the "cached" values from the registry (and also e.g. addon caches)? (like the mybb cache manager http://docs.mybb.com/Admin_CP_Cache_Manager.html )
this makes peoples life easier, if they run into problems like http://xenforo.com/community/threads/phantom-1-user-awaiting-approval.56870/ or
http://xenforo.com/community/threads/errorexception-undefined-index-text_direction.56801/
It's also perfect while addon development for scenarios e.g. just think about an addon with own content type handlers.. everytime you create a new handler, you need to refresh the cache, but there's no way to do this.. you need to trigger the rebuild yourself.. ( http://xenforo.com/community/threads/content-types-and-fields-handlers.53217/ )
In the end, this system would just need a title, a description for the UI and the callback class & method
e.g.
PHP:
$caches = array(
'users_to_moderate' = array('titlePhrase' => 'title',
'descriptionPhrase' => 'desc',
'callbackclass' =>'XenForo_RegistryCallbacks' , 'callback_method' => 'rebuildUsersToModerate'
)
);
This system would make posts like "create or edit a language, to trigger the cache rebuild" unnecessary
Last edited:
Upvote
1