I'm in your site, touching your stuff.

Frumph.NET

RSS
  • Home
  • Archive
  • Easel
  • Chat
  • Hire Me
    • Portfolio
  • Contact
  • Downloads
    • ComicPress Child Themes
    • Easel Child Themes
    • Plugins

Latest Showcase

  • Eben07
  • Fera
  • Union of Heroes
  • Anomaly

Highest Rated

  • Anomaly
    1 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 10
    (10.00 out of 10)
  • Union of Heroes
    1 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 10
    (10.00 out of 10)
  • Fera
    1 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 10
    (10.00 out of 10)
  • Eben07
    1 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 101 vote, average: 10.00 out of 10
    (10.00 out of 10)

Buy This!

Associate Sites

  • ComicPress

Hosted Site List

  • Frumph.NET
  • Trouble Tickets
  • Site Design
  • ComicPress Boxed
  • Anomaly
  • ComicPress Sandy
  • ComicPress ForeBoding
  • ComicPress Red
  • CommPress
  • ComicPress Silver
  • Test Site
ComicPress
Jun21

ComicPress 3.0 Information Update.

by Phil (Frumph) on June 21st, 2010
Posted In: Wordpress, ComicPress

Updated information on the status of CP 3.0

  1. The comics directories need to be located in the wp-content/uploads directory now.  This is because it was a request to lock down wordpress sites and only have the uploads directory available as such on some systems that don’t have proper permission setups.   This also made it easier to code and reduced processing by like 10% just from that change alone. (this is for non-multisite, multisite uses the directories based on the multisite info)
  2. ComicPress Manager is no longer needed, you can ditch it with CP 3.0 – Everything’s in the theme.
  3. The multisite (wpmu) mu-plugin is no longer needed.
  4. CP 3.0 is completely plug & play.  You activate the theme, you add a new comic, no configuring.  Although you can adjust the configuring after installing, it’s not necessary to get up and going to configure anything.
  5. There is no comicpress-config.php anymore.  No need to worry about losing your options/config on updates.
  6. Comics are “attached’ to the post.   And there are several advanced options available including comics in different languages available.
  7. There are no more ‘category’ separation from comic and blog as you know it now.   The comic’s are in their own post type.  Completely separate from the regular blog posts so not only will there never be a conflict again they really just are not seen the same way again.
  8. Backwards compatibility:  Although we are leaving the ability to have backwards compatibility where the posts in the comic post type will look at the comics directory via filename date if there isn’t a comic attached to it, it will search your comics folder for a file with the old date method on it; we don’t want people to keep utilizing this method in the future, need to train comic users to just upload their comic with whatever filename they want with the upload controls.
  9. There is an upgrade script that will convert all your current comics from the old post style to the new post type.  Just select your primary comics directory (in the script) and go.  Although it will remove all your categories and tags since those are no longer used and are replaced with Chapters and other comic related functions.
  10. All ComicPress versions of the theme will remain free.
  11. ^ However, your wondering where are those cool NEW features we were adding went?  Lemme tell ya, instead of including them in the theme we’ll be having Child Themes available with those features in them.  Yes, for pay.  Don’t even bother griping about it, that one is a done deal.   The theme itself will always remain free and if you want to buy a child theme with extra features you can.  Those child themes will be available from their individual developer separately from ComicPress.  If you are interested in creating child themes for sale we’ll have an area on the website to link to the various child themes people develop.
  12. Soon as the initial release is done while in beta mode we’ll have a continual stream of child themes available with so many different options for the site look it’s going to be silly.   I have quite a few of them already done and waiting to be put up.
  13. Your current child themes will be compatible up to a point.  The CSS and images are Absolutely Compatible, things like the custom child functions, widgets and code will need to be updated.
  14. This is *(not)* the ComicPress Premium package we were making previously.   Almost though.  We stripped out pretty much all the new stuff and are making 3.0 the new post type with the new system.  What we DID leave in is the memory management, core options and new comic method.
  15. We’re waiting on Tyler’s decision to decide to make this as a normal ComicPress upgrade or call it a new ComicPress name. (note: he decided that this IS going to be ComicPress 3.0 and not an offshoot, he loved it that much)
  16. Stop editing the original theme already and learn how to do a child theme: http://frumph.net/wordpress/comicpress/convert-your-comicpress-2-9-site-to-use-a-child-theme/

There is Members Only content here.
To view this content you need to be a member of this site.

16 Comments
ComicPress
Jun16

Convert your ComicPress 2.9* site to use a child theme.

by Phil (Frumph) on June 16th, 2010
Posted In: Wordpress, ComicPress

A child theme is a theme that goes in your wp-content/themes directory that ONLY has your customizations inside of it.   When upgrading ComicPress to newer versions you will not lose all of your customizations since they are centralized in a single location.

More information on what a child theme is here:
http://frumph.net/wordpress/comicpress-2-9-parent-child-theme-relationship/

Original Post is here:
http://frumph.net/wordpress/faq/creating-a-custom-child-theme-for-comicpress-2-9/

A child theme will contain your graphic sets for navigation, avatars, calendars, moods and site graphics;  Your custom CSS, widgets and code overrides.

I have provided a blank comicpress child theme here:
http://frumph.net/downloads/comicpress-blank.zip

  1. Modify the directory name to one of your chosing, i.e. /comicpress-mysitename/
  2. Change the ‘Theme Name, Author and Author URI’ inside the child theme’s style.css to your custom names.
  3. Put your custom sets of navigation, avatars, calanders, moods in the images folder in this Child Theme, uses the same base structure as the main ComicPress theme, (if you have them, otherwise you can make them later).
  4. If you are using a custom-menubar.php, that too goes into this child theme.
  5. The widgets directory in the child theme is where you can place custom widgets if you make any.
  6. Design your site with Companion or putting the CSS into this child theme’s style.css
  7. Take a screen capture of your designed site and replace the screenshot.png file in this child theme.

1. Modify the directory name.

The comicpress-blank.zip file has a directory inside of it called comicpress-blank, you can either upload it via the dashboard -> themes -> add new [upload], or you can ftp the contents into the wp-content/themes directory of your wordpress installation.

When it is on your server, rename the directory to something more coherent then ‘blank’ so that you can recognize it as your own.

The end result will be something like this  /wp-content/themes/comicpress-yoursitename/  and the style.css for the child theme is in the /wp-content/themes/comicpress-yoursitename/style.css

2. Change relevant information inside the style.css of your child theme.

/*
Theme Name: ComicPress Blank
Theme URI: http://comicpress.org
Template: comicpress
Description: Publish a comic with WordPress.  <a href="http://comicpress.org">Visit the ComicPress Website.</a>
Author: Your Name Here
Author URI: http://Your personal site url here/
Version: 1.0
*/

This is how the blank child theme originally looks. You will want to modify this to have the information you want in your child theme. Change the theme name to represent your webcomic or site. You’re the author, change that as well and your website too.

4. Put your custom stuff in the child theme.

Now that you have your own child theme you can centralize the location of all of your images & stuff that is used on your site. The child themes images directory is where you place your site design images that are relevant to the style.css inside the child theme directory. When using the child themes style.css and your images are in the child themes images directory you can use this path structure in example:

body {
	background: #fff url('images/background.jpg') top center no-repeat;
}

Notice that the url(‘ portion is basically just looking into the images directory that is under the style.css that is calling for that image instead of using some huge http:// patch structure.

Your other graphic sets, like navigation, moods, etc behave the same way as if they were put into the main theme. If you have custom navigation graphics with it’s own navstyle.css that you created, instead of going into the /comicpress/images/nav// directory you would put them into the child theme instead, such as /comicpress-yoursitename/images/nav// and ComicPress will check there as well for the options area in the dashboard when configuring your site.

5. custom-menubar.php goes into the child theme

The custom-header.php is basically a file that can be injected into the menubar position wherever it is on your site, instead of the menubar showing it will instead load this file. This allows you to create your own look and feel for your menubar. This custom-header.php file when using a child theme needs to be in the child theme directory.

6 . The widgets directory in the child theme

You can create your own custom widgets or ones that are specific for your child theme. This directory gets auto loaded when the theme gets executed to be seen in the widgets area of the dashboard.

7. Put your CSS changes into the style.css of the child theme.

In order to continue with this whole “don’t edit your comicpress theme” method of thinking. Some of you use Companion to do this exact same thing. However I want to touch up on an important note to those modifying CSS. You do NOT put the entire style.css set of elements into the custom area or companion. You ONLY put changes. For example, in the main ComicPress theme’s style.css you see:

body {
	margin: 0;
	font-family: 'Arial' , sans-serif;
	font-size: 14px;
	color: #000;
}

And you want to add a background to the body area and change the color from black to white. You would want to ONLY put what is changed, like this inside of the style.css of the child theme OR companion:

body {
	background: #fff url('images/background.jpg') top center no-repeat;
	color: #000;
}

Notice that not *all* of the elements are there, ONLY what is changed. This allows you to recognize what specific thing is changed instead of trying to figure out a difference between your original and your changes.

Good luck! If any of you need any assistance in creating your own custom child theme, please do not hesitate to contact me!

- Phil (Frumph)

5 Comments
WordPress
Jun14

Understanding do_action() and add_action() – Revisited

by Phil (Frumph) on June 14th, 2010
Posted In: Wordpress

While designing your themes, often times you want to be able to push dynamic content to a particular area of it.  The do_action(), add_action() functions of WP are a great tool to use.

↓ Read the rest of this entry…

  Comment
Jun14

Review – WebComic + InkBlot vs ComicPress

by Phil (Frumph) on June 14th, 2010
Posted In: Wordpress

This morning was the first time I ever opened WebComic + Inkblot, the first thing I did was look at the code.   Let me show you what I found.  ComicPress 3.0 vs WebComic + Inkblot 2.1.1

I wanted to test the page load and memory usage of both systems that are just straight bare-bones upon installation.  I added the following to the footer of Inkblot since it didn’t have it to ‘show’ it’s users.

	<p><?php echo get_num_queries() ?> queries. <?php  $unit=array('b','kb','mb','gb','tb','pb'); echo @round(memory_get_usage(true)/pow(1024,($i=floor(log(memory_get_usage(true),1024)))),2).' '.$unit[$i]; ?> Memory usage. <?php timer_stop(1) ?> seconds.</p>

What this line does is give the amount of SQL queries that the system uses, how much memory it uses and how long it took for the page to compile and load PER USER ACCESS.  Without any extra added plugins.  Take note though this is done on a server with opcode cache’ing to begin with, while ComicPress knows how to deal with Memory, WebComic does not.

OpCode Cache’ing cache’s the PHP code, it is the preferred way of cache’ing if you have it available.

Let’s start with ComicPress (to try to be more fair I set it to the 3C theme so it had 2 sidebars there WITH default widgets that load):

47 Queries, 3.25MB Memory Usage, 0.117 seconds load time.

Now let’s look at InkBlot (no default widgets loading only one sidebar active)

Oh wait, you CANT, Inkblot requires a Plugin to actually work.   ComicPress does not, you name the files put them in the comics directory and associate the categories in the comicpress-config.php and that’s all you need for a functioning working system.

So moving on, I added the WebComic Plugin and now its:

54 Queries, 15.75 MB mem used and loads in 0.574 seconds

I’m sorry, why? ^ clearly wtf.   Just to be fair I activated ComicPress Manager.

47 Queries, 3mb mem usage and load time of 0.175 seconds.

Moving on.

↓ Read the rest of this entry…

Pages: 1 2 3 4
12 Comments
WordPress
Jun11

Adding a check for custom taxonomies on archive pages.

by Phil (Frumph) on June 11th, 2010
Posted In: Wordpress

On search and archive pages there isn’t a specific archive_<post_type>.php  yet so you have to edit your current archive and search to compensate for it being used for custom post types and taxonomies. On a good note, there is the $wp_query->query_vars that we can work with. (if) there is a custom post type taxonomy being set it will be in those variables.    Now here’s the interesting part.    If we check for the is_category() and is_tag() ahead of the check for the query_var checks it will weed out the normal post post_type from the ones in custom post types.

↓ Read the rest of this entry…

  Comment
  • Page 2 of 23
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
  • Last »

Want to help developement?

Categories

  • Blog (23)
    • Articles (4)
    • BookOfPhilip (5)
    • Dream Journal (1)
    • Music (1)
    • News (4)
    • Random Thoughts (3)
  • ComicPress Child Themes (3)
  • WebComic (43)
    • PinUps (37)
    • Rascal (6)
  • WebComic Planet (3)
  • Wordpress (42)
    • ComicPress (10)
    • FAQ (7)

0 Users Online Chatting

  • No one

Lastest Chat: General

  • Phil (Frumph): well "deer" if you don't need me, i'm off for awhile too
  • dgriff13: *sniff* all alone

Control Panel

UserName:


Password:




  • Register
  • Recover password

Powered by WordPress with Easel - Subscribe: RSS - Back to Top ↑

51 queries. 19.5 mb Memory usage. 0.485 seconds.