Support Forum

Full width template

ME Meztli
Meztli
Member

Hello guys,

Yesterday i changed to following wordpress theme at my website: Reaction theme

It created many new problems with the simple press plugin, and i wanted to try with the full width template that you had in your old FAQ, to see if it may solve the issues.

However i can not seem to find the information about how to create one in your new codex.

Cheers

Thomas

http://friskyttarna.eu

20 Answers

New Answer

MP Mr Papa
Mr Papa
Member

nothing has changed… its still really just a function of your wp theme…  all the best wp themes these days include multiple page templates to choose from…

but if this theme is stingy and only had a default template, the one in the old wiki is still the same and workable…

and based on what I see at: http://friskyttarna.eu/forum/ it looks like you have already accomplished this???

ME Meztli
Meztli
Member

Mr Papa said
and based on what I see at: http://friskyttarna.eu/forum/ it looks like you have already accomplished this???

Take a closer look and you will see that both dropdown list (new and recently updated topics and select forum) disapeared completely. Together with a handful other issues that appeared with the theme change.

The new theme do have 3 different full width templates included, but the forum is not working as intended with any of them. I did email the developer and got following answer:

“It’s entirely possible that a new page template or some re-written CSS file will fix the problems… However, as this plugin isn’t on the officially supported plugins list, there’s not a whole bunch that I can do to help out (simply put: there are tens of thousands of plugins out there and I can’t offer full support for all of them). Our theme uses the highest WordPress standards available to maximize how many plugins it works with, but that doesn’t mean that all plugins do the same. This is a case where you’d need to go back to the plugin author to see how to set up a page template… The general rule of using a width value of 100% instead of a fixed value is the rule of thumb.”

Which is the reason i did ask for the full width template information you had in your old wiki. I did not know the old wiki is still up and running, what is the adress?

ME Meztli
Meztli
Member

I did find the old wiki and created the forum template as mentioned. However, the forum did not even show up!

The new theme is using the 960 grid system and is 100% responsive. Maybe that is the source to all new problems?

ME Meztli
Meztli
Member

This is some of the new listings in the error log:

file: /simple-press/forum/content/classes/sp-forum-view-class.php

line: 87

function: sp_is_child_subforum

Notice | Trying to get property of non-object

file: /simple-press/forum/content/classes/sp-forum-view-class.php

line: 53

function: sp_the_subforum

Notice | Trying to get property of non-object

file: /simple-press/forum/content/classes/sp-forum-view-class.php

line: 578

function: sp_forumview_build_subforums

Notice | Trying to get property of non-object

file: /problem-with-post-edit-buttonome/friskytt/public_html/wp-content/sp-resources/forum-plugins/blog-linking/sp-linking-plugin.php

line: 237

function: sp_linking_do_install

error: Duplicate key name ‘blog_post_idx’

ALTER TABLE wp_sftopics ADD KEY blog_post_idx (blog_post_id);

There is a couple more errors related to the blog linking plugin.

What can i do to fix those issues?

YS Yellow Swordfish
Yellow Swordfish
Member

The reason you are seeing no dropdown boxes is because this theme does not make the mandatory call to the wp_footer() function. Don’t you just love theme authors who get all arrogant about standards and then don’t actually stick to them?

This s a call that is required by WordPress and many, many plugins to function correctly and must be called in the footer.

Your new theme is also loading jQuery form the google cdn. This will not work with SP and the reasons for that are described in this article: http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

Your theme author will no doubt tell you he is right to load this from the google cdn, and it is allowed, but the article explains why it is not a good idea and why it will not work with SP and, again, many other plugins.

This is usually easy to fix up by the way – you just need to find where it is being loaded n the theme code.

MP Mr Papa
Mr Papa
Member

the theme is missing the required call to wp_footer() in its footer… not very high wp standards if you cant have something that basic! wink

ME Meztli
Meztli
Member

Blush, the missing footer is my fault, not the theme author. Terrible sorry about that.

The theme is loading a blog section in the footer for every page, and for some reason it´s loading the forum in the blog section as well. I supose it´s related to the blog linking plugin.

I did delete the footer to remove the blog loading.

The footer is back again (as are the menus), so please take a look and se if i can solve that issue some how.

Thank you in advance!

Cheers

Thomas

MP Mr Papa
Mr Papa
Member

lol.  then go to forum – integration – page and permalink, and try playing with the settings for display multiple and display in the loop… should fix it up…

ME Meztli
Meztli
Member

Mr Papa said

lol.  then go to forum – integration – page and permalink, and try playing with the settings for display multiple and display in the loop… should fix it up…

That removed the forum from showing up in the blog section. However suddenly, it´s impossible to reply and write new posts in the forum and a new error appeared in the log:

file: /problem-with-post-edit-buttonome/friskytt/public_html/wp-content/plugins/simple-press/forum/content/classes/sp-topic-view-class.php

line: 231

function: select

error: Unknown column ‘blog_post_id’ in ‘field list’

SELECT wp_sftopics.topic_id, wp_sftopics.forum_id, topic_name, topic_slug, topic_status, topic_icon, wp_sftopics.post_count, forum_slug, forum_status, forum_rss_private, wp_sfposts.post_id, post_date, wp_sfposts.user_id, guest_name, guest_email, post_status, post_pinned, post_index, post_edit, poster_ip, post_content, NULL AS new_post, blog_post_id, attachments, topic_subs, topic_watches FROM wp_sftopics JOIN wp_sfposts ON wp_sftopics.topic_id=wp_sfposts.topic_id JOIN wp_sfforums ON wp_sftopics.forum_id=wp_sfforums.forum_id WHERE wp_sftopics.topic_id=1990 ORDER BY post_pinned DESC, wp_sfposts.post_id ASC LIMIT 0, 20

ME Meztli
Meztli
Member

I did turn on both options again, but it´s still not possible to reply or write in the forum. cry

P.S.

The search box is looking weird as well, and the text inside it is very smal.

D.S.

I did read through the JQuery link from Andy, and i still dont understand how to correct the issue. I would very much appricate if you could explain to me how to fix it. My php skill is none existing as you could understand since i removed the footer. embarassed

MP Mr Papa
Mr Papa
Member

this will likely be due to the use of the theme loading its own version of jquery from google apis instead of using the version that ships with wp – which Andy pointed out earlier…

<script type=’text/javascript’ src=’https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js?ver=3.4′></script>

If the theme does not provide an option to use the WP version of jquery, you need to find where it loads the google apis version and we can help to change it so things will get working.  Normally it would load it in the theme functions.php file or perhaps header.php…

ME Meztli
Meztli
Member

Mr Papa said
this will likely be due to the use of the theme loading its own version of jquery from google apis instead of using the version that ships with wp – which Andy pointed out earlier…

<script type=’text/javascript’ src=’https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js?ver=3.4′></script>

If the theme does not provide an option to use the WP version of jquery, you need to find where it loads the google apis version and we can help to change it so things will get working.  Normally it would load it in the theme functions.php file or perhaps header.php…

Thank you Steve.

I did email and the theme developer, since i could not locate where the google apis are loading, but no respond so far.

I am not sure you get any chance to help me. Starting to get a feeling that all time and money spent with the new theme was wasted. I had to install the old theme again, since no one could write/reply at the forum.