2017-02-13, 02:42 AM
I understand that the templates are loaded into the database under "mybb_templates", but how does MyBB call them and where do they place them at?
Is it similar to "mybb_settings", where it stores all the variables in a php file and calls them by their variable names?
I ask this because I've noticed this line of code in a lot of pages:
Correct me if I am wrong, but this is calling certain template files so they aren't all loaded. But what exactly is it pulling this from?
Is it similar to "mybb_settings", where it stores all the variables in a php file and calls them by their variable names?
I ask this because I've noticed this line of code in a lot of pages:
$templatelist .= ",multipage,multipage_end,multipage_jump_page,multipage_nextpage,multipage_page,multipage_page_current,multipage_page_link_current,multipage_prevpage,multipage_start,portal_announcement_send_item,portal_announcement_icon,portal_announcement_avatar,portal_announcement_numcomments";
Correct me if I am wrong, but this is calling certain template files so they aren't all loaded. But what exactly is it pulling this from?