Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Snackmaster on January 13, 2006, 10:39:14 PM

Title: Memberlist not available since upgrade
Post by: Snackmaster on January 13, 2006, 10:39:14 PM
Upgraded to rc2 and became aware that users can't find the memberlist, I can't either!
The number of users on the homepage isn't a link and the memberlist bar on the homepage is gone.

A Guest *can* view member profiles by cliking on a individual users name but a logged in member *cannot* despite permissions being set exactly the opposite. I've tried toggling the settings off, saving and then back on, no change,

Title: Re: Memberlist issues...
Post by: Snackmaster on January 13, 2006, 11:25:56 PM
Found why the Memberlist Bar on the homepage is missing from RC2, the code is gone from the default template file: BoardIndex.template.php

The code here is copied from the same file from RC1 and added the 'titlebg' class to the header cell to match the new colors in RC2

   // Show a member bar.  Not heavily ornate, but functional at least.
if ($settings['show_member_bar'])
{
echo '
<tr>
<td  class="titlebg" colspan="2">', $txt[331], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=mlist">
<img src="', $settings['images_url'], '/icons/members.gif" width="20" alt="', $txt[332], '" border="0" /></a>
</td>
<td class="windowbg2" width="100%">
<b><a href="', $scripturl, '?action=mlist">', $txt[332], '</a></b>
<div class="smalltext">', $txt[200], '</div>
</td>
</tr>';
}


Found the permissions tick for viewing memberlist, was on for Guest and Off for Members.

Last memberlist item... In the Theme Settings there's this option:
"Show view profile button under post?"

Did the button disappear in RC2 like the memberlist bar, or is it really refering to the members name which is a link to their profile?



Title: Re: Memberlist issues...
Post by: Sverre on January 16, 2006, 02:36:08 AM
Quote from: Snackmaster on January 13, 2006, 11:25:56 PM
Last memberlist item... In the Theme Settings there's this option:
"Show view profile button under post?"

Did the button disappear in RC2 like the memberlist bar, or is it really refering to the members name which is a link to their profile?

That setting controls the linked images like (http://www.simplemachines.org/community/Themes/simple/images/icons/profile_sm.gif) (http://www.simplemachines.org/community/index.php?action=profile;u=34750) and (http://www.simplemachines.org/community/Themes/simple/images/im_on.gif) (http://www.simplemachines.org/community/index.php?action=pm;sa=send;u=34750) located below your avatar/number of posts. The images look different in Core though.
Title: Re: Memberlist not available since upgrade
Post by: loeki on February 21, 2006, 07:21:04 PM
I have the same problem of a missing member list bar, despite that it is turned on in the settings. I only have the problem with the default core theme.
This is very annoying because it makes completely no sense to me.

edit: Snackmaster, I've added the quoted code and it works perfectly! Thanks, because otherwise I'd have to go back to rc1.
Still wondering why someone would want to remove the member list bar code...
Title: Re: Memberlist not available since upgrade
Post by: JayBachatero on February 21, 2006, 07:31:23 PM
The memberlist bar was converted to a button on Core.  Take a look at the menu on top ;)