• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

ACP Notice System

xf_phantom

Well-known member
#1
ATM we have in the page_container template
Code:
<xen:if is="{$showUpgradePendingNotice}">
         <p class="importantMessage">
           {xen:phrase upgrade_is_pending_forum_only_accessible_in_debug} <br />
           <a href="install/">{xen:phrase complete_upgrade}</a>
         </p>
       </xen:if>
and in home
Code:
<xen:if is="{$outdatedTemplates}">
   <p class="importantMessage">
     <a href="{xen:adminlink templates/outdated}">{xen:phrase there_templates_that_may_be_outdated_click_to_review}</a>
   </p>
</xen:if>

<xen:if is="{$serverErrorLogs}">
   <p class="importantMessage">
     <a href="{xen:adminlink logs/server-error}">{xen:phrase server_errors_have_been_logged}</a>
   </p>
</xen:if>

<xen:if is="{$manualDeferredTotal}">
   <p class="importantMessage">
     <a href="{xen:adminlink tools/run-deferred}">{xen:phrase manual_rebuild_processes_have_been_stopped_before_completion}</a>
   </p>
</xen:if>
Could you concider to make this more dynamic like the notice system in the frontend?

Then we could use this for more tasks (e.g. important notices for admins, addon upgrade notices,etc...) without the need to edit the templates and controllers, instead we would just need to insert it into the "notice array"
 
Last edited:

pegasus

Well-known member
#2
This would be great. Currently I am just left to hope admins look around the readme to find out if they have extra stuff to do. In vBulletin it was easy to tell them after an add-on upgrade that behavior has changed, that they might want to change this/that setting, or that they might need to rebuild the search index. Please make these notifications easier for developers.