Skip to forum content

PunBB Forums

Lightweight PHP-based Forum

You are not logged in. Please login or register.


[Extension] Simple Image Upload

PunBB Forums → PunBB 1.4 additions → [Extension] Simple Image Upload

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 17

1 Topic by Sium 2012年12月21日 17:41 (edited by Sium 2016年05月01日 20:50)

  • Sium
  • Junior Member
  • Offline
  • Registered: 2009年03月03日
  • Posts: 9

Topic: [Extension] Simple Image Upload

Link to Mod

This is a very simple alternative to attachment mod. It works only with images and allows users to quickly add images to posts. All images are stored on third party image hosting service and bbcode for images is automatically inserted in posts when users upload images. Thumbnails are automatically created on image hosting server. This mod is very easy to install and very easy to use.

Other options and language settings are available here: http://imgbb.com/mod

Powered by Image Hosting

  • Registered: 2012年07月01日
  • Posts: 561

Re: [Extension] Simple Image Upload

A very good idea, thanks!

  • Registered: 2012年12月21日
  • Posts: 11

Re: [Extension] Simple Image Upload

Thanks use it on my forum verry nice !!

This is a very simple alternative to attachment mod. It works only with images and allows users to quickly add images to posts. All images are stored on third party image hosting service and bbcode for images is automatically inserted in posts when users upload images. Thumbnails are automatically created on image hosting server. This mod is very easy to install and very easy to use.

4 Reply by SuperMAG 2012年12月22日 10:29 (edited by SuperMAG 2012年12月22日 10:33)

  • Registered: 2007年03月25日
  • Posts: 960

Re: [Extension] Simple Image Upload

Thanks, i was looking for this type of extension a month ago, i even found this one, but it was an old version of this extension created for punbb 1.3, it was all over the place.

I installed this one and the style has been sorted out.

I wanted to ask if there is a change to make change the text and style of the "add image to post".

Like if i want it to say "Upload image to post" and remove the dot before the line.
OR
I want add a separate bbcode button for this.

Thank you.

MyFootballCafe.com is Now Online!
  • Registered: 2007年03月25日
  • Posts: 960

Re: [Extension] Simple Image Upload

Also just noticed that the the script is loading in every page, and showing up almost everywhere that is not needed like admin page, near any box etc.

punbb-english.js
mod.postimage.org/

This really need to be fixed.

MyFootballCafe.com is Now Online!

6 Reply by Sium 2012年12月23日 06:02 (edited by Sium 2012年12月23日 06:09)

  • Sium
  • Junior Member
  • Offline
  • Registered: 2009年03月03日
  • Posts: 9

Re: [Extension] Simple Image Upload

I wanted to ask if there is a change to make change the text and style of the "add image to post".

Like if i want it to say "Upload image to post" and remove the dot before the line.

Yes, you can. Open postimage/manifest.xml in extensions folder, add after .js

?dot=0&text=Upload+image+to+post

Reinstall mod.

Also just noticed that the the script is loading in every page, and showing up almost everywhere that is not needed like admin page, near any box etc.

Fixed.

7 Reply by SuperMAG 2012年12月23日 09:00 (edited by SuperMAG 2012年12月23日 09:01)

  • Registered: 2007年03月25日
  • Posts: 960

Re: [Extension] Simple Image Upload

Thanks alot Sium, Before i forget, here is one more suggestion to optimize the extension.

In punbb, there is a system used called (LABjs :: Loading And Blocking JavaScript), it combines all the js together or something like that, can you use that in this extension js code too instead of loading another js file to website.

Also make the popup size a bit bigger as i had to re-size the popup every time i upload the image. may be it looks on another screen resolution, but in mine its small.

Thanks again. Also where can i download the latest version.

MyFootballCafe.com is Now Online!
  • From: kurdstan
  • Registered: 2013年01月10日
  • Posts: 80

Re: [Extension] Simple Image Upload

sorry
but
how to i can change link Upload Image where change
changed for this link
http://www.webchinupload.com/

  • Registered: 2012年07月01日
  • Posts: 561

Re: [Extension] Simple Image Upload

I have a suggestion to open uploaded images in fancybox effect or fancybox-based, like Pretty Photo, Highslide, Lytebox, Litebox, etc.

And a second suggestion, really important. This extension should be translatable.
It should have "lang" folder where be translations. There should be a punbb-LANG.js file (it should be located in our servers, I think) and a "Add images to post".

10 Reply by mypoppunk 2013年04月18日 16:35 (edited by mypoppunk 2013年04月18日 16:36)

  • Registered: 2013年04月18日
  • Posts: 7

Re: [Extension] Simple Image Upload

thx for this extention!
at first, how i can translate this on rus?
at second, image code is working only after pressed image button.
punbb 142

  • Registered: 2012年07月01日
  • Posts: 561

Re: [Extension] Simple Image Upload

To translate:
Open manifest.xml and find:

http://mod.postimage.org/punbb-english.js

Replace with:

http://mod.postimage.org/punbb-russian.js

Refresh hooks.

at second, image code is working only after pressed image button.

Hmm?

  • Registered: 2013年04月18日
  • Posts: 7

Re: [Extension] Simple Image Upload

Hmm?

yes. when i choosed images and pressed OK (in window) text field remains is empty, but when i pressing on IMG button in field show up code with images and

[img]

tags from IMG button

  • Registered: 2012年07月01日
  • Posts: 561

Re: [Extension] Simple Image Upload

It can be your server configuration faul. Check in other server, or on your PC.
I've tested - everything is OK.

  • Registered: 2013年04月18日
  • Posts: 7

Re: [Extension] Simple Image Upload

see here
http://mesto.crimea.ua/post/154/#p154


Its working after any action in text field, not only IMG. But dont working first:(((

Forum 1.4.2

ok, i'll be test it on localhost

15 Reply by mypoppunk 2013年04月19日 18:16 (edited by mypoppunk 2013年04月19日 18:16)

  • Registered: 2013年04月18日
  • Posts: 7

Re: [Extension] Simple Image Upload

or can you test it on http://mesto.crimea.ua/ this forum???
extention is switched on

  • Registered: 2012年07月01日
  • Posts: 561

Re: [Extension] Simple Image Upload

It won't work, while you have WysiBB extension installed.

17 Reply by mypoppunk 2013年04月19日 20:46 (edited by mypoppunk 2013年04月20日 05:18)

  • Registered: 2013年04月18日
  • Posts: 7

Re: [Extension] Simple Image Upload

are they not working together?((((
can anybody fix it?

Posts: 17

Pages 1

You must login or register to post a reply

PunBB Forums → PunBB 1.4 additions → [Extension] Simple Image Upload



AltStyle によって変換されたページ (->オリジナル) /