Latest topics
» Dark Mode + Another Question
by Wolfuryo Today at 09:58

» make the topic a color
by Wolfuryo Today at 09:52

» Recent Topic with Avatar problem
by Wolfuryo Today at 09:44

» Forum text has changed to bold
by tillytiger99 Today at 05:02

» Request a Username Change
by mr.blake214 Today at 01:30

» Display a preview of the user profile on hover
by HoeGy48 Yesterday at 16:51

» Hai Guys~
by mr.blake214 Yesterday at 13:48

» Forumactif Messenger - Instant Message Application for Forumotion
by DDril Yesterday at 10:25

» Donation Box
by Ange Tuteur Yesterday at 09:59

» Custom Award Problem (Profile Field)
by Ange Tuteur Yesterday at 09:39

» IconSkouliki
by skouliki Mon 14 Aug 2017, 13:01

» Category Tabs
by SLGray Sat 12 Aug 2017, 22:45

» Forum Titles not in line
by Wolfuryo Fri 11 Aug 2017, 12:55

» Notifications not showing
by tillytiger99 Thu 10 Aug 2017, 04:14

» option download with image resizer
by Ange Tuteur Wed 09 Aug 2017, 10:42

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

None

[ View the whole list ]


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

Forumotion command-line tool [Beta Test]

View previous topic View next topic Go down

avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4675
Points : 9682
Reputation : 2330
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 Wed 17 Feb 2016, 13:57

One of the projects I'm working on from time-to-time is a command-line interpreter for forumotion forums. The CMD tool allows you to perform certain tasks by writing a few simple commands. Take the image below as an example :

The tool is embedded into an HTML page so that it can be easily accessed and managed. Anyway, it's not exactly "production ready" which is why I'm announcing it here in the testing grounds -- you get to test it ! As well as help me catch pesky bugs and provide suggestions for improving the tool. If you want to give this tool a test on your forum, you can find the installation instructions here :
https://github.com/SethClydesdale/fa-cmd#installation

If you don't want to test it on your forum, you can also test it here by clicking "CMD" from the navbar or navigating to this page :
http://fmdesign.forumotion.com/h7-fa-cmd

Some things to test are :

  • Every available command ( obviously Razz )
    - Type HELP to see all commands

  • Test commands by typing them as uppercase and lowercase
    - Commands should be case-insensitive, if they don't work in uppercase that's a bug !

  • Test commands that take a value and use varying inputs. ( e.g. COLOR, GOTO, SEARCHTOPIC... )
    - Try different characters, special characters etc.. If something goes wonky make sure to report it !




If you have any questions, suggestions, or find a bug, feel free to leave a reply below. Wink
avatar
Ace 1
Valued Member
Title :
God of Creation
Gender : Male
Age : 17
Posts : 2092
Points : 2781
Reputation : 78
Location : druid hill Park
Language : Eng, Fr, Loud
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://fmdesign.forumotion.com/u190

PostAce 1 on Wed 18 May 2016, 09:04

Huh am I really the first person to reply to this?

And why don't commands used in the traditional command line work? mwii

avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4675
Points : 9682
Reputation : 2330
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 Wed 18 May 2016, 11:10

Yep, it's a little loony experiment I cooked up, probably will never meet production. lol!

Commands from the native command line don't work because this is built separately using JavaScript which has limitations. Wink
avatar
Van-Helsing

Title :
Coding Expert.
I.T Manager.
Web Developer.
Gender : Male
Age : 42
Posts : 830
Points : 2356
Reputation : 78
Location : Somewhere out there!
Language : English, Greek
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : punBB
Awards :
View all awards
View user profile http://itexperts.forumgreek.com/

PostVan-Helsing on Wed 18 May 2016, 11:21

Hmm it was really perfect emulator. Smile Espescially if it can adapt as a linux terminal. Wink But I think js is more limited for linux terminal commands. Sad

--------

avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4675
Points : 9682
Reputation : 2330
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 Wed 18 May 2016, 11:43

Yes, JS has a lot of limitations since it's executed on the client-side. You can however, still do quite a lot though. Naughty
avatar
Ace 1
Valued Member
Title :
God of Creation
Gender : Male
Age : 17
Posts : 2092
Points : 2781
Reputation : 78
Location : druid hill Park
Language : Eng, Fr, Loud
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://fmdesign.forumotion.com/u190

PostAce 1 on Wed 18 May 2016, 11:45

I tried to use the renameuser command but it said access denied. Where do I go to change my username?
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4675
Points : 9682
Reputation : 2330
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 Wed 18 May 2016, 11:47

^^ That's an admin only command. If you want a username change just contact me. Wink
avatar
Ace 1
Valued Member
Title :
God of Creation
Gender : Male
Age : 17
Posts : 2092
Points : 2781
Reputation : 78
Location : druid hill Park
Language : Eng, Fr, Loud
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://fmdesign.forumotion.com/u190

PostAce 1 on Wed 18 May 2016, 12:20

avatar
Michael_vx

Title :
Gender : Male
Age : 25
Posts : 301
Points : 1648
Reputation : 75
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx on Fri 08 Jul 2016, 12:25

my head is burnt lol this thing looks hard on my abilty Very Happy
avatar
BlackScorpion
Valued Member
Title :
Scorpion King
Gender : Male
Posts : 1164
Points : 2541
Reputation : 94
Location : USA
Language : english
Browser : Browser : Google Chrome Forum Version : Forum Version : Other
Awards :
View all awards
View user profile http://themechanger.forumotion.com https://pinterest.com/blkscorpion2

PostBlackScorpion on Fri 08 Jul 2016, 19:53

wow, looked and typed and man I can truly and honestly say i have no clue of what i doing!

--------

Respect is earned, loyalty returned.

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