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 |
#32
|
||||
|
||||
Although, I would debate if sprites really speed things up - you're now loading the entire larger image file no matter even if it's only displaying the smallest icon in the sprite - it does reduce requests. It's open in my mind how much it helps if you're only displaying 2-3 of the icons in the sprite.
But this is a great mod you made even better. |
#33
|
|||
|
|||
I have a very slow satellite connection and I would say it does help. It used to be the page loaded and then the icons would load a few at a time. Now they all load all at once.
Use the blazes out of it, if there are any more bugs I want to fix them. |
#34
|
||||
|
||||
Quote:
The sprite tradeoff is, larger image file but only one request no matter how many of the icons are displayed. It's a slick way to load icons especially if there's alot of them to be displayed. |
#35
|
|||
|
|||
The whole sprite image for the file icons is 16 x 606 so size is not an issue here. What is nice is that when you view a directory with an unusual file type in it, like swf or mp3, the icon is right there and is loaded just as fast as the commonly used ones such as php or js.
Also sometimes the directory tree would load unevenly and directory names would shift as the images would load. Probably the main advantage of sprites in this project is it cuts down the length of the html string for the directory tree. Instead of an image tag it just uses a three letter class name I also minified all the JavaScript files. I don't know how much difference that makes. |
#36
|
||||
|
||||
Quote:
Using sprites increases kb page load. Because you are loading the entire image file on browsers instead of the few small, 1kb images. |
#37
|
|||
|
|||
Bug Fix for Who's Online!
There is an error in the File Manager: Show User in "Admin Control Panel" in Who's Online Plugin. You can either upload the new product file or follow these directions: Change the hook location to "online_location_unknown" Change the code to: Code:
if (strpos($userinfo['location'], '/' . $vbulletin->config['Misc']['filemanagerdir'] . '/') !== false) { $handled = true; $userinfo['action'] = $vbphrase['admin_control_panel']; $userinfo['where'] = ''; } |
#38
|
||||
|
||||
anyone have this working with vb3? ...max?
|
#39
|
||||
|
||||
I never installed this, not even on my v4 sites.
|
#40
|
||||
|
||||
i managed to get it all organized in proper folders cause this was a mess, but i got a sql error (i think its for vb4s stylevars) tried removing the query but no luck.
may have done something wrong idk, didnt really spend too much time dinkin with it cause how messy it is lol anyway, heres a neater file structure for anyone that wants it, includes everything you need, and its all structured. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|