You are browsing the archive for Blogging.

Removing WPMu (WordPress MU) Post HTML/JavaScript filter

7:21 pm in Blogging, Tutorials by Deepanshu Goel

Today, I spend almost 3 hours to find out a way to remove boring WPMU(WordPress Multi Users)’s post html tags filtering. I love the javascripts coz of their functionality and that’s why I used them many times in my previous WordPress install but since shifting to WordPress multiuser, I have been missing javascripts.

I searched a lot on net, only few info was helpful. The official “how to use Javascript” suggest to install “text-control plugin” and then turn off rich editor, its totally useless in WPMU. I found a lot of people asking help on how to:

  • enable JavaScript for WordPress MU post;
  • remove WordPress MU HTML filter; or
  • enable advanced HTML tags and attributes, like embedded object, flash, video, etc?

Finally I got a simple solution from somewhere by hack some code:

  1. Go to: wp-include
  2. open kses.php in an editor like notepad.
  3. go to around line 742 and simply do the following commenting out:

function kses_init_filters() {
// Normal filtering.
add_filter(’pre_comment_content’, ‘wp_filter_kses’);
add_filter(’title_save_pre’, ‘wp_filter_kses’);

 

// Post filtering
// add_filter(’content_save_pre’, ‘wp_filter_post_kses’);
// add_filter(’excerpt_save_pre’, ‘wp_filter_post_kses’);
// add_filter(’content_filtered_save_pre’, ‘wp_filter_post_kses’);
}

This solution will allow you to only stop filtering of the POST, but the comments will still get filtered out.

Showing category specific wordpress posts

11:26 pm in Blogging, Tutorials by Deepanshu Goel

Displaying category specific posts in a wordpress blog is easy. Inside theme folder the you will find “index.php” and “sidebar.php” templates, you have to put a query_posts functions which refer to specific category ID numbers from your database. Example:

<?php query_posts('showposts=1&cat=4'); ?>

You will need to change them to reflect the ID numbers in your own database. They can be found in your control panel under Manage->Categories.

idnumbers1.gif

Result will be the recent posts from the category no.4

HowTo: display Author info in WordPress Single Post

11:24 pm in Blogging, Tutorials by Deepanshu Goel

If you view a single post of a blog, you will see the author information at the bottom. Here we will see that how we can display such author info in a wordpress blog. That info can be edited in the control panel under Users->Your Profile.

The author’s photo can also display the image using avtars:
<img src="<?php echo get_option('home'); ?>/wp-content/themes/mimbo2/images/<?php the_author_lastname(); ?>.jpg" alt="" />

The author’s name is called like this:
<?php the_author_posts_link('namefl'); ?>

The author’s bio is called like this:
<?php the_author_description(); ?>

The author’s email is called like this:
<a href="mailto:<?php the_author_email(); ?>" title="Email this author">Email this author</a>

That seems like a pretty good start for building your own template themes. Now it’s up to the client to hire some talented writers and hope for the best.

List of all Ping Services

4:37 am in Blogging by Deepanshu Goel

This is a comprehensive list of the ping services available to automatically notify blog directories and search engines about the updates to your blog. Following are the 69 ping services which increases the chances of receiving traffic from those sources. WordPress users can modify their ping list on the Control Panel>Options>Writing.

http://1470.net/api/ping

http://api.feedster.com/ping

http://api.moreover.com/ping

http://api.moreover.com/RPC2

http://api.my.yahoo.com/RPC2

http://api.my.yahoo.com/rss/ping

http://bblog.com/ping.php

http://bitacoras.net/ping

http://blog.goo.ne.jp/XMLRPC

http://blogdb.jp/xmlrpc

http://blogmatcher.com/u.php

http://blogsearch.google.com/ping/RPC2

http://bulkfeeds.net/rpc

http://coreblog.org/ping/

http://mod-pubsub.org/kn_apps/blogchatt

http://ping.amagle.com/

http://ping.bitacoras.com

http://ping.blo.gs/

http://ping.blogg.de/

http://ping.bloggers.jp/rpc/

http://ping.blogmura.jp/rpc/

http://ping.cocolog-nifty.com/xmlrpc

http://ping.exblog.jp/xmlrpc

http://ping.feedburner.com

http://ping.myblog.jp

http://ping.rootblog.com/rpc.php

http://ping.syndic8.com/xmlrpc.php

http://ping.weblogalot.com/rpc.php

http://ping.weblogs.se/

http://pinger.blogflux.com/rpc/

http://pingoat.com/goat/RPC2

http://pingqueue.com/rpc/

http://rcs.datashed.net/RPC2/

http://rpc.blogbuzzmachine.com/RPC2

http://rpc.blogrolling.com/pinger/

http://rpc.britblog.com/

http://rpc.icerocket.com:10080/

http://rpc.newsgator.com/

http://rpc.pingomatic.com/

http://rpc.tailrank.com/feedburner/RPC2

http://rpc.technorati.com/rpc/ping

http://rpc.weblogs.com/RPC2

http://rpc.wpkeys.com/

http://services.newsgator.com/ngws/xmlrpcping.aspx

http://signup.alerts.msn.com/alerts-PREP/submitPingExtended.doz

http://topicexchange.com/RPC2

http://trackback.bakeinu.jp/bakeping.php

http://www.a2b.cc/setloc/bp.a2b

http://www.bitacoles.net/ping.php

http://www.blogdigger.com/RPC2

http://www.blogoole.com/ping/

http://www.blogoon.net/ping/

http://www.blogpeople.net/servlet/weblogUpdates

http://www.blogroots.com/tb_populi.blog?id=1

http://www.blogshares.com/rpc.php

http://www.blogsnow.com/ping

http://www.blogstreet.com/xrbin/xmlrpc.cgi

http://www.holycowdude.com/rpc/ping/

http://www.imblogs.net/ping/

http://www.lasermemory.com/lsrpc/

http://www.mod-pubsub.org/kn_apps/blogchatter/ping.php

http://www.newsisfree.com/RPCCloud

http://www.newsisfree.com/xmlrpctest.php

http://www.popdex.com/addsite.php

http://www.snipsnap.org/RPC2

http://www.weblogues.com/RPC/

http://xmlrpc.blogg.de

http://xping.pubsub.com/ping/

https://phobos.apple.com/WebObjects/MZFinance.woa/wa/pingPodcast

List of 300 EntreCard Easy Drop-Part 2

4:48 pm in Advertising, Blogging by Deepanshu Goel

EntreCard LogoHere is the second part of the list i have prepared of 300 EntreCard powered websites offering EasyDrops.

Mummified times five
Eat potato eat
Search Engine Optimizer
mi11ion
Be the weight you want
Starstruck
Ive entered
Netsurf2cash
Mall of earnings
Communicate better
Cheaper by the half dozen
Natasha’s World
Allin 123
Ebusiness
17 year old parent
Scott space
My consoling asylum
Sugar and sweets
Louquaciously verbose
EZ great life
Life sign
Money making blogs
Sueblimely
Controversial marketing
360 gamr
Knoxville bookkeeper
Wildclips
Secretely
Making money with articles
Cash in blogs
Turnip of power
Ambush 101
617 dambusters
Don pepot
Hugo says
Valerie joy
Geek mom mashup
Trip to cyprus
Disney USA
Digestrin review
Job search PH
Martin quest to make money online
Celeb nipples
Accessorise everything
Ipod ideas
Mixleplex
Nesquarx
Chitgoks
Mark Lloyd
Web mac
Living Bridget
Rumbling lankan
Endangered Spaces
Isis insights
The muxic box
Bloggabytes
Bluetrick
Best critic blog
Bathroom hero
Getting rich the certain way
Blogs we luv
A journey of dreams
Mokkikunta
Windows addict
Niche baby talk
Aaron Falloon
Angelika
Poshtidbits
Uniquelog
MMA Feed
HRM Business
Live 20
Truth in context
Entrecard blog
Make money blogging
Zackwenthe
Singaporean in London
Media morgue
Bibliomarket
Vtimes
Powerdropping
Its worth knowing
Wayfarer wings
Panext
Lisa Writes
Brotee
Mom by choice
Best online stuff
Day job nuker
Silkenhut
Tech turnip of power
Exercise to fitness
Webster twelb
Gadget guild
Time and health
Binh
Sarugu