• Welcome to Simple Machines Community Forum. Please login or sign up.

Simple ImageShack (latest release: v3.1.3)

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

Previous topic - Next topic

navjotjsingh

Is it available for 2.0 RC2?

Rik©

Quote from: navjotjsingh on December 28, 2009, 03:29:02 PM
Is it available for 2.0 RC2?
No, not yet, sorry.
But it will be  ;)
Converting the mod to SMF 2 shouldn't be too hard...

-Rik©

TomW

Quote from: Rik© on December 28, 2009, 03:36:17 AM
Quote from: TomW on December 28, 2009, 12:26:52 AM
I registered but couldn't find a download.  Where is it ?
It will be available before official release...
But yesterday, just after i posted here, i found out i still had to add the 'remove bar from thumb' option to the admin section..... sorry.
I will fix it today and then i'll pm you (and all other members) where you will be able to download the beta.

- Rik©

Very cool, thanks for the update !

Rik©

Quote from: TomW on December 28, 2009, 04:02:23 PM
Quote from: Rik© on December 28, 2009, 03:36:17 AM
Quote from: TomW on December 28, 2009, 12:26:52 AM
I registered but couldn't find a download.  Where is it ?
It will be available before official release...
But yesterday, just after i posted here, i found out i still had to add the 'remove bar from thumb' option to the admin section..... sorry.
I will fix it today and then i'll pm you (and all other members) where you will be able to download the beta.

- Rik©

Very cool, thanks for the update !

I will post updates on a regular basis @ SimpleTweaks.

-Rik©

Rik©

The new SIS 3.0.0 has been released and is now available at the SMF mod/custom site!

-Rik©

villasg

I have some errors when i try to upload a photo

QuoteWarning: copy() [function.copy]: open_basedir restriction in effect. File(/tmp/1.jpg) is not within the allowed path(s): (/xxxx/xxx) in /xxx/xxxxx/xxxx/forum/sis/SISxmlapi.php on line 40

Warning: copy(/tmp/1.jpg) [function.copy]: failed to open stream: Operation not permitted in /xxx/xxxxx/xxxx/forum/sis/SISxmlapi.php on line 40

Warning: curl_setopt() [function.curl-setopt]: open_basedir restriction in effect. File(/tmp/1.jpg) is not within the allowed path(s): (/home/thai.gr) in /xxx/xxxxx/xxxx/forum/sis/SISxmlapi.php on line 242

Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 717 is not allowed to access /tmp owned by uid 0 in /xxx/xxxxx/xxxx/forum/sis/SISxmlapi.php on line 42

Rik©

January 13, 2010, 07:13:26 AM #346 Last Edit: January 13, 2010, 09:32:53 PM by Rik©
Quote from: villasg on January 13, 2010, 06:34:22 AM
I have some errors when i try to upload a photo

QuoteWarning: copy() [function.copy]: open_basedir restriction in effect. File(/tmp/1.jpg) is not within the allowed path(s): (/xxxx/xxx) in /xxx/xxxxx/xxxx/forum/sis/SISxmlapi.php on line 40

Warning: copy(/tmp/1.jpg) [function.copy]: failed to open stream: Operation not permitted in /xxx/xxxxx/xxxx/forum/sis/SISxmlapi.php on line 40

Warning: curl_setopt() [function.curl-setopt]: open_basedir restriction in effect. File(/tmp/1.jpg) is not within the allowed path(s): (/home/thai.gr) in /xxx/xxxxx/xxxx/forum/sis/SISxmlapi.php on line 242

Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 717 is not allowed to access /tmp owned by uid 0 in /xxx/xxxxx/xxxx/forum/sis/SISxmlapi.php on line 42

SIS V300 requires SAFE MODE off/disabled and PHP extension "curl".

-Rik©

villasg

Quote from: Rik© on January 13, 2010, 07:13:26 AM

SIS V3 requires SAFE MODE off/disabled and PHP extension "curl".

-Rik©

And what need to make  i ? for fix that problem ?

Rik©

January 13, 2010, 08:19:21 AM #348 Last Edit: January 13, 2010, 09:34:21 PM by Rik©
Quote from: villasg on January 13, 2010, 08:12:31 AM
Quote from: Rik© on January 13, 2010, 07:13:26 AM

SIS V300 requires SAFE MODE off/disabled and PHP extension "curl".

-Rik©


And what need to make  i ? for fix that problem ?
Ask your host.

-Rik©

villasg

January 13, 2010, 08:37:22 AM #349 Last Edit: January 13, 2010, 09:14:43 AM by villasg
Ok thanks .
Take the full greek-utf8  translation


ModSettings.greek-utf8
// SimpleImageshack mod - SimpleTweaks.co.nr
$txt['SimpleImageShack_lang'] = 'Simple ImageShack Γλώσσα';
$txt['SimpleImageShack_lang_greek'] = 'Ελληνικά';
$txt['SimpleImageShack_lang_dutch'] = 'Γερμανικα';
$txt['SimpleImageShack_enable'] = 'Ενεργοποίησε το Simple ImageShack mod';
$txt['SimpleImageShack_permis'] = 'Χρησημοποιησε το SMF permission system με το Simple ImageShack';
$txt['SimpleImageShack_rembar'] = 'Remove bar from thumbnail';
$txt['SimpleImageShack_forumtag'] = 'Add Forumtag';
$txt['SimpleImageShack_tags'] = 'Add tag(s) to image<br /><small>Use commas between multiple tags</small>';
$txt['SimpleImageShack_cookie'] = 'Your ImageShack Registration Code<br /><small><a href="http://profile.imageshack.us/prefs/index.php" target="_blank">click here to retrieve your reg code</a></small>';
$txt['SimpleImageShack_width'] = 'Simple ImageShack iframe Width';
$txt['SimpleImageShack_height'] = 'Simple ImageShack iframe Height';
$txt['SimpleImageShack_color'] = 'Simple ImageShack Text Color (hex)';
// SimpleImageshack mod - SimpleTweaks.co.nr


Help.greek-utf8
$helptxt['SimpleImageShack_lang'] = 'Επέλεξε γλώσσα.';
$helptxt['SimpleImageShack_enable'] = 'Αυτή η επιλογη επιτρέπει την ενεργοποίηση και απενεργοποίηση του Simple ImageShack mod';
$helptxt['SimpleImageShack_permis'] = 'Αυτή η επιλογη επιτρέπει την ενεργοποίηση και απενεργοποίηση του SMF permission system με το Simple ImageShack mod';
$helptxt['SimpleImageShack_rembar'] = 'Αυτή η επιλογη επιτρέπει να αφαιρέσουμε τα bars απο τα thumbnails';
$helptxt['SimpleImageShack_forumtag'] = 'Αυτή η επιλογη προσθέτει ενα tag με τις forum+user πληροφορίες στην εικόνα';
$helptxt['SimpleImageShack_tags'] = 'Αυτή η επιλογη σας επιτρέπει να προσθέσετε ενα ή περισσότερα personaltags στην εικόνα<br />
Χρησιμοποίησε κόμα ανάμεσα στα tags</small>
';
$helptxt['SimpleImageShack_cookie'] = 'Αυτή η επιλογη σας επιτρέπει να μεταφορτώσετε την εικόνα στον λογαριασμό σας στο ImageShack .<br />
<small>Αφήστε το κανό εάν δεν έχετε ένα λογαριασμό ImagShack .</small><br />
<br /><br />
<b>How to get your regfistration code</b><br />
- Register at ImageShack<br /> <a href="http://profile.imageshack.us/registration/" target="_blank">http://profile.imageshack.us/registration/</a> and log in.<br /><br />
- When logged-in go to<br /> <a href="http://profile.imageshack.us/prefs/index.php" target="blank">http://profile.imageshack.us/prefs/index.php</a><br /><br />
- Copy your ImageShack Registration Code
';
$helptxt['SimpleImageShack_width'] = 'Αυτή η επιλογη σας επιτρέπει να ορίσετε το πλάτος του πλαισίου του ImageShack mod';
$helptxt['SimpleImageShack_height'] = 'Αυτή η επιλογη σας επιτρέπει να ορίσετε το μήκος του πλαισίου του Simple ImageShack mod';
$helptxt['SimpleImageShack_color'] = 'Αυτή η επιλογη σας επιτρέπει να ορίσετε το χρώμα των γραμμάτων του Simple ImageShack mod';



ManagePermissions.greek-utf8

$txt['permissiongroup_SimpleImageShack'] = 'Simple ImageShack mod';
$txt['permissionname_SimpleImageShack_view'] = 'Δές το Simple ImageShack mod';
$txt['permissionhelp_SimpleImageShack_view'] = 'Ενεργοποιώντας αυτη την επιλογή προσθέτεις το ImageShack.us upload field στο post template. Αυτη η επιλογή μπορει να ενεργοποιηθεί - ρυθμιστεί στο \Χαρακτηριστικά και επιλογές---Διάταξη και επιλογές \'.';



SIS.greek.php
<?php
/***************************************************************************
 *       SIS.greek-utf8.php
 * ---------------------
 * Version : 3.0.0
 * Support : http://simpletweaks.co.nr
 *        translate                 : villasg
 * ɲ010 Simple Tweaks
 ***************************************************************************/

// Title
$SISiframe_txt1 "Simple ImageShack";

// SISform
$SISiframe_txt2 "Λάθος τύπος αρχείου";
$SISiframe_txt3 "Ανεβασέ το!";
$SISiframe_txt4 "Η εικόνα ανεβαίνει - λίγη υπομονή παρακαλώ";
$SISiframe_txt5 "Επιτρεπόμενοι τύποι αρχείων: jpg jpeg png gif bmp tif tiff swf";
$SISiframe_txt6 "Παρακαλώ επιλέξτε μόνο ένα απο τους υποστηριζόμενους τύπους αρχείων.";
$SISiframe_txt7 "";
// resize options for future versions
$SISiframe_txt8 "resize image?";
$SISiframe_txt9 "100x75 (avatar)";
$SISiframe_txt10 "150x112 (thumbnail)";
$SISiframe_txt11 "320x240 (for websites and email)";
$SISiframe_txt12 "640x480 (for message boards)";
$SISiframe_txt13 "800x600 (15-inch monitor)";
$SISiframe_txt14 "1024x768 (17-inch monitor)";
$SISiframe_txt15 "1280x1024 (19-inch monitor)";
$SISiframe_txt16 "1600x1200 (21-inch monitor)";
$SISiframe_txt17 "optimize without resizing";
$SISiframe_txt18 "remove size/resolution bar from thumbnail?";
// help
$SISiframe_txt30 "Βοήθεια";
$SISiframe_txt31 "Πώς χρησιμοποίω το Simple ImageShack";
$SISiframe_txt32 "
-Click <i>Ψάξε</i> και διάλεξη μια εικόνα απο το σκληρό δίσκο.<br /><br />
-Click <i>
$SISiframe_txt3</i> και περίμενε έως οτου η εικόνα ανέβει.<br /><br />
-Μόλις η εικόνα ανέβει επιτυχώς τότε η εικόνα ή μικρογραφία θα εμφανιστεί.<br /><br />
-Αντέγραψε και επικόλησε "
Copy and Paste" ενα απο τα codes που εμφανίζονται διπλα στην εικόνα.<br /><br />
-Click <img src='image_add.png' alt='' /> Εάν θες να ανεβάσεις και άλλη εικόνα.
"
;

// SISxmlapi
$SISiframe_txt40 "Oops, κάτι πήγε λάθος";
$SISiframe_txt41 "XML return failed";
$SISiframe_txt42 "Πάτα εδώ για να ξαναδοκιμάσεις";

$SISiframe_txt43 "Ανάλυση";
$SISiframe_txt44 "Το αρχείο ανέβηκε επιτυχώς!";
$SISiframe_txt45 "Link εικόνας";
$SISiframe_txt46 "BBcode";
$SISiframe_txt47 "BBcode Image";
$SISiframe_txt48 "BBcode Thumb";
$SISiframe_txt49 "Clickable Thumb";
$SISiframe_txt50 "Ανέβσε και άλλη εικόνα";
$SISiframe_txt51 "";


// Copyright - Don't edit please
$SISiframe_txt99 "Powered by <a href='http://imageshack.us' target='_blank'>ImageShack.us</a><img style='vertical-align: bottom' src='SISfrog.png' alt='' />";

?>




line 33 of
replace with
array('select', 'SimpleImageShack_lang', array('english' => &$txt['SimpleImageShack_lang_english'], 'german' => &$txt['SimpleImageShack_lang_german'], 'greek' => &$txt['SimpleImageShack_lang_greek'])),

Rik©

@villasg:
Thanks, much appreciated.

Hope you get the mod working.
If there are a lot of users having the same safe-mode problem i will put this higher on my 'to-do list'.... i'm a littlebit busy atm

-Rik©

villasg

Quote from: Rik© on January 13, 2010, 08:47:16 AM

If there are a lot of users having the same safe-mode problem i will put this higher on my 'to-do list'.... i'm a littlebit busy atm

-Rik©

I thing this is better for all .
I contact with my host and say "is very dangerous to made "SAFE MODE off and PHP extension "curl" "
and dont make it !.
I wait for good news from you

Rik©

Quote from: villasg on January 13, 2010, 09:20:49 AM
Quote from: Rik© on January 13, 2010, 08:47:16 AM

If there are a lot of users having the same safe-mode problem i will put this higher on my 'to-do list'.... i'm a littlebit busy atm

-Rik©

I thing this is better for all .
I contact with my host and say "is very dangerous to made "SAFE MODE off and PHP extension "curl" "
and dont make it !.
I wait for good news from you

Working on a solution....

-Rik©

aw06

Not so sure i like it that you moved it inside additional options, most people gonna be lazy of clicking and some wont even know it's clickable
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Rik©

Quote from: aw06 on January 13, 2010, 08:16:57 PM
Not so sure i like it that you moved it inside additional options, most people gonna be lazy of clicking and some wont even know it's clickable
I could make a 'switch' inside the settings where you can choose the position of the mod (ie inside additional options or the 'old' location. I think i will code this in a future version.

-Rik©
ps Did you install the new v3.0.0? And if so, are there any errors like villasg had while using the mod (not allowed to write in the /tmp folder)?

Rik©

Quote from: Rik© on January 13, 2010, 12:00:38 PM
Quote from: villasg on January 13, 2010, 09:20:49 AM
Quote from: Rik© on January 13, 2010, 08:47:16 AM

If there are a lot of users having the same safe-mode problem i will put this higher on my 'to-do list'.... i'm a littlebit busy atm

-Rik©

I thing this is better for all .
I contact with my host and say "is very dangerous to made "SAFE MODE off and PHP extension "curl" "
and dont make it !.
I wait for good news from you

Working on a solution....

-Rik©

I can't reproduce your error myself atm, but i think i solved it.

SIS v3 still requires the php extension curl, but most hosting providers have curl installed so this shouldn't be a problem.

I will release 3.01 after some testing, and i t will probably also support more languages.

-Rik©

duriankun

i install it but i get error in the iframe:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@myasiaforum.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Rik©

January 14, 2010, 08:55:11 AM #357 Last Edit: January 14, 2010, 09:07:34 AM by Rik©
Quote from: duriankun on January 14, 2010, 08:45:27 AM
i install it but i get error in the iframe:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@myasiaforum.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Probably the same server-error some people encounter.
I'm working on a new version which will hopefully fix it as i cant reproduce the error myself.
Do you have acces to the error log?
You could use ftp, then go the the forum dir/sis/ and check if there's an errorlog file in it. If so please post it here or send me a pm.

-Rik©

-TMG-

hi,

i have a little problem...

installation with paket manager went smooth but trying to upload an image results in this error

Quote
Warning: copy(/tmp/boflai100.jpg) [function.copy]: failed to open stream: Permission denied in /xxx/xxx/xxx/xxx/sis/SISxmlapi.php on line 40

Warning: unlink(/tmp/boflai100.jpg) [function.unlink]: Permission denied in /xxx/xxx/xxx/xxx/sis/SISxmlapi.php on line 42


curl und safe mode isnt an issue ... i think it has something to do with chmod some directories but which ?!?!?!
smf 1.1.11

Rik©

Quote from: -TMG- on January 17, 2010, 11:22:05 AM
hi,

i have a little problem...

installation with paket manager went smooth but trying to upload an image results in this error

Quote
Warning: copy(/tmp/boflai100.jpg) [function.copy]: failed to open stream: Permission denied in /xxx/xxx/xxx/xxx/sis/SISxmlapi.php on line 40

Warning: unlink(/tmp/boflai100.jpg) [function.unlink]: Permission denied in /xxx/xxx/xxx/xxx/sis/SISxmlapi.php on line 42


curl und safe mode isnt an issue ... i think it has something to do with chmod some directories but which ?!?!?!
You can try to create a /tmp folder in the sis folder and chmod it to 777.
Don't know if this fixes the error as i can't reproduce it myself.
If it does please let me know, then i can add the fix to v3.0.1 which will be released today...

-Rik©

Advertisement: