Support Forum

Problems after upgrading to v5

IN investor
investor
Member

Hi there,

 

Because I upgraded to v5 this is a continuation of this thread: https://simple-press.com/support-forum/sp4/css-messing-up-sp/page-5/#p100297

 

First problem: the top drop down menu is not working properly on the forum page. This does not occur on any other page on my website.

 

Second problem: the profile infos open up in a new window with plain text. 

 

Third problem: I cannot create new topics or reply to posts. The editor simply does not open. 

 

Hope you can help. Thanks.

21 Answers

New Answer

BR Brandon
Brandon
Member

I would start with check and or playing with the SP Integration – Page and Permalink settings.

Depending on your WP you may have to try them set a couple of different ways.

See http://codex.simple-press.com/codex/faq/troubleshooting/i-am-seeing-multiple-forums-displayed/ for more info on those settings. It talks about multiple forum displays but these settings can also affect some menu tabs.

IN investor
investor
Member

It is not the menu “inside” the forum but the overall menu on my website that is not working within the forum page. I simply cant click the drop down tabs.

MP Mr Papa
Mr Papa
Member

probably because your repo theme is loading older versions of jquery ui and its components than ships with wp…  plugins and themes really need to use the version of jquery and jquer ui stuff that comes with wp…  other wise, you can get conflicts…

IN investor
investor
Member

I asked about the jquery in the theme support forum and apparently there was a problem with a coda js file. Got it fixed (maybe?) but I still have a problem as you can see. The top forum seems to be working but.. yeah.. something is wrong!

MP Mr Papa
Mr Papa
Member

so I dont understand… what is the problem now?  anything I could try as guest worked.. ie popups, dropdowns, sliders, etc…  so need more specifics…

I can say that your theme (or plugin) is still loading jquery from offsite

<script type=’text/javascript’ src=’http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=3.3.1′></script>

rather than using the version of jquery that ships with wp…  not clear what version is loaded but it may cause conflicts as opposed to using the version that is already in wp…

IN investor
investor
Member

You dont see two forums “stacked” on top of eachother?

IN investor
investor
Member

Fixed it, sorry. Adjusted “integration” settings and now it apparently works. Thanks for your effort papa

MP Mr Papa
Mr Papa
Member

ah… perhaps did not scroll far enough or notice that…  yes, that would be the solution – good find… thanks for the updates…

IN investor
investor
Member

OK, I think I need to fix this jquery issue once and for all. Now I cannot write replies or open topic. Wont let me type in the editor. 

Can you guys please explain what I must do to fix this?

Thanks – really appreciate your help.

YS Yellow Swordfish
Yellow Swordfish
Member

Well we can but try! But – you will have to do some hunting.

Start with the WP Theme. Look in the header template but – more likely will be the functions.php file. You are looking for:

(1) a reference to ‘ajax.googleapis.com’ and –

(2) a reference to ‘jquery-ui-1.8.5.custom.min.js’.

See if you can copy and paste the code where you find these – remember to use the code button on the toolbar though – paste the code, highlight it and then select the php from the code dropdown.

IN investor
investor
Member

I searched the theme support forum for similar problems and fould a way to revert back to a previous version of jQuery. Replaced 

wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js');
with
wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'); 
in functions.php
 
(sry did not understand what you meant by code button..?)
 
I dont know if this was what you were thinking, but it seems to have fixed the topic problem. Still cannot add a reply however..
 
This line is also located in functions.php:
wp_register_script('jquery-ui-custom', get_template_directory_uri() . '/js/jquery-ui-1.8.5.custom.min.js', 'jquery');
YS Yellow Swordfish
Yellow Swordfish
Member

No that wont change anything.

Let’s take these one at a time starting with the first one.

Can I assume there was a line before that starting with ‘wp_deregister_script’ and ine after it starting with wp_enqueue_script’? If so can you please copy all three lines and post themn to me.

Is this the same for the second one as well?