News:

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

Main Menu

Simple ImageShack (latest release: v3.1.3)

Started by Rik©, June 03, 2005, 02:50:34 PM

Previous topic - Next topic

Sakae

That's enough¹ for me :)

Great job.

¹ - In a good way :D
http://www.tigrelog.com.br
l: simple p: machines

FragaCampos

Hello there, and thanks for the mod.

Can anyone tell me how can i had a new language to the files?
I mean, i would like to add the portuguese files, and i tried adding ModSettings.portuguese.php,  Help.portuguese.php and ManagePermissions.portuguese.php file to the xml ones, but when i tried to instal the mod, i got an error on each one of the portuguese files.
Any clue?

Sakae

Quote from: FragaCampos on January 01, 2008, 06:33:42 PM
Hello there, and thanks for the mod.

Can anyone tell me how can i had a new language to the files?
I mean, i would like to add the portuguese files, and i tried adding ModSettings.portuguese.php,  Help.portuguese.php and ManagePermissions.portuguese.php file to the xml ones, but when i tried to instal the mod, i got an error on each one of the portuguese files.
Any clue?

Try to use this instead:

<file name="$themedir/languages/ModSettings.portuguese.php">
<operation>
<search position="after"><![CDATA[
?>
]]></search>
<add><![CDATA[
// SimpleImageshack mod - SimpleTweaks.co.nr
$txt['SimpleImageShack_enable'] = 'Enable the Simple ImageShack mod';
$txt['SimpleImageShack_permis'] = 'Use SMF permission system';
$txt['SimpleImageShack_width'] = 'Simple ImageShack iframe Width';
$txt['SimpleImageShack_height'] = 'Simple ImageShack iframe Height';
$txt['SimpleImageShack_txtclr'] = 'Simple ImageShack text color (hexadecimal)';
$txt['SimpleImageShack_uplfld'] = 'Simple ImageShack upload field size';
// SimpleImageshack mod - SimpleTweaks.co.nr
]]></add>
</operation>
</file>

<file name="$themedir/languages/Help.portuguese.php">
<operation>
<search position="after"><![CDATA[
?>
]]></search>
<add><![CDATA[
// SimpleImageshack mod - SimpleTweaks.co.nr
$helptxt['SimpleImageShack_enable'] = 'This option allows you to turn on or off the Simple ImageShack mod';
$helptxt['SimpleImageShack_permis'] = 'This option allows you to turn on or off the use of the SMF permission system with the Simple ImageShack mod';
$helptxt['SimpleImageShack_width'] = 'This option allows you to set the width of the iframe of the Simple ImageShack mod';
$helptxt['SimpleImageShack_height'] = 'This option allows you to set the height of the iframe of the Simple ImageShack mod';
$helptxt['SimpleImageShack_txtclr'] = 'This option allows you to set the text color (hexadecimal) of the Simple ImageShack mod';
$helptxt['SimpleImageShack_uplfld'] = 'This option allows you to set the width of the Simple ImageShack upload field';
// SimpleImageshack mod - SimpleTweaks.co.nr
]]></add>
</operation>
</file>

<file name="$themedir/languages/ManagePermissions.portuguese.php">
<operation>
<search position="after"><![CDATA[
?>
]]></search>
<add><![CDATA[
// SimpleImageshack mod - SimpleTweaks.co.nr
$txt['permissiongroup_SimpleImageShack'] = 'Simple ImageShack mod';
$txt['permissionname_SimpleImageShack_view'] = 'View Simple ImageShack mod';
$txt['permissionhelp_SimpleImageShack_view'] = 'Enabling this permission adds an ImageShack.us upload field to the post template. This feature can be enabled and configured in \'Edit Features and Options---Layout and Options\'.';
// SimpleImageshack mod - SimpleTweaks.co.nr
]]></add>
</operation>
</file>


Pay attention in "search position", that should be AFTER, putting the ?> (end symbol of PHP) in the end.
http://www.tigrelog.com.br
l: simple p: machines

FragaCampos

Thanks for answering.
I didn't understand this:

Quote from: softcore on January 01, 2008, 09:02:35 PM
Pay attention in "search position", that should be AFTER, putting the ?> (end symbol of PHP) in the end.

Can i just use copy/paste from the code you provided?
And why can't i use the same code as in the english codes? I thought i only needed to change the name of the file php files and translate the strings...

Another thing: there are 4 SimpleImageShack xml files in the mod, 202, 202b, 203 and 203b, do i need them all? Or can i edit only the 203b and delete the others?
Thanks.

Sakae

Quote from: FragaCampos on January 02, 2008, 06:17:36 PM
Thanks for answering.
I didn't understand this:

Quote from: softcore on January 01, 2008, 09:02:35 PM
Pay attention in "search position", that should be AFTER, putting the ?> (end symbol of PHP) in the end.

Can i just use copy/paste from the code you provided?

Yes, you can. I'm just teaching you about "search position" :)

Quote from: FragaCampos on January 02, 2008, 06:17:36 PM
And why can't i use the same code as in the english codes? I thought i only needed to change the name of the file php files and translate the strings...

Because those PHP files attempt to replace some phrases that don't exist in your portuguese PHP files. I mean, they search for "Turn on Karma mode" (or something like that) instead of "Ligar o modo Karma" (or something like that). Gotcha?

Quote from: FragaCampos on January 02, 2008, 06:17:36 PM
Another thing: there are 4 SimpleImageShack xml files in the mod, 202, 202b, 203 and 203b, do i need them all? Or can i edit only the 203b and delete the others?
Thanks.

No you don't. If you need to save space in your server, you can delete all others.

Sucesso na empreitada (sim, sou brazuca... rs). Abraços tricolores
http://www.tigrelog.com.br
l: simple p: machines

FragaCampos

Obrigado pela ajuda ;)

I got the same errors in portuguese files  :-\
I added the code you provided to "SimpleImageShack_203b.xml"
and when i tried installing the mod i got this:

Quote2.     Executar modificação     ./Themes/default/languages/ModSettings.portuguese.php     Falha
3.    Executar modificação    ./Themes/default/languages/Help.portuguese.php    Falha
4.    Executar modificação    ./Themes/default/languages/ManagePermissions.portuguese.php    Falha


Rik©

#186
@ softcore: Thanks for helping  :D

Quote from: FragaCampos on January 02, 2008, 09:42:28 PM
Obrigado pela ajuda ;)

I got the same errors in portuguese files  :-\
I added the code you provided to "SimpleImageShack_203b.xml"
and when i tried installing the mod i got this:

Quote2.     Executar modificação     ./Themes/default/languages/ModSettings.portuguese.php     Falha
3.    Executar modificação    ./Themes/default/languages/Help.portuguese.php    Falha
4.    Executar modificação    ./Themes/default/languages/ManagePermissions.portuguese.php    Falha



Do you use UTF-8? (probably not... i checked your site www.docspt.com ;D )
I will get back and help out later today, i'm a little busy atm....

- Rik©


FragaCampos

Thanks :)
And no, i don't use UTF-8.

Rik©

Quote from: FragaCampos on January 04, 2008, 10:48:33 AM
Thanks :)
And no, i don't use UTF-8.

I'm almost finished, but i need the Portuguese translation....

Could you (or anyone else from Portugal) translate the English to Portuguese for me please?

$txt['SimpleImageShack_enable'] = 'Enable the Simple ImageShack mod';
$txt['SimpleImageShack_permis'] = 'Use SMF permission system';
$txt['SimpleImageShack_width'] = 'Simple ImageShack iframe Width';
$txt['SimpleImageShack_height'] = 'Simple ImageShack iframe Height';
$txt['SimpleImageShack_txtclr'] = 'Simple ImageShack text color (hexadecimal)';
$txt['SimpleImageShack_uplfld'] = 'Simple ImageShack upload field size';



$helptxt['SimpleImageShack_enable'] = 'This option allows you to turn on or off the Simple ImageShack mod';
$helptxt['SimpleImageShack_permis'] = 'This option allows you to turn on or off the use of the SMF permission system with the Simple ImageShack mod';
$helptxt['SimpleImageShack_width'] = 'This option allows you to set the width of the iframe of the Simple ImageShack mod';
$helptxt['SimpleImageShack_height'] = 'This option allows you to set the height of the iframe of the Simple ImageShack mod';
$helptxt['SimpleImageShack_txtclr'] = 'This option allows you to set the text color (hexadecimal) of the Simple ImageShack mod';
$helptxt['SimpleImageShack_uplfld'] = 'This option allows you to set the width of the Simple ImageShack upload field';



$txt['permissiongroup_SimpleImageShack'] = 'Simple ImageShack mod';
$txt['permissionname_SimpleImageShack_view'] = 'View Simple ImageShack mod';
$txt['permissionhelp_SimpleImageShack_view'] = 'Enabling this permission adds an ImageShack.us upload field to the post template. This feature can be enabled and configured in \'Edit Features and Options---Layout and Options\'.';


Thanks.....

- Rik©

FragaCampos

$txt['SimpleImageShack_enable'] = 'Activar o mod Simple ImageShack';
$txt['SimpleImageShack_permis'] = 'Usar o sistema de permiss&otilde;es SMF';
$txt['SimpleImageShack_width'] = 'Largura iframe do Simple ImageShack';
$txt['SimpleImageShack_height'] = 'Altura iframe do Simple ImageShack';
$txt['SimpleImageShack_txtclr'] = 'Cor do texto do Simple ImageShack(hexadecimal)';
$txt['SimpleImageShack_uplfld'] = 'Tamanho do campo de upload Simple ImageShack';



$helptxt['SimpleImageShack_enable'] = 'Esta op&ccedil;&atilde;o permite-lhe activar ou desactivar o mod Simple ImageShack mod';
$helptxt['SimpleImageShack_permis'] = 'Esta op&ccedil;&atilde;o permite-lhe activar ou desactivar o uso do sistema de permiss&otilde;es SMF com o mod Simple ImageShack';
$helptxt['SimpleImageShack_width'] = 'Esta op&ccedil;&atilde;o permite-lhe estabelecer a largura iframe do mod Simple ImageShack';
$helptxt['SimpleImageShack_height'] = 'Esta op&ccedil;&atilde;o permite-lhe estabelecer a altura iframe do mod Simple ImageShack';
$helptxt['SimpleImageShack_txtclr'] = 'Esta op&ccedil;&atilde;o permite-lhe escolher a cor do texto (hexadecimal) para o mod Simple ImageShack';
$helptxt['SimpleImageShack_uplfld'] = 'Esta op&ccedil;&atilde;o permite-lhe escolher a largura do campo de upload do mod Simple ImageShack upload field';



$txt['permissiongroup_SimpleImageShack'] = 'mod Simple ImageShack';
$txt['permissionname_SimpleImageShack_view'] = 'Ver o mod Simple ImageShack';
$txt['permissionhelp_SimpleImageShack_view'] = 'Activar esta permiss&atilde;o adiciona uma &aacute;rea de upload ImageShack.us ao post template. Esta op&ccedil;&atilde;o pode ser activada e configurada em  \'Funcionalidades e Op&ccedil;&otilde;es - Op&ccedil;&otilde;es de Layout\'.';


;D

Sakae

Brazilian (UTF8) (aproveitando tradução portuguesa do nosso amigo FragaCampos - using portuguese translation of FragaCampos)

$txt['SimpleImageShack_enable'] = 'Ativar o mod Simple ImageShack';
$txt['SimpleImageShack_permis'] = 'Usar o sistema de permiss&otilde;es SMF';
$txt['SimpleImageShack_width'] = 'Largura iframe do Simple ImageShack';
$txt['SimpleImageShack_height'] = 'Altura iframe do Simple ImageShack';
$txt['SimpleImageShack_txtclr'] = 'Cor do texto do Simple ImageShack(hexadecimal)';
$txt['SimpleImageShack_uplfld'] = 'Tamanho do campo de upload Simple ImageShack';



$helptxt['SimpleImageShack_enable'] = 'Esta op&ccedil;&atilde;o permite ativar ou desativar o mod Simple ImageShack';
$helptxt['SimpleImageShack_permis'] = 'Esta op&ccedil;&atilde;o permite ativar ou desativar o uso do sistema de permiss&otilde;es SMF do mod Simple ImageShack';
$helptxt['SimpleImageShack_width'] = 'Esta op&ccedil;&atilde;o permite estabelecer a largura iframe do mod Simple ImageShack';
$helptxt['SimpleImageShack_height'] = 'Esta op&ccedil;&atilde;o permite estabelecer a altura iframe do mod Simple ImageShack';
$helptxt['SimpleImageShack_txtclr'] = 'Esta op&ccedil;&atilde;o permite escolher a cor do texto (hexadecimal) para o mod Simple ImageShack';
$helptxt['SimpleImageShack_uplfld'] = 'Esta op&ccedil;&atilde;o permite escolher a largura do campo de upload do mod Simple ImageShack upload field';



$txt['permissiongroup_SimpleImageShack'] = 'mod Simple ImageShack';
$txt['permissionname_SimpleImageShack_view'] = 'Ver o mod Simple ImageShack';
$txt['permissionhelp_SimpleImageShack_view'] = 'Ativar esta permiss&atilde;o adiciona uma &aacute;rea de upload ImageShack.us ao post template. Esta op&ccedil;&atilde;o pode ser ativada e configurada em  \'Recursos e Op&ccedil;&otilde;es - Op&ccedil;&otilde;es de Layout\'.';


And...

Brazilian (aproveitando tradução portuguesa do nosso amigo FragaCampos - using portuguese translation of FragaCampos)

$txt['SimpleImageShack_enable'] = 'Ativar o mod Simple ImageShack';
$txt['SimpleImageShack_permis'] = 'Usar o sistema de permissões SMF';
$txt['SimpleImageShack_width'] = 'Largura iframe do Simple ImageShack';
$txt['SimpleImageShack_height'] = 'Altura iframe do Simple ImageShack';
$txt['SimpleImageShack_txtclr'] = 'Cor do texto do Simple ImageShack (hexadecimal)';
$txt['SimpleImageShack_uplfld'] = 'Tamanho do campo de upload Simple ImageShack';



$helptxt['SimpleImageShack_enable'] = 'Esta opção permite ativar ou desativar o mod Simple ImageShack';
$helptxt['SimpleImageShack_permis'] = 'Esta opção permite ativar ou desativar o uso do sistema de permissões SMF do mod Simple ImageShack';
$helptxt['SimpleImageShack_width'] = 'Esta opção permite estabelecer a largura iframe do mod Simple ImageShack';
$helptxt['SimpleImageShack_height'] = 'Esta opção permite estabelecer a altura iframe do mod Simple ImageShack';
$helptxt['SimpleImageShack_txtclr'] = 'Esta opção permite escolher a cor do texto (hexadecimal) para o mod Simple ImageShack';
$helptxt['SimpleImageShack_uplfld'] = 'Esta opção permite escolher a largura do campo de upload do mod Simple ImageShack upload field';



$txt['permissiongroup_SimpleImageShack'] = 'mod Simple ImageShack';
$txt['permissionname_SimpleImageShack_view'] = 'Ver o mod Simple ImageShack';
$txt['permissionhelp_SimpleImageShack_view'] = 'Ativar esta permissão adiciona uma área de upload ImageShack.us ao post template. Esta opção pode ser ativada e configurada em  \'Recursos e Opções - Opções de Layout\'.';

http://www.tigrelog.com.br
l: simple p: machines

slackerpunk

hi can you reupload the mod please thanks

FerociousSM

Bump. The download link for SIS203rev2.zip is dead. Please upload.

Thx

Rik©

Quote from: FerociousSM on January 19, 2008, 06:48:59 PM
Bump. The download link for SIS203rev2.zip is dead. Please upload.

Thx
It was probably down temp.....

- Rik©

ps new version with Braz. and Port. lang support will be available soon (sorry for the delay)

juanpons14

hello i want to ask you one thing you have other design of imageshack in your web can you share it for all the people??

Descarga deirecta de series, películas, música y mucho más! en
Planetdescargas.com

 

Rik©

Quote from: juanpons14 on January 21, 2008, 09:34:58 AM
hello i want to ask you one thing you have other design of imageshack in your web can you share it for all the people??
v3 of the mod will have more options (and a different layout).
But i'm really busy atm (new site, other mod, personal live...) so i can't say when it will be available.... sorry.

- Rik©

afahmic

Is there support for files attachment other than images (such as rapidshare)?

miregrobar

It work fine for me to this day.Today i get 500 internal on position where this mod was on page  whan posting.What to do now.

Rik©

Hi  8)

Just wanted you to know that i'm still alive.  ;D
Have been busy with other things...

Now that i've got some more spare time i will continue developing the new SIS  and launch a new (support) site soon.

- Rik©

koolaid

#199
How can you change the color of the text "Download ImageShack Toolbar!"?  The default is a bit dark on a black background. I'd like it to be visible so people know that it'll upload to imageshack. Or how can i put a simple title/explanation of what this is on top of the input area?

Advertisement: