Announcement

Collapse
No announcement yet.

vb5.6.2 admincp templatemgr revert/customize/view buttons not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • spiderweb
    replied
    That did the trick. Thanks!

    Leave a comment:


  • Wayne Luke
    commented on 's reply
    Clear your browser cache and try again.

    If you copy a template, it will not replace the original. It will not show as modified. It will be a new custom template.

  • spiderweb
    replied
    I just replaced this but the buttons still don't work? If you copy the original of the modified it still show red?? Is there another way to reset to original?

    Leave a comment:


  • Wayne Luke
    replied
    The vBulletin 5.6.2 download has been updated with this file. A more comprehensive fix (updating/removing some outdated code) will be applied in 5.6.3.

    Leave a comment:


  • medialps
    replied
    Wayne Luke I had the same problem, and solved replacing the provided file, thank you !

    Leave a comment:


  • fpostma
    replied
    Originally posted by Wayne Luke View Post
    This is due to the Javascript compiler we switched to in vBulletin 5.6.2. The previous compiler is not longer in production or supported. I've attached a recompiled file using the older compiler.
    Thanks for the quick fix! We'll try 5.6.2 with that file instead of original.

    Leave a comment:


  • Wayne Luke
    replied
    This is due to the Javascript compiler we switched to in vBulletin 5.6.2. The previous compiler is not longer in production or supported. I've attached a recompiled file using the older compiler.

    Attached Files

    Leave a comment:


  • Wayne Luke
    replied
    Appears to be a bug either with updating and consolidating JavaScript for both performance and security purposes or the new Javascript Compiler that is being used. I created a bug here: https://tracker.vbulletin.com/vbulle...sues/VBV-20419

    Replacing the function shouldn't hurt your production site. The AdminCP doesn't share Javascript with the Front-end. Plus you can close off your AdminCP with two-factor authentication.

    Leave a comment:


  • vb5.6.2 admincp templatemgr revert/customize/view buttons not working

    Upgrade vb5.6.1 to 5.6.2. AdminCP Template Mgr buttons Customize/Edit/Revert don't do anything. Debug console in firefox gives error 'button.form not defined'

    Since it DID work in 5.6.1 I did some digging in "./clientscript/vbulletin_templatemgr.js" and found that the buttonClick function appears to be broken, it looks like this for 5.6.2:

    Code:
    function buttonclick(a,b,c){eval("el = button.form.tl"+b);return!1}
    which won't work, 'cos button isn't in function header. When I replaced that function with the one in vb5.6.1 the buttons work in vb5.6.2 adminCP. But I don't want to go into production like that of course

    Is this the correct way to report bugs or should I create a ticket in the bugtracker somehow?

    Running vb5.6.2 on CentOs7, MySql 5.7, php 7.4.7, browsers used Firefox 77 and Chrome 83 on Win10 US. (local test server)

Related Topics

Collapse

Working...
X