Support Forum

Forum breaks shortcodes after upgrade from 4.5.1 to 5.0

MO Michael Oeser
Michael Oeser
Member

If you take a look at my site http://www.der-prinz.com/support-forum/ you can see there is a lot meesed up. None of the themes shortcodes work anymore. And even the regular page headline went below the forum. Also the page tries to load and load and load and doesn´t stop.

Any ideas for a quick fix? This is really anoying because all other upgrades in the past few years went just fine.

14 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Loads like lightening for me here!
So – with the exception of the title being below the forum – which is weird – what else is wrong?

MP Mr Papa
Mr Papa
Member

do you mean shortcodes in forum post content?  or elsewhere on the wp portions of the page?

I dont notice any oddities…

MO Michael Oeser
Michael Oeser
Member

I´m not talking about shortcodes inside of forums posts. I mean the shortcodes in my theme.They do not work on the forums page anymore (thank god only on the forums page).

I needed to remove the shortcodes from the page because it was all messed up. I left two shortcode for you to see what I mean. The text on top of the forum is wrapped in shortcodes that normally wrap a yellow warning box around that text and one little shortcode [ hr ] in the middle of the page which normaly outputs a styled horizontal line like the one you see right below the green textbox (also made with shortcodes) at http://www.der-prinz.com/purchase/.

And isn´t it weired enough the page headline moves below the forum? Something that never happened before.

Any help will be much appreciated.

YS Yellow Swordfish
Yellow Swordfish
Member

I suppose it is possible our shortcode checking is effecting the whole page although if this were the case I would have thought it would have been the same in the previous version.

Have you tried turning off our shortcodes filter in the admin options (content settings)? Or setting up the ones you need (see popup help).

MO Michael Oeser
Michael Oeser
Member

I have currently disabled shortcode filtering in the forum settings. I also tried with activated filtering just to test it. Same result no matter what settings I choose.

MP Mr Papa
Mr Papa
Member

odd. I wouldnt have thought shortcode processing on existing stuff would have changed – certainly not that we are aware of…

but I will open a ticket for exploration…

MO Michael Oeser
Michael Oeser
Member

I have also contacted the themes author. Maybe he has an idea as well.

MP Mr Papa
Mr Papa
Member

Its not a theme thing…  I can confirm the issue…

can you try a small edit for me?  open up simple-press/sp-startup/forum/sp-forum-framework.php and find around line 316

        echo $content;

and try changing it to

        echo apply_filters(‘the_content’, $content);

it seems to work in some quick testing but would appreciate seeing if it helps you…  I will check for any other knocks doing that…

ES eslucky
eslucky
Member

Seems like I am having the same problems here: http://canadanevada.org/business-forum/

Thanks for the great forums!

MO Michael Oeser
Michael Oeser
Member

Thanks so much. Works for the shortcodes. See http://www.der-prinz.com/support-forum/

The only thing that still “breaks” is the headline (which is the regular title) of the page which moves down below the forum. Of course I can do a quick fix by adding another headline to the content but that´s not a real solution.

Any idea to fix that?

YS Yellow Swordfish
Yellow Swordfish
Member

I can really only go on the htlm that is being generated which has the title as being in an ‘article’ wrapper inside the ‘section’ wrapper for the content but after the call to the wp the_content() call.

Again this is a unique report so it must be specific to your theme. If you want to send me a copy of the theme so that I can try it here I would be happy to do so.

MP Mr Papa
Mr Papa
Member

really the only way I can think of the title being below the content is if its not using the standard wp template tag for page title… or if it has it after the_content() call…

if its using some odd hook or something to output it, maybe its too low a priority??

YS Yellow Swordfish
Yellow Swordfish
Member

Michael: Our other user with the title issue found it to be caused by a plugin called “Meta Keywords & Description”. Do you by any chance also have that active?