The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
AJAX File Manager For Your Admin CP Details »» | |||||||||||||||||||||||||||||||||||||||||||||
Bug Fix for Who's Online!
See https://vborg.vbsupport.ru/showthrea...11#post2533411 below. New Version 1.2 with sprites. See below. (Also some bugs fixed) This product puts a file manager with a CodeMirror editor right in your forum's admin control panel, giving you full access to your files without logging in on the server. Besides file manager operations it makes forum management easier by providing a full code editor for templates and plugins, a hook finder and function finder that shows the hook or function in the file, and allows you to switch to debug mode without editing config.php. Features:
New Features for Version 1.1
New Features for Version 1.2 I've rebuilt all the file icons and converted to sprites for faster loading. I tried to find all the different file types in vBulletin but I may have missed some. If you need other icons for different files I've included a sprite factory in the images directory. You will find detailed instructions there. For results perfectly matching existing icons you may wish to download Paint.NET Security Of course nothing beats ssl/tls, but I've tried to build in enough security to foil the dilettante hacker. File Manager requires a separate login, which may have to be different from the user's regular one, depending on settings. The login verification process follows vBulletin's double hashing, but unlike vBulletin, File Manager hashes using SHA512, which cannot be cracked. As with the standard login, five strikes and you're out for 15 minutes. CSRF protection is active and a security key gives further protection. The security key is a hash generated by various formulas depending on the operation. The JavaScript in your computer and the PHP on the server update it with each operation and the two versions are compared with each operation (except downloading a file ). They could get out of sync if someone else (an eavesdropper) sends an AJAX request or submits a form. This could be a concern on an unsecure WiFi connection. But if a window is inactive for too long the Security Key will be deleted and you will get a notice. If you have no reason to suspect eavesdropping you can just reset it and move on. Each File Manager page has its own security key. When you log out of the File Manager all your security keys are deleted. If you log back in you will have to reset the security keys on any code editor pages that were left open. Logging out of the AdminCP always logs you out of the File Manager. All filesystem functions use the file full path but the server username (home/XXXXXXXX) never appears on the AJAX query string. For protection against remote hacking, the filemanager directory name can be changed to a random string or some name that disguises its purpose. The filemanager index page fakes a 404 Not Found error (regardless of the filemanager directory name) to hide the existence of the File Manager from snoops. Miscellaneous Never MOVE files out of the filemanager directory, always COPY where necessary. You want to keep the originals for your next upgrade. This was developed in vB 4.2.1 and vB 4.2.2. It will probably work in vB 3X. All the active JavaScipt files in filemanager/clientscript are minified using jscompress.com. The originals can be found in filemanager/misc. The Edit/View feature shows a code editor for code and an image viewer for images. (There could be a problem getting the right image path. Let me know if you have any problems.) No alerts, confirms or prompts. All messages appear in built-in message blocks. You select directories from the Directory Tree to move or copy. No typing in misspelled directories and accidentally creating new ones. The full Directory Tree is loaded when the page loads; no AJAX call when you open a directory. Directory Tree and File List automatically rebuild and reload when needed The File Manager main page and the Code Editor window use AJAX login for both the AdminCP and File Manager so your work and settings are preserved. For both the Code Editor and Template Editor, if you open a new edit window any older one will be closed. The product is fully phrased. Anyone wishing to translate is free to do so but PM me for details on changing phrases in the CodeMirror toolbars. Installation
Known Issues
Upgrading to Version 1.2 First, UNINSTALL THE OLD VERSION and then follow the same procedure as the original installation. The only thing you need not do is edit config.php. Bugs Fixed Versions 1.0 and 1.1
Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
tbworld |
Comments |
#22
|
||||
|
||||
I added // in front of the line. If I renamed the function it hung.
|
#23
|
|||
|
|||
I thought that's what you meant. If you do that the old function's content (all the stuff between the opening and closing curlies) executes when the file loads. That why it put a box (actually a textarea) up in the corner.
Just restore adminfunctions.php to the original and we can deal with that later. I don't know what you mean by "the function hung" |
#24
|
||||
|
||||
Well now I am getting failed login attempts. At least it is progress. How do I reset he password? I tried to reset it via the File Manager Admin section and set the password options to both no. I then entered my user ID and a password. It says saved but when I login it says incorrect user name or password.
|
#25
|
|||
|
|||
You should enter your user NAME and password but if you entered a user ID you would get a message "No match for 1234"
To reset the password just set it again as you did the first time. |
#26
|
|||
|
|||
Is your browser filling in the password? I can't remember if it does that. If it does that's your regular password, so type in the correct file manager password. Use local storage settings to store the new password once you get going.
For an initial test, use the simplest password of all, just "a". There's less chance of mistyping. |
#27
|
||||
|
||||
Wow this is pretty sharp. I've tagged it.
|
#28
|
||||
|
||||
Quote:
|
#29
|
|||
|
|||
I'll do a fresh install and see if I can figure out what's going on.
@ hoangserip: What browser are you using? |
#30
|
|||
|
|||
I found the problem. You can either install the new version of the filemanager files or do the following edits in filemanager/admin.php:
On line 169, filemanager/admin.php Find: Code:
$password = hash('sha512', trim($vbulletin->GPC['password']) . $admin['salt']); Code:
$password = hash('sha512', trim($vbulletin->GPC['sha_password']) . $admin['salt']); On line 254, filemanager/admin.php Find: Code:
print( ' <script> document.forms.cpform.setAttribute("onsubmit", ""+ "var form = document.forms.cpform;"+ "var password = form.password.value;"+ "form.testpass.value = hex_md5(password);"+ "form.sha_password.value = sha512(password);"+ "") </script> '); Code:
print( ' <script> document.forms.cpform.setAttribute("onsubmit", ""+ "var form = document.forms.cpform;"+ "var password = form.password.value;"+ "form.testpass.value = hex_md5(password);"+ "form.sha_password.value = sha512(password);"+ "form.password.value = \'\'"+ "") </script> '); |
#31
|
|||
|
|||
I've just updated File Manager to Version 1.2. This new version uses sprites for faster loading. I tried to identify all the different file types and make icons for them but I may have missed some. If you need other icons I included a sprite factory with detailed instructions in the images directory.
There were some bugs I fixed too. There was a problem copying multiple directories in a single operation and changes in the directory structure weren't always reflected in the directory tree afterwards without closing and re-opening the parent directory. I fixed some problems with the textarea large edit box for templates, plugins etc too. If you find any bugs please let me know. I want this to work perfectly! |
Благодарность от: | ||
Max Taxable |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|