• Welcome to Simple Machines Community Forum. Please login or sign up.
January 21, 2022, 07:03:57 AM

News:

SMF 2.0.19 has been released! Please update. Read more.


MCLegendII.1

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

Previous topic - Next topic

Bulakbol

@6aro
I thank you so much but unfortunately, my text editor cannot recognize the foreign characters. It displays lots of question marks. (?????). If I can get the right configuration for my text editor (notepad++), I will try to add the Bulgarian language again. I'm sorry. I thank you for understanding.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

6aro

April 08, 2009, 07:19:00 AM #501 Last Edit: April 08, 2009, 07:57:39 AM by 6aro
Sory, my mistake! I converted all text to UTF-8 with Notepad++. I hoop this time everything is ok!



$txt['arrange_mclegend'] = '<span style="color: blue;">Подредба на легендата на потребителските групи.</span><br /><span class="smalltext">(Трябва да са разделени със запетая. т.е. 1,2,8,7,6,5,4)</span>';





$helptxt['featuresettings'] = '<b>Редактиране на функциите и опциите</b><br />

$helptxt [ 'arrange_mclegend'] = 'Подредете на дисплея вашата цветова легенда на потребителските групи. Въведете идентификационните номера на групите като ги отделите със запетая. Не слагайте запетая след последния номер. (т.е. 1,2,8,7,6,5,4). <br> За да се включи показването, трябва да се прекрати "Show group key on board index" от Admin -> Current Theme, under Theme Settings tab.';



gameballa

Online Videogame Competitions = Play 4 Free or 4 Cash @ GamerComp.com


"The only way you will ever have peace is if you no longer believe the lie is true"

Bulakbol

@6aro
Thanks again 6aro. That one works. One more question tho. Is is like this? The red in color.
Quote<file name="$languagedir/ModSettings.bulgaria.php" error="skip">

@gameballa
Sorry. Version 2.0 RC1 does that but not the 1.1.8.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

6aro

Quote from: Bulakbol on April 09, 2009, 05:26:24 PM
@6aro
Thanks again 6aro. That one works. One more question tho. Is is like this? The red in color.
Quote<file name="$languagedir/ModSettings.bulgaria.php" error="skip">
...

No! To Bulgarian language file is ModSettings.bulgarian.php

Bulakbol

@6aro
That's what I thought.  :D Thanks again. I will update the package tomorrow.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

sammywantsya

April 15, 2009, 04:09:44 PM #506 Last Edit: April 15, 2009, 05:59:02 PM by sammywantsya
N/m guys little reading won't hurt at all you guys helped me so much thanks :)

Gantry

Okay I did a bit of testing, and as I understand it, this should not be so:

I have a global moderator membergroup colour #3469b9 (lets call it blue), not based off posts, group #2.
I have a founding member membergroup colour #009999 (lets call it cyan), not based off posts, group #10.

From reading a previous post here, it was said that if someone is in 2 membergroups such as the above, it should default them to the primary membergroup colour, which in this case is the global moderator group in blue.  However, the people who are members in both groups are defaulting to founding member, cyan.

I would like them to default to the higher-ranked position.  I tried switching the display order in the "Membergroup legend display arrangement" box but that didn't have any effect either.  Am I doing something wrong, did I misread the previous post that stated this, or is this a bug? What I would like is for the people's names to show up in blue, to reflect their global moderator status. Thanks!

futeball

Just download MCLegendII RC 1. But, during installation using package manager, after click "Apply Mod" have error like this:

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Im using version 1.1.6. What's the problem? Tq in advance.

Bulakbol

@Gantry
This mod default to primary group. A member can not have two primary groups. The other one should be additional group.


@futeball
The MCLegendII.2_RC1.zip  is only for SMF version 2.0 RC1. For 1.1.8 version, download the MCLegendII.2.zip package.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Gantry

Quote from: Bulakbol on April 17, 2009, 11:12:35 AM
@Gantry
This mod default to primary group. A member can not have two primary groups. The other one should be additional group.

Okay, this didn't really help me, so I did some more research and discovered that if I (as administrator) just go into the member's profile, choose Account Related Settings, in there I can choose his Primary Membergroup.  I set it back to Global Moderator, and now he appears in the correct colour.

:)

Bulakbol

I gave you the fact so I helped you.  :D
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

lethal1320.com

April 19, 2009, 11:55:43 PM #512 Last Edit: April 20, 2009, 10:55:12 AM by lethal1320.com
Can you edit my boardindex.template file?

I had this edited and working for a long time, and I had to repair the site due to hosting error. Now for some reason I can not remember how i did it.  ::)

Thanks

*edit*

You can disregaurd this, I got some sleep and woke up refreshed and got the job done.  Great mod!

Thanks again.

Bulakbol

@lethal1320.com
I know you can do it.  Yes, a good sleep and a shower will make you fresh.  :D
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Blinker

Hi Bulakbol

I installed your mod on 1.1.8 and everything works well.

A couple of questions though:

1. I wanted to change the brackets to the membergroup colour. I followed this post http://www.simplemachines.org/community/index.php?topic=219437.msg1713183#msg1713183 carefully and now the brackets are gone altogether! They're not white or coloured, they're just gone!

2. I use a mod that shows Users Online in the Last 24 Hours and I wanted to have your mod appear under that list ie: at the very bottom, rather than under the users currently online list. Is that possible? I can upload my boardindex.template.php from my custom theme if you need to have a look.

Thanks in advance.

Bulakbol

@Blinker
I will advice the same thing but let's try again. In Sources/BoardIndex.php
Code (find) Select
if (allowedTo('moderate_forum'))
$link = '<a href="'. $scripturl . '?action=membergroups;sa=members;group='. $row['ID_GROUP']. '" style="color: '. $row['onlineColor']. ';">'. $row['groupName']. '</a>'; 
else
$link = !empty($row['onlineColor']) ? '<span style="color: '. $row['onlineColor']. ';">'. $row['groupName']. '</span>' : $row['groupName'];

Code (replace) Select
if (allowedTo('moderate_forum'))
$link = '<a href="'. $scripturl . '?action=membergroups;sa=members;group='. $row['ID_GROUP']. '" style="color: '. $row['onlineColor']. ';">['. $row['groupName']. ']</a>'; 
else
$link = !empty($row['onlineColor']) ? '<span style="color: '. $row['onlineColor']. ';">['. $row['groupName']. ']</span>' : '[' . $row['groupName'] . ']';


and in default/BoardIndex.template.php,
Code (find) Select
<span class="smalltext">[' . implode(']&nbsp;&nbsp;[', $context['membergroups']) . ']</span>
Code (replace) Select
<span class="smalltext">' . implode('&nbsp;&nbsp;', $context['membergroups']) . '</span>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Blinker

Worked like a charm this time, thanks Bulakbol. :)

Any ideas on my second question. I use the other mod - http://custom.simplemachines.org/mods/index.php?mod=479, not UOT.

allymcbeal

Hi, I have installed this mod.
In my theme I don't have this file "Themes/..../languages/ModSettings.english.php" so I don't  made the modify, but it works, is important to have that file?

Blinker

Not to worry. Most custom themes use or fall back to the files from the default theme.

allymcbeal

Ok, thank you, It works great! thank for the mod.

Advertisement: