News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[TIP/TRICK] Tinypic Image Upload Popup on Post/Reply Page

Started by brandonroy, January 24, 2009, 11:20:16 PM

Previous topic - Next topic

Joker™

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
Android apps
Medium

How to enable Post Moderation

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

All support seeking PM's get microwaved

Dharshan

R I P  : Steve Jobs | you made the world today look how it is | Thank you

Masterd


ɔɔɔɔɔɔuɥoɾ



SMF 2.0 RC5

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

Dharshan

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

Joker™

working on imageshack thing these days ;) , hope one day can get it working
Github Profile
Android apps
Medium

How to enable Post Moderation

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

All support seeking PM's get microwaved

Rik©

Quote from: Joker™ on August 04, 2010, 03:55:59 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...

Dharshan

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

ascaland


Dharshan

Quote from: Rik© on August 04, 2010, 04:29:46 AM
Quote from: Joker™ on August 04, 2010, 03:55:59 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

Rik©

Quote from: Dharshan on August 06, 2010, 12:07:25 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.

dimspace

Quote from: Joker™ on February 05, 2010, 07:51:23 AM
Made it working at last  ;D

open

/themes/default/post.template.php

Find:

// Finally, the submit buttons.


Add Before:

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

foropimiento

#72
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

Ninja ZX-10RR

Quote from: foropimiento 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

  • 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

engrz

Post.template.php is not available in the template im using. for example: vVide by webtiryaki

how to edit in this template?

Advertisement: