Support Forum
What, exactly, are you referring to when you day 'glider'? I didn't see any animation when I loaded and looked through the site so you need to point it out to me please. Need to know what it is before we go much further.
I am not sure what to suggest. Looking on google I see quite lot of people having issues with the jQuery easing plugin and WP. One of the problems may well be that it has not been updated since 2007 and in software terms that is a long time. In those 4 years jQuery has undergone many changes so this may just be a compatibility issue causing knock-on effects.
YELLOW
SWORDFISH
|
The glider is the segment beneath the header image - the 4 small images and post excerpts, it's on all pages immediately under the menu. There are prev/next buttons that "glide" the (recent) posts across. This no longer works. The css code for it is the top line before the enqueue stuff. When I removed /js/jquery.easing.1.1.js, the forum starts working but the glider stops working. So I was asking, given this code that seems to be at issue, do you see a solution to make them both work?
link rel="stylesheet" type="text/css" href="]]?php bloginfo('template_directory'); ?]]/glide.css" media="screen" />
]]?php
wp_enqueue_script('jquery');
wp_enqueue_script('cufon', get_stylesheet_directory_uri() . '/js/cufon.js');
wp_enqueue_script('easing', get_stylesheet_directory_uri() . '/js/jquery.easing.1.1.js');
wp_enqueue_script('carousal', get_stylesheet_directory_uri() . '/js/jcarousel.js');
wp_enqueue_script('Myriad', get_stylesheet_directory_uri() . '/js/Myriad_Pro_700.font.js');
wp_enqueue_script('Effects', get_stylesheet_directory_uri() .'/js/effects.js');
?]]
]]script type="text/javascript"]] ]]!--//--]] ]]![CDATA[//]] ]]!--
sfHover = function() {
if (!document.getElementsByTagName) return false;
var sfEls1 = document.getElementById("catmenu").getElementsByTagName("li");
for (var i=0; i<sfEls1.length; i++) {
sfEls1[i].onmouseover=function() {
this.className+=" sfhover1";
}
sfEls1[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover1\\b"), "");
}
}
var sfEls1 = document.getElementById("menu").getElementsByTagName("li");
for (var i=0; i<sfEls1.length; i++) {
sfEls1[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls1[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
//--]] ]]!]]]]]]/script]]
Ok- this is going to depend on where your wp_enqueue code is called from but it's worth a try. Change that one line of code for this:
if ( ! sp_is_forumpage() ) { wp_enqueue_script('easing', get_stylesheet_directory_uri() . '/js/jquery.easing.1.1.js'); }
Now this might just give you an error in which case remove it again - but see what happens on the forum page AND other pages where the easing is used. And note that exclamation mark!
YELLOW
SWORDFISH
|
Woo! * does happy dance* Now they both work. So far, no glitches that I can tell. Glider glides and forum forums. You are at the top of my favorite people list. Thanks so much for helping me. And I see this code and the logic and suddenly that makes total and complete sense. Hah.
Thanks so much for staying with me on this. It is appreciated.
Now...about the cool image drag & math captcha and the sidebar admin online thing? Where might I find those?
admin online is a template tag in the template tags plugin for 5.0...
the math captcha is in the captcha plugin for 5.0...
Visit Cruise Talk Central and Mr Papa's World
Also, where might I find 5.0 badges, smileys, and icon sets? In the last version I had an option on the smileys to use the WP ones, which incorporated tango smileys. Is that still available or ?
Thanks!
Hahah...I'm getting such a kick out of this image drag captcha...feel like a 1st grader on Sesame Street. It's definitely a non obnoxious captcha, really cool.
Yes... isn't that captcha nice!
The admin online tag is NOT a widget but a standard WP template tag. One day we may find the time to make some more of these into widgets but its a slow process I am afraid.
The calls is:
sp_AdminModeratorOnlineTag();
and if you look in the template tag plugin folder for the /library folder you will find the code file in there which documents all of the possible parameters that can be used. As stated on the V5 download page - documentation is not yet ready I am afraid.
Sadly we had to remove the option to use wp smileys as a default. I honestly can not recall the reason for this now but it was proving troublesome. But there are smiley sets available form all sorts of sources if you google them. V5 doesn't use 'icon sets' in the V4 sense but themes. all icons used in a theme can be found in the relevant theme folder. Badges? Well the one we use here on this site I just made in photoshop.
YELLOW
SWORDFISH
|
1 Guest(s)