vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - AJAX File Manager For Your Admin CP (https://vborg.vbsupport.ru/showthread.php?t=314883)

Hostboard 12-02-2014 11:56 AM

I added // in front of the line. If I renamed the function it hung.

nerbert 12-02-2014 01:28 PM

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"

Hostboard 12-03-2014 01:10 AM

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.

nerbert 12-03-2014 03:23 AM

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.

nerbert 12-03-2014 03:59 AM

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.

Max Taxable 12-03-2014 04:15 AM

Wow this is pretty sharp. I've tagged it.

hoangserip 12-03-2014 02:23 PM

Quote:

Originally Posted by Hostboard (Post 2525362)
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.

operation as above :(

nerbert 12-03-2014 02:34 PM

I'll do a fresh install and see if I can figure out what's going on.

@ hoangserip: What browser are you using?

nerbert 12-03-2014 04:25 PM

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']);
Replace with:
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>
');

Replace with:
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>
');

I apologize for the inconvenience.

nerbert 01-19-2015 01:06 AM

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!


All times are GMT. The time now is 02:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00992 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete