Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Geor'G on June 24, 2011, 05:11:51 PM

Title: Guest Closed Topic
Post by: Geor'G on June 24, 2011, 05:11:51 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3058)

Guest Closed Topic

This modification prohibits unregistered users from browsing the topics you have selected.

Settings:

Languages Supported:

Discussion|support mod (http://www.simplemachines.ru/index.php?board=47.0)
Title: Re: Guest Closed Topic
Post by: -=[Vyorel]=- on June 24, 2011, 08:14:49 PM
Very nice mod  :o


Romanian Translation:
<file name="$languagedir/Modifications.romanian.php">
<operation>
<search position="end" />
<add><![CDATA[
//Closed Topic
$txt['closed_topic'] = 'Pentru a vizualiza acest subiect, va rugam sa va conectati!\\n\\nVa conectati?';
]]></add>
</operation>
</file>
<file name="$languagedir/Errors.romanian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Closed Topic
$txt['closed_topic'] = '<center>Pentru a vizualiza acest subiect, va rugam sa va <a href="' . $scripturl . '?action=login">conectati</a>!</center>';
]]></add>
</operation>
</file>
<file name="$languagedir/Admin.romanian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Closed Topic
$txt['lock_id_topic'] = 'Selecteaza - ID-ul subiectului.<br />
<span style="font-size: smaller; padding: 3px;">Separat prin virgula, fara spatiu. Exemplu: 1,4,7</span>';
$txt['lock_topic_show_on_popup'] = 'Informeaza in Popup<br />
<span style="font-size: smaller; padding: 5px;">Daca alegeti "nu", continutul va fi afisat in fereastra principala.</span>';
]]></add>
</operation>
</file>



UTF-8
<file name="$languagedir/Modifications.romanian-utf8.php">
<operation>
<search position="end" />
<add><![CDATA[
//Closed Topic
$txt['closed_topic'] = 'Pentru a vizualiza acest subiect, va rugam sa va conectati!\\n\\nVa conectati?';
]]></add>
</operation>
</file>
<file name="$languagedir/Errors.romanian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Closed Topic
$txt['closed_topic'] = '<center>Pentru a vizualiza acest subiect, va rugam sa va <a href="' . $scripturl . '?action=login">conectati</a>!</center>';
]]></add>
</operation>
</file>
<file name="$languagedir/Admin.romanian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
//Closed Topic
$txt['lock_id_topic'] = 'Selecteaza - ID-ul subiectului.<br />
<span style="font-size: smaller; padding: 3px;">Separat prin virgula, fara spatiu. Exemplu: 1,4,7</span>';
$txt['lock_topic_show_on_popup'] = 'Informeaza in Popup<br />
<span style="font-size: smaller; padding: 5px;">Daca alegeti "nu", continutul va fi afisat in fereastra principala.</span>';
]]></add>
</operation>
</file>
Title: Re: Guest Closed Topic
Post by: RvG on June 25, 2011, 06:42:18 AM
hey nice mod :)
can it be possible to make it the whole board instead of topic?
Title: Re: Guest Closed Topic
Post by: Geor'G on June 25, 2011, 07:19:15 AM
Quotehey nice mod
can it be possible to make it the whole board instead of topic?
http://custom.simplemachines.org/mods/index.php?mod=2309

Add:
+ Romanian

Title: Re: Guest Closed Topic
Post by: inter on June 27, 2011, 03:37:10 AM
WAP, RSS?..
Title: Re: Guest Closed Topic
Post by: Relyana on July 13, 2011, 05:02:40 AM
Do note that the Romanian translation posted above is inaccurate.

-=[Vyorel]=-, please use diacritics when offering utf-8 translations.
Title: Re: Guest Closed Topic
Post by: Paracelsus on July 13, 2011, 06:16:23 AM
Honestly, instead of having to manually define multiple topic IDs in the admin panel, I think it would be much easier and more practical if the option was available in the post view -> "additional options", like a checkbox similar to the others already there (topic notify, not using smilies, etc).
Title: Re: Guest Closed Topic
Post by: DukaPG on January 02, 2013, 03:48:04 AM
It is nice mod but it doesn't work for SMF 2.0.3