[RC] Off-site Image Upload

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
uruguayito
Registered User
Posts: 266
Joined: Mon Dec 13, 2010 2:46 pm
Location: Montevideo - Uruguay

Re: [RC] Off-site Image Upload

Post by uruguayito »

nextgen wrote:
uruguayito wrote:Is possible change the language "add image to post"??

In spanish is: Agregar una imagen al mensaje ..... :roll:
Download this script http://mod.postimage.org/phpbb3-english ... -family.js and upload in your own server, open and find var postimage_add_text="Add image to post";, change Add image to post to your translation.
tky nextgen... when you say "in your own server"....excatly where? :?
I speak spanish
Sorry for my bad english
User avatar
null2
Registered User
Posts: 516
Joined: Wed Jan 20, 2010 11:03 am

Re: [RC] Off-site Image Upload

Post by null2 »

*** Please, delete this post. ***
Last edited by null2 on Fri Oct 09, 2015 9:19 pm, edited 1 time in total.
Sorry for my bad english. I'm from USA.
User avatar
nextgen
Registered User
Posts: 2394
Joined: Mon Jul 26, 2010 10:58 pm
Location: Guatemala
Name: Melvin García
Contact:

Re: [RC] Off-site Image Upload

Post by nextgen »

uruguayito wrote:
nextgen wrote:
uruguayito wrote:Is possible change the language "add image to post"??

In spanish is: Agregar una imagen al mensaje ..... :roll:
Download this script http://mod.postimage.org/phpbb3-english ... -family.js and upload in your own server, open and find var postimage_add_text="Add image to post";, change Add image to post to your translation.
tky nextgen... when you say "in your own server"....excatly where? :?
In your root/styles/your_style/template/js maybe? :roll:
メルビン・ガルシア • nextgen Solutions

Please do NOT contact for support via PM or email.
User avatar
null2
Registered User
Posts: 516
Joined: Wed Jan 20, 2010 11:03 am

Re: [RC] Off-site Image Upload

Post by null2 »

uruguayito wrote:Is possible change the language "add image to post"??

In spanish is: Agregar una imagen al mensaje ..... :roll:
My forum has 3 languages, so, I solved that in an ugly way, but worked.

I changed 2 files inside ext\eben80\offsiteimageupload\styles\all\template\event:

posting_editor_subject_before.html
quickreply_editor_panel_before.html

I put this code inside them:

Code: Select all

<!-- IF S_USER_LANG eq "pt-br" --><script type='text/javascript' src='http://mod.postimage.org/phpbb3-portuguese_brazil-hotlink-family.js' charset='utf-8'></script>
<!-- ELSEIF S_USER_LANG eq "es" --><script type='text/javascript' src='http://mod.postimage.org/phpbb3-spanish-hotlink-family.js' charset='utf-8'></script>
<!-- ELSE --><script type='text/javascript' src='http://mod.postimage.org/phpbb3-english-hotlink-family.js' charset='utf-8'></script><!-- ENDIF -->
Last command will be default case, just in case you install a new language and forget to update these files.

Insert ELSEIF statements for each language behind 2. If your forum has only 2, remove ELSEIF statement.

You may see available languages here: http://postimage.org/languages.php

Its not beautiful, but solved my problem.
Last edited by null2 on Thu Oct 22, 2015 2:47 am, edited 15 times in total.
Sorry for my bad english. I'm from USA.
User avatar
uruguayito
Registered User
Posts: 266
Joined: Mon Dec 13, 2010 2:46 pm
Location: Montevideo - Uruguay

Re: [RC] Off-site Image Upload

Post by uruguayito »

tky very much null2 :mrgreen:
I speak spanish
Sorry for my bad english
Swen
Registered User
Posts: 104
Joined: Sun Oct 04, 2015 5:44 pm

Re: [RC] Off-site Image Upload

Post by Swen »

Could it be that https was not supported yet? Since https activation on my board the link disappear.
Regards Swen
User avatar
GoBieN
Registered User
Posts: 546
Joined: Fri Mar 05, 2004 5:22 pm
Location: Belgium
Contact:

Re: [RC] Off-site Image Upload

Post by GoBieN »

The JS file can also be download using https. you might have to find the line in the extension files and change
http://mod.postimage.org/phpbb3-english ... -family.js
to
https://mod.postimage.org/phpbb3-englis ... -family.js

Or I think you can also use src="://mod.postimage.org/phpbb3-english-hotlink-family.js" but not sure about the syntax.
Swen
Registered User
Posts: 104
Joined: Sun Oct 04, 2015 5:44 pm

Re: [RC] Off-site Image Upload

Post by Swen »

Roger, thats it. Thanks!
Regards Swen
User avatar
null2
Registered User
Posts: 516
Joined: Wed Jan 20, 2010 11:03 am

Re: [RC] Off-site Image Upload

Post by null2 »

postimage.org is not working anymore, at least to Brazil.

Any news about that?
Sorry for my bad english. I'm from USA.
User avatar
GoBieN
Registered User
Posts: 546
Joined: Fri Mar 05, 2004 5:22 pm
Location: Belgium
Contact:

Re: [RC] Off-site Image Upload

Post by GoBieN »

Seems fine here (Europe).
User avatar
null2
Registered User
Posts: 516
Joined: Wed Jan 20, 2010 11:03 am

Re: [RC] Off-site Image Upload

Post by null2 »

Right now, Im 300 km far from the city where I live. Its not working here too, using another computer and network.

Weird...
Sorry for my bad english. I'm from USA.
User avatar
null2
Registered User
Posts: 516
Joined: Wed Jan 20, 2010 11:03 am

Re: [RC] Off-site Image Upload

Post by null2 »

postimage.org is still not working.

It looks like a kind ot block.
Sorry for my bad english. I'm from USA.
User avatar
GoBieN
Registered User
Posts: 546
Joined: Fri Mar 05, 2004 5:22 pm
Location: Belgium
Contact:

Re: [RC] Off-site Image Upload

Post by GoBieN »

The site postimage.org is loading fine here (West-Europe)
User avatar
null2
Registered User
Posts: 516
Joined: Wed Jan 20, 2010 11:03 am

Re: [RC] Off-site Image Upload

Post by null2 »

Im going to contact them.
Sorry for my bad english. I'm from USA.
User avatar
null2
Registered User
Posts: 516
Joined: Wed Jan 20, 2010 11:03 am

Re: [RC] Off-site Image Upload

Post by null2 »

Postimage team did some tests and said:

"Dear friend:

We have confirmed that your ISP is blocking all TCP traffic
to our CloudFlare frontend ip (108.162.203.60).

The picture itself is accessible from the server it is stored at.
We are trying to contact GVT and make them unblock it, but so far they haven't
answered our mails, our phone calls and even our Facebook messages.

We will continue trying to contact GVT and will be grateful for any suggestions you have.
Thank you

-PostImage.org team"
Sorry for my bad english. I'm from USA.
Locked

Return to “Abandoned Extensions”