Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Customizing my forum layout
Avatar
Rodrigo B Galluf
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2013 - 7:46 am

Ok it's open again. 

Go to forum and try to create a new topic

http://www.meudestinoorlando.c.....age_id=125

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2013 - 10:29 am

I pointed you to a codex article about jquery conflicts...  your wp theme is improperly loading its own version of jquery

<script type='text/javascript' src='http://www.meudestinoorlando.com/wp-content/themes/MEUDESTINOORLANDO3/jquery.js?ver=3.5.1'></script>

that is version 1.7.1 which is much older than the version that ships with wp (1.8.3)... so it causes conflicts as plugins expect the wp version of jquery...

if you can find in your theme where its loading that, we can help fix the theme...

 

Avatar
Rodrigo B Galluf
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2013 - 11:40 am

"if you can find"

This is the problem.. 

If you tell me where do I need to look it will be I good first step.

 

 

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2013 - 11:58 am

well its really just a search... windows and mac both allow searching a directory and its subdirs for a string... use the filename as the string...

wp_register_script and wp_deregister_script would be another couple of strings you could search for...

it can be just about anywhere since the theme structure is in wp is quite flexible... but if you are going to manually search files, I would start in header.php or functions.php in the theme...

Avatar
Rodrigo B Galluf
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2013 - 12:10 pm

Just for a test I activated another theme (twenty ten) to make sure if the problem remains on any other theme and it does remains.

My theme was made with artisteer 4.

 

Avatar
Rodrigo B Galluf
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2013 - 12:14 pm

Does this help something?

found in function.php

 

 

function theme_update_scripts() {
global $wp_scripts;
wp_register_script("script.js", get_bloginfo('template_url', 'display') . '/script.js', array('jquery'));
wp_enqueue_script("script.js");

}

function theme_update_jquery_scripts() {
if(is_admin()) {
return;
}
wp_deregister_script('jquery');
if (theme_get_option('theme_iclude_scripts_from_cdn')) {
wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js');
} else {
wp_register_script('jquery', get_bloginfo('template_url', 'display') . '/jquery.js');
}
}

function theme_update_styles() {
global $wp_styles;
wp_register_style("style.ie7.css", get_bloginfo('template_url', 'display') . '/style.ie7.css', array(), false, "screen");
wp_enqueue_style("style.ie7.css");
$wp_styles->add_data("style.ie7.css", "conditional", "lte IE 7");

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2013 - 12:28 pm

yes, that is not cool.... might be worth checking to see if the theme options can allow you to tell it not to load its own version of jquery...

I would comment out this line:

wp_register_script("script.js", get_bloginfo('template_url', 'display') . '/script.js', array('jquery'));

and change this line:

wp_enqueue_script("script.js");

to:

wp_enqueue_script("jquery");

which loads the wp version...

please be sure to check your other page/post behaviour using the wp version of jquery instead of the theme specific version...

if there is still issues after that, we can look further but usually best to rule out incorrect things first...

Avatar
Rodrigo B Galluf
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2013 - 12:48 pm

there is no option for this in theme options.

 

ok..

 

and I changed that line as you requested but still not working.... only thing that seems to happened is a huge menu bar! kk

homepage is open and you can check if you want it.

http://www.meudestinoorlando.com/forum/

Avatar
Rodrigo B Galluf
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2013 - 12:54 pm

wtf.pngImage Enlarger

I remember that at the first time that I downloaded simple:press I did not have that bug. I was able to add new topics anytime. So I found this... Does it has something to do it with?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 24, 2013 - 1:46 pm

Steve (Mr Papa) You may want to check that. I don't think that was the right code to change - seems to be loading a file called script.js = not jQuery.js...

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625