Skip to main content

P2 WordPress Theme WYSIWYG or Rich Text Editor On Front Page

First of all let me describe what is WordPress P2
A group blog theme for short update messages, inspired by Twitter. Featuring: Hassle-free posting from the front page. Perfect for group blogging, or as a liveblog theme. Dynamic page updates. Threaded comment display on the front page. In-line editing for posts and comments. Live tag suggestion based on previously used tags. A show/hide feature for comments, to keep things tidy. Real-time notifications when a new comment or update is posted. Super-handy keyboard shortcuts. Helvetica Neue for you modern font lovers.
In other words it's a them with a post box on the main page that enables registered members to post status update, posts, discussion or whatever and comment on others posts.

P2 WordPress theme lacks WYSIWYG or rich text editor on the front page, users with no knowledge of HTML will experience trouble posting pictures or formatting, quoting text, the problem is that if you implement an editor like TinyMCE it will conflict of the status update leading into a very slow infinite loop of more TinyMCE calls, at the same number of posts per page.

Now I didn't try much on adding it as I preferred to leave it as text, no pictures, no formatting exactly like twitter,   but I found some posts about an alternatives editors which is slightly lighter then TinyMCE.

How to enable WYSIWYG on P2 Wordpress Theme:
http://corpocrat.com/2008/12/18/free-wysiwyg-textarea-html-editor/


1. Download free-wysiwyg-textarea-html-editor.
2. Extract the zip file and place it in your p2 theme directory.
3. Modify the included ed.js file to work with your directory structure.
4. Include ed.js in your header.
5. Add   to your post-form.php right after
tag.
Via [WP]

Comments

Popular posts from this blog

Best Web Hosting Hosting Ever - HostMonster.com

You all know HostMonster.com, they are known for the power of their services and up-time, the big storage and more, but now they got even better the holy "UNLIMITED EVERYTHING".
and yes do trust them.
Guess how much : 5.95 a month

Hosting Features:
Disk Storage Unlimited
Host UNLIMITED DOMAINS
Free Domain Name
Free Drag and Drop Site Builder
Support International Domain Names
POP3/POP3 Secure Email Support Unlimited
IMAP/Secure IMAP Email Support Unlimited
Gigs of Site Transfer Unlimited
Forwarding Email Accounts Unlimited
Email Autoresponder Unlimited
Add-on Domains Unlimited
Parked Domains Unlimited
Subdomains Unlimited
Additional FTP Accounts Unlimited
MySQL Databases 100
PostgreSQL Databases 100
IMAP/secure IMAP Email Support
3 Different Web Based Email Solutions
CGI-BIN
CGI Library
Server Side Includes
Frontpage 2000/2002 Extensions
Account "Control Panel"
FTP Access
Shell Access (SSH)
Override .htaccess Support
Anonymous …

Tria Mera - 666 - The truth

Following is a reference to the movie white noise, what you see on this page is not my opinion, and I am not interested on this stuff, if you come here than you are probably searching after watching the movie or researching tria mera term, this is for educational purposes only.



The expression, Third Day, appears in several narratives in the Bible. (Occasionally, it is “three days.”) Some biblical interpreters have thought that some of these third day motifs have significance by signifying a certain divine principle, and a few interpreters have thought that they are cryptic in meaning. Why? Interestingly, these narratives record some of the most important events in the history of Israel. And surprisingly, except for the Bible’s mention of the third day, the seventh day, and its account of creation in Genesis 1, the Bible rarely mentions the other days of the week.
The Number of the Beast is described in the Book of Revelation 13:18. From the King James translation:[5]
Here is wisdom. L…

Hacking With Google, Spy Cams

This is a quick post since I have to sleep and feel so tired ...
by searching for one of these strings on google :
inurl:ViewerFrame?Mode="
inurl:MUltiCameraFrame:?Mode="
inurl:view/index.shtml"
inurl:axis-cgi/mjpg"
inurl:ViewerFrame?Mode="
inurl:MultiCameraFrame:?Mode="
You will be able to view other people webcams, not everyone, but everyone that have a cam can be viewed on any browser by writing the ip address with the pc connected to it, and indexed by Google since you can access that on port 80 or 8080 ...


Some examples ready to go "it took forever to list them here" :
http://210.155.197.108/ViewerFrame?Mode=Motion&Language=1
http://shiretoko.miemasu.net/ViewerFrame?Mode=Motion&Language=1
http://219.166.247.165/ViewerFrame?Mode=Motion&Language=1
http://208.0.229.84/ViewerFrame?Mode=Motion&Language=0
http://220.254.98.19/ViewerFrame?Mode=Motion&Language=1
http://vhshop.cmauto.com:8002/ViewerFrame?Mode=Motion&Language=0
ht…