najaru 971 Posted January 1, 2011 Share Posted January 1, 2011 (edited) A volte può essere utile integrare imageshack alll'editor completo, in modo che gli utenti possano caricare agevolmente le immagini e ottenere i codici tag da inserire nei postPer inserirlo aprire acp - look&feel - scegliere la skin specifica - editor - ips_editorcercare<!-- Toolpanes --><script type="text/javascript">//<![CDATA[$('{$editor_id}_toolbar_1').show();$('{$editor_id}_toolbar_2').show();// Rikki: Had to remove <form>... </form> because Opera would see </form> and not pass the topic icons / hidden fields properly. Tried "</" + "form>" but when it is parsed, it had the same affectipb.editor_values.get('templates')['link'] = new Template("<label for='#{id}_url'>{$this->lang->words['js_template_url']}</label><ie quindi inserire PRIMA <iframe src="http://imageshack.us/iframe.php?txtcolor=111111&type=blank&size=30" scrolling="no" allowtransparency="true" frameborder="0" width="280" height="70">Update your browser for ImageShack.us!</iframe>appena sotto la finestra del messaggio apparirà un widget di imageshackVersione 3.3 o 3.4 o http://community.invisionpower.com/files/file/6262-imageshackus-post-upload-form/ Edited May 19, 2013 by Skillman_92 aggiunta app 3.3 3.4 2 Link to post Share on other sites
Haku 32 Posted November 21, 2012 Share Posted November 21, 2012 Faccio un terribile necropost, ma voelvo avvisare che la modifica non funziona.Probabilmente perchè è cambiato il frame? Link to post Share on other sites
najaru 971 Posted November 21, 2012 Author Share Posted November 21, 2012 super necro post Inviato 01 gennaio 2011 - 11:26 Link to post Share on other sites
Haku 32 Posted November 21, 2012 Share Posted November 21, 2012 Si mi scuso, ma non era mia intezione...volevo contribuire eventualmente ad aggiornare il tutorial... Link to post Share on other sites
BomAle 434 Posted November 21, 2012 Share Posted November 21, 2012 Hanno bloccato l'upload diretto... bisogna utilizzare una chiave API cosi dice il sito..You must provide a valid auth token or dev key. see http://code.google.c.../imageshackapi/ Link to post Share on other sites
Haku 32 Posted November 25, 2012 Share Posted November 25, 2012 Dopo di chè, cosa si deve fare? Link to post Share on other sites
BomAle 434 Posted November 25, 2012 Share Posted November 25, 2012 (edited) PROVA CON <script src="http://imageshack.us/scripts/syndicate/widget.js" type="text/javascript" charset="utf-8"></script><script type="text/javascript">new ImageShackSyndicateWidget({width: "300",height: "110",theme: {shell: {buttonColor: "#3cbbfa",color: "#111111",backgroundColor: "#cccccc",backgroundImage: "",text: "Select photos and videos to upload."}}}).render();</script>PER PERSONALIZZARLO VAI QUI Edited November 25, 2012 by Skillman_92 Link to post Share on other sites
Max 85 Posted November 26, 2012 Share Posted November 26, 2012 ho provato a seguire le istruzioni di posizionamento del file, editor/ips_editor, inserendo il codice postato da Skilmann ma non mi esce nulla. Link to post Share on other sites
Haku 32 Posted November 27, 2012 Share Posted November 27, 2012 Stessa cosa ^^ Link to post Share on other sites
BomAle 434 Posted November 27, 2012 Share Posted November 27, 2012 allora ho testato e nemmeno a me funziona... per ora ho visto che funziona solo cambiando il file da modificare... quindiAndate nel skin_post > postFormTemplate > cercare <if test="upload_form_check:|:$formData['uploadForm']"> <fieldset class='attachments'> {$formData['uploadForm']} </fieldset> </if> e aggiungere PRIMA <script src="http://imageshack.us/scripts/syndicate/widget.js" type="text/javascript" charset="utf-8"></script><script type="text/javascript">new ImageShackSyndicateWidget({width: "300",height: "110",theme: {shell: {buttonColor: "#3cbbfa",color: "#111111",backgroundColor: "#cccccc",backgroundImage: "",text: "Select photos and videos to upload."}}}).render();</script> 1 Link to post Share on other sites
Max 85 Posted November 27, 2012 Share Posted November 27, 2012 perfetto adesso funzia...grazie!! Link to post Share on other sites
Haku 32 Posted November 27, 2012 Share Posted November 27, 2012 E' possibile averlo in italiano? xD Link to post Share on other sites
Max 85 Posted November 27, 2012 Share Posted November 27, 2012 Prova questo:<script src="http://imageshack.us/scripts/syndicate/widget.js" type="text/javascript" charset="utf-8"></script><script type="text/javascript">new ImageShackSyndicateWidget({width: "300",height: "110",theme: {shell: {buttonColor: "#3cbbfa",color: "#111111",backgroundColor: "#cccccc",backgroundImage: "",text: "Scegli la foto o il video da caricare."}}}).render();</script> 2 Link to post Share on other sites
fil17 26 Posted January 5, 2013 Share Posted January 5, 2013 Ciao! Se volete risparmiare un pò di spazio potete affiancare le due cose in questo modo:<div style="width:540px; float:left;"> <if test="upload_form_check:|:$formData['uploadForm']"> <fieldset class='attachments'> {$formData['uploadForm']} </fieldset> </if> </div><div style="width:300px; float:left;"><script src="http://imageshack.us/scripts/syndicate/widget.js" type="text/javascript" charset="utf-8"></script><script type="text/javascript">new ImageShackSyndicateWidget({width: "300",height: "110",theme: {shell: {buttonColor: "#3cbbfa",color: "#111111",backgroundColor: "#ffffff",backgroundImage: "",text: "Carica%20una%20foto%20con%20ImageShack"}}}).render();</script></div> Il risultato sarà questo: Ciaoo 2 Link to post Share on other sites
BomAle 434 Posted May 19, 2013 Share Posted May 19, 2013 aggiunto il link all'app di z1000-forum.de nel 1° messaggio del topic... Link to post Share on other sites
Flaviospeed 1 Posted August 19, 2015 Share Posted August 19, 2015 Ciao a tutti.Da sempre ho usato dello spazio esterno al server per allegare le foto, ma cercavo qualcosa di più immediato, tipo questa integrazione.Perciò ho eseguito le istruzioni, ma non mi funziona. Una volta che seleziono il file da caricare e dopo aver premuto "upload", mi carica semplicemente il sito di imageshack.Premetto che ho inserito il codice come da indicazione e che la board è una 3.4.8. Il codice API, pure quello è stato inserito correttamente... Dove sbaglio? Link to post Share on other sites
BomAle 434 Posted August 19, 2015 Share Posted August 19, 2015 lo script non è più utilizzabile... mi sembra che imageshack richieda la registrazione ora Link to post Share on other sites
Flaviospeed 1 Posted August 20, 2015 Share Posted August 20, 2015 Cosa intendi per registrazione? Se per registrazione intendi aprire un account imageshack, quello l'ho fatto (altrimenti non avrei potuto avere l'API). Altrimenti, ci sono altre soluzioni? Link to post Share on other sites
Admin Askancy 339 Posted August 20, 2015 Admin Share Posted August 20, 2015 Cosa intendi per registrazione? Se per registrazione intendi aprire un account imageshack, quello l'ho fatto (altrimenti non avrei potuto avere l'API). Altrimenti, ci sono altre soluzioni?Premetto che non so se funziona, perchè imageshack ha completamente rivoluzionato il proprio sito in questi ultimi anni, puoi provare questo hook: https://community.invisionpower.com/files/file/6262-imageshackus-post-upload-form/?tab=comments#comment-6808 Altrimenti puoi provare questi hook che però non fanno riferimento imageshack ma ad altri servizi di hosting. https://community.invisionpower.com/files/file/6186-ihost-post-upload-form/https://community.invisionpower.com/files/file/6255-directuploadnet-post-upload-form/ 2 Link to post Share on other sites
Flaviospeed 1 Posted August 22, 2015 Share Posted August 22, 2015 Grazie mille. La prima hook è la stessa linkata nel primo post, la seconda non funziona mentre la terza funziona. Una volta che seleziono il file da caricare mi si apre la pagina di directupload con l'immagine caricata ed i codici da copiare. Non è possibile che il "copia e incolla" venga fatto in automatico? Se sì, come? Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now