Lee Rickler
Forum Replies Created
-
Forum: Installing WordPress
In reply to: root = fine = test folder = 404Scrub this. The problem was with a plugin not being in the correct directory (even though it was installed via admin).
Forum: Fixing WordPress
In reply to: Dashboard and visual/ html not loading correctlyI can’t be the only one with this problem surely?
Forum: Fixing WordPress
In reply to: [Plugin: Profile Pic] Can’t upload picture, Is it Work on 2.7?Hi Hannah,
Thanks for updating.Just installed, went to upload an image and got this error:
Warning: Invalid argument supplied for foreach() in /home/user/public_html/wp-content/plugins/profile-pic/profile-pic.php on line 365
Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/wp-content/plugins/profile-pic/profile-pic.php:365) in /home/user/public_html/wp-includes/pluggable.php on line 850
Forum: Fixing WordPress
In reply to: TinyMCE on Profile pageOK. Just to update on this –
Logged in as admin – no problem
Logged in as subscriber – Description field is blank/ can make changes but changes are not carried through.
BUT – view source and the content is visible in the content area …So:
Logged in as admin – fine
Logged in as user cannot view or edit descriptionweird!
UPDATE ON UPDATE:
Removing the above code from functions.php and using the “Add TinyMce to Author Profile” plugin restores everything so there’s obviously a small visibility bug in this code:if ( (strpos($_SERVER['SCRIPT_NAME'], 'wp-admin/user-edit.php')) || (strpos($_SERVER['SCRIPT_NAME'], 'wp-admin/profile.php'))) { add_action('admin_head', 'add_tinymce'); } remove_filter('pre_user_description', 'wp_filter_kses'); add_filter('pre_user_description', 'wpautop'); function add_tinymce() { if (function_exists('wp_tiny_mce')) { wp_enqueue_script('editor'); do_action('admin_print_scripts'); add_filter( 'teeny_mce_before_init', create_function( '$a', ' $a["theme"] = "advanced"; $a["skin"] = "wp_theme"; $a["height"] = "480"; $a["width"] = "300"; $a["onpageload"] = ""; $a["mode"] = "exact"; $a["elements"] = "description"; $a["editor_selector"] = "mceEditor"; $a["plugins"] = "safari,inlinepopups,wordpress"; $a["apply_source_formatting"] = "1"; $a["accessibility_focus"] = "1"; return $a;' ) ); wp_tiny_mce( true ); } }
Forum: Fixing WordPress
In reply to: TinyMCE on Profile pageThis could be me but …
Using FF (mac) I enter details in the field, save, view and everything is fine.
I view on Safari (Mac) and IE7 – works fine
BUT when I go to the admin in these 2 browsers, there’s nothing in the field.
Tinymce bar is there and I can enter content but clicking save simply clears the field. BUT when I refresh the member’s page, the old content is still there.It could be me, Safari, IE or everything, not quite sure.
Forum: Fixing WordPress
In reply to: TinyMCE on Profile pageBrayne – You is ‘Da Man’! It works exactly as needed.
??
Forum: Plugins
In reply to: trying to modify/allow html in profile “description”Me too. None of these work for me.
Any ideas?Forum: Fixing WordPress
In reply to: TinyMCE on Profile pageAlex – Yeah I’ve posted on his thread but so far nothing except possibly it’s a problem with WP itself as in the profile page has been set to strip all html.
if so, how is this done?
I’m not too clever a php coder but I cannot find the right info anywhere.brayne – yes, that helps getting tinymce on the profile page but it’s not carried through to the actual members’ details page.
Forum: Fixing WordPress
In reply to: TinyMCE on Profile pageSo now we’ve got a few ways to load tinymce into the profile page, which is great, put the member page is still showing the html tags.
It’s this that is taking everything and displaying it literally:
$output .= "<p>$user_description</p>";
Which spits out something like
<p>Tony Baloney</p><p>He makes good toast.</p>
etcForum: Fixing WordPress
In reply to: [Plugin: Profile Pic] Can’t upload picture, Is it Work on 2.7?Yup. Here as well.
Everything else works fine but no matter what permissions/ settings I give the profile pics folder/ files nothing loads, just the default.jpgAlso, how do you get a list of members/ authors?
Forum: Fixing WordPress
In reply to: Page OrderForum: Fixing WordPress
In reply to: Dashboard look & feelAs mentioned, that’s an old screengrab BUT …
similar:
https://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/Forum: Fixing WordPress
In reply to: TinyMCE on Profile pageNot sure if this will help in anyway but I’m using Profiler and the code for the description is:
$output .= "<p>$user_description</p>";
Forum: Fixing WordPress
In reply to: TinyMCE on Profile pageThat works a treat getting a clean tinymce working on the profile page.
Unfortunately the members page itself still displays the code.Forum: Fixing WordPress
In reply to: TinyMCE on Profile pageMuch appreciated.
I can give you admin rights if need be (the site is far from ready with no personal info etc)