News:

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

Main Menu

[Depreciated]

Started by Depreciated, August 30, 2010, 06:41:34 PM

Previous topic - Next topic

Depreciated

Link to the mod


'Read the Rules' Link Above Post Button v2.0
~{By PaulpBaker}~

Link to Mod | My Mods | Support Topic

Compatibility
SMF 2.0

Description
Adds a 'Read the Rules' link above post/preview buttons for n00bs ;)

Users can enable/disable and change the link to the rules page for this mod via admin settings.

Installation
Any previous versions of this mod MUST be uninstalled BEFORE installing this version.

Install the package on the SMF Default 'Curve' Theme ONLY. Other themes will need manual edits.

Useful Links
SMF Package Parser
Manual Installation Of Mods
How Do I Modify Files?

Support
Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)

Changelog
v2.0 - 20th August 2010: Total rewrite of the mod to allow users to enable/disable the mod and change the link to anything they want.
v1.0 - 8th August 2010: Initial Version

iPhoneDestek

modificatıons.turkish.php Turkish translation added it but did not happen. Add modification.english.php but I worked in the Turkish language. What could be the reason


$$  Q u a l i t y    I n f o r m a t i o n    L i n e  for iPhone $$



<   M O D  |  T R A N S L A T O R  |  TO  |  TUR  |  A N D   |  G E R   >


Depreciated

Quote from: ®SirtLan on September 06, 2010, 06:49:05 PM
modificatıons.turkish.php Turkish translation added it but did not happen. Add modification.english.php but I worked in the Turkish language. What could be the reason

sorry could you explain a little better what the problem is?

iPhoneDestek

in Turkish translation into modification.turkisch.php not functional. need to replace the English with Turkish translation into modification.english.php


$$  Q u a l i t y    I n f o r m a t i o n    L i n e  for iPhone $$



<   M O D  |  T R A N S L A T O R  |  TO  |  TUR  |  A N D   |  G E R   >


Depreciated

mod updated please try and see if this fixes your problem

iPhoneDestek

error message when modification.turkisch.php. is no error in the translation, the modification of multi-language


$$  Q u a l i t y    I n f o r m a t i o n    L i n e  for iPhone $$



<   M O D  |  T R A N S L A T O R  |  TO  |  TUR  |  A N D   |  G E R   >


Depreciated

Quote from: ®SirtLan on September 06, 2010, 07:32:59 PM
error message when modification.turkisch.php. is no error in the translation, the modification of multi-language

sorry but i'm lost :-\

really not sure what you talking about sorry :-\

KensonPlays

paulpbaker: could you integrate support with "the rules" mod if thats installed it will take you there? if not thats ok...

Owner of Mesozoic Haven

Depreciated

Quote from: Kcmartz on September 07, 2010, 02:37:12 AM
paulpbaker: could you integrate support with "the rules" mod if thats installed it will take you there? if not thats ok...

that was the original intention of this mod and is exactly what v1 was but smf don't allow mod that depend on (or are add-ons) for other mods so i had to make it selectable/changeable

so yeah just change the option in your admin cp to 'rules'

iPhoneDestek

#9
NEW Translation by MOD Translator SirtLanVadisi in turkish and turkish-utf8 languages






<file name="$themedir/languages/Modifications.turkish.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Read the Rules MOD Translation by SirtLanVadisi.NeT
$txt['read_the_rules_text1'] = '<b>Lütfen';
$txt['read_the_rules_text2'] = 'Board Kurallarını</b>';
$txt['read_the_rules_text3'] = 'Yeni Konu açmadan önçe mutlaka okuyalım!</b>';
$txt['read_the_rules_enable'] = 'Board Kuralları Oku aktif';
$txt['read_the_rules_link'] = 'Kuralları Oku Mod linki';
$txt['read_the_rules_link_text'] = 'Default is index.php?action=help but this can be any link you like.';
// END Read the Rules MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.turkish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Read the Rules MOD Translation by SirtLanVadisi.NeT
$txt['read_the_rules_text1'] = '<b>Lütfen';
$txt['read_the_rules_text2'] = 'Board Kurallarını</b>';
$txt['read_the_rules_text3'] = 'Yeni Konu açmadan önçe mutlaka okuyalım!</b>';
$txt['read_the_rules_enable'] = 'Board Kuralları Oku aktif';
$txt['read_the_rules_link'] = 'Kuralları Oku Mod linki';
$txt['read_the_rules_link_text'] = 'Default is index.php?action=help but this can be any link you like.';
// END Read the Rules MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>




Translation by MOD Translator SirtLanVadisi in german and german-utf8 languages






<file name="$themedir/languages/Modifications.german.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Read the Rules MOD Translation by SirtLanVadisi.NeT
$txt['read_the_rules_text1'] = '<b>Befor Sie';
$txt['read_the_rules_text2'] = 'einen neuen Thema öffnen,</b>';
$txt['read_the_rules_text3'] = 'bitte unbedingt den Allgemeinen Boardregeln lesen!</b>';
$txt['read_the_rules_enable'] = 'Allgemeine Boardregeln aktiv';
$txt['read_the_rules_link'] = 'Allgemeine Boardregeln Link';
$txt['read_the_rules_link_text'] = 'Default is index.php?action=help but this can be any link you like.';
// END Read the Rules MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>
<file name="$themedir/languages/Modifications.german-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Read the Rules MOD Translation by SirtLanVadisi.NeT
$txt['read_the_rules_text1'] = '<b>Befor Sie';
$txt['read_the_rules_text2'] = 'einen neuen Thema öffnen,</b>';
$txt['read_the_rules_text3'] = 'bitte unbedingt den Allgemeinen Boardregeln lesen!</b>';
$txt['read_the_rules_enable'] = 'Allgemeine Boardregeln aktiv';
$txt['read_the_rules_link'] = 'Allgemeine Boardregeln Link';
$txt['read_the_rules_link_text'] = 'Default is index.php?action=help but this can be any link you like.';
// END Read the Rules MOD Translation by SirtLanVadisi.NeT
]]></add>
</operation>
</file>



$$  Q u a l i t y    I n f o r m a t i o n    L i n e  for iPhone $$



<   M O D  |  T R A N S L A T O R  |  TO  |  TUR  |  A N D   |  G E R   >


Depreciated


iPhoneDestek

hello paul,
I have turkish and in German and translated


$$  Q u a l i t y    I n f o r m a t i o n    L i n e  for iPhone $$



<   M O D  |  T R A N S L A T O R  |  TO  |  TUR  |  A N D   |  G E R   >


Apllicmz

when Update

portuguese

<file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">
    <operation>
        <search position="end" />
            <add><![CDATA[
// Read the Rules Link Above Post Button Mod
$txt['read_the_rules_text1'] = '<b>Por favor, leia as';
$txt['read_the_rules_text2'] = 'As regras</b>';
$txt['read_the_rules_text3'] = 'Antes de postar!</b>';
$txt['read_the_rules_enable'] = 'Activar e Ler as regras acima Link do bot&atilde;o no Poste';
$txt['read_the_rules_link'] = 'Link para ler as Regras Mod';
$txt['read_the_rules_link_text'] = 'Por Defeito e index.php?action=help mas isso pode ser qualquer link que voc&ecirc; gosta.';
// Read the Rules Link Above Post Button Mod
]]></add>
    </operation>
    </file>   
   
<file name="$themedir/languages/Modifications.portuguese_pt-utf8.php" error="skip">
    <operation>
        <search position="end" />
            <add><![CDATA[
// Read the Rules Link Above Post Button Mod
$txt['read_the_rules_text1'] = '<b>Por favor, leia as';
$txt['read_the_rules_text2'] = 'As regras</b>';
$txt['read_the_rules_text3'] = 'Antes de postar!</b>';
$txt['read_the_rules_enable'] = 'Activar e Ler as regras acima Link do bot&atilde;o no Poste';
$txt['read_the_rules_link'] = 'Link para ler as Regras Mod';
$txt['read_the_rules_link_text'] = 'Por Defeito e index.php?action=help mas isso pode ser qualquer link que voc&ecirc; gosta.';
// Read the Rules Link Above Post Button Mod
]]></add>
    </operation>
    </file>   
   



Depreciated


Subject13

I have an issue. I am using SMF 1.1.12 with the following mods:


1.    Remove Reply Prefix    1.0    [ Uninstall ] [ List Files ] [ Delete ]
2.    Ultimate Profile    0.9.1    [ Uninstall ] [ List Files ] [ Delete ]
3.    Favicon    1.3    [ List Files ] [ Delete ]
4.    YouTube BBCode    2.6    [ Uninstall ] [ List Files ] [ Delete ]
5.    Aeva Media    1.4    [ Uninstall ] [ List Files ] [ Delete ]
6.    Advanced Login Form    1.2    [ Uninstall ] [ List Files ] [ Delete ]
7.    'Read the Rules' Link Above Post Button    2.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    Spoiler BBCode    1.1.3    [ Uninstall ] [ List Files ] [ Delete ]
9.    Increase/Decrease Postbox Size    1.0    [ Uninstall ] [ List Files ] [ Delete ]
10.    Subject length on Board Index    1.1    [ List Files ] [ Delete ]

I had no problem installing it, but its not showing the text or anything at all?

Depreciated

looks like it's a problem with your theme... can you confirm this by selecting the text there as i believe it's just showing up but as black text?

Subject13

No nothing is showing up in that area, not even by selecting all to see if it was invisible. But there is nothing there, any help with that?

Depreciated

Quote from: Subject13 on November 10, 2010, 09:48:07 PM
No nothing is showing up in that area, not even by selecting all to see if it was invisible. But there is nothing there, any help with that?

just tested this on v1.1.12 and it's working fine:



my guess is that is something to do wit hyour theme and i can't offer support for any/all themes sorry :-\

vkot

Can you add the feature to select the boards where the link will be shown?
And then, the feature to define a different link (and maybe link text) for each selected board?

I wrote the greek translation, if you find it useful:
<file name="$themedir/languages/Modifications.greek.php">
<operation>
<search position="end" />
<add><![CDATA[
// Read the Rules Link Above Post Button Mod
$txt['read_the_rules_text1'] = '<b>Παρακαλούμε διαβάστε';
$txt['read_the_rules_text2'] = 'τους κανονισμούς</b>';
$txt['read_the_rules_text3'] = 'πριν την αποστολή!</b>';
$txt['read_the_rules_enable'] = 'Ενεργοποίηση συνδέσμου Read the Rules πάνω από το κουμπί Αποστολή';
$txt['read_the_rules_link'] = 'Σύνδεσμος για το Read the Rules Mod';
$txt['read_the_rules_link_text'] = 'Ο προκαθορισμένος είναι index.php?action=help αλλά μπορεί να είναι οποιοσδήποτε σύνδεσμος επιθυμείτε.';
// Read the Rules Link Above Post Button Mod
]]></add>
</operation>
</file>
For specialized SMF installation/customization, Web Development, Linux Server Administration, click here.
Για εξειδικευμένες υπηρεσίες στα παραπάνω, πατήστε εδώ.

Kindred

In the 1.1.x series, you will have to manually add ANY mod into all themes other than the default
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: