Attention Locked Topic

Started by vbgamer45, December 22, 2009, 03:54:28 PM

Previous topic - Next topic

vbgamer45

Link to the mod


[glow=black,2,300]Attention Locked Topic[/glow]
Developed by 4kstore for SMFSimple.com
2.0.X



[glow=black,2,300]El soporte oficial de los desarrolladores de nuestros mods lo encontraras en SMFSimple.com[/glow]



[glow=black,2,300]Description:[/glow]
With this mod you may inform the user that is seeing a closed topic, it just requires adding a couple of lines.

[glow=black,2,300]Descripcion:[/glow]
Con este mod usted podra notificarles a los usuario que esta viendo un tema cerrado, solo requiere de agregar un par de lineas


[glow=black,2,300]Features:[/glow]
  • You can edit the message to be displayed from the language file

[glow=black,2,300]Caracteristicas:[/glow]
  • Puede cambiar el mensaje que sera mostrado desde los archivos de lenguaje



[glow=black,2,300]Screenshots | Imagenes[/glow]




Language Support | Lenguajes Soportados

English & English British
Spanish Latin - Es
More Translations



[glow=black,2,300]Attention Locked Topic[/glow]

[glow=black,2,300]Copyright 2011 | SMFSimple.com[/glow]

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

marko_andres

Se ve muy bueno amigo ;)

Lastima que no es compatible con 1.1.11 :(

Saludos y Felicitaciones !

Version SMF: 2.0 RC3
Theme        : Inferno
Portal          : Simple Portal 2.3.2


Por un cambio de conciencia --> http://thezeitgeistmovement.com/

Cap. Price

Funciona perfecto en la versión 1.1.11 (claro que con instalación manual), muy buena idea y muchas gracias.

¡Gort! ¡Klaatu barada nikto!

oOo--STAR--oOo

#3
Sorry i found an error with this mod on install..

The error is in ./Themes/default/Display.template.php

and the error is the String you are looking for you have typed it incorrectly..

you have put


FIND
echo ' <div class="inner" id="msg_', $message['id'], '"', '> ', $message['body'], '</div>
ADD BEFORE
if ($context['is_locked']) { echo' <div class="errorbox"><p class="alert">!!</p>', $txt['attentionlockedtopic'] ,'</div>'; }


When infact it should be looking for it in this format


      echo '
                        <div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>



EDIT i have corrected all the errors in the Next post.. and attached a fully working install.

You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

oOo--STAR--oOo

#4
O.k. just gone to insall it.. then i got error install.php..

There is no install.php in the zip..

So there is a missing file with install information in the script please could you fix this..

EDIT:
Kk edited the line out that looks for install.php and works a treat..

installs sucessfully now no errors..

Attached a fully working version of this mod..
REQUEST.. how come it displays topic locked on every single post..

Any change you could advise me how to make it display on the 1st post only.. I would really like it just on the 1st post..

I dont want it on every post. other wise it looks a bit OTT.

Thanks

You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

SSimple Team

Update: Now for SMF 2.0!
Grettings ;)




Mi Web: SMFSimple.com -

Branko.

Serbian latin translation
<file name="$languagedir/Modifications.serbian_latin.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['attentionlockedtopic'] = 'Ova tema je zaključana';
]]></add>
</operation>
</file>


Serbian latin utf-8
<file name="$languagedir/Modifications.serbian_latin-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['attentionlockedtopic'] = 'Ova tema je zaključana';
]]></add>
</operation>
</file>
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Branko.

Serbian cyrillic translation
<file name="$languagedir/Modifications.serbian_cyrillic.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['attentionlockedtopic'] = 'Ова тема је закључана';
]]></add>
</operation>
</file>


Serbian cyrillic utf-8
<file name="$languagedir/Modifications.serbian_cyrillic-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['attentionlockedtopic'] = 'Ова тема је закључана';
]]></add>
</operation>
</file>

Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Branko.

Croatian translation
<file name="$languagedir/Modifications.croatian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['attentionlockedtopic'] = 'Ova tema je zaključana';
]]></add>
</operation>
</file>


Croatian utf-8
<file name="$languagedir/Modifications.croatian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['attentionlockedtopic'] = 'Ova tema je zaključana';
]]></add>
</operation>
</file>
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

SSimple Team





Mi Web: SMFSimple.com -

SSimple Team

Support for Smf 2.0.1
Any translation are welcome.
Cheers!




Mi Web: SMFSimple.com -

Branko.

Attached  languages.xml file with Serbian latin, Serbian cyrillic and Croatian translation... ;)
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

4Kstore

Quote from: Branko. on September 27, 2011, 09:18:05 AM
Attached  languages.xml file with Serbian latin, Serbian cyrillic and Croatian translation... ;)

Thanks Branko, the languages was added in this topic: http://www.smfsimple.com/index.php/topic,4684.0.html
Grettings!

¡¡NEW MOD: Sparkles User Names!!!

4Kstore


¡¡NEW MOD: Sparkles User Names!!!

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Advertisement: