Recent content by Nerbert

  1. Nerbert

    Bug on XenForo.com

    Okay. Never mind
  2. Nerbert

    Bug on XenForo.com

    At the time this thread https://xenforo.com/community/threads/generating-password-salt-hash-with-xf-and-auth-with-java-program.162801/ was posted I got an alert. The watched icon showed in What's New but when I viewed the thread it showed the "Watch" button so I now twice I've watched and then...
  3. Nerbert

    XF 2.0 Minifying JavaScript files and deleting old junk product

    I'm working on a testing addon to learn how things work and I'm having trouble minifying my JS. I have a build,json file in Nerbert/Testing like this { "additional_files": [ "js/vendor/nerbert" ], "minify": [ "js/vendor/nerbert/testing1.js" ] } My file is...
  4. Nerbert

    XF 2.0 How do I access options in a listener (templater_template_pre_render)?

    I have a listener class fired by templater_template_pre_render and I need access to options. How can I get them?
  5. Nerbert

    XF 2.0 How do I get page params for a widget?

    I'm trying to figure out how to get the viewParams from a page into a widget displayed on it. Can anyone help?
  6. Nerbert

    Escaping single quotes for INSERT (XF1)

    I had a vBulletin product Helpfulanswers for rating posts that I recoded for XF. I'm working on rebuilding the table and adding a username field with the following query that reads from one table and inserts into another $return = $this->_getDb()->query(' INSERT INTO...
  7. Nerbert

    AJAX File Manager for your Admin Control Panel (XF1)

    Sorry, I don't have any idea how this will work on Windows.
  8. Nerbert

    AJAX File Manager for your Admin Control Panel (XF1)

    Well. I'm not going there; my next projects will be converting this and the template editor over to XF2. I've only begun learning how to do XF2 add-ons. Playing around with ftp is something I may take up much later. But just one last thing: I'm not at all convinced this has anything to do with...
  9. Nerbert

    AJAX File Manager for your Admin Control Panel (XF1)

    Logging in is for ftp. This is AJAX. Yeah, I could make a user/password form, but what would you submit to? You can't submit to a directory. Somewhere on the server Is some scripting for ftp and even if you logged in for that it wouldn't help with AJAX. I don't know what you're using to edit...
  10. Nerbert

    AJAX File Manager for your Admin Control Panel (XF1)

    On my site I can set that to view the dir tree at any level I choose. So you could edit out that dirname() line and try to view public_html. The mystery is still what happens to the slash at the beginning. Get $pattern set to view public_html and try that hack in post #31 and see if that fixes it.
  11. Nerbert

    AJAX File Manager for your Admin Control Panel (XF1)

    dirname just cuts the last folder name off the end. If everything was working the dir tree would show everything in the me folder instead of public_html. My other admin can't figure this out either. Actually I think it's Russian hackers! I'm not surrendering yet.
  12. Nerbert

    AJAX File Manager for your Admin Control Panel (XF1)

    I PMed my other admin about this. He's at work so I haven't heard back yet. If he can't figure this out I think I'll register at Stack Overflow and inquire there. I'm sure they'll want to know what server you're using so could you see if you can find that? Maybe in your hosting service's...
  13. Nerbert

    AJAX File Manager for your Admin Control Panel (XF1)

    In the error message it already shows the missing slash when it passes the $pattern value to subDir() (#2 in stack trace) So let's try this hack at the top of subDir(): public function subDir( $pattern, $is_last, $level, $html) { $pattern = "/" . $pattern; $pattern =...
  14. Nerbert

    AJAX File Manager for your Admin Control Panel (XF1)

    Well, I guess it's not the slash problem. It's frustrating that the error message says no such file or directory and then in the stack trace you see that very directory. Your error message formatting is different from what I see on my site. What server are you using and what PHP version? I'm...
Top Bottom