Bloke
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Buttons on entry form appear in HTML viewI noticed I was using the old the_editor() function and switched to wp_editor() but that didn’t solve the issue.
Forum: Fixing WordPress
In reply to: Buttons on entry form appear in HTML viewThey are called ‘quick tags’ in the HTML editor. http://codex.wordpress.org/File:write1.png The button are there and are the length of the window stacked on top of one another. The editor looks ok in other parts of WordPress just in this one plug in I am having this issue. So I think a CSS file is not getting referenced correctly. Not sure what to look for.
Forum: Fixing WordPress
In reply to: Deprecated class-simplepie.phpThe errors went away. I copied the version of class-simplepie.php I was using on the online version. Also changed error reporting in PHP.
Forum: Fixing WordPress
In reply to: Deprecated class-simplepie.phpMy local version is define(‘WP_DEBUG’, false);
Also tried the trick opened class-simplepie.php and replaced all ‘=& new’
with ‘= new’ it changed 116 instances but still get the errors.Its not a publicly available plugin.
Still trying to figure it out. I tried later version of the jquery.min.js loaded from googleapis and it still has a conflict. The issue is it causes the buttons on the html side of the entry form using another plug in. The buttons I think are called the “kitchen sink” to edit text. The buttons appear and they are long.
Forum: Installing WordPress
In reply to: Missing MySQL extension which is required by WordPressI guess I had my error setting wrong. So technically my script had an error and because it was not communicating with MySQL it gave me that error? I Reinstalled PHP and the error when away. I turned on the error reporting again and the error returned.
I looked at my other plugin and it was loading http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js which caused the issue.
I removed that and now its working. Does WPtouch load a jquery URL like this?
http://wizardtoolkit.com/Shooters/Build
http://wizardtoolkit.com/Home/About
I have tested on two computers. Even created and account. You can’t upload images. It just uploads and goes away.
Forum: Themes and Templates
In reply to: Display based on mobile user agentI found a solution and here it is incase anyone else needs it. It works with the mobile theme I am using. When the theme detects a mobile device, it switches to the mobile theme which calls this. Found it here http://www.dannyherran.com/2011/02/detect-mobile-browseruser-agent-with-php-ipad-iphone-blackberry-and-others/
function detect_mobile() { if(preg_match('/(alcatel|amoi|android|avantgo|blackberry|benq|cell|cricket|docomo|elaine|htc|iemobile|iphone|ipad|ipaq|ipod|j2me|java|midp|mini|mmp|mobi|motorola|nec-|nokia|palm|panasonic|philips|phone|playbook|sagem|sharp|sie-|silk|smartphone|sony|symbian|t-mobile|telus|up\.browser|up\.link|vodafone|wap|webos|wireless|xda|xoom|zte)/i', $_SERVER['HTTP_USER_AGENT'])) return true; else return false; }$mobile = detect_mobile(); if($mobile === true) {...do somethingForum: Fixing WordPress
In reply to: Deactivating plug in caused site go down. HelpNo it was a custom plug in written a while ago but at least I got it back online and I know I didn’t delete any code. I am in the middle of making the site local and work and test lcally so this won’t happen again. So the day I decide to do it I upgrade and this happens. I needed to have everything matching online and locally.
Forum: Fixing WordPress
In reply to: Deactivating plug in caused site go down. Helpesmi thank you so much! You are a life saver. Now before I try the update again there is an issue. If I click the same plug in to deactivate I get that error. Then I uncheck it and its ok. Maybe its telling me it just can’t fin that class or function and its will be ok to run the upgrade? Or its just the way it was coded.
I got it working. I had to debug it and figured my code would not work with PHP 5.2 only with 5.3. I also used [php function=1][/php] and it works.
Forum: Fixing WordPress
In reply to: Sorting alpha number query resultsThanks I tried that above with all the other queries.
Forum: Fixing WordPress
In reply to: Sorting alpha number query resultsYes new files are added and I have no control of the file names.
AB51MN175 w.jpg has 11 characters (note the space) AB51MN50.jpg should come before it right?