News:

Wondering if this will always be free?  See why free is better.

Main Menu

Hide Linked Images

Started by Kays, September 22, 2009, 10:48:36 PM

Previous topic - Next topic

Kays

Link to Mod

Adds an option in the member's profile to change all posted images either into links or to hide them. Hidden images still can be viewed.

Supported Languages
English
English-utf8
English_British
English British-utf8
Portuguese
Portuguese-utf8

Added language strings. Translations are welcome

$txt['display_img_method'] = 'Method to display images in posts and PMs';
$txt['display_img_prompt'] = 'Click to view posted image';
$txt['display_img_show'] = 'Show images';
$txt['display_img_hide'] = 'Hide images';
$txt['display_img_links'] = 'Show as links';


1.0.0 Initial release
1.0.1 Added Portuguese (Thanks to Joomlamz)

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Apllicmz

thank nice work
good mod
Update portuguese

<file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">   
        <operation>
            <search position="after"><![CDATA[?>]]></search>
            <add><![CDATA[
$txt['display_img_method'] = 'M&eacute;todo para mostrar as imagens em mensagens e PMs';
$txt['display_img_prompt'] = 'Cl&iacute;que aqui para ver a imagem no poste';
$txt['display_img_show'] = 'Mostrar imagems';
$txt['display_img_hide'] = 'Esconder imagems';
$txt['display_img_links'] = 'Mostrar os links';
]]></add>
        </operation>
    </file>
   
    <file name="$themedir/languages/Modifications.portuguese_pt-utf8.php" error="skip">   
        <operation>
            <search position="after"><![CDATA[?>]]></search>
            <add><![CDATA[
$txt['display_img_method'] = 'M&eacute;todo para mostrar as imagens em mensagens e PMs';
$txt['display_img_prompt'] = 'Cl&iacute;que aqui para ver a imagem no poste';
$txt['display_img_show'] = 'Mostrar imagems';
$txt['display_img_hide'] = 'Esconder imagems';
$txt['display_img_links'] = 'Mostrar os links';
]]></add>
        </operation>
    </file>



Kays

Thanks Joomlamz  :)

I've updated the package.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Apllicmz

i try to active
i dont see...can tell me..



Kays

Can you see the options in your profile or are the choices blank?

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Arantor

Don't forget there is a Portuguese_brazilian language setup too.

Btw, nice mod!

Sudhakar Arjunan

Hi Kays,

good work.

will it work with smf - media gallery
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Kays

Thanks, I don't think it will work with SMF Media Gallery since it parses the message body.

Any word on your problem Joomlamz ?

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

chanman

Great mod. Been looking for this for a long time.
Do you think there is a way to add a hide smilies as well?

Kays

Thanks. :)

Hiding smilies might not be that difficult. But I think it should be a seperate mod.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Antes

Hmm looking so nice :)

Turkish Translate :)
$txt['display_img_method'] = 'İletilerde ve ÖMlarda resimlerin gösterilme metodu';
$txt['display_img_prompt'] = 'Gönderilmiş resmi görmek için tıklayın';
$txt['display_img_show'] = 'Resimleri göster';
$txt['display_img_hide'] = 'Resimleri sakla';
$txt['display_img_links'] = 'Link olarak göster';

Kays

Thanks Antes. :)

Is that turkish or turkish-utf8 ?

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

JamesWC

How would I edit this to work with the Highslide Image Viewer mod? That's a different kind of image tag which displays clickable thumbnails, and they're not hidden by this Hide Linked Images mod.

I'm using SMF 1.1.10. Thanks!

Advertisement: