Welcome Guest ( Log In | Register )

UploadScript

Check out the FREE chatroom mod for IPB 3.x

> About IPB SDK

Bugs should be reported on the Bug Tracker. To download the latest bleeding-edge version of the SDK, head over the SVN repository.

2 Pages V   1 2 >  
Reply to this topicStart new topic
IPB Command Line Administration Tool, Allows you to do IPB things from the command line....
cowweb
post Jun 13 2004, 04:58 AM
Post #1


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



IPB Command Line Administration Tool

Category: Other View
Compatibility: Invision Power Board
Demo: http://


Description:

Just to demonstrate what you can do with PHP, and the IPB SDK. And that ordering pizzas and formatting hard drives aren't the only things you can do with a shell script.

FEATURES
- Add a category from the command line
- Create a new forum from the command line
- Register a new user account from the command line
- Display the latest board statistics

WHY USE COMMAND LINE?
- You do everything in the command line and can't be bothered to
load up a web browser, log in to the board, find your way around
the Admin CP just to add a new forum.
- You know alot about scheduled tasks and want to use this
command line script to automate some tasks.
- Pizza via command line just isn't good enough.

WHY WRITE THIS SCRIPT?
I had alot of time and wanted to do something on the verge of crazy.
The next step would be to write a script which allows you to order
books and DVDs via command line, book holidays via command line and
finally drive the car by command line.

View Mod
Go to the top of the page
 
+Quote Post
giggsey
post Jun 13 2004, 05:46 AM
Post #2


rand() = 4;
Group Icon

Group: Management
Posts: 4,809
Joined: 20-September 03
From: Essex, UK
Member No.: 44,316
IPB Version: Not Applicable



This sounds very interesting, is it like at the command point in windoes (shudders)


--------------------
~Joshua Gigg (giggsey aka Barbie Girl)
Management
Websites: AppliedIRC | giggsey.com | Follow me on twitter - @giggsey - My Mods[4]
Liked my Support - Donate
Go to the top of the page
 
+Quote Post
cowweb
post Jun 13 2004, 06:15 AM
Post #3


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



Yup wink.gif I've not yet tried/learnt how to do linux shell scripts yet. Screenie Demo attached:
Attached File(s)
Attached File  cmdscreenie.jpg ( 109.2K ) Number of downloads: 144
 


--------------------
Go to the top of the page
 
+Quote Post
RealPakistani
post Jun 13 2004, 10:09 AM
Post #4


Advanced Member
***

Group: Members
Posts: 295
Joined: 25-February 04
From: Pakistan.
Member No.: 86,686
IPB Version: 1.3.x



I have also downloaded this mod and checking it smile.gif


--------------------
user posted image
Go to the top of the page
 
+Quote Post
RealPakistani
post Jun 13 2004, 10:30 AM
Post #5


Advanced Member
***

Group: Members
Posts: 295
Joined: 25-February 04
From: Pakistan.
Member No.: 86,686
IPB Version: 1.3.x



When i enter "ipb" it give following error:

CODE
File not found
PHP_PEAR_INSTALL_DIR is not set correctly.
Please fix it using your environment variable or modify
the default value in pear.bat
The current value is:
ECHO is off


--------------------
user posted image
Go to the top of the page
 
+Quote Post
X2D
post Jun 13 2004, 10:31 AM
Post #6


Newbie
*

Group: Members
Posts: 27
Joined: 11-April 03
Member No.: 1,099



Great idea dude, hope to see future updates on this and maybe even a full fledged program smile.gif
Go to the top of the page
 
+Quote Post
.Justin
post Jun 13 2004, 10:48 AM
Post #7


This Member Contains Adult Content Not Suitable For All Audiences
******

Group: Members
Posts: 3,131
Joined: 24-July 03
From: Ohio, USA
Member No.: 29,786
IPB Version: Not Applicable



RealPakistani, read the readme.txt to configure the ipb.bat file.


--------------------
Go to the top of the page
 
+Quote Post
RealPakistani
post Jun 13 2004, 10:57 AM
Post #8


Advanced Member
***

Group: Members
Posts: 295
Joined: 25-February 04
From: Pakistan.
Member No.: 86,686
IPB Version: 1.3.x



I have readed that.


--------------------
user posted image
Go to the top of the page
 
+Quote Post
cowweb
post Jun 13 2004, 11:01 AM
Post #9


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



QUOTE(RealPakistani @ Jun 13 2004, 05:30 PM)
When i enter "ipb" it give following error:

CODE
File not found
PHP_PEAR_INSTALL_DIR is not set correctly.
Please fix it using your environment variable or modify
the default value in pear.bat
The current value is:
ECHO is off

Whoops, looks like I've missed a value out. You'll also have to find:
CODE
IF "%PHP_PEAR_INSTALL_DIR%"=="" SET "PHP_PEAR_INSTALL_DIR=C:\PHP\pear"


And change that to the path to PEAR. I'll try and find a way of removing it, as it is useless.


--------------------
Go to the top of the page
 
+Quote Post
Elxx
post Jun 13 2004, 11:52 AM
Post #10


Newbie
*

Group: Members
Posts: 22
Joined: 3-October 03
Member No.: 52,229
IPB Version: 2.0.x



That's cool! Can't wait for the pizza add-on! tongue.gif


--------------------
user posted image
Go to the top of the page
 
+Quote Post
cowweb
post Jun 13 2004, 11:54 AM
Post #11


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



A program to order pizza via the command line is avaliable at http://www.beigerecords.com/cory/pizza_party/ smile.gif


--------------------
Go to the top of the page
 
+Quote Post
eden
post Jun 13 2004, 08:42 PM
Post #12


Member
**

Group: Members
Posts: 117
Joined: 10-April 03
Member No.: 450



Awesome mod COW
could be really useful
Go to the top of the page
 
+Quote Post
plasma2002
post Jun 16 2004, 02:43 AM
Post #13


Newbie
*

Group: Members
Posts: 52
Joined: 29-May 03
Member No.: 15,643



cow! totally awesome!

command liine is great idea biggrin.gif

and whats cool is i have NO IDEA what im going to do with it yet, lol..... but ill figure something out 8)







QUOTE
Please use the support topic at IBPla... sorry Invisionize.

and your unspoken ironic humor is quite schwippy wink.gif
Go to the top of the page
 
+Quote Post
UltimateVG
post Jun 25 2004, 09:17 AM
Post #14


Newbie
*

Group: Members
Posts: 3
Joined: 14-August 03
Member No.: 34,784



I'm currently working on a program for Windows that allows forum management to eventally be done through a program.

Would it be ok to add compedability for your wonderful command-line tool in the next version of my program, cowweb?
Go to the top of the page
 
+Quote Post
cowweb
post Jun 25 2004, 10:07 AM
Post #15


recursion n. see recursion
******

Group: Members
Posts: 2,673
Joined: 11-April 03
From: 127.0.0.1 :)
Member No.: 855
IPB Version: 1.3.x



Sure smile.gif I was thinking about some kind of GUI app which could manage IPB too a while ago - what are you writing this in? C++? Python? Visual Basic?

Cow


--------------------
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th March 2010 - 06:51 PM
Invision Skins · IPB Skins