The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Main Control Panel: Including SSH Backup & Restore Through Your AdminCP! Details »» | |||||||||||||||||||||||||||
Main Control Panel: Including SSH Backup & Restore Through Your AdminCP!
Developer Last Online: Jul 2019
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Main Control Panel Hack, by N9ne \\ Created on March 15th 2003. \\ Copyright N9ne, 2003+. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Description: This hack will add a page to the adminCP. On this page, there are many settings. You can set which userids can access this page and its options in config.php -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Options available on page: - Overwrite database with a backup - Create backup - Reset post counts - Include Administrators? - Delete 0 posters - Prune all threads and posts - Prune all PMs - Delete all smilies - Delete all icons - Delete all custom avatars - Delete all avatars - Delete all attachments - Delete all announcements - Delete all forums -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- You require SSH or telnet access on your server in order to run this hack. It will be running mysql < and mysqldump > commands, so they must be installed. This may not work on all windows systems. If you want to run this on localhost with a windows OS, you will need to add chdir commands before mysql and mysqldump executions. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Level of hacking: Easy -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Time Taken: 1 minute. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Files to modify: admin/index.php admin/adminfunctions.php admin/config.php -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Files to upload: admin/maincontrol.php -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- In the attached .zip file you can find: A screenshot of some of the options \\ Instructions for installation \\ maincontrol.php Show Your Support
|
Comments |
#32
|
|||
|
|||
Sorry I didn't post the line of code...I fixed that.
But I do have another question. Where does the maincontrol.php go? forums/admin/ ? I put it there and the options didn't show up in the admin cp (unless I am just blind and don't see them. |
#33
|
|||
|
|||
Upload maincontrol.php to your admin directory. Make sure you've made the modifications to admin/index.php to make it show in the navigation.
|
#34
|
|||
|
|||
nice hack! Works lovely. Tnx
|
#35
|
|||
|
|||
great hack - absolutely perfect. thanks n9ne
tina |
#36
|
|||
|
|||
Please click install Tina
|
#37
|
|||
|
|||
I Have it installed ok, but having problems doing a backup.
Is it the case that it will only backup to a location on the same server? Or will it backup to your local machine? If it will only do it to the server would someone mind posting an example of a path so I know what to try. I ain't to hot on linux :ermm: Thanks in advance. Brian |
#38
|
|||
|
|||
If you have cPanel, most likely the path will be something like:
/home/YOURACCTUSERNAME/public_html/these_are_folders_viewable_by_the_world And you are correct in saying that they will only backup to the server. It will create a file on your server which you can then download to your local machine. |
#39
|
|||
|
|||
for which I should delete the Threads and Postings I don't understand
regards, greetz subu1 |
#40
|
||||
|
||||
Very nice hack indeed. I'm not going to use it since i like doing everything myself, but i suggest adding an option to replace
mysqldump --opt with mysqldump --add-drop-table --all since some servers might have restrictions on locking tables. EDIT: By the way, it is guaranteed not going to work on a windows server, since the sytaxes for mysqldump and mysql are different. |
#41
|
|||
|
|||
Quote:
Thanks Brian |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|