News:

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

Main Menu

Guest Closed Topic

Started by Geor'G, June 24, 2011, 05:11:51 PM

Previous topic - Next topic

Geor'G

Link to Mod

Guest Closed Topic

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

Settings:

  • Enter selected topic IDs into the admin panel and save.
  • Choose the way content is displayed - "Main window", "Pop-up"

Languages Supported:

  • English
  • Russian

Discussion|support mod

-=[Vyorel]=-

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>
My mods for SMF - [6].

RvG

hey nice mod :)
can it be possible to make it the whole board instead of topic?

Geor'G

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


inter

Sorry for my English

Relyana

Do note that the Romanian translation posted above is inaccurate.

-=[Vyorel]=-, please use diacritics when offering utf-8 translations.

Paracelsus

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).

DukaPG

It is nice mod but it doesn't work for SMF 2.0.3

Advertisement: