Welcome, Guest. Please login or register.

ShoutBox!

 

Ken

2021 Mar 19 03:46:54
 

Skhilled

2021 Mar 14 14:19:39
 :2funny:
 

Ken

2021 Mar 14 11:04:40
 

Skhilled

2021 Feb 02 11:44:35
YEAH!
 

Ken

2021 Feb 01 08:17:28
Black History Month
Starts today!
 

Ken

2021 Jan 21 12:38:16
 

Ken

2021 Jan 13 08:33:33
 

Skhilled

2021 Jan 02 10:25:49
I didn't realized that I was still logged in here. LOL
 

Ken

2021 Jan 02 08:06:53
Happy New Years!!!  laughing7
 

Skhilled

2021 Jan 01 02:24:34
Happy New Years, sleepy head! ;D

Recent Topics

Author Topic: tinypix image upload smf mod  (Read 5451 times)

0 Members and 1 Guest are viewing this topic.

Offline Lesmond (OP)

tinypix image upload smf mod
« on: September 30, 2017, 02:58:22 PM »
I made this just for friends only, (its not going on the SMF Mod site)
Quote
This will add a simple image upload bbc code to the post.

Author: Lesmond
Type: New Enhancement
Available since: 2017
Latest version: 1.3
Compatible with: SMF  2.0.14


This mod integrates image hosting with SMF. It makes image upload very simple.
All images are hosted on remote image hosting service, not on your forum.
When user uploads image, script creates a thumbnail for image and appends bbcode to post user is typing.
User doesn't need to know anything about bbcode. And this mod is very simple to install.

Powered by TinyPiX



You will get an error with "Install in Other Themes" but just ignore that and go ahead with the install.
You will get a button under the post text box click that and a new window opens, drag or upload a image, you can also use the URL of an image if you wish.

All images are stored on my dedicated server, so no space is taken here.


Let me know if you need any help with this... I will be hiding ;)

package attached

Updated to fix "Install in Other Themes" error

Now includes upload in PM's

Updated to fix image icon in shout... I hope  :o
« Last Edit: October 05, 2017, 12:09:55 PM by Lesmond »

Offline Skhilled

  • Administrator
  • *
  • Posts: 6621
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: tinypix image upload smf mod
« Reply #1 on: September 30, 2017, 03:18:45 PM »
Great job, Les! ;)

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 9970
  • Gender: Male
  • View Gallery
Re: tinypix image upload smf mod
« Reply #2 on: September 30, 2017, 08:29:57 PM »
Works great Les!  :thumbup:

"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: tinypix image upload smf mod
« Reply #3 on: September 30, 2017, 09:52:09 PM »
thanks ken, works better here


Offline Skhilled

  • Administrator
  • *
  • Posts: 6621
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: tinypix image upload smf mod
« Reply #4 on: October 01, 2017, 05:44:45 AM »
One question, is the sizing in the coding or does it size according to what is set in SMF?

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 9970
  • Gender: Male
  • View Gallery
Re: tinypix image upload smf mod
« Reply #5 on: October 01, 2017, 07:26:09 AM »
You get edit options when you are selecting the image for uploading.




"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 6621
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: tinypix image upload smf mod
« Reply #6 on: October 01, 2017, 07:30:31 AM »
Oh! I totally missed that little dropdown on the top left with the signin and all! LOL

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 9970
  • Gender: Male
  • View Gallery
Re: tinypix image upload smf mod
« Reply #7 on: October 01, 2017, 07:35:38 AM »
Took me a couple of tries to get it right... maybe Les needs to write a little how-to???  laughing7
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 6621
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: tinypix image upload smf mod
« Reply #8 on: October 01, 2017, 07:38:53 AM »
I only clicked the button below and added an image I had saved and it worked. Nothing else to do and no need to login although you can and it will be saved to your account.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 9970
  • Gender: Male
  • View Gallery
Re: tinypix image upload smf mod
« Reply #9 on: October 01, 2017, 07:41:44 AM »
Testing...

The size edit function works. (will only decrease the size)

"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: tinypix image upload smf mod
« Reply #10 on: October 01, 2017, 09:53:44 AM »

Offline Lesmond (OP)

Re: tinypix image upload smf mod
« Reply #11 on: October 01, 2017, 10:06:49 AM »
One question, is the sizing in the coding or does it size according to what is set in SMF?
its set in the package, the only way to change the image size it to reinstall the package,
the one I have here was set to thumbnail.

If you want you can use the attachment  below, it will give you an medium image

« Last Edit: October 01, 2017, 12:25:01 PM by Lesmond »

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 9970
  • Gender: Male
  • View Gallery
Re: tinypix image upload smf mod
« Reply #12 on: October 01, 2017, 11:04:15 AM »
Hey Les, can this be coded to work with the PM system? We have the attachments function working with PM's and me thinks that this tiny_pic app would be a nice addition.  :thumbup:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 6621
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: tinypix image upload smf mod
« Reply #13 on: October 01, 2017, 11:21:43 AM »
Agreed!

Offline Lesmond (OP)

Re: tinypix image upload smf mod
« Reply #14 on: October 01, 2017, 11:25:33 AM »
Hey Les, can this be coded to work with the PM system? We have the attachments function working with PM's and me thinks that this tiny_pic app would be a nice addition.  :thumbup:
It took me all my time to make this one, I don't think I could work out how to do that, but worth looking into