Warning: Invalid argument supplied for foreach() in /var/www/vhosts/hulabayclub.com/subdomains/dev/httpdocs/wp-content/plugins/all-in-one-cufon/wordpress_cufon.php on line 27
How do I resolve this error message?
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>Hi there, I love your cufon plugin and I’ve used it on many websites but I’m having trouble getting it to work with this site.
The plugin is enabled but having no effect. I have my font .js file in the right place and my options set to replace headers.
any ideas? This is the theme i’m using.
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>I use AIOC on a Multisite install, where we are always adding new sites, with new themes. This often involves adding a new font, which changes which font is activated for every site on the network.
It seems stupid to be storing which font is activated based on it’s index in alphabetical order, when new fonts can be added to change the indexes. Isn’t it a better idea to store in a serialised field the exact names of the font file to use, so that even if a new font is uploaded, it doesn’t change which ones are activated.
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>Hi there,
I am using the All in One Cufon plugin for a WordPress project. Trying to integrate Century Gothic in the menu of this page (login: website). Almost done, hover is working, but one issue I can’t solve:
In the menu, the ul#navigation li a.active (active page) is having problems. When I click on a page in the menu, the previous page keeps the ‘active’ color. But of course, this has to disappear when page-changing. What can I do to fix this?
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>I LOVE THIS PLUGIN, I have used it on two other sites. For some reason, on this site I’m working on now, the loaded fonts (the the cufon-fonts folder) are not previewing and not rendering on the site properly. The font shows in my “detected” fonts list, but it’s preview is not correct. Any advice?
I should also probably add that the font files I’m loading have been successfully used on one other site.
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>I want to disable cufon for some elements. I have made a class (.nocufon). I have applied this class to certain widgets and other elements. Within theese elements i don’t want the p tags to use cufon.
How do i add this to the existing: Cufon(‘p’, { fontFamily: ‘cachet_book’ });
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>I installed this plugin in my WP Network, and it works great in the main domain and subdomains, but it’s not working on sites that use their own domain. I get this:
https://awesomescreenshot.com/0a6oayidd
The plugin recognizes that the fonts exist but doesn’t read them properly, and it doesn’t change the look of the headers in the front-end either. Again, the problem refers to own domains only, it’s all working great on the main domain and its subdomains. I suspect a single line of code could fix it. Any ideas?
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>Using All-in-one Cufon and wonder how I might be able to move all Cufon related scripts to load after the footer within the code.
I need all the scripts for Cufon to load last.
Let me know if you have any questions.
Thanks,
Bert
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>Aloha Tom,
Thanks for you hard work here! I wanted to suggest simple fixes to prevent “Insecure Content” warning from browsers when loading pages via SSL.
The source of the issue is the url path definitions within wpcuf_insert_code() for All-In-One Cufon version 1.1.1. While the rest of the page is loaded via HTTPS, the cufon script and font files are still loading via HTTP.
The solution uses the plugins_url() function introduced in 2.6.0 which is aware of whether the page is loaded via HTTP or HTTPS:
https://codex.www.ads-software.com/Function_Reference/plugins_url
Replace line 17:
$plugin = WP_PLUGIN_URL . '/' . plugin_basename(dirname(__file__));
with:
$plugin = plugins_url(FALSE, __FILE__);
Replace line 18:
$cufon_font_location = WP_PLUGIN_URL . '/cufon-fonts';
with:
$cufon_font_location = plugins_url() . '/cufon-fonts';
Replace line 34:
<?php wp_enqueue_script('font-' . $file, WP_PLUGIN_URL . '/cufon-fonts/' . $file );
with:
<?php wp_enqueue_script('font-' . $file, $cufon_font_location . '/' . $file );
Replace line 39:
<script src="<?php echo WP_PLUGIN_URL; ?>/cufon-fonts/<?php echo $file; ?>" type="text/javascript"></script>
with:
<script src="<?php echo $cufon_font_location . '/' . $file; ?>" type="text/javascript"></script>
While I have not tested these changes with multisite enabled, I have verified that this works when WordPress is installed in a subdirectory as described here:
https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory
Aloha!
John
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>Detected fonts all look the same, looks like system default font.
]]>Hi,
for those, who would like to use several fonts for different CSS classes, here is a solution code:
Cufon.set('fontFamily', 'reenie').replace('.ueberschr1');
Cufon.set('fontFamily', 'tangerine').replace('blockquote');
“reenie” and “tangerine” is the font name.
.ueberschr1 is a CSS class
blockquote is for quotes
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>When using the plugin all my links freeze (This only happen in IE – yeah damn IE lol ). When I click on the links they dont work even ones that are not cufon applied. All links work once i disable the plugin.
This isnt an issue with cufon as i have a site running cufon only without the use of the plugin on another wordpress site and that is working just fine.
Just reporting a bug. I will resolve to using cufon without the plugin until this is fixed.
Thanks
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>When using Firefox or Chrome, I am getting an extra blank Cufon line after each block element. (Interestingly, IE 9 and Safari for PC don’t have the problem).
When I View Source on my page, I see
<p>.....</p>
<cufon class="cufon cufon-canvas" alt=" " style="width: 4px; height: 16px;"><canvas width="16" height="16" style="width: 16px; height: 16px; top: 1px; left: -1px;"></canvas><cufontext> </cufontext></cufon>
<p>....</p>
The extra cufon code appears after paragraphs, headings, and ordered/unordered lists. It does not appear between list items in ordered/unordered lists.
Any ideas why I’m getting this and how I get rid of it?
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>I found that the Cufon text was not rendering in IE9 Beta. See the FAQ at https://github.com/sorccu/cufon/wiki/faq for a workaround (FAQ #8). I replaced the version of Cufon in the All-in-one-Cufon plugin folder with the latest nightly build and it works for me.
]]>Warning: Invalid argument supplied for foreach() in /home/xxx/public_html/wp-content/plugins/all-in-one-cufon/wordpress_cufon.php on line 27
any help please
]]>I am using the plugin All-In-One Cufon 1.1.0. in my site made of wordpress 3.0.1. As I activate the plugin though network (network activate) we found that this plugin is working within the main domain but it is not working in my sub domains. From my sub domains admin pannel though I place the Cufon code but it is not appearing. I wonder how can I use this plugin throughout my site?
Is the plugin not compatible with wordpress mu feature?
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>Hi,
Just installed and activated the plugin. As soon as I want to go to the settings page I get following error:
You do not have sufficient permissions to access this page.
The weird thing is, that I’m the administrator.
Any idea how to solve this?
Regards,
https://www.ads-software.com/extend/plugins/all-in-one-cufon/
]]>