Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Diego Andrés on August 16, 2010, 03:28:49 AM

Title: Subject length on Board Index
Post by: Diego Andrés on August 16, 2010, 03:28:49 AM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=2688)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsmftricks.com%2FThemes%2FSMFHispano%2Fimages%2Ftheme%2Flogo.png&hash=a5df422bfe864b3d67c87dbb959559e0a2f1ebb1) (http://smftricks.com)



Subject length on Board Index
(https://www.simplemachines.org/site_images/lang/english.gif)
Original Author and credits: Joker™ (http://www.simplemachines.org/community/index.php?action=profile;u=226111)




Introduction
This modification will allow you to set the length of subject that appears on Board Index.
By default it's 24 character's you can change it to any value as you want by using this mod.





License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 1.1.
If a copy of the MPL was not distributed with this file,
You can obtain one at http://mozilla.org/MPL/

The contents of this package are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this package except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
*
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
Title: Re: Subject length on Board Index
Post by: Sabre™ on August 16, 2010, 03:43:12 AM
Good share.
Thanks mate, and keep up the excellentiosiotio modding! ;)
Title: Re: Subject length on Board Index
Post by: Raffoz on September 19, 2010, 07:16:00 AM
Thnaks!!!!!!!!!

It's wonderful now the look of my forum!!! :)

here it's for you the italian translation:
<file name="$languagedir/Modifications.italian.php">
<operation>
<search position="end" />
<add><![CDATA[
// Subject length on Board Index
$txt['slobi'] = 'Lunghezza in caratteri del titolo degli argomenti da visualizzare nella Homepage del Forum';
$txt['slobit'] = 'Di default la lunghezza massima dei titoli degli argomenti &egrave; di 24 caratteri.';
]]></add>
</operation>
</file>
Title: Re: Subject length on Board Index
Post by: Bugo on September 19, 2010, 09:00:32 AM
Thanks. I'll add it later.
Title: Re: Subject length on Board Index
Post by: Apllicmz on November 02, 2010, 07:41:23 PM
when Update dont forget Portuguese

<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Subject length on Board Index
$txt['slobi'] = 'O comprimento do assunto a ser mostrado no quadro do Index';
$txt['slobit'] = 'Por padr&atilde;o o tamanho m&aacute;ximo do assunto a ser mostrado &eacute; de 24 caracteres.';
]]></add>
        </operation>
    </file>



<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Subject length on Board Index
$txt['slobi'] = 'O comprimento do assunto a ser mostrado no quadro do Index';
$txt['slobit'] = 'Por padr&atilde;o o tamanho m&aacute;ximo do assunto a ser mostrado &eacute; de 24 caracteres.';
]]></add>
        </operation>
    </file>