Topic RSS
5:14 am
Sorry my bad. It´s ofcourse the latest version 4.3.1
A fix to my theme is a hard task for me since i do know very little of php and css. The theme i am using is both xhtml and css validated, but i supose it does not mean there is no errors left?
Gosh this was bad news. Never had any problems with the old version of simple press forum. :(
P.S.
Did check footer.php and wp_footer() is there as it should be.
D.S.
Followed the linked instructions about the "Error Console in the Firefox", but it did not report a single error from my site.
That was my favourite but I can see it is not the issue.
More likely the issue is that your theme is loading a copy of the jQuery library that it has supplied instead of using the one supplied by WP – which it should be using. This is also an older version (1.3.2) whereas WP3.0 supplie and uses version 1.4.2. The one supplied with your theme is also a 'minimal' version so may not have everything other plugins need.
Why theme authors do ths sort of thing I have no idea but it causes endless problems for their users.
One of the worries about changng that is if anything else the theme supplies is totally dependent upon that version. jQuery does change from version to version of course. This is probably doubtful but the theme author should know.
I also must add that ths might not be the SP problem at all but it is, at the very least, masking the problem if not actually causing it.
My recommendation – as always – is to request the theme author fixes it to properly 'enqueue' the WP supplied jQuery library checking on any dependencies they may have coded in. Then we can look at what might be the problem with SP.
7:24 am
Would it help you if i attached the jquery files in a email to you?
2:21 am
So if i understand you correctly, you can not help me before the theme author fixes the theme to use the WP supplied jQuery
library?
The theme author on the other hand, say something similar which means nothing will happen. :(
What did the theme author say exactly?
Find your theme header.php. That is the most likely place to look but if your theme has a functions.php you may need to look in there as well.
Please don't just paste all of your code for me to look at. Look yourself. You are lookng for a reference to jquery.js. When you find it, copy the line of code and post it here for me to look at.
6:03 am
I found the JQuery references in Function.php:
// wp_enqueue_script('jquery', 'http://ajax.googleapis.com/aja…..n.js', false, '1.3.2');
wp_enqueue_script('jquery', get_bloginfo('template_url').'/js/jquery-1.3.2.min.js', false, '1.3.2');
wp_enqueue_script('jquery-cookie', get_bloginfo('template_url').'/js/jcookie.js', true, '0.1');
wp_enqueue_script('jquery-carousel', get_bloginfo('template_url').'/js/jcarousellite.js', true, '1.0.1');
wp_enqueue_script('jquery-superfish', get_bloginfo('template_url').'/js/superfish.js', true, '1.0');
wp_enqueue_script('jquery-global', get_bloginfo('template_url').'/js/global.js', true, '1.0');
wp_enqueue_script('loopedslider', get_bloginfo('template_url').'/js/loopedslider.js', true, '0.5.6');
wp_enqueue_script('scrolltopcontrol', get_bloginfo('template_url').'/js/scrolltopcontrol.js', true, '1.1');
if ( is_singular() && get_option('thread_comments') ) wp_enqueue_script( 'comment-reply' );
}
Thanks for helping!
Well we may have to take this one step at a time. I would start with changing:
wp_enqueue_script('jquery',get_bloginfo('template_url').'/js/jquery-1.3.2.min.js', false, '1.3.2');to
//wp_enqueue_script('jquery',get_bloginfo('template_url').'/js/jquery-1.3.2.min.js', false, '1.3.2');
wp_enqueue_script('jquery');and see what happens…
9:16 am
I had to go back to the original function.php code, because after trying your example i got a blank screen and following error message:
Parse error: syntax error, unexpected ',' in /home/mmofocus/public_html/wp-content/themes/weekly_1.0.3/functions.php
on line 116
Apologies I don't know what happened there. That's the first time I have seen the syntax highlighter screw up some code. Although I guess it was probably my error.
Anyway – I have corrected it. It just turned that top line into two when it should not have done.
That firs line is already there in your code. You need to comment it out and add the one new line below it.
Most Users Ever Online: 444
Currently Online: Yellow Swordfish, chaiavi, ptomislav, steve.engelking
77 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 502
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2625
Members: 7361
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10890
Posts: 79543
Newest Members: ndc, MacBravO, irlandes1, triphop, betokan, Jonathan Yovani Muñoz, somosguatemala, ahcreate, eatonrabbit, prasanna
Moderators: Brandon C (162)
Administrators: Yellow Swordfish (22223), Mr Papa (23688)
Log In
Register
Home
Add Reply
Add Topic
Quote
Online


Privacy Policy
Mr Papa


