Interceptor Forum
Anpassung: Snowfall (Frontend) 2.7.3 - Druckversion

+- Interceptor Forum (https://interceptor.marconitschke.de)
+-- Forum: Sonstiges (https://interceptor.marconitschke.de/forum-70.html)
+--- Forum: MyBB Plugin (https://interceptor.marconitschke.de/forum-82.html)
+--- Thema: Anpassung: Snowfall (Frontend) 2.7.3 (/thread-64.html)



Anpassung: Snowfall (Frontend) 2.7.3 - nitje - 25-12-2024

Glaube Installation war nicht möglich aufgrund vom undefinierten Wert


Original Addon

Das muss angepasst werden in

suche
Code:
require_once MYBB_ADMIN_DIR."inc/functions_themes.php";

ersetze mit
Code:
$insert_array['attachedto'] = ''; require_once MYBB_ADMIN_DIR."inc/functions_themes.php";


und hier wird im Benutzer-CP was Doppelt angezeigt, am leichtesten Passage Ersetzen

Code:
if (!function_exists('remove_templatesets')) { require_once MYBB_ROOT."inc/adminfunctions_templates.php"; find_replace_templatesets("usercp_options", "#".preg_quote("<div><a name=\"snowfall_ucp\"><input type=\"checkbox\" class=\"snow_checkbox\" name=\"showsnowfall_stop\" id=\"showsnowfall_stop\" value=\"1\" {\$snowfallChecked} />\r\n<label for=\"showsnowfall_stop\">{\$lang->ucp_snowfall_question_with_page_info}</label></div>")."#i", '', 0 ); find_replace_templatesets("header", "#".preg_quote("\r\n{\$snowfall_headerbutton_on}\r\n{\$snowfall_headerbutton_off}")."#i", '', 0); find_replace_templatesets("footer", "#".preg_quote("\r\n{\$snowfall}")."#i", "", 0);