IMPORTANT

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

Latest topics
» 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

» Forumactif Edge - Releases
by Ange Tuteur Thu 14 Dec 2017, 11:25

» [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

» Numbering of messages in the topic
by SLGray Mon 04 Dec 2017, 22:40

Recent Tutorials
Top posting users this month
Who is online?
In total there are 8 users online :: 0 Registered, 0 Hidden and 8 Guests

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

[SUGGESTION] Upload a pic

View previous topic View next topic Go down

avatar
Guest
Guest
View all awards

PostGuest on Thu 01 Dec 2016, 14:56

This.... is still CRYING OUT LOUD for an upload buton, in any of version, especially EDGE!:

avatar
Pantone

Title :
Gender : Female
Age : 24
Posts : 490
Points : 1153
Reputation : 59
Location : Indianapolis - IN
Language : English
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://canvasforums.com https://twitter.com/@HaeDoesGraphics https://pinterest.com/HaeDoesGraphics

PostPantone on Thu 01 Dec 2016, 15:24

Isn't the upload button here, and you can use the link it gives? Think


avatar
Guest
Guest
View all awards

PostGuest on Thu 01 Dec 2016, 15:28

HaeDoesGraphics wrote:Isn't the upload button here, and you can use the link it gives? Think



True that, however we wanna loose some of the buttons in the SC, so it'd be more convenient to have 'm all combined somehow, concentrated in just a couple. Wink We all know about the buttons, however, the regular folks checking in won't know the dif and I won't be writing up sorts of tutos for people who are new to forums! I told Pro about this already. I just won't. Thanks.
avatar
Valoish
Graphic Designer
Title :
Gender : Female
Age : 21
Posts : 3665
Points : 4851
Reputation : 360
Location : NYC
Language : English, Russian, Hebrew
Browser : Browser : Opera Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.canvasforums.com https://twitter.com/Valoishx3

PostValoish on Thu 01 Dec 2016, 15:35

I agree with this, I HATE having two separate areas cuz when I first started using FM I was like "which one do I use for this omfg"
Maybe add the "insert image" content here instead?

Since there's a white space there anyway and it seems like it will fit.

--------

"I was afraid. And my own insecurity crushed him." - Youku x Boku SS
avatar
Guest
Guest
View all awards

PostGuest on Thu 01 Dec 2016, 15:41

Perhaps. One way or another, I'll be leaving this to Ange's imagination. Gotten used to just a few buttons in the editor, I can't imagine how future members will know the difference, too. It'd be bright to have'm all combined somehow. Idk. It's an urgent request, but if it 'll be too complicated to work it all out into scripts etc, I'm affraid I'll have to let go. ty (you got my vote and your friend's already, I see. Doesn't really matter which way to go. Wink )

GN! Hello
..
avatar
SLGray
Valued Member
Title :
Owner of 2 Forums
Gender : Male
Age : 44
Posts : 2465
Points : 4844
Reputation : 290
Location : United States
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : ModernBB
Awards :
View all awards
View user profile http://www.fmthemes.forumotion.com https://www.facebook.com/FM-Themes-655055824604957 https://twitter.com/FMThemes https://pinterest.com/FMThemes

PostSLGray on Thu 01 Dec 2016, 17:22

The host an image button is for hosting.  The insert image button is for when you what to insert an image that is not on your computer.
avatar
Guest
Guest
View all awards

PostGuest on Fri 02 Dec 2016, 04:57

@SLGray wrote:The host an image button is for hosting.  The insert image button is for when you what to insert an image that is not on your computer.

I know. Why not combine the two? It's confusing to have 2 buttons in the editor for seperate operations.
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4725
Points : 9670
Reputation : 2352
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Fri 02 Dec 2016, 10:30

This ought to do the trick. Just set the script's placement to "in all the pages". It'll open a new window for uploading images, since using the sceditor's upload button will just force the other popup to close.
Code:
$(function() {
  if ($.sceditor) {
    $(function() {
      window.fa_servimg_upload = function () {
        var win = window.open('https://servimg.com/',  '_blank', 'width=620,height=300');

        $.get('/privmsg?mode=post', function(d) {
          var email = d.match(/var servImgAccount = '(.*?)';/i),
              id = d.match(/var servImgId = '(.*?)';/i),
              f = d.match(/var servImgF = '(.*?)';/i);

          if (email && id && f && email[1] && id[1] && f[1]) {
            win.location.href = 'https://servimg.com/multiupload.php?&mode=fae&account=' + email[1] + '&id=' + id[1] + '&f=' + f[1];
          }
        });
      };

      $('.sceditor-button-servimg').hide();
      $('.sceditor-button-image').click(function() {
        $('.sceditor-insertimage div:last-child').append(
          $('<input type="button" class="button" value="Upload">').click(fa_servimg_upload)
        );
      });
    });
  }

  'par ange tuteur';
});

--------

Ange Tuteur
Tips and TricksContact Me

avatar
Guest
Guest
View all awards

PostGuest on Fri 02 Dec 2016, 11:30

That's EXACTLY how we wanted it! Good Good job, @Ange Tuteur!

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