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

ACP Notice System

Discussion in 'XenForo Suggestions' started by xf_phantom, Aug 7, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    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: Aug 7, 2013
  2. pegasus

    pegasus Well-Known Member

    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.
     

Share This Page