News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

MCLegendII.1

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

Previous topic - Next topic

Calcricho

I used this mod in 2.0 rc1 now update version 2.0 RC2 wing and does not work any suggestions.

or no more update?

Thanks

Kimmen

I have also gone over to SMF2 RC2, would really love to have this working on it.

Eclipse16V

Please update it for SMF 2.0 RC2

Thx
I worked with:
SMF 2 in German

Shop:
SID Giessen

lfma

Quote from: Eclipse16V on November 24, 2009, 07:37:47 AM
Please update it for SMF 2.0 RC2

Thx

I would like that too...


Sabre™

#644
removed
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


lfma

Quote from: Sabre™ on November 24, 2009, 02:49:42 PM
Try the attached for RC2

Works great on 2.0 RC2, thanks a lot Sabre™


Rowdy

The package works great but causes the forum to fail xhtml validation. Any chance for a fix?

QuoteError  Line 355, Column 993: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

...2px; border-top: 1px solid #c6c6c6;">

Thanks!

Sabre™

Try the attached.
Cheers.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Kimmen

Thanks m8 !

I tried to find a way to make it show the membergroups in bold written, but i see that the code has changed. Could you show me what to edit in order to get membergroups shown in bold written?

Also if you bother, i would want user online list to be with bold written as well.

I use SMF 2 RC2 with Square Theme !


Greets
Kimmen

Sabre™

Add font-weight:bold; to the div to display the membergroups in bold.
eg.
<div style="padding-top: 2px; margin-top: 2px; border-top: 1px solid #c6c6c6; font-size:10px; font-weight:bold;">

For the online list, Im not familiar with your theme, but if you have this
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
{
echo '
', sprintf($txt['users_active'], $modSettings['lastActive']), ':<br />', implode(', ', $context['list_users_online']);
echo '
</p>';


change it to this
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
{
echo '
', sprintf($txt['users_active'], $modSettings['lastActive']), ':<br /><b>', implode(', ', $context['list_users_online']);
echo '
</b></p>';


If your boardindex.template has a different line of code for this(unlikely), then attach the template and I'll edit it for you :)

@RowdyMusician
Did it validate mate?

Cheers
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Kimmen

Many thanks for fast reply !

This works perfect. I did not have any boardindex.template.php file in my theme, so i edited the default theme's template instead, and it works as a charm.

Thanks again Sabre™

Greets
Kimmen

Rowdy

There was an error on install this time. I am having a few beers so I am not going to try and post the code and all that tonight. Will do so tomorrow.

Happy Thanksgiving!

Sabre™

My pleasure Kimmen :)

Happy thanksgiving Rowdy :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Kimmen

@ Sabre™

I just found an option in Admin --> Current Theme --> Show group key on board index:

When i tick it, users will see who is in that specific group, but all the post count groups disappear from the legend at the bottom. I am left with Admin and Global Moderator. Is it possible to fix it so that i can use this option without loosing sight of the post count groups in the legend?

Sabre™

Members should be able to see who is in that specific group if you have 'View the memberlist and groups' ticked in the permissions.
So untick  'Admin --> Current Theme --> Show group key on board index:'  and check that permission in the  'Regular Members' section of your permissions area.
See if that works :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Rowdy

Okay, the newest package has an error in boardindex.template.php on install. It is not finding this code as is to replace:

  // Showing membergroups? if (!empty($settings['show_group_key']) && !empty($context['membergroups'])) echo ' <br />[' . implode(']&nbsp;&nbsp;[', $context['membergroups']) . ']'; } echo ' </p> 

Because the echo ' </p>: is not there at the end.


Thanks and Happy Thanksgiving!


Sabre™

Have you manually edited that area?
If you cannot find the closing </p>, that means it has been removed from your template.
I had a feeling your error was going to be a modified template, or it wouldn't have installed ok for Kimmen, or myself.
If in doubt, download a fresh copy of RC2, and look at the template.

p.s.
your code isn't going to function right if it's in one line as posted.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Kimmen

Quote from: Sabre™ on November 25, 2009, 11:14:22 PM
Members should be able to see who is in that specific group if you have 'View the memberlist and groups' ticked in the permissions.
So untick  'Admin --> Current Theme --> Show group key on board index:'  and check that permission in the  'Regular Members' section of your permissions area.
See if that works :)

Yes, it does m8. Thanks.. :)

Rowdy

It was edited by the AJAX chat integration mod. I managed to make the manual edits. It is working properly and validating with no errors in log or trouble so far. I am having copy and paste issues, hence the one line code.

Thanks very much for the help

Sabre™

Just glad I could help mate.
Cheers :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Advertisement: