I’ll release this WordPress theme “The eVol Theme” for free(hopefully) in coming days(hopefully too), this theme is a all-in-one package build for photographers, portfolio users, bloggers.
The themes support the follow key features.
– Front-end composing
– Auto image resize, attach
– Exif, Geo location display for images.
– Jplayer support for Audio/Video
– Switchable index page style, Wall style or Post-it style.
– Selectable front page slider effects.
– Simple “likes” function.
and more…
This tutorial will guide you to create your own custom post composing form to enable fast blogging with your favorite theme without adding a plugin. I’m looking for any alternative to not porting P2, however…. none., finally that’s the reason i wrote it, and It was also inspired by the original development from http://wpshout.com/wordpress-submit-posts-from-frontend/.
Why
I found the code from http://wpshout.com/wordpress-submit-posts-from-frontend/ , but it doesn’t handle file attachment, indeed most people and I was demand on image uploads for status update, photo blogging.. whatever . But to get working with build-in WordPress media upload function require a lots of code work, and if you prefer a fully functional media library, you could base on P2 theme instead.
How it work
It create a post form to allow the post content inserted by wp_insert_post.
following the post_id, it attach the uploaded files to the post.
Set the first ordered image to the post “featured images”
Lastly, you call get_all_thumbnails before the_content() in order to retrieve the uploaded files.
Limitation
The critical limitation is lack of media features, unlike build-in media library, you can customize your post images and place it on your desired position. Therefore the images only able to retrieve by the_post_thumbnail() for single image or get_all_thumbnails() for multiple images.
There is so many people asking how to improve their mysql instance, and also so many replies that increase key_buffer, sort_buffer, cache size… etc… which believe will lighten up the performance. However, fellows never notice those parameters was actually efficient to their setup.
This howto will cover how to create a DRBD disk set with GFS concurrent disk access setup.
Why DRBD?
DRBD disk mirroring benefit as a shared SAN disk to archive higher service resilience with low cost hardware component. Alternately, it may be configured for backup purpose with it’s flexibility.
This tutorial is covering the web server performance tunings on MySQL, PHP and Apache, WordPress and BuddyPress or general web hosting purpose, the tuning example is based on CentOS 5.
The key of the following performance tuning is focus on memory and caching, most of people host a web site or forum or blog without any tunings or even use the all out-of-box setting.
How to solve ORA-19909 error when re-sync dataguard, when the standby database shutdown ungracefully, sometime you may found an error when you put the standby database back online, in this scenario, I try to active the standby database and flash back to standby mode in order to let standby database re-apply archive logs again.
Error message as below
MRP0: Background Media Recovery terminated with error 19909
ORA-19909: datafile 1 belongs to an orphan incarnation