Frumph.NETWork

I'm in your site, touching your stuff.
  • Home
  • Archive
    • Incoming Links
  • Contact
  • Documentation
    • FAQ
    • ComicPress ChangeLog
  • Downloads
    • ComicPress Child Theme’s
    • Easel
    • Easel Child Themes
    • Plugins
Twitter Facebook RSS
Home » Page 2

Donate to Development

Latest Beta’s

ComicPress
  • 06/08/2011 - released
  • Download: ComicPress ver 2.9.3.1
Easel
  • 06/05/2011
  • Download: Easel ver 2.0.8

Latest Music

  • How You Make Me Feel
  • Song for Sophie
  • On A Blue Moon
  • The Only Exception
  • A Father’s Love (Ethan Song)

Categories

  • Blog (36)
    • Articles (5)
    • BookOfPhilip (5)
    • Dream Journal (1)
    • News (9)
    • Random Thoughts (3)
  • ComicPress Child Themes (3)
  • ComicPress Manager (1)
  • Design (1)
  • Guide (2)
  • Information (1)
  • Twitter (1)
  • Uncategorized (3)
  • WebComic (6)
    • Rascal (6)
  • WebComic Planet (4)
  • Wordpress (58)
    • Comic Easel (2)
    • ComicPress (15)
    • Easel (5)
    • FAQ (7)
May21

Easel 2.0.7

by Phil (Frumph) on May 21st, 2011 at 3:40 pm
Posted In: Easel

Here’s the beta for Easel 2.0.7

Changes

Css:
none

Code:
Optimized the archive and search to not do extra loops, which saves memory.
Added option for archive display order in the easel options
did something to breadcrumbs but it’s been so long I don’t remember ;/

Download Easel 2.0.7 and test it out for me.

39 Comments
May21

Speed up your sites ‘display’ time, how fast it loads to the end user; by putting your external ads in iframes.

by Phil (Frumph) on May 21st, 2011 at 3:43 am
Posted In: Information

You toss some advertisements on your site and the worse thing that happens is that it slows the display time of your site to the end user by waiting for the advertisement to load up.

↓ Read the rest of this entry…

└ Tags: advertising, load speed, optimize
21 Comments
May18

how to remove the at [time] from the post info

by Phil (Frumph) on May 18th, 2011 at 12:58 am
Posted In: ComicPress

Open up your child-functions.php file and insert this line in it:

function comicpress_display_post_time() { return ''; }

What this does is ‘override’ the post time function and returns empty information instead of posting the time that the post was created.

- Phil

 Comment 
May15

Hosting Move

by Phil (Frumph) on May 15th, 2011 at 4:46 am
Posted In: Uncategorized

Hello folks, i’ve moved hosting for all my sites and working on them right now.

So if something is wrong; that’s the reason.

9 Comments
May03

Important ComicPress & Easel archive.php bug fix.

by Phil (Frumph) on May 3rd, 2011 at 5:33 pm
Posted In: ComicPress,Easel

The archive.php of easel and comicpress has a serious memory hog issue and with some help from Trump http://goatmouf.net I was able to find it and figure out a fix for it.

Basically what I was doing in the archive.php to find a ‘total count’ of how many finds was to actually do another query and grab the count that way, which essentially just basically doubled the amount of memory used for the finding of information -> BAD frumph BAD.

So in the archive.php find this:

Protect();
$tmp_search = new WP_Query($query_string.'&showposts=-1&posts_per_page=-1');
if (isset($tmp_search->post_count)) {
	$count = $tmp_search->post_count;
} else {
	$count = "No";
}
$tmp_search = null;

UnProtect();

or something relatively like that, and comment it out or delete that whole section.

/*
Protect();
$tmp_search = new WP_Query($query_string.'&showposts=-1&posts_per_page=-1');
if (isset($tmp_search->post_count)) {
	$count = $tmp_search->post_count;
} else {
	$count = "No";
}
$tmp_search = null;

UnProtect();
*/

The /* and */ act as “comment everything between this.

Then under that, we need to place

$count = "No";

That would be placed right above the if (have_posts()):

$count = "No";
if (have_posts()) :

Now we still want to “count” the amount of found posts, we need to add the info to get the #

$count = "No";
if (have_posts()) :
	$count = $wp_query->found_posts;

This will allow the $count to be populated with the correct value of all the posts that were found. Now for the bad news, its not tested with *every* scenario yet, so we cant be totally sure that all counts will be completely 100% accurate, but it will definitely save a ton of memory when someone goes into the archives.

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

Random Pinup

2009-01-17-Cassie-Wells

Most Recent Logins

adrinojasklao00richardheadstrong33cuzimjoekittylyndacharlesbeers4articlejohn24zigerdavidalexrayersprinkelbkevinvarsa54bloomcreptpaul638dernoaaiggy33

Control Panel

  • Register
  • Recover password

Pages

  • Archive
    • Incoming Links
  • Blog
  • Documentation
    • Custom Avatars
    • Custom Menubar
    • Getting Started
    • Installation Instructions
    • Navigation Buttons
    • Recommended Plugins
  • Downloads
    • ComicPress Child Theme’s
    • Easel Child Themes
    • Plugins
  • Easel
  • FAQ
    • ComicPress ChangeLog
  • Frumph’s Plugin Certification
  • Hire Me
    • Portfolio
  • Incoming Links
  • Members

©2008-2011 Philip M. Hofer (Frumph) | Powered by WordPress with Easel | Hosted on Frumph.NETwork | Subscribe: RSS | Back to Top ↑

77 queries. 18.25 mb Memory usage. 1.258 seconds.