Support Forum

Profile options pages unstyled?

JO 0161-Jon
0161-Jon
Member

Hello,

when on the profile page, if a user clicks options, usergroups, permissions, subscriptions, the page that loads is just unstyled text on white background? How can I change this so it loads within my forum styled page?

Also, is it possible to remove some of these options altogether?

 

Thanks

 

Jon

Screen-shot-2012-10-04-at-15.14.29.pngScreen-shot-2012-10-04-at-15.14.24.png

21 Answers

New Answer

BR Brandon
Brandon
Member

Go into the Forum Admin > Profiles – Tabs and click on “update Profile tabs” and see if that brings the display back properly.

If so then you can use that same page and rearrange the tabs or open up their configuration and turn off the display of the ones you don’t want to show.

JO 0161-Jon
0161-Jon
Member

thanks for the reply Brandon,

 

I tired that and it hasn’t made any difference, any other ideas?

BR Brandon
Brandon
Member

Let’s try resetting them then.

Forum Admin > Toolbox – Housekeeping > Reset Profile Tabs. If no help may have to wait for Mr. Papa to jump in.

JO 0161-Jon
0161-Jon
Member

Hi Brandon,

 

thanks again for the suggestion, it didn’t work but still useful to know about the housekeeping section.

MP Mr Papa
Mr Papa
Member

any js errors reported in the console of your browser and dev tool of choice? ie firefox with firebug…

might be worth perusing:  http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

if you gave us a link, we could look for obvious js/jquery issues…

JO 0161-Jon
0161-Jon
Member

Hi Mr Papa,

 

thanks for the reply, this is the site:

http://www.pcmi.org/forum

 

I have to run out now to meetings but will take a look for errors later.

JO 0161-Jon
0161-Jon
Member
Screen-shot-2012-10-05-at-15.19.55.png

Hi Mr Papa,

 

just checked and I get these errors shown in the screen shot, I’m not sure how to fix these though. Can you offer me any steer at all please?

MP Mr Papa
Mr Papa
Member

yup… the link I gave you last time points to jquery issue… which is what those errors indicate (see it says jquery not defined)…

but I dont see anything obvious…  so let me ask some questions…

any caching plugins?  you cannot cache the forum page…

any plugin trying to minify js?

can you do a quick temp switch to the default wp theme and see if that clears it up?

JO 0161-Jon
0161-Jon
Member

I just changed to twenty eleven theme and it then works correctly. The theme I am using is a child theme I created from twenty eleven.

If it worked ok on twenty eleven I assume it isn’t a caching or minify js plugin issue then?

JO 0161-Jon
0161-Jon
Member

Hi,

I have just found that in my functions file I do include a minified script, I tried removing this and it resolved my problem.

This script is used on an image slider. What is the way around this conflict as I do need the script below?

 

//Use jQuery from Google Code
    wp_register_script(‘jquery-tools’, ‘http://www.pcmi.org/jquery.tools.min.js’);
    wp_enqueue_script(‘jquery-tools’);

MP Mr Papa
Mr Papa
Member

I have seen multiple wp support forum issues with jquery tools…  depending on where its loaded… can you make it be the first thing loaded?

also doesnt the tools need to ensure that jquery is loaded fist?  I dont see a dependency…

wp_register_script(‘jquery-tools’, ‘http://www.pcmi.org/jquery.tools.min.js’, array(‘query’));

JO 0161-Jon
0161-Jon
Member

Hi Mr Pappa

 

I have these scripts loading via my functions.php file.

 

function load_my_scripts() {
    //don’t use (deregister) WP’s jQuery version
    //wp_deregister_script( ‘jquery’ );
    
    //Use jQuery from Google Code
    wp_register_script(‘jquery-tools’, ‘http://www.pcmi.org/jquery.tools.min.js’);
    wp_enqueue_script(‘jquery-tools’);
    
    //Include one of my custom javascript files
    wp_register_script(‘scrollable’, ‘http://www.pcmi.org/js/scrollable.js’);
    wp_enqueue_script(‘scrollable’);
    
    //Include one of my custom javascript files
    wp_register_script(‘swfobject’, ‘http://www.pcmi.org/js/swfobject.js’);
    wp_enqueue_script(‘swfobject’);
    
}
add_action(‘wp_enqueue_scripts’, ‘load_my_scripts’);

 

Can you offer any advice for how to change to get this working along with the forum? If I remove the bold (jquery.tools.min.js) call, these profile options load into the template properly, but my slideshow stops working.

 

Any ideas?

MP Mr Papa
Mr Papa
Member

two questions… 

are you using the slideshow on the forum page itself??  I dont see it… but hate it when themes/plugins load their stuff when not needed…  we can always help you work around this theme/plugin limitation…

but first, try what I said to do in post #12…    try replacing their register script of jquery tools with my code…  it will make sure that jquery is loaded first…  cant tell for sure if it will help since I cannot see enough code…

If it does not work AND you dont need the slider on the forum pages, try changing the script enqueing to

if (sp_is_forumpage()) wp_enqueue_script(‘jquery-tools’);

JO 0161-Jon
0161-Jon
Member

thanks for all the help Mr Papa,

 

I had tried your version in post 12 but it just stopped the slider working. I only have the slider on my site hom epage so no it is not required on the forum.

 

I will try your other suggestion…