Anyway, I tried this:
- Code: Select all
$template->set_custom_template($phpbb_root_path . 'styles/' . $user->theme['template_path'] . '/template');
But I forgot how to make $user->theme['template_path'] pull the users template id
All this trying to remember is making my head hurt. I'm probably not even making sense, and this is probably going to end up embarrassing me because it's so simple.
This doesn't even matter, that method would still make the framework pull the entire template system, including the overall_header.html etc from phpBB instead of the framework which defeats the entire purpose of this mod. -slapownface.
Ok. Taking a step back.
We need to pull ONLY CSS/Images from the forum's current default theme.
The template files need to be handled by framework so we can have our own special pages outside of the phpbb directory.
Why is this being difficult.