Remove Notable Members

Remove Notable Members 1.3

No permission to download

AndyB

Well-known member
#1
AndyB submitted a new resource:

Remove Notable Members - Removes Notable Members information from the Members tab.

Description:

Removes Notable Members information from the Members tab.

(Before)

View attachment 74181
(After)

View attachment 74182
Modifies the code in the following template:
  • member_notable
Installation:
  1. Download removenotablemembers_v1.0.zip and unzip it.
  2. From your Admin Control Panel, go to the "Install Add-on" page.
  3. Upload the addon-RemoveNotableMembers_v1.0.xml file
  4. Click the Install Add-on button.
...
Read more about this resource...
 

Adam Howard

Well-known member
#4
Commenting out this however does ;)

PHP:
		<!-- members -->
		<xen:if is="{$tabs.members}">
			<li class="navTab members {xen:if $tabs.members.selected, 'selected', 'Popup PopupControl PopupClosed'}">
			
				<a href="{$tabs.members.href}" class="navLink">{$tabs.members.title}</a>
				<a href="{$tabs.members.href}" class="SplitCtrl" rel="Menu"></a>
				
				<div class="{xen:if {$tabs.members.selected}, 'tabLinks', 'Menu JsOnly tabMenu'} membersTabLinks">
					<div class="primaryContent menuHeader">
						<h3>{$tabs.members.title}</h3>
						<div class="muted">{xen:phrase quick_links}</div>
					</div>
					<ul class="secondaryContent blockLinksList">
					<xen:hook name="navigation_tabs_members">
						<li><a href="{xen:link members}">{xen:phrase notable_members}</a></li>
						<xen:if is="{$xenOptions.enableMemberList}"><li><a href="{xen:link members/list}">{xen:phrase registered_members}</a></li></xen:if>
						<li><a href="{xen:link online}">{xen:phrase current_visitors}</a></li>
						<xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li></xen:if>
					</xen:hook>
					</ul>
				</div>
			</li>
		</xen:if>
 

Adam Howard

Well-known member
#6
Just for a point of reference and incase anyone else wants it. This removed the members tabs

extras.css
PHP:
.navTabs .navTab.members.PopupClosed
{
    display: none !important;
}
 

rwm1962

Active member
#8
I've just tried this on my test site & it does exactly what I wanted (along with Remove Trophies - I like anti-ego addons!)

Notable members list is gone.

However when I click on Members from Home, the page is blank & I have to click the tab for Registered Members to populate the screen.

upload_2014-8-25_9-2-26.png
 

rwm1962

Active member
#9
Doh! I see the screenshot for the add-on shows much the same thing. My preference would be for it to show the registered members as default. I'm glad notable members is gone. I don't like that sort of hierarchy listing.

I guess I can change the navbar link easily enough in 1.4!
 
Top