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

Unmaintained Organize The Moderator Bar 1.1.2

Does what it says on the tin.

  1. Matthew Hawley
    autoinstall.png [​IMG]

    The addon used the template modification system in 1.2, so the addon file will only work with 1.2. If you are using 1.1.5 or lower, please use the instructions below.

    What this addon does
    This addon puts the Moderator Bar links into an orderly list. It also collects all the alerts from Moderation Queue, Reports, and Users Needing Approval, and put them all into one main tab.

    modbarimage.png

    1. Go to moderator_bar and replace everything with:

    Code:
    <xen:require css="moderator_bar.css" />
    <xen:if hascontent="true">
    <fieldset id="moderatorBar">
        <div class="pageWidth">
            <div class="pageContent">
            <xen:contentcheck>
                <xen:if is="{$visitor.is_admin}">  
                    <a href="admin.php" class="acp adminLink"><span class="itemLabel">{xen:phrase admin_control_panel_short}</span></a>
          
                    <xen:if is="{$session.permissionTest}">
                        <a href="{xen:link misc/reset-permissions}" class="permissionTest adminLink OverlayTrigger">
                            <span class="itemLabel">{xen:phrase permissions_from_x, 'name={$session.permissionTest.username}'}</span>
                        </a>
                    </xen:if>
                </xen:if>
      
                <xen:if is="{$visitor.is_moderator} AND {$session.moderationCounts.total}">
                    <a href="{xen:link moderation-queue}" class="moderationQueue modLink">
                            <div class="Popup" style="float:left;">
                                <a rel="Menu"><span class="itemLabel">{xen:phrase moderation_queue_short}:</span><xen:set var="$totalCounts">{xen:calc '{$session.userModerationCounts.total} + {$session.reportCounts.total} + {$session.moderationCounts.total}'}</xen:set><span class="itemCount {xen:if {$totalCounts}, 'alert'}">{$totalCounts}</span></a>          
                                                            <div class="Menu">
                                                                <span class="arrowWidget"></span>
                                                                    <ul class="secondaryContent blockLinksList">
                                                                        <li><span class="itemLabel">Moderation Queue:</span><span class="itemCount {xen:if {$session.moderationCounts.total}, 'alert'}">{$session.moderationCounts.total}</span></li>
                                                                                <xen:if is="!{$xenOptions.reportIntoForumId}">
                                                                                                            <li><a href="{xen:link reports}"><span class="itemLabel">{xen:phrase reported_items_short}:</span><span class="itemCount {xen:if '({$session.reportCounts.total} AND {$session.reportCounts.lastUpdate} > {$session.reportLastRead}) OR {$session.reportCounts.assigned}', 'alert'}" title="{xen:if $session.reportCounts.lastUpdate, '{xen:phrase last_report_update}: {xen:datetime $session.reprotCounts.lastUpdate}'}"><xen:if is="{$session.reportCounts.assigned}">{$session.reportCounts.assigned} / {$session.reportCounts.total}<xen:else />{$session.reportCounts.total}</xen:if></span></a></li>
                                                                                                    </xen:if>                                                                            
                                                                                                    <xen:if is="{$visitor.is_admin} AND {$session.canAdminUsers} AND {$session.userModerationCounts.total}">
                                                                                        <li><a href="admin.php?users/moderated"><span class="itemLabel">Users Needing Approval:</span><span class="itemCount {xen:if {$session.userModerationCounts.total}, 'alert'}">{$session.userModerationCounts.total}</span></a></li>
                                                                                </xen:if>
                                                                    </ul>
                                                            </div>
                                          </div>
              
                    </a>
                </xen:if>
      
                <xen:hook name="moderator_bar" />
            </xen:contentcheck>
      
                <span class="helper"></span>
            </div>
        </div>
    </fieldset>
    </xen:if>
    2. Go to EXTRA.css and add

    Code:
    .Popup .PopupControl.PopupOpen, .Popup.PopupContainerControl.PopupOpen #moderatorBar a {
    color: #032A46 !important;
    }
    
    .Popup .PopupControl.PopupOpen, .Popup.PopupContainerControl.PopupOpen #moderatorBar a:hover {
    background-color: @primaryLight !important;
    }
    How to install:
    This addon can be installed using Chris Deeming's Addon Installer or Install and Upgrade by Waindigo.

    or

    Upload files to root folder
    Install the XML

    License:
    Under no circumstance, may this addon be repackaged/redistributed in any way, shape, or form. If you are caught doing so, your details will be passed on to other addon developers.

    If you like this resource please don't forget to rate and like it! :D

    If you wish to support the developer of this addon please feel free to donate.​
    hoangnova.com, Tarion, Dan and 2 others like this.

Recent Updates

  1. 1.1.2
  2. Update 1.1.2
  3. Update 1.1.1