1 (edited by xkp 2014-03-25 16:38)

Topic: Question about extensions calling system funcs directly.

I'am kinda new at punbb community and i got a question about the extensions, specifically when they calling something from main-core of punbb ( like function ) smile

I got subforms extension that makes my {Crumbs} messy.
The specific extension using array_unshift to add the new crumbs in forum use, but it makes them like
• ForumCommunity >> Home >> Questions ( >> this is the right way + SubformHere )
• ForumCommunity >> Questions >> Home >> SubforumHere ( This is wrong becouse exchanges Q>H and then Sub.

Can the code bellow directly to fix it and did this code will make my site unstable. ( like calling forum_page[crumbs] directly from extension.? ) -- i wounder is this a bad thing.

$forum_page['crumbs'] = array(array('h1', forum_link('admin/somewhere.php')));

Extension calls like this

array_unshift($forum_page['crumbs'], .....something )

P.P.
Second thought i think all will be okey if i change it smile