venik4
Forum Replies Created
-
Forum: Plugins
In reply to: [Passster - Password Protect Pages and Content] Doesn't work with Crayondo_shortcode is enabled
Forum: Plugins
In reply to: [Passster - Password Protect Pages and Content] Doesn't work with CrayonYou presume correctly. No PHP or JavaScript errors. After upgrading to the version 2.9.0.1 of Content Protector, all Crayon shortcodes within Content Protector tags appear as crayon IDs. Downgrading Content Protector to the previous version removes the issue.
Forum: Fixing WordPress
In reply to: 2.7 Dashboard layout changes won’t stickIt is a closely-help WordPress secret that the developers forgot to include a feature to save dashboard layout, making all of these movable and collapsible dashboard widgets completely useless. Oh well, things like that happen sometimes. Hopefully, they will address this glaring omission in the next release.
Ven
Forum: Installing WordPress
In reply to: can’t run auto upgradeWP 2.7 has a bug that has to do with DNS name resolution. As a workaround, add the following to your local /etc/hosts:
72.233.56.139 downloads.wp.xz.cn
Forum: Fixing WordPress
In reply to: help: convert website from static HTML to wordpress pagesUnfortunately, there is no magic bullet for converting static HTML to WordPress. Much depends on the complexity and the layout of your current static site. What you need is a script that will read your original HTML files, extract page title, file timestamp, description or excerpt, and body content.
There is a list of allowed HTML tags in WordPress posts: http://faq.wordpress.com/2006/06/08/allowed-html-tags/ You will need to parse the body of your pages to get rid of any tags that are not on this list. Then your script will need to connect to MySQL and insert this data in all the appropriate tables. Perl is probably the best tool for parsing stuff like this. But I’ve done something similar before with shell scripts and good ole’ awk and sed.
If you want to get lazy about it, perhaps you can use a ready-made HTML parser, like the html2txt. You will lose certain formatting, so some manual tweaking may be required. If you used the same page template for most of your current site, this should not be very difficult.