Support Forum

Font Resize Plugin

JB Justin Buehler
Justin Buehler
Member

Hello:

I installed the font resize plugin. It shows up above my forum. But when I click on the three “As,” nothing happens. I’ve already put my font size to 100% in the CSS file, but I was hoping to get the fonts even bigger. Is that possible? Nevertheless, I can’t make them smaller with the plugin. Why isn’t the font resizer working? 

I’m also not able to delete the topics. I don’t see an admin bar when I hover over the bubble. How do I fix this?

My forum is at http://www.oddhoursnews.com/forum/

Email me, and I’ll give you log in info if need be.

Thank you.

16 Answers

New Answer

MP Mr Papa
Mr Papa
Member

likely because your wp theme is misbehaving… its improperly loading jquery… its hard loading its version of jquery instead of the version that ships with wp… and its loading a quite ancient version of jquery to boot…

<script type=’text/javascript’ src=’http://www.oddhoursnews.com/wp-content/themes/weekly/js/jquery-1.3.2.min.js?ver=1.3.2′></script>

more information here:  http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

so find in your theme where its not following the wp api and we can help you load the proper jquery and prevent these conflicts…

JB Justin Buehler
Justin Buehler
Member

Hi Mr. Papa,

I went ahead and added jquery-1.7.2.min.js to my theme.

First, I made the change in the functions.php file and then made the change in my theme’s js folder.

Unfortunately, I’m not seeing the admin bar when I hover over the bubble. Also, I can’t select the “As” to change the font size, they only change color.

What should I do next to fix this problem?

Site: www.oddhoursnews.com/forum/

MP Mr Papa
Mr Papa
Member

cant really see much since your page is blocked to non members…

but you are loading jquery from the theme instead of wp:

<script type=’text/javascript’ src=’http://www.oddhoursnews.com/wp-content/themes/weekly/js/jquery-1.7.2.min.js?ver=1.7.2′></script>

just replace that whole mess with

<?php wp_enqueue_script(‘jquery’); ?>

so it loads wp version instead…

JB Justin Buehler
Justin Buehler
Member

Where do I remove:

 

<script type=’text/javascript’ src=’http://www.oddhoursnews.com/wp-content/themes/weekly/js/jquery-1.7.2.min.js?ver=1.7.2′></script>

and replace it with:

<?php wp_enqueue_script(‘jquery’); ?>

 

I’m not sure where to look to make the change. Sorry.

MP Mr Papa
Mr Papa
Member

I went ahead and added jquery-1.7.2.min.js to my theme.

thats what you said…  so where did you add it???

normally, you can find the loading in the theme head.php or functions.php file… but you should be able to search the theme files…

JB Justin Buehler
Justin Buehler
Member

I looked in my functions.php file, and this is what I found:

 

}

 

function my_deregister_scripts() {

wp_deregister_script( ‘jquery’ );

 

// wp_enqueue_script(‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js’, false, ‘1.3.2’);

 

wp_enqueue_script(‘jquery’, get_bloginfo(‘template_url’).’/js/jquery-1.7.2.min.js’, false, ‘1.7.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’ );

}

 

I replaced the bold line with <?php wp_enqueue_script(‘jquery’); ?> and it gave me a syntax error. Obviously, I’m not doing something right. Can you walk me through what I need to change?

Thanks for your patience.

YS Yellow Swordfish
Yellow Swordfish
Member

Try replacing that function with this one:

function my_deregister_scripts() {
    wp_enqueue_script('jquery');
    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' );
}

See if that resolves it.

JB Justin Buehler
Justin Buehler
Member

No, unfortunately the code didn’t work. I still couldn’t get anything to appear when I hover over the blue bubbles on posts. I also can’t seem to add a topic, or use the font resizer As at the top. The code also made my slider disappear on the home page. What else can we try?

YS Yellow Swordfish
Yellow Swordfish
Member

When you changed that code to my offered code did you also remove the changes you had made previously where you added jQuery loading to your theme?

JB Justin Buehler
Justin Buehler
Member

In the functions.php file, I replaced:

 

function my_deregister_scripts() {

wp_deregister_script( ‘jquery’ );

 

// wp_enqueue_script(‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js’, false, ‘1.3.2’);

 

wp_enqueue_script(‘jquery’, get_bloginfo(‘template_url’).’/js/jquery-1.7.2.min.js’, false, ‘1.7.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’ );

}

 

With your code:

 

function my_deregister_scripts() {
    wp_enqueue_script('jquery');
    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' );
}


That’s all I did. It didn’t work. cry

MP Mr Papa
Mr Papa
Member

sorry if missed it earlier, but do you have a link?

JB Justin Buehler
Justin Buehler
Member

Mr Papa: Did you get my personal message last week? I really need to get this figured out. I’m about to give up on why the admin functions aren’t working when I hover over the bubble, and why I can’t create new topics in the forum, as well as why the font resize plugin is not working when I click on the “As.” I really need your help. I’ve spent a lot of time trying to figure this out.

 

I’ve sent you login credentials for my site via the personal message.

MP Mr Papa
Mr Papa
Member

I dont recall such a PM…  but will go through the PMs again tonight… its a bad way to contact us unless we ask for it and then we really need a link back to the issue… and you should send it to both yellow swordfish and myself…  then less chance of falling through the crack if you met all the other requirements…

YS Yellow Swordfish
Yellow Swordfish
Member

We have a PM from you with login credentials which I just used to get into your site. Currently I see no forum active but the account you created for us is very restricted.

However – I will point out a few things of note. After logging in to your site admin I also loaded – from the top WP admin bar – your actual site. As far as I can tell from what I was looking at I was no longer logged in. This is not normal WP behaviour – those credentials should carry across. So I believe there is something at play here not behaving as it should.

I also noticed that your theme is loading its own version of jQuery instead of using the standard, provided jQuery that WP ships with and should be used. This in itself can mess with SP and many other plugins that abide by the simple rules of coding for WP. This is exp,ained in this codex article: http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

Additionally, something called ‘Quick Post Widget’ is loading up the tinyMCE editor scripts on every page load. This may well be a problem with SP and we should try and exclude that from loading on the forum page. Do you really NEED that loading on every page? Actually there is lot of stuff being loaded on every page.

I am unsure where this is up to at the moment.