News:

Wondering if this will always be free?  See why free is better.

Main Menu

MCLegendII.1

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

Previous topic - Next topic

[Core]


Bulakbol

@Chocozell
You have to edit your BoardIndex.template.php manually.
Code (find) Select
<td rowspan="2" class="windowbg" width="20" valign="middle" align="center">
Code (replace) Select
<td rowspan="3" class="windowbg" width="20" valign="middle" align="center">

Code (find) Select
', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '

</div>

</td>

</tr>

Code (replace) Select
', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '

</div>

</td>

</tr>';
if (!empty($context['membergroups']))
echo '
<tr>
<td class="windowbg2" width="100%">
<span class="smalltext">[' . implode(']&nbsp;&nbsp;[', $context['membergroups']) . ']</span>
</td>
</tr>';

echo '



@[<Sharp>]
Thanks for the compliment. :)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Narheru

Thank You Bulakbol!

Narheru

Re-Hello!
I have an other question.
I want to install this mod also on imPulse Theme? How can I do it?

Bulakbol

@Chocozell
You're welcome. imPulse theme for 1.1.9 by Bloc does not have its own BoardIndex.template.php so, just install this mod and you are all set.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

souljaa

Thanks for this great mod!
Love it :)..But just a quick question, I've tried manually modifying the BoardIndex.template.php several times, but nothing seems to be showing up :s...I'm using the kelo-lt114_v3 theme.
www.forumbeats.net is my site
Are there any other files I'm supposed to be modifying?
Thanks!
Souljaa

PM me for more information about staff. NOW HIRING.

Bulakbol

@souljaa
If you tried harder, you'll get it right. Maybe you actually didn't :)  Attach your BoardIndex.template.php and I'll tell you what to edit.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

CesarManara

Language portuguese_brazilian on SMF 2.0 RC1.2.

Help.portuguese_brazilian.php
Code (Find) Select
$helptxt['featuresettings'] = '<b>Editar Recursos e Opções</b><br /> Existem diversos recursos nesta seção que podem ser mudados de acordo com a sua preferência.';
Code (Add Before) Select
$helptxt['arrange_mclegend'] = 'Para organizar a exibição da legenda de cores dos seus grupos de membros, digite o ID do grupo, os IDs devem ser separados por vírgula. Não colocar vírgula após o último número. (Exemplo: 1,2,8,7,6,5,4).<br />Para ativar a exebição, desligue a opção &quot;Exibir chave do grupo na index do fórum&quot; em Administrar --> Configuração do Fórum --> Configurações do Tema Atual.';

ManageSettings.portuguese_brazilian.php
Code (Find) Select
?>
Code (Add Before) Select
$txt['arrange_mclegend'] = '<span style="color: blue;"> Arrumação da legenda de grupos.</span><br /><span class="smalltext">(tem que estar separada por vírgula. Ex: 1,2,3,4,5.</span><br /><span class="smalltext">Para ativar a exebição, desligue a opção &quot;Exibir chave do grupo na index do fórum&quot; em Administrar --> Configuração do Fórum --> Configurações do Tema Atual.</span>';

Bulakbol

@CesarManara
Thanks for the language translation. I will add the language to the next update.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Roger Rabbit

hi bulakbol...i tried this mod and it's awesome...good job...

btw, i want to ask  on how to replacte the bracket "[]" to "|" i.e. "[Admin] [Global Moderator]" to "Admin | Global Moderator"

Thanks in advance... :-p

Bulakbol

@Roger Rabbit
BoardIndex.template.php, find
<span class="smalltext">[' . implode(']&nbsp;&nbsp;[', $context['membergroups']) . ']</span>

and replace with
<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

devil_jin

#551
To begin with the MOD is really cool I really like it a lot ... thanks   :)

Also is there any way to get the legend in a new table below the Users Online...

Thanks a lot in advance..

:)





Bulakbol

Yes you can. Just move the block down. BoardIndex.template.php
Code (find) Select
if (!empty($context['membergroups']))
echo '
<tr>
<td class="windowbg2" width="100%">
<span class="smalltext">[' . implode(']&nbsp;&nbsp;[', $context['membergroups']) . ']</span>
</td>
</tr>';


then move just above this line. Assuming that you are using the default theme SMF vrsion 1.1.10.
// If they are logged in, but SP1 style information is off... show a personal message bar.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

devil_jin

Quote from: Bulakbol on July 31, 2009, 10:19:53 PM
Yes you can. Just move the block down. BoardIndex.template.php
Code (find) Select
if (!empty($context['membergroups']))
echo '
<tr>
<td class="windowbg2" width="100%">
<span class="smalltext">[' . implode(']&nbsp;&nbsp;[', $context['membergroups']) . ']</span>
</td>
</tr>';


then move just above this line. Assuming that you are using the default theme SMF vrsion 1.1.10.
// If they are logged in, but SP1 style information is off... show a personal message bar.

Oh Iam so sorry I forgot to mention I am using SMF 2.0 RC 1.2 and The Carbon Orange theme by Shortie..

Can you please suggest the codes for it; because I checked and they are different that what you suggested and also for the same I would like to change the bracket color to the member group color.

Thanks

Bulakbol

@devil_jin
Sorry, I can't find the Carbon Orange theme. Do you have a link to the theme?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

devil_jin

Here's the link but I guess you will have to login to D/l it..

Click Me

Bulakbol

@devil_jin
Sorry, I't not from the mod site so I am not downloading anything from anywhere. Attach your BoardIndex.template.php and I'll shoot in the dark.  :P
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

devil_jin

Np here's my Boasrdindex.template.php and the Carbon Orange theme..

Thanks for the quick reply and your kind help..

:)

Bulakbol

@devil_jin
Here's your BoardIndex.template.php. Moved the membrgroups under the most online stat.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

devil_jin


Advertisement: