FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 24 users online :: 0 Registered, 0 Hidden and 24 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

[SOLVED] Button servimg

View previous topic View next topic Go down

jessy
jessy

Gender : Female
Posts : 102
Points : 3140
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Sat 07 May 2016, 12:45

I would like to create a button with this code as do

[SOLVED] Button servimg Mi_rif32

Code:
<div style="position: fixed; right: 1px; z-index: 10000; top: 32px;">
<a onclick="javascript:window.open('http://www.servimg.com/upload.php','','scrollbars=yes,resizable=no,width=780,height=530')" href="javascript:void(1)"> <img class="host" style="vertical-align: middle; width: 30px; height: 22px;" title="Upload con Servimg" src="http://i84.servimg.com/u/f84/16/90/45/33/img-sc11.png" /></a></div>
thank you all
SLGray
SLGray
Valued Member
Gender : Male
Age : 51
Posts : 2465
Points : 7136
Reputation : 290
Location : United States
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : ModernBB
http://www.fmthemes.forumotion.com https://www.facebook.com/FM-Themes-655055824604957 https://twitter.com/FMThemes https://pinterest.com/FMThemes

PostSLGray Sat 07 May 2016, 18:23

The editor already has a button for Servimg (host an image) if your forum uses Servimg.  Are you creating a customized editor toolbar?
jessy
jessy

Gender : Female
Posts : 102
Points : 3140
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Sun 08 May 2016, 09:25

SLGray wrote:The editor already has a button for Servimg (host an image) if your forum uses Servimg. 


yes to upload....This and archive images

SLGray wrote: Are you creating a customized editor toolbar?
you can put in the toolbar? thanks for the reply
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12043
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 08 May 2016, 11:25

jessy
jessy

Gender : Female
Posts : 102
Points : 3140
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Sun 08 May 2016, 12:25

Thank you very much
question:
- so you can not do? it's easier

[SOLVED] Button servimg Mi_rif32

- you can change the language

[SOLVED] Button servimg Captur67

- fixed toolbar ?

Thank you very much for the reply
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12043
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 08 May 2016, 20:52

@jessy yeah, I can make a button, but I'll work on it tomorrow if that's alright ? It's late here and tired + coding don't mix. Crazy Dance
jessy
jessy

Gender : Female
Posts : 102
Points : 3140
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Mon 09 May 2016, 07:53

yes
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12043
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Mon 09 May 2016, 13:35

@jessy add the script below in "all the pages" :
Code:
$(function() {
  if ($.sceditor) {
    $.sceditor.command.set('servimg-popup', {
      exec : function() {
        javascript:window.open('http://www.servimg.com/upload.php','','scrollbars=yes,resizable=no,width=780,height=530');
      },

      txtExec : function() {
        javascript:window.open('http://www.servimg.com/upload.php','','scrollbars=yes,resizable=no,width=780,height=530');
      },

      tooltip : 'Upload con Servimg'
    });

    toolbar = toolbar.replace(/servimg/, 'servimg,servimg-popup');
  }
});

document.write('<style type="text/css">.sceditor-button-servimg-popup div { background:url(http://i84.servimg.com/u/f84/16/90/45/33/img-sc11.png) no-repeat center center !important; background-size:16px 16px !important; }</style>');
jessy
jessy

Gender : Female
Posts : 102
Points : 3140
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Mon 09 May 2016, 15:18

fantastic Thank you very much [SOLVED] Button servimg 1f60d
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12043
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Mon 09 May 2016, 20:00

No problem. Wink
jessy
jessy

Gender : Female
Posts : 102
Points : 3140
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Fri 20 May 2016, 12:41

What causes this error?

Code:
{"files":[{"name":"And 'Sorry, an error","size":"","error":"You are not logged in"}]}

Thank you very much
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12043
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sat 21 May 2016, 08:50

Looks like JSON.. Think

If you format the data as a string it'll give you :
Code:
name : And 'Sorry, an error
size :
error : You are not logged in

The error says "You are not logged in" so I'm assuming that's what's giving you, your error.
jessy
jessy

Gender : Female
Posts : 102
Points : 3140
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Mon 23 May 2016, 08:35

but I'm connected,how can I do. thank you
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12043
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 24 May 2016, 10:56

Is the problem from servimg or the forum itself ?
jessy
jessy

Gender : Female
Posts : 102
Points : 3140
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
http://ilgiornaledibordo.forumattivo.com/

Postjessy Tue 24 May 2016, 12:24

Is the problem from servimg... solved [SOLVED] Button servimg 1f60d
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum