Tag ‘wpmu’ » Archiv


0

I want me a comic blog!

March
15

I’ve been reading xkcd and Explosm for ages and I’ve always dreamed of having a comic blog. Well, more specifically, being able to draw well enough to have a comic blog!

Now, I’m not gonna let a little thing like not being able to do something to stop from doing something. I mean, how hard can it be? ;)

Any stick will do

I have seen some literally LaughOutLoud good comics that are nothing more than a few straight lines on my stumbleupon sessions and I can’t help but think that it should be a breeze to do the same. oo-er, famous last words eh?

Check out this strip, it’s simply drawn and it made larf for ages. I sent it to 3 people!

I tried to make one in this style and it was hard! I did manage to make a simple comic once before on this blog, I used an online stickman comic maker which made things easier..

The Unsuccess

I wonder if it’ll be easier this time?

Comicpress wooot!

Enter in Comicpress which is a fantastic bit of Wordpress shennanigans that enables anyone to create and update a comic based blog without worrying about ftp and specific filenames.

It’s currently powering a huge number of comic blogs and has helped a lot of regular folks create gorgeous comics like Starship Moonhawk or Dakota McFadzeans’ Blog and I want in!

It wont be able to help your drawing skills or your humour bone tuning but it will leave you to only worry about the drawing, all the rest will be handled by the system. It can handle graphic novels, simple strip comics, multi columns, custom colours, fancy pagination and a whole lot more!

It’s mildly overwhelming how many options there are to choose from so I think my best approach will be to start with a simple default layout and get creating and publishing. As I get used to the system, I’ll know what I need to change or update.

Learn me and you some learns

I’m all set up to start doing some more screencasts on my super fast PC and the weather is getting nice enough for me to be able to stay at the main pc without my fingers becoming frozen so I think it’s time to make some tutorial videos!

What better way to generate blog fodder than to start a tutorial series! and.. what better platform to do it on than ComLuv? ;) (and it means I can use it as a legitimate ‘work’ activity)

ComicLuv

I have done some testing and I am fairly confident that it will work just as well on the live server. So, over the next few days I will be installing it to the ComLuv site as a supporter only feature. Anyone with a fiver a month can have a comic blog too!

I will be creating the comic blog and using the blogging side of it for tutorials and tales of my progress as I figure out what I use to draw the comics and other important stuff like how to draw or what is funny?

Freebies!

I’d really like to hear from you if you’ve ever considered making a comic blog, It’d be awesome to be able to have someone to compare notes with and share the journey.

What do you think? fancy making a comic on the ComLuv site? In exchange for taking the plunge with me and being someone who can chat with me about comic making, I’ll give you a full supporter account with access to all the themes and comicpress addons and a bunch of credits to get things like extra URLs on your comluv account.

It goes without saying that your new comic blog will get plenty of promotion and be mentioned along with mine in as many places as I can fit it :)

Blog News, Blog Tools


0

Taming the Upgrades plugin from http://premium.wpmudev.org

February
2

If you’re lucky enough to have a subscription to Premium WPMU Dev account then you’ll have access to great monetization plugins like the Upgrades or Supporter which take all the pain out of providing a ‘pay for’ service that can handle payments through Paypal, Google or even Amazon gateways.

I downloaded and installed the upgrades plugin a while ago and I’ve used it to monetize certain parts of my ComLuv site. There’s the usual way of adding plugins to the Upgrades directory and configuring them to be used which I’ll go into in a future post but I wanted to use the system slightly differently, and that was to charge users for adding new URLs to an account or to add default links to their returned list of posts.

The advantage of premium

Some of the advantages to using wpmupremium plugins is the support you receive, knowledge that the plugin will be updated to keep it compatible with new changes and my favourite is, the quality of the code.

When you’re getting premium, you’re getting premium code which for me personally, has taught me a LOT about how wordpress works. Particularly custom hooks and actions and filters. That was always a mystery to me until I dissected the plugins I downloaded from their site so it was a breeze to modify the upgrades plugin to work for users who don’t have blogs and start using the internal functions in a daughter template to do what I wanted.

Modifying the upgrades plugin


I needed to allow the upgrades menu to show for regular users because not everyone who joins the Comluv site starts a blog. This was just a simple case of changing the user level so that everyone, not just blog owners can see the menu and buy credits.

There are two places to modify:

/mu-plugins/upgrades-framework.php
line ~ 197-200 (upgrades plug pages framework function)
change add menu and submenu calls to

add_menu_page($upgrades_branding_plural, $upgrades_branding_plural, 0, 'upgrades.php');
add_submenu_page('upgrades.php', __('Credits'), __('Credits'), 0, 'credits', 'upgrades_credits_output' );
add_submenu_page('upgrades.php', __('History'), __('History'), 0, 'history', 'upgrades_log_output' );

line ~ 1919 (upgrades_credits_output function)
change user check to

if(!current_user_can('level_0')) {

Creating the daughter template

Adding another page you can use as a template is pretty easy, you just need to create a new php file in your theme directory and make sure it has the correct remarks at the top to identify it as a template page.


/*
Template Name: ComLuv purchase url
*/

Next just copy and paste the main calls from another template, you’ll be deleting most of it like the loop to display posts and replacing it with your own hard coded form and text. Be sure to keep the divs that surround the content intact.

I wrote a description of the item being sold and added a form.
(DON’T copy and paste from this page, I had to remove the beginning < characters from the code so it displays properly)

form action='/member/additional-urls/' method="POST">
input name="addurl" type="text" size="30"/>
input type="submit" name="submit1" value="Submit"/>

/form>

I also added a finish_page() function which just closes the /div tags so I could easily break out of what I was displaying without rendering the rest of the custom code below it.

You set the action to the page slug you’re publishing the page as and put a nonce field in there so you can check it with the next bit of code to prevent a naughty user from trying to call the purchase directly.

Handling the purchase

Next, you need to handle the data that gets submitted by your form and do the magic with the users credits.

if(isset($_POST['submit1'])){
$nonce=$_REQUEST['_wpnonce'];
if(!wp_verify_nonce($nonce,'addurl1')){
echo 'Page request deformed, please go back and try again. (b1s1)';
finish_page();
}
if(!$_POST['addurl']){
echo 'Please go back and enter a value';
finish_page();
}
// check if user has enough credits
global $user_ID;
$credits = upgrades_user_credits_available($user_ID);
if($credits < 3){
echo 'h2>Error - Insufficient Credits/h2>';
echo 'p>You will need to purchase some credits to register another URL, you currently have strong>'.$credits.'/strong>';
echo 'p>a href="/wp-admin/upgrades.php?page=credits">Click here to visit the purchase page/a>';
finish_page();
}
// if we're here then everything is ok to provide service and deduct credits
$credits = upgrades_user_credits_available($user_ID);
$credits -= 3;
upgrades_user_credits_update($credits);
upgrades_log_add_msg($user_ID,'You paid 3 credits for an additional URl - '.$url);
do_add_url($url,$user_ID);
echo 'h2>Site added, 3 credits used on your account/h2>';
echo 'p>You have '.$credits.' credits remaining';
echo 'p>a href="/member/additional-urls/">Click here to refresh the page/a>';

The first bit gets the nonce you created and checks it and displays an error message if it doesn’t match
Next, check the field you’re expecting and spit out an error if it is empty.
Next, check the user has enough credits and spit out an error if they don’t.
If everything is fine, continue.

use $credits = upgrades_user_credits_available($user_ID); to get the users current credits total
use upgrades_user_credits_update($credits); to set the users credits total to $credits (after you deduct what your item/upgrade costs)
use upgrades_log_add_msg($user_ID,’You paid 3 credits for an additional URl – ‘.$url); to add a message to the users Credits history page so they know they used some.

That’s it, easy peasy! Here’s an idea, use credits to sell digital downloads on another page, just check and deduct the users credits before allowing a dowload.

I’ll post a follow up to this soon on how to use the upgrades plugin to add a new package that enables the RSS widget for a blog (I’ll show you how to disable the rss widget too)

You can get over 100 plugins and themes of premium quality at http://premium.wpmudev.org and they all help to make your wpmu site better than the jones’s :)

Blog Tools, Making / Made Money, PHP, Wordpress


5

Wordpress MU 2.8 Beginners Guide Book Review

December
7

PacktPublishing sent me a shiny new publication called Wordpress MU 2.8. It’s one of their “beginners guide” series which means it takes you step by step from noob to hero on the subject. I’ve read a few of their other books and they’ve always been a good read and source of new information.

Wordpress Mu or WPMu is already familiar to me after creating ComLuv.com to run using it so I was looking forward to receiving this book to see if there were some things I had missed. Oh yeah, I missed a lot!

If you’re looking to build a Wordpress based site that also has the option of allowing your own readers to create their own blogs then you need to look at WPMu. Not only is it the same platform that wordpress.com uses for their millions of blogs, it’s also expandable to be a social network in it’s own right. It does this with the buddypress and bbpress plugins. This book shows you how to use them all.

In the beginning

Like all beginner books, the first part deals with the introduction and installation chapters. In other books, this is just a page or two but with PacktPub books, you get the full deal. Step by step with pictures and alternative methods. Even right down to setting up Apache to work with subdomains which is going to save you a lot of trouble hunting around forums for answers.

Expansion

After you learn how to set up your site and modify it’s appearance, you’ll want to know what plugins and features can be added. The middle section of the book takes you through different options like buddypress, bbpress (forums) and other useful additions that will make your site stand out from the rest.

As with other beginners guide books, the author works with a case study site and as you progress through the chapters adding more things, you will be able to follow on with your own local install and compare results. This makes it a lot more interactive to learn and with the pop quizzes and “what just happened” reviews, you’ll really prepare yourself for your project.

More than words..

As well as covering the technical details for installing, maintaining and optimizing your site, the author also goes into the real life way of creating and running a blog/social network hub. Things like monetizing your site or ways to increase traffic are given a whole chapter and will really help the new webmaster get to grips with their site.

thinking Mu?

If you’re just considering looking into WPMu or you run more than one wordpress blog and want to consolidate them all to one site then you should buy yourself this book. It’ll give you enough information so that you can try it out without worrying about having to bring in outside help. You can view the books contents page and read more about it here :

Wordpress MU 2.8 Beginners Guide

Reviews


0

WPMU Contest – Countdown to 100 plugins and themes

September
23

wpmubanner

I won a free premium membership to WPMU Premium with the 2.0 version of Commentluv and let me tell you, it was one of the best prizes I have ever received! The plugins, themes and support forum were pivotal to getting The ComLuv Network up and running.

Having an account there is pretty much a must-have for anyone considering starting their own blog network on the WPMU platform, the support is first rate and the extra plugin and themes are what makes WPMu such a great platform to work with. My favorite plugin is the Supporters plugin which opens up the ability for you to create your own Typepad style blog network with users becoming “supporters” for your set price subscription which will allow them to have access to premium plugins using the premium plugins plugin (try saying that with a mouthfull of cheese!) and the premium themes plugin.

I’ve got all three (and more) running on The ComLuv Network and they’re already getting me subscription payments that are sent to my Paypal account every month, all I have to do is keep the site growing and provide the things that people want and it should start paying for itself and maybe make some profit before Christmas!

If you’re familiar with Wordpress then it’s just a small hop, skip and jump to upgrade to WPMu so you should take a ganders at their site and enter their contest to be in with a chance to win a years premium membership worth $419

All you have to do is visit this page and follow the instructions. Simple!

contests


4

Big fat database moves to 256 thinner ones

August
2

I spent the morning putting Comluv through some tasks to convert the huge monstrosity that was my wpmu database into 256 smaller ones. it was touch and go for a bit, I did a practice go on a local install but misread some docs and put wrong values in, the whole thing looked like it worked anyway but a live install is a different matter!

I think everything is working as it should now, no errors are appearing in the error log and posts and blogs are being created.

I thank thulawd that I had a WPMU premium account so I can go and ask lots of questions at the WPMU premium site! I got a free membership when the 2.7 version of CommentLuv won the wpmu plugins contest. It’s one of the best prizes I have ever received! it is partly why comluv is open to multiple users now.

I am not going to touch much today and see if any major happenings happen and maybe, just maybe, my day off tomorrow can actually be a day off… fingers crossed

Blog News, Code