News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Advanced image uploader

Started by gargouri2001, February 22, 2009, 06:03:46 AM

Previous topic - Next topic

TechPrince


RenzoC

Hi, I cannot run the mod.
I'm running smf v1.1.8 and I've downloaded the mod v1.0.9.
I'm using package manager, and when trying to apply the mod, I enter username and pdw for ftp operation.
I get back the message "550 Failed to change directory. "
I've checked that both username and pwd are correct, and I have not any problem with other ftp clients.
Do you have any suggestion?
Thnks

gibby

The install terrifies me I really don't know where to start  :(

Could someone please talk me through it using baby steps

Thanks

xxwckdxx

Possible to make it so only the "Single" and "Multiple" buttons show?

Cobra97

Great mod, it looks like it will be very usefull!

One question though, my forum is all dark colors...blacks and dark grays.  Your text in this mod is black and you can hardly see it in my forum, where can I change it.  I haven't been able to find it at all?

Thanks

GPz750

#45
Quote from: Cobra97 on March 31, 2009, 09:40:53 AMOne question though, my forum is all dark colors...blacks and dark grays.  Your text in this mod is black and you can hardly see it in my forum, where can I change it.  I haven't been able to find it at all?
That's because the form isn't part of the package, it's stored here: hxxp:www.xtupload.com/new/iframe2.php [nonactive]

I've disabled this mod for now because I use a dark theme as well, and the black text on the upload form makes it damn hard to read.

Gargouri, what are the chances of having an option in the control panel to choose between two forms, one for dark themes and one for light themes?

Congratulations on a brilliant mod though, it's a great addition to any forum!

bvanes

I am using SMF 1.1.8 and uploaded Advanced image uploader 1.0.9.

As soon as i install de mod, i can no longer add topics!
I then get a template error "A problem occured with the template- or languagefile \Themes\default/Post.template.php".

I think it has to do with the fact that it doesn't change these files.

MIAUS

Hi Gargouri,

great Mod! Is there any possibility to get the script translated? I could provide a German translation if needed.

Also as mentioned: The possibility to change the script colours would be great.

Is there a possibility to change the watermark?

Best regards :)

codezito

Hi gargouri,

Tnks for the mod, but i have one problem...

Look this:

The file(s) was uploaded successfully and the BB Code was inserted!

But the BB Code not inserted...

Any Idea ?

IceFork

Great mod! :D

But I think it would be better placed under the Post and Preview buttons.

Is it possible?


Thanks!


PD: Sorry for my bad english. :(

MIAUS

Hey IceFork,

Quote from: IceFork on May 06, 2009, 08:17:07 AM
Great mod! :D

But I think it would be better placed under the Post and Preview buttons.

Is it possible?
I had the same problem, it's quite easy to change this yourself: The edit is in
/Themes/default/Post.template.php
Or if you use a theme with own Post.template.php you have to go there.
You have to look for this part:


';if (!empty($modSettings['advancedimageuploader_enable']) )

{    ?>

<script language="javascript" type="text/javascript">
function interactionCompleted(result)
   //Do something with result

{

document.postmodify.message.value  = document.postmodify.message.value + result ;


}

</script>

<?


       $path=$_SERVER['SCRIPT_NAME']   ;
       $path=str_replace("index.php","",$path);
echo "<iframe id=\"frame1\" name=\"frame1\" src=\"http://www.xtupload.com/new/iframe2.php?server=".$_SERVER['SERVER_NAME'].$path."\" scrolling=\"no\" frameborder=\"0\" width=\"630\" height=\"655\" allowtransparency=\"true\"> You must have an iframe-compatable browser to view the xtupload.com upload form.</iframe>";
}            ; echo '



and move it in the Post.template.php where you want it to be.

Be sure to backup your file before changing anything here!

I have put it between:
// Spell check button if the option is enabled.
if ($context['show_spellchecking'])
echo '
<input type="button" value="', $txt['spell_check'], '" tabindex="', $context['tabindex']++, '" onclick="spellCheck(\'postmodify\', \'message\');" />';

echo '
</td>
</tr>
<tr>
<td align="center" colspan="2">';

and
</td>
</tr>
</table>
</td>
</tr>
</table>';

the <td align="center" colspan="2">'; used to be <td colspan="2">'; in the original file though.

IceFork

Thank you very much MIAUS!!!

I'm going to try it. ;)


leami

Quote from: MIAUS on May 04, 2009, 07:31:16 PM
Hi Gargouri,

great Mod! Is there any possibility to get the script translated? I could provide a German translation if needed.

Also as mentioned: The possibility to change the script colours would be great.

Is there a possibility to change the watermark?

Best regards :)

+ 1
Good Mod !!

Is there any possibility to get the script translated? I could provide a FRENCH translation if needed.
Is there a possibility to change the watermark?

thank for assistance Gargouri

best regards
Nadine
SMF version 2.0 RC3  -  http://www.pixelartese.com  Forum des Arts plastiques et Photographies



Site Perso : http://www.photomaltese.com

gargouri2001

First sorry for all i was pretty busy with other project .

Quote@RenzoC

"550 Failed to change directory. This not related to the script that i wrote but some permission problems with your SMF install .
Quote@gibby
Were did it hang ?
Quote@xxwckdxx
Sure , yes let me know if u really need it .
Quote@Cobra97
The mod color is transparent so it should take your current background , what version are using , can u post the url so i can take a look
Quote@GPz750
Sure yes , let me know if u need it , i am always open for new idea .
Quote@bvanes
I need more details , can u post the list of other mod installed .
Quote@MIAUS
Sure yes , but i don't know German and i hate those online translator due to the possible error , but if u can help then sure .
To which water mark do u refer ?
Quote@codezito
Pls let me know your forum url , the new script with auto insert is pretty complex.
Quote@IceFork
Sure , let me know if u need it really .
Quote@leami
Sure , let me know if u need it
to which water mark do u refer.

MIAUS

Hi Gargouri,

I refer to this Watermark: http://www.xtupload.com/new/share-EBBA_49FF75A7.html
It says "DPI" and inserting it is one of the options when uploading a new Image. (One of the Checkboxes).

As I said - if you need a German translation just send me the strings and I will translate them for you - no need for an online translator which are horrible, I agree :)

Best regards,


Dani

qtime

I have this image script on my own server, but upload1.php is not on it, any ideas?

bjraines

does this actually install the xtupload.com script or does it just use it as hosting

codezito

Gargouri,

www.clubecbr.com.br/forum

Let see..

Tnks

gargouri2001

QuoteHi Gargouri,

I refer to this Watermark: http://www.xtupload.com/new/share-EBBA_49FF75A7.html
It says "DPI" and inserting it is one of the options when uploading a new Image. (One of the Checkboxes).

As I said - if you need a German translation just send me the strings and I will translate them for you - no need for an online translator which are horrible, I agree :)

Best regards,


Dani

Yeah the Watermark can be removed .
i am preparing the strings , i will send them to u my PM .
QuoteI have this image script on my own server, but upload1.php is not on it, any ideas?
Yes this is right
Quotedoes this actually install the xtupload.com script or does it just use it as hosting
This will let u use xtupload service in your site . the images will be hosted in xtupload server to save your server bandwidth .
QuoteGargouri,

www.clubecbr.com.br/forum

Let see..

Tnks
I just registered in the forum : username : gargouri2001 , the xtupload add on was not installed.

qtime

Do you know how I can get those files needed for you script?

Advertisement: