• Home
  • About
  • Contact
  • Advertise

Devlounge

Design, Develop, and Grow

ateşli sevgilisi fantezisini yaşamak istediğini söyler porno ona arkadaşları varken onunla gizli saklı seks yapmak istediğini sikiş söyleyen kız hafta sonu için gelen arkadaşının görmediği bir sikiş açıdan sakso çekmeye başlayınca adamın yarağını bu altyazılı porno şekilde indiremez ve açık şekilde salonda sikişimeye sex izle başladıklarında misafir kızı da bu sekslerine rokettube konuk ederler seks yapacağını düşünmeyerek onun sex izle oyun oynadığını zanneder sabah olur ve herkes uyanır hd porno bu sırada yanında şişme mankenini de getiren sapık erotik hikayeler genç sınav haftası ders çalışan genç adam üvey annesinin sikiş eve gelmesiyle hayatının şokunu yaşar

  • Home
  • Code
  • Design
  • Design Focus
  • Interviews
  • Publishing
  • Strategy
  • Webapps
  • Extras

ManageWP Plugin: Easily Control Many Sites Under One Dashboard [Review]

October 3, 2011 By Angus Shaw

I’m not a fan of WordPress Multisite functionality, I’ve always found the system to be clunky, confusing for new users and constantly in need of tweaking, that’s why I was happy to test out ManageWP from developer Vlad Prelovac. Not only is the system not clunky, it makes adding new websites, managing plugins and themes and backing up a WordPress setup extremely simple, even for beginners.

Setting up ManageWP is just a matter of downloading the plugin and activating the program on your website. Once activated the plugin shows up on the left side of your admin panel under the “ManageWP” heading.

WPManage Dashboard

As you’ll notice below the main ManageWP section all of the websites you have managed are added for easy access. To add a new website simple load the ManageWP plugin to the new website and active the plugin, then access the “Add Website” tab and input the website URL and username to add the site. [Read more…]

10 Old and New Useful WordPress Comment Plug-ins

December 2, 2010 By Hyde

It’s always good to revise what plug-ins are out there that might been forgotten or new ones that are not very popular. The popularity of Twitter has had some impact on comments on weblogs. A lot of people rather make their comment on Twitter then on the actual weblog or website.

The challenge is to bring back discussion to your weblog without denying the new. I listed a few plug-ins that aim to have users comment made on Twitter posted on your weblog or to Tweet the comments made. Also a few oldies that are still working well but are being used less, especially the comment preview. If a weblog has a preview option I always use it.

Akismet is not listed as it comes default with WordPress. Using Akismet is a must, thanks to Akismet the spam that get through is minimal. If you have a low comment traffic I would advice that you use comment moderation. It’s what I do, a couple minutes of work a day keeps spammers away.

CommentLuv

WordPress Comment Plug-in

This plug-in will visit the site of the comment author while they type their comment and retrieve a selection of their last blog posts, tweets or Digg submissions which they can choose one from to include at the bottom of their comment when they click submit.

Comment Rating

WordPress Comment Plug-in

Allows visitors to rate comments in Like vs. Dislike fashion with click-able images. Poorly-rated & highly-rated comments are displayed differently

Facebook Comments for WordPress

WordPress Comment Plug-in

Allows your visitors to comment on posts using their Facebook profile. Makes use of Facebook’s new Social Graph plugins.

Greg’s Threaded Comment Numbering

WordPress Comment Plug-in

Numbers comments sequentially and hierarchically; handles comments which are threaded, paged and/or reversed. Coders can call the function directly.

Quote Comments

WordPress Comment Plug-in

Creates a little quote icon in comment boxes which, when clicked, copies that comment to the comment box wrapped in block-quotes.

Simple Twitter Connect

WordPress Comment Plug-in

Simple Twitter Connect is a series of plug-ins that let you add any sort of Twitter functionality you like to a WordPress blog. This lets you have an integrated site without a lot of coding, and still letting you customize it exactly the way you’d like.

Twitter Mentions as Comments

WordPress Comment Plug-in

Twitter Mentions as Comments does exactly what it promises to do – scours Twitter for people talking about your blog posts and silently inserts their Tweets alongside your existing comments. The plug in leverages the power of WordPress’s built-in commenting system – notification, comment moderation, author white/black listing – making Twitter an extension of your blog.

AJAX Comment Preview

WordPress Comment Plug-in

Visitors to your site can preview their comments with a click of a button.

Live Comment Preview

WordPress Comment Plug-in

Live Comment Preview is the simplest way to get live comment previews on your site.

Commentwitter

WordPress Comment Plug-in

Gives commenter the option of Tweeting their comment with a link to your post.

10 Useful Lesser Known WordPress Plug-ins

August 26, 2010 By Hyde

There are countless of posts that highlight great WordPress plug-ins and after sometime you keep coming across the same ones over and over again. The fact is that no matter how good or great these plug-ins are sometimes they are just overkill for your needs. Once a plug-in is popular developers will mostly keep expanding its features to satisfy all its users.

For a change I decided to look around what other plug-ins there are out there that are almost never mentioned and I came across more than two that I will be using on my own WordPress install. Especially wp Time Machine and Simple SEO are plug-ins I can’t believe I didn’t know about.

Check out these 10 plug-ins for different purposes.

[Read more…]

Releasing and Promoting Your WordPress Plugin

May 27, 2007 By Ronald Huereca

How To Write a WordPress Plugin Series

This post was written as part of the How to Write a WordPress Plugin series.

After you have finished writing your awesome WordPress plugin, there are a few things to consider before releasing and promoting your WordPress plugin.

Prior to Release

Try to Follow the Standards

While it isn’t required to follow the WordPress coding standards, there are some things in there that will make your life easier. One of the more valuable tips in there is to never use shorthand PHP. The reason? Not everybody has shorthand PHP enabled.

So instead of:
[php]

[/php]

You would have:
[php]

[/php]

Make Sure You Have Tested Your Plugin Thoroughly

Find some guinea pigs (er, testers) who would be willing to test your plugin. Technically competent testers are good, but you also want some testers who will represent the average user who knows nothing about programming languages.

It’ll be impossible to find every bug, but at least make an effort to put out a stable release.

Make Sure You Have a Readme File

Before you release a plugin into the wild, make sure you at the very least have a Readme file. This file should contain at the very minimum installation instructions for your plugin. For a stricter version of a readme file, check out the WordPress recommendations regarding a Readme file. There’s even a groovy Readme file validator.

Set Up a Dedicated WordPress Plugin Page

Ajay D’Souza wrote some recommendations regarding releasing WordPress themes. The advice he gives can also be applied to plugins to an extent.

Make sure you set up a dedicated WordPress Plugin page for your plugin. This page will be the URL that people will go to to find out everything about your plugin. This plugin page should contain the following at a minimum:

  • A brief description of your plugin.
  • The download location.
  • A list of features.
  • Install instructions.
  • Version history (Changelog).
  • Known bugs and/or conflicts.
  • Screenshots or a demo (or both).
  • Contact or support information (or comments enabled).

The above information will assist you in promoting your plugin, especially the description and feature portion.

Have a Good Folder Structure

I would argue to always include your plugin in a folder. Any files other than the main plugin file should be included in sub-directories. Make sure you zip, gzip, or rar your plugin folder that way it is as easy as possible for people to install your plugin.

Does Your Plugin Require Theme or File Manipulation?

If your plugin requires users to tweak theme settings and/or files, prepare for the onslaught of bug reports and users wanting assistance. I would argue that a good plugin requires absolutely no theme manipulation or file manipulation. An exception to this would be the plugins that add template tags to the WordPress core.

If your plugin does require theme or file manipulation, include detailed examples on your download page and possibly include some examples in your release.

Promoting Your Plugin

After you have your dedicated download page, it is time to start making plugin announcements so people will download your work. The time you spent on your description and features is crucial since you’ll be using these for your plugin promotion. Others who link to your plugin will be doing the same.

Promote at Weblog Tools Collection

A very good resource for promoting your plugin is the Weblog Tools Collection news section. Under their Plugin Releases section, you can give details regarding your new plugin.

Promote at the WordPress Plugin Database

The WordPress Plugin Database is another good resource for adding in your plugin. The process for adding your plugin isn’t the most straightforward, but there are detailed instructions.

Promote at the Official WordPress Plugin Repository

WordPress itself has offered to host your plugin. You have to meet several requirements before you will be allowed to add your plugin, however. Remember that any publicity is good publicity.

Promote Using Social Networking

Add your plugin to delicious, Digg, and Stumble Upon. Get your friends to help. If your plugin is good enough, the referrals will start coming in.

Promote On Your Own Blog

If your plugin is something that people will notice, use it on your blog. People may start asking what plugin you are using. Word of mouth is a powerful ally, especially in the blogosphere.

Conclusion

You can have the best plugin in the world, but if it isn’t released and promoted correctly, very few people will download it. Once you start the promotion process, it is important to listen to feature and bug requests, especially if your plugin is very young. If your plugin doesn’t work, or too many people have problems with it, people will be wary of downloading your plugin. It’s important to get those bugs fixed and the crucial features added in early. Most of these problems can be solved during testing, but some bugs just don’t seem to crop up until after the official release.

The End of the ‘How to Write a WordPress Plugin’ Series

Thank you for reading the final post in the plugin series. Hopefully this series proved beneficial to you and helped establish a foundation for you to write your own plugins. Thank you very much for reading.

Using AJAX with your WordPress Plugin

May 25, 2007 By Ronald Huereca

How To Write a WordPress Plugin Series

This post was written as part of the How to Write a WordPress Plugin series.

More and more plugins are starting to use AJAX techniques. I personally don’t see a use for most cases of AJAX, but it may be necessary for your plugin to use AJAX to accomplish a task. This post will show you how to use AJAX with your WordPress plugin.

This post will be building on the last one where we added in a JavaScript and Stylesheet file.

Set Up a new PHP File

The Devlounge Plugin Series plugin has the following directory structure:

  • devlounge-plugin-series
    • devlounge-plugin-series.php (main plugin file)
    • js
      • devlounge-plugin-series.js.php
    • css
      • devlounge-plugin-series.css
    • php
      • dl-plugin-ajax.php (new php file for AJAX calls)

Notice I have a php extension at the end of my JavaScript file. I’ll explain the change a little later in this post.

I’ve created a new file and placed it in the php directory and have called it dl-plugin-ajax.php. I have placed the following code inside the file:

[php]
showComments();
}
?>
[/php]

This code is simple enough and is used solely for AJAX calls. It makes sure that config structure is present so we can call our class object dl_pluginSeries and reference other WordPress functions and variables. However, the showComments function hasn’t been created yet, so that is the next item on our agenda.

Set up the showComments function

The showComments function is placed inside our DevloungePluginSeries class:

[php]
function showComments() {
global $wpdb;
$devloungecomments = $wpdb->get_row(“SELECT count(comment_approved) comments_count FROM $wpdb->comments where comment_approved = ‘1’ group by comment_approved”, ARRAY_A);
echo “You have ” . $devloungecomments[‘comments_count’] . ” comments on your blog”;
}
[/php]
You might recognize this bit of code from the database interaction post. This function outputs the number of comments made on your blog.

Allow JavaScript to Know Where Your Blog is Located

One pesky thing about AJAX is that the external JavaScript file has no idea where your blog is installed. I get around this by adding a PHP extension to my included JavaScript file so that I can access WordPress functions. Within the addHeaderCode function, I changed the code from this:
[php]
if (function_exists(‘wp_enqueue_script’)) {
wp_enqueue_script(‘devlounge_plugin_series’, get_bloginfo(‘wpurl’) . ‘/wp-content/plugins/devlounge-plugin-series/js/devlounge-plugin-series.js’, array(‘prototype’), ‘0.1’);
}
[/php]
to this:
[php]
if (function_exists(‘wp_enqueue_script’)) {
wp_enqueue_script(‘devlounge_plugin_seriess’, get_bloginfo(‘wpurl’) . ‘/wp-content/plugins/devlounge-plugin-series/js/devlounge-plugin-series.js.php’, array(‘prototype’), ‘0.3’);
}
[/php]
The only thing I changed was the version number and added a PHP extension to the end of the JavaScript file.

Now JavaScript has a way of finding out where our blog is for AJAX calls. Let’s now set up the JavaScript.

Setting up the JavaScript

The purpose of this script (which is located in devlounge-plugin-series.js.php) is to find the blog’s URL, call the PHP file, and return a result to the user.

[javascript]

Event.observe(window, ‘load’, devloungePluginSeriesInit, false);
function devloungePluginSeriesInit() {
$(‘devlounge-link’).onclick = devloungePluginSeriesClick;
}
function devloungePluginSeriesClick(evt) {
var url = “/wp-content/plugins/devlounge-plugin-series/php/dl-plugin-ajax.php”;
var success = function(t){devloungePluginSeriesClickComplete(t);}
var myAjax = new Ajax.Request(url, {method:’post’, onSuccess:success});
return false;
}
function devloungePluginSeriesClickComplete(t) {
alert(t.responseText);
}
[/javascript]

The above code does the following (keep in mind we are using Prototype):

  • Makes sure that config structure is present so we can access WordPress functions and variables.
  • After the document has loaded, the devloungePluginSeriesInit is called.
  • An event is set up for the link you added at the end of a post (line 7). If you forgot, now is the time to add the link in. Simply find a post and add this code to the bottom of it: <a href="#" id="devlounge-link">Get the Number of Blog Comments</a>
  • The absolute URL to the PHP file is found (line 12).
  • The PHP file is called (line 14).
  • The response is outputted to the user (line 18).

The Result

This next step assumes you are at the post where the link was added. When clicking on the link “Get the Number of Blog Comments“, the script uses AJAX to call a function in the DevloungePluginSeries class and returns the result to you in the form of an alert box.

AJAX Alert Box

As you can see, I don’t have many comments on my local installation.

Conclusion

This post demonstrated a very bare-bones example of how to use AJAX (using Prototype) for your WordPress plugin. Please download the code used in this post: Devlounge Plugin Series Using Ajax.

Download the Code Used In This Post

For some related reading regarding Prototype, please check out the following links:

  • Working With Events In Prototype
  • Edit-in-Place with Ajax (uses Prototype)

Thank you for reading.

Next Page »

Code & Tutorials

Which Front-End Development Languages Will Grow in 2017?

Your Guide to Leveraging APIs as a Developer

Bitcoin Processing Website Integration For Web Developers

Website Security For 2016 That All Developers Need To Know

5 Reasons You Need to Be Using jQuery

About Devlounge

Want to read more about Devlounge, or maybe you want to contact us, or even advertise? Oh, and don't forget to subscribe to updates!

The Best of Devlounge

Sass x Class = Lea Alcantara

Search