2011-04-06, 04:48 PM
2011-04-06, 05:00 PM
ACP >> Users & Groups >> Groups >> Guests >> Miscellaneous >> Can view member list? >> Untick
2011-04-06, 05:18 PM
Yal,
I am talking about the following;
AJS,
It is already unchecked. But that uncheck will hide the member list i am talking about in the pic above?
I am talking about the following;
AJS,
It is already unchecked. But that uncheck will hide the member list i am talking about in the pic above?
2011-04-06, 05:23 PM
No, unfortunately not. You'll need to manipulate the templates or use the template conditionals plugin mentioned earlier.
2011-04-06, 05:26 PM
You can hide this by using Template Conditionals Plugin: http://community.mybb.com/thread-31860.html
Once you activate it, Go to header template and find memberlist link and wrap it with the following code;
Once you activate it, Go to header template and find memberlist link and wrap it with the following code;
<if $mybb->user['uid'] != "0" then>
// Memberlist link goes here
</if>
2011-04-06, 05:32 PM
(2011-04-06, 05:18 PM)annaconda Wrote: [ -> ]Yal,You got to do manual template edits.
I am talking about the following;
AJS,
It is already unchecked. But that uncheck will hide the member list i am talking about in the pic above?
Open ACP>Themes and templates>Your theme templates>Header templates>Header:
Find:
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
cut/remove it.
Goto:
header_welcomeblock_member templates:
then on top add something like:
<div class="menu"><ul><li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li></ul></div>
Then it would only show to members after logging in.
2011-04-06, 06:17 PM
Thanks Every one again.
Crazy,
I did what you mentioned, It works but problem is it comes up like the following; How can we realign it like it was before with search and other links on the top. I put the Code on the Top of everything in Header_WelcomeBlock_member template.
Crazy,
I did what you mentioned, It works but problem is it comes up like the following; How can we realign it like it was before with search and other links on the top. I put the Code on the Top of everything in Header_WelcomeBlock_member template.
2011-04-06, 09:11 PM
In the header template, find:
Replace with:
In the header_welcomeblock_guest template, add to the very beginning:
In the header_welcomeblock_member template, add this after the list item:
So it looks like:
</ul>
</div>
<div id="panel">
{$welcomeblock}
</div>
Replace with:
{$welcomeblock}
</div>
In the header_welcomeblock_guest template, add to the very beginning:
</ul>
</div>
<div id="panel">
In the header_welcomeblock_member template, add this after the list item:
</ul>
</div>
<div id="panel">
So it looks like:
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
</ul>
</div>
<div id="panel">
2011-04-07, 06:29 AM
Do this much changes for now,more changes to align it exactly,I gotta think some way for it.
Open Header_welcomeblock_member:
Right after:
Add in next new line:
Open Header Templates:
Find and Remove:
Then remove one </div> tag right after:
This should look something like this as of now if you did changes correctly:
Open Header_welcomeblock_member:
Right after:
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
</ul></div>
(THIS CODE SHOULD BE RIGHT AT START.)Add in next new line:
<div id="panel">
Open Header Templates:
Find and Remove:
<div id="panel">
right after <hr class="hidden" />Then remove one </div> tag right after:
{$welcomeblock}
This should look something like this as of now if you did changes correctly:
2011-04-07, 08:13 AM
(2011-04-07, 06:29 AM)crazy4cs Wrote: [ -> ]....
Or just do what I said which lines it up perfectly.