Advertisement:

Author Topic: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page  (Read 100196 times)

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #60 on: February 06, 2010, 02:49:59 PM »
like in tinypicu must have pic on ur pc to be uploaded

but on imageshack site there is option to give them any image link on web ... they will upload it themselves n give u imageshack link .....

so u dont have to do extra work to save the pic to ur pc first n then upload ....

Hope i was able to express myself this time properly ...

so i want imagehack.us instead of tinypic.com

for that i got 2 scripts also

http://ezbitz.com/tag/imageshack/
http://elliottback.com/wp/using-the-imageshack-xml-api/

i tried to use Ist site script in html file
n second one in js file

but nothing worked n im all confused right now...

can some one tell me a nice elaborated solution for this...

thanx in advance ;)
Github Profile
My Mods
How to enable Post Moderation
Paid Support
Elkarte


"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #61 on: August 02, 2010, 07:33:16 AM »
bookmark!
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Masterd

  • SMF Hero
  • ******
  • Posts: 3,887
  • Gender: Male
  • Sapienti satis.
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #62 on: August 02, 2010, 10:35:57 AM »
How can I integrate this into a quick reply?
My Mods

Sugested that too. Hey ho. I'd link you to the original discussion but it's not visible to most people (seekrit team board stuff that is more dangerous than wikileaks).


Don't PM me for support! Use the appropriate support board!

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #63 on: August 02, 2010, 12:30:31 PM »
Just noticed this, I will use, thanks

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #64 on: August 04, 2010, 03:53:15 AM »
Thank you.... This is great!

i just love it. "Simplicity is technology" yeah as Joker said can we have this changed to Imageshack...

but i can live with this
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #65 on: August 04, 2010, 03:55:59 AM »
working on imageshack thing these days ;) , hope one day can get it working
Github Profile
My Mods
How to enable Post Moderation
Paid Support
Elkarte


"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline Rik©

  • Full Member
  • ***
  • Posts: 605
  • Gender: Male
    • SimpleTweaks
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #66 on: August 04, 2010, 04:29:46 AM »
working on imageshack thing these days ;) , hope one day can get it working

Check my Simple ImageShack mod
http://custom.simplemachines.org/mods/index.php?mod=134

The upcoming v4 will also feature 'auto-insert/insert-at-cursor', mark image private and resize.

-Rik©

ps transloading will be added too in due time...

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #67 on: August 04, 2010, 04:33:00 AM »
Joker™ Great. thanks.

got this working on my SMF 1.1.11 and SMF 2 RC3

had the PM prob and fixed it too...

will see if we could put this into a mod in future.

if you need any help lemme know
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Anthony`

  • Sophist Member
  • *****
  • Posts: 1,347
  • Gender: Male
  • Formerly Project Evolution
    • AnthonyCalandra on GitHub
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #68 on: August 05, 2010, 11:41:28 PM »
This is a great tip, well done.

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #69 on: August 06, 2010, 12:07:25 AM »
working on imageshack thing these days ;) , hope one day can get it working

Check my Simple ImageShack mod
http://custom.simplemachines.org/mods/index.php?mod=134

The upcoming v4 will also feature 'auto-insert/insert-at-cursor', mark image private and resize.

-Rik©

ps transloading will be added too in due time...

hey Rik,

Nice mod. a suggestion :), remove all those other links and make it present only the forum code, so that it would be really easy for users, and also if u could make it auto insert the code that would be very nice.

cheers!

PS: i have a server error displayed when trying to use this mod. may be it clashes with other mods.
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Rik©

  • Full Member
  • ***
  • Posts: 605
  • Gender: Male
    • SimpleTweaks
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #70 on: August 06, 2010, 03:49:55 AM »
hey Rik,

Nice mod. a suggestion :), remove all those other links and make it present only the forum code, so that it would be really easy for users, and also if u could make it auto insert the code that would be very nice.

cheers!

PS: i have a server error displayed when trying to use this mod. may be it clashes with other mods.
Which error? (error log)
Check the sis folder permission, should be 755....

-Rik©

ps With SIS4 you can select which 'links' to show.

Offline dimspace

  • Jr. Member
  • **
  • Posts: 343
    • @dimspace on Twitter
    • Velorooms.com
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #71 on: April 23, 2013, 12:15:06 PM »
Made it working at last  ;D

open

/themes/default/post.template.php

Find:

Code: [Select]
// Finally, the submit buttons.

Add Before:

Code: [Select]
echo '<div>
      <a onclick="window.open(\'url of html file\',\'POPUP\',\'width=280,height=540,scrollbars=0\');return false;" href="#"><img

src="url of img file" border="0"></a>
</div>';

http://www.simplemachines.org/community/index.php?topic=288169.msg1894568#msg1894568 << get images from 1st post

i've tested on RC2 Default curve theme n its working absolutely fine ....

i check Private message problem also n it's also vanished ;)

works grand in 2.0.3

slightly funkier button  for those that like funky

Offline foropimiento

  • Semi-Newbie
  • *
  • Posts: 15
  • PimientosPicantes.com
    • PimientosPicantes
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #72 on: April 23, 2014, 03:51:36 AM »
still working  ;D

It would be possible to upload the images to a specific user account? So do not be delete in the future

Thank you
« Last Edit: April 23, 2014, 04:03:41 AM by foropimiento »

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,135
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #73 on: April 28, 2014, 09:29:04 PM »
still working  ;D

It would be possible to upload the images to a specific user account? So do not be delete in the future

Thank you
  • If you mean uploading them to a tynipic account it would be enough to login to tynipic and then upload the image because it will be saved among "yuor images".
  • If you mean uploading them to an smf account i think posting them as attachments would be perfect but if you have a huge forum and everyone posts attachments you will get a lot of server load for that.
P.s.: Actually no need of editing files manually.. Just install this mod that does the same thing without even opening another tab, it uses a javascript function and it still works on my smf 2.0.7
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

Offline engrz

  • Full Member
  • ***
  • Posts: 537
  • Gender: Male
  • Engineering and IT Discussion Forum
    • www.facebook.com/engrzpakistan on Facebook
    • @engrz on Twitter
    • Engineering Forum
Re: [TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page
« Reply #74 on: May 12, 2016, 08:23:32 AM »
Post.template.php is not available in the template im using. for example: vVide by webtiryaki

how to edit in this template?