Closed rica-carv closed 8 years ago
Enable Debug Mode : "Bbcode + Shortcodes" - Can you find a wrapper in the list? (in the footer)
No, there's no wrapper in the list.
More weird is that i know that on another page (forum_viewforum
) there's a wrapper (for viewable_by
shortcode), and also when debugging it there's no wrapper listed....
Real weird...
I have added some for the main forum page. (I believe thisscript is using your upgraded code you submitted)
Please try with my changes and see how it goes now. Keep in mind that if there is no shortcode in the template, it won't display in the list.
eg. If you look at the 'track' page with DEBUG enabled, you won't find forum/track/end
in the list of wrappers, because $FORUM_TEMPLATE['track']['end']
does NOT contain any shortcodes, therefor the shortcode handler is never called.
@CaMer0n Sorry, but with your changes it still doesn't works....
Should be fixed now.
For v2.x shortcode wrappers to function correctly, the template files also need to be loaded in the v2.x fashion using e107::getTemplate();
ie. require/include
will fail to handle the v2.x wrapper format.
Closing this, but please re-open if necessary.
I've tryed severall
forum_template.php
shortcodes wrappers variations, but it seems they don't work:Anyone has this same issue?