• Welcome to Simple Machines Community Forum. Please login or sign up.

MCLegendII.1

Started by Bulakbol, January 28, 2008, 07:44:55 PM

Previous topic - Next topic

Sadil

"Hard work never killed anybody, but why take a chance?"

Bulakbol

You're welcome Sadil.  ;) Let me know if you still have problem.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sadil

Yes, works like a charm! I thought the mod had been properly uninstalled, but I guess not... :-\

Oh well! :D Thanks a bunch!
"Hard work never killed anybody, but why take a chance?"

Bulakbol

'Glad it's okey now. You are welcome.  ;)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

rowedf

I'm having an issue.  The administrator is the only one that can click the membergroup and see a list of members in that group.  Is that normal ?

Sadil

Quote from: rowedf on February 12, 2008, 07:40:29 PM
I'm having an issue.  The administrator is the only one that can click the membergroup and see a list of members in that group.  Is that normal ?

Yes, that is quite normal. If you'll take a closer look you can notice the list being located in the Admin Panel. Whoever can access that page has the authority to remove someone from the group, which I gather isn't such a smart thing to let regular users do. ;)
"Hard work never killed anybody, but why take a chance?"

rowedf

I think it's a very nice thing for members to be able to view who's in which group.  Is it possible to have them be able to view it, but not see the action links to remove or change someone's membergroup ?

Sadil

February 13, 2008, 09:57:40 AM #67 Last Edit: February 13, 2008, 10:00:07 AM by Sadil
Well, yes. You can edit the code of the board index template to link to a sorted memberlist.

/index.php?action=mlist;sort=ID_GROUP;start=0

This will show the memberlist with membergroups sorted. Administrators are at the top, newbies are at the bottom. To change the code, follow these steps:

FIND in BoardIndex.php:
   $link = !empty($row['onlineColor']) ? '<span style="color: '. $row['onlineColor']. ';">'. $row['groupName']. '</span>' : $row['groupName'];

REPLACE it with:
   $link = !empty($row['onlineColor']) ? '<a href="'. $scripturl . '/index.php?action=mlist;sort=ID_GROUP;start=0" style="color: '. $row['onlineColor']. ';">'. $row['groupName']. '</a>' : $row['groupName'];


This will make it so that when someone isn't an Administrator, it will link them to the memberlist with the membergroups sorted at the top. I'm afraid that's the best I can do right now.
"Hard work never killed anybody, but why take a chance?"

Bulakbol

@Sadil
    Thanks.

@rowedf
   Are you okay now?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

rowedf

Quote from: Sadil on February 12, 2008, 08:11:30 PM
Quote from: rowedf on February 12, 2008, 07:40:29 PM
I'm having an issue.  The administrator is the only one that can click the membergroup and see a list of members in that group.  Is that normal ?

Yes, that is quite normal. If you'll take a closer look you can notice the list being located in the Admin Panel. Whoever can access that page has the authority to remove someone from the group, which I gather isn't such a smart thing to let regular users do. ;)

I'd be fine if my global moderators could access it.  Their permissions allows them to change people's groups, when they type in the URL to that page, it allows them to view it, but the links at the bottom aren't active.

Bulakbol

Hi rowedf. Try this. In Sources/BoardIndex.php, find

if (allowedTo('moderate_forum'))

and replace with

if (allowedTo('manage_membergroups'))

Give your global moderators permission to "Manage and assign membergroups".  Tick the checkbox in Admin -> Permissions -> Global Moderators -> Manage and assign membergroups.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

rowedf

Quote from: JohnyB on February 13, 2008, 02:43:41 PM
Hi rowedf. Try this. In Sources/BoardIndex.php, find

if (allowedTo('moderate_forum'))

This line of code is not on the Board index file for Helios.

rowedf

Thank you very much, I missed that "Sources" path the first time.

Bulakbol

I hope you are okay now rowdf.   ;)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Paracelsus

Works flawlessly...

I use it on a heavily modded forum (over 30 mods) with no problems... had to customize it according to my theme, but it was just a matter of simple HTML.

Bulakbol

Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

eleven0


No.Body


Bulakbol

You're welcome guys. And I thank you too.  :)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

senyorito

Thanks JohnnyB!

Works well on my custom theme.  Colored bracket works well too.

Advertisement: