Build the add on once. Then copy the folder into the desired location in the build location then build again. It should then be packaged into the zip.
Though, to be honest, I suspect I probably just pasted it into the zip after it was created.
Server Error Log
Error Info
ErrorException: Undefined variable: xmlFile - library/AddOnBuilder/Helper/RecurseZip.php:90
Generated By: Brent, 3 minutes ago
Stack Trace
#0 /home/nginx/domains/aspiescentral.com/public/library/AddOnBuilder/Helper/RecurseZip.php(90): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/nginx/dom...', 90, Array)
#1 /home/nginx/domains/aspiescentral.com/public/library/AddOnBuilder/ControllerAdmin/AddOn.php(129): recurseZip->compress('addon-prestage/...', 'addon-prestage/...', 'addon-prestage/', 'bamaNewsletter-...')
#2 /home/nginx/domains/aspiescentral.com/public/library/XenForo/FrontController.php(347): AddOnBuilder_ControllerAdmin_AddOn->actionBuilder()
#3 /home/nginx/domains/aspiescentral.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home/nginx/domains/aspiescentral.com/public/admin.php(13): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
["url"] => string(70) "https://www.aspiescentral.com/admin.php?add-ons/bamaNewsletter/builder"
["_GET"] => array(1) {
["add-ons/bamaNewsletter/builder"] => string(0) ""
}
["_POST"] => array(8) {
["build_location"] => string(15) "addon-prestage/"
["library_check"] => string(1) "1"
["library_dir"] => string(12) "BamaStangGuy"
["_xfConfirm"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(24) "/admin.php?add-ons/build"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Not had a chance to have a look, yet.
Let me know of there are any specific reproduction steps.
I just installed this addon, but I have no Build Button inside the AddOn list. Are there any known problems with other AddOns?
I believe the screenshot was from the update that was eventually rolled back. There are no template modifications or hooks at all so that is why there is no 'Build' link on the main add-on list.It uses Template Hooks still rather Han template modifications.
We use essential cookies to make this site work, and optional cookies to enhance your experience.