Permalink
Browse files

Read the changelog.txt for all the changes, forgot to commit them ;/

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
  • Loading branch information...
1 parent 74030f8 commit 14ca08f50092b069d2c6b919d16e02bdf5c4e4cf Philip M. Hofer (Frumph) committed Nov 28, 2010
View
@@ -1,4 +1,12 @@
-2.9.2.24
+2.9.2.25
+Styled the #s-search and #searchform button and the forms.
+changed the padding and line-height in the #menubar-wrapper .menu css
+added .post-time / .posted-at new function comicpress_display_post_time() which displays the time the post was made.
+alt-text/hovertext change in the displaypost.php file, it now outputs the hovertext/alt-text on thumbnails and rss feeds
+and shows the alt-text whether Rascal is active or not
+removed extra id="" in the textarea for the comment form, #comment-textarea no longer exists, its just #comment now
+
+2.9.2.24
Removed the tabindex from the comments.php field for textarea
adding comic-id-# ($post->id) as a wrap with #comic-wrap so that it can be targeted for the current comic post
added check to see if on the comic_next for hovering over to see if its empty or not, if it is do a # instead of empty ""
@@ -10,15 +18,18 @@ implemented easel's menubar code which uses less CSS then the new comicpress's /
fixed classic menubar's error with the comicpress_get_all_comic_categories_as_cat_string() when its supposed to be: comicpress_all_comic_categories_string()
You can now assign comics to individual posts, which means.. yes.. multiple comics per day with multiple posts. A little bit extra work than just uploading but works great.
Still need to make comicpress managers bulk editor recognize which comic is assigned to it and think about making an assign comic box for the post editor.
-Added new widget "Donation" widget which lets you set a 'target' donation amount and then set how much in donations you currently have and it displays a nice little donation image percentile of how far its got to go to get the target mark
+* Added new widget "Donation" widget which lets you set a 'target' donation amount and then set how much in donations
+* Added new widget "Incentive" which displays a portion of a thumbnail based on how much has been donated, when 100% links to the donation image.
+you currently have and it displays a nice little donation image percentile of how far its got to go to get the target mark
Fixed Notice that appears on 404 and search pages when no results found.
+added info about child themes on the layout options page and links to download them
2.9.2.23
Fixed footer - the-footer problem with widgets in the footer area
made the is_cp_theme_layout into a function_exists so that it can be rehandled in the child-functions.php
-2.9.2.22
+2.9.2.22 - Released to WordPress.ORG
Added ?latestcomic=# where # = category #
So you can do ?latestcomic and it will redirect to the latest comic of all categories
or latestcomic = 3 will redirect to the latestcomic of category ID #3
@@ -0,0 +1,31 @@
+<?php
+
+//COMIC CATEGORY -the WordPress ID # of your comic category (default "3")
+$comiccat = "3";
+
+//BLOG CATEGORY - the WordPress ID of your blog category (default "4")
+$blogcat = "4";
+
+//COMIC FOLDER - the folder your comics files are located in (default "comics")
+$comic_folder = "comics";
+
+//RSS COMIC FOLDER - the folder your comic files are in for the RSS feed (default "comics")
+$rss_comic_folder = "comics-rss";
+
+//ARCHIVE COMIC FOLDER - the folder your comic files are in for your archive pages (default "comics")
+$archive_comic_folder = "comics-archive";
+
+//ARCHIVE COMIC WIDTH - the width your comics will appear on archive or search results (default "380")
+$archive_comic_width = "380";
+
+//RSS COMIC WIDTH - ComicPress Manager plugin users only - the width your comics appear in the RSS feed (default "600").
+$rss_comic_width = "480";
+
+//BLOG POSTCOUNT - the number of blog entries to appear on the home page (default "5").
+$blog_postcount = "5";
+
+//Mini Comic Width - The width your comics will appear in minithumbs (default "100")
+$mini_comic_width = "198";
+
+//Minithumb Comic Folder - The folder for your your mini thumbs (default "comics-mini")
+$mini_comic_folder = "comics-mini";
View
@@ -120,7 +120,7 @@
if (comicpress_themeinfo('disable_comment_note')) {
$args = array(
'fields' => apply_filters( 'comment_form_default_fields', $fields ),
- 'comment_field' => '<p class="comment-form-comment"><textarea id="comment" name="comment" id="comment-textarea"></textarea></p>',
+ 'comment_field' => '<p class="comment-form-comment"><textarea id="comment" name="comment"></textarea></p>',
'comment_notes_before' => '',
'comment_notes_after' => '',
'title_reply' => __( 'Comment &not;<br />', 'comicpress' ),
@@ -132,7 +132,7 @@
$args = array(
'fields' => apply_filters( 'comment_form_default_fields', $fields ),
'comment_notes_before' => '',
- 'comment_field' => '<p class="comment-form-comment"><textarea id="comment" name="comment" id="comment-textarea"></textarea></p>',
+ 'comment_field' => '<p class="comment-form-comment"><textarea id="comment" name="comment"></textarea></p>',
'comment_notes_after' => '<p class="comment-note">' . __('NOTE - You can use these ','comicpress') . sprintf(('<abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:<br />%s' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>',
'title_reply' => __( 'Comment &not;<br />', 'comicpress'),
'title_reply_to' => __('Reply to %s &not;<br />','comicpress'),
@@ -142,6 +142,7 @@
}
comment_form($args);
?>
+ <div class="clear"></div>
</div>
<?php endif; ?>
View
@@ -421,7 +421,7 @@ function comicpress_load_options() {
'enable_comic_post_author_gravatar' => false,
'disable_tags_in_posts' => false,
'disable_categories_in_posts' => false,
- 'disable_comment_note' => false,
+ 'disable_comment_note' => true,
'blogposts_with_comic' => false,
'remove_wptexturize' => false,
@@ -432,7 +432,7 @@ function comicpress_load_options() {
'enable_search_in_menubar' => false,
'enable_rss_in_menubar' => true,
- 'enable_navigation_in_menubar' => false,
+ 'enable_navigation_in_menubar' => true,
'disable_jquery_menu_code' => false,
'disable_default_menubar' => false,
@@ -495,7 +495,7 @@ function comicpress_themeinfo($whichinfo = null) {
$comicpress_coreinfo = wp_upload_dir();
$comicpress_addinfo = array(
'upload_path' => get_option('upload_path'),
- 'version' => '2.9.2.24',
+ 'version' => '2.9.2.25',
'siteurl' => trailingslashit(get_option('siteurl')),
'home' => trailingslashit(home_url()),
'comiccat' => $comiccat,
View
@@ -123,28 +123,30 @@ function comicpress_display_comic_thumbnail($type = 'mini', $override_post = nul
}
$output = '';
+ $alttext = comicpress_the_hovertext($post_to_use);
if (is_array($thumbnail)) {
if ($multi) {
foreach ($thumbnail as $thumb) {
if ($setwidth) {
- $output .= '<img src="'.$thumb.'" alt="'.get_the_title($post_to_use).'" style="max-width:'.$setwidth.'px" class="comicthumbnail" title="'.get_the_title($post_to_use).'" />'."\r\n";
+ $output .= '<img src="'.$thumb.'" alt="'.$alttext.'" style="max-width:'.$setwidth.'px" class="comicthumbnail" title="'.$alttext.'" />'."\r\n";
} else {
- $output .= '<img src="'.$thumb.'" alt="'.get_the_title($post_to_use).'" class="comicthumbnail" title="'.get_the_title($post_to_use).'" />'."\r\n";
+ $output .= '<img src="'.$thumb.'" alt="'.$alttext.'" class="comicthumbnail" title="'.$alttext.'" />'."\r\n";
}
}
} else {
$thumb = $thumbnail[0];
+
if ($setwidth) {
- $output .= '<img src="'.$thumb.'" alt="'.get_the_title($post_to_use).'" style="max-width:'.$setwidth.'px" class="comicthumbnail" title="'.get_the_title($post_to_use).'" />'."\r\n";
+ $output .= '<img src="'.$thumb.'" alt="'.$alttext.'" style="max-width:'.$setwidth.'px" class="comicthumbnail" title="'.$alttext.'" />'."\r\n";
} else {
- $output .= '<img src="'.$thumb.'" alt="'.get_the_title($post_to_use).'" class="comicthumbnail" title="'.get_the_title($post_to_use).'" />'."\r\n";
+ $output .= '<img src="'.$thumb.'" alt="'.$alttext.'" class="comicthumbnail" title="'.$alttext.'" />'."\r\n";
}
}
} else {
if ($setwidth) {
- $output = '<img src="'.$thumbnail.'" alt="'.get_the_title($post_to_use).'" style="max-width:'.$setwidth.'px" class="comicthumbnail" title="'.get_the_title($post_to_use).'" />'."\r\n";
+ $output = '<img src="'.$thumbnail.'" alt="'.$alttext.'" style="max-width:'.$setwidth.'px" class="comicthumbnail" title="'.$alttext.'" />'."\r\n";
} else {
- $output = '<img src="'.$thumbnail.'" alt="'.get_the_title($post_to_use).'" class="comicthumbnail" title="'.get_the_title($post_to_use).'" />'."\r\n";
+ $output = '<img src="'.$thumbnail.'" alt="'.$alttext.'" class="comicthumbnail" title="'.$alttext.'" />'."\r\n";
}
}
// if ($count > 1) $output = $count.' comics attached.<br />'.$output;
@@ -155,11 +157,7 @@ function comicpress_display_comic_thumbnail($type = 'mini', $override_post = nul
// TODO: Add the hovertext - rascal code and click to next INSIDE this.
function comicpress_display_comic_image($post, $comic) {
$file_url = comicpress_themeinfo('baseurl') . comicpress_clean_filename($comic);
- if (comicpress_themeinfo('rascal_says')) {
- $alt_text = get_the_title($post);
- } else {
- $alt_text = comicpress_the_hovertext($post);
- }
+ $alt_text = comicpress_the_hovertext($post);
$output = '<img src="'.$file_url.'" alt="'.$alt_text.'" title="'.$alt_text.'" />';
return apply_filters('comicpress_display_comic_image',$output);
}
View
@@ -71,12 +71,23 @@ function comicpress_display_post_author() {
function comicpress_display_post_date() {
global $post;
if ($post->post_type == 'post') {
- $post_date = "<span class=\"posted-on\">".__('on&nbsp;','comicpress')."</span><span class=\"post-date\">".get_the_time('F jS, Y')."</span>\r\n";
+ $post_date = "<span class=\"posted-on\">".__('on&nbsp;','comicpress')."</span><span class=\"post-date\">".get_the_date()."</span>\r\n";
echo apply_filters('comicpress_display_post_date',$post_date);
}
}
}
+if (!function_exists('comicpress_display_post_time')) {
+ function comicpress_display_post_time() {
+ global $post;
+ if ($post->post_type == 'post') {
+ $post_time = "<span class=\"posted-at\">".__('at&nbsp;','comicpress')."</span><span class=\"post-time\">".get_the_time()."</span>\r\n";
+ echo apply_filters('comicpress_display_post_time',$post_time);
+ }
+ }
+}
+
+
if (!function_exists('comicpress_display_post_category')) {
function comicpress_display_post_category($is_comic = false) {
global $post, $wp_query;
@@ -210,7 +221,7 @@ function comicpress_display_post() {
comicpress_display_post_title($is_comic);
if (!is_page()) {
comicpress_display_post_author();
- comicpress_display_post_date();
+ comicpress_display_post_date(); comicpress_display_post_time();
if (!is_archive() && !is_search()) {edit_post_link(__('Edit','comicpress'), ' <span class="pipe">|</span> <span class="post-edit">', '</span>'); }
comicpress_display_post_category($is_comic);
if (function_exists('the_ratings') && $post->post_type == 'post') { the_ratings(); }
View
@@ -1,5 +1,5 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
+<!DOCTYPE html>
+<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
<title><?php
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -18,10 +18,7 @@
<strong>Upload Path Base Dir</strong>:(basedir) <?php echo comicpress_themeinfo('basedir'); ?><br />
<strong>Upload Base URL</strong>:(baseurl) <?php echo comicpress_themeinfo('baseurl'); ?><br />
<br />
- <strong>Category Tree 1:</strong><br />
- <?php var_dump(comicpress_themeinfo('diff_category_tree')); ?><br />
- <br />
- <strong>Category Tree 2:</strong><br />
+ <strong>Category Tree:</strong><br />
<?php var_dump(comicpress_themeinfo('category_tree')); ?><br />
<br />
<?php var_dump(comicpress_themeinfo()); ?>
@@ -236,6 +236,7 @@
<th colspan="3"><?php _e('Debug','comicpress'); ?></th>
</tr>
</thead>
+<!--
<tr class="alternate">
<th scope="row"><label for="enable_comicpress_debug"><?php _e('Enable the dashboard ComicPress debug?','comicpress'); ?></label></th>
<td>
@@ -254,6 +255,7 @@
<?php _e('Enable this if you would like to check ALL of your posts to see if there are any category problems and inconsistancies.', 'comicpress'); ?>
</td>
</tr>
+// -->
<tr class="alternate">
<th scope="row"><label for="enable_page_load_info"><?php _e('Enable the page load info in the footer?','comicpress'); ?></label></th>
<td>
View
@@ -153,6 +153,10 @@ div.show img {
border-bottom: none;
}
+.comicpress-options table.nolowermargin {
+ margin-bottom: 0;
+}
+
.comicpress-options table.widefat th {
width: 200px;
}
View
@@ -14,7 +14,7 @@ function showimage(sel,pic) {
<div class="comicpress-options">
- <table class="widefat" cellspacing="0">
+ <table class="widefat nolowermargin" cellspacing="0">
<thead>
<tr>
<th colspan="4"><?php _e('Layout','comicpress'); ?></th>
@@ -64,6 +64,16 @@ function showimage(sel,pic) {
</td>
</tr>
</table>
+ <div class="comicpress-options-save">
+ <div class="comicpress-major-publishing-actions">
+ <div class="comicpress-publishing-action">
+ <input name="comicpress_save_layout" type="submit" class="button-primary" value="Save Layout" />
+ <input type="hidden" name="action" value="comicpress_save_layout" />
+ </div>
+ <div class="clear"></div>
+ </div>
+ </div>
+
<table class="widefat" cellspacing="0">
<thead>
<tr>
@@ -72,42 +82,30 @@ function showimage(sel,pic) {
</thead>
<tr>
<td colspan="5">
- These child themes can be downloaded from either <a href="http://comicpress.org/download/" target="_blank">ComicPress.org</a> or <a href="http://frumph.net/downloads/comicpress-child-themes/" target="_blank">Frumph.NET</a>
+ These child themes can be downloaded from either <a href="http://comicpress.org/download/" target="_blank">ComicPress.org</a> or <a href="http://frumph.net/downloads/comicpress-child-themes/" target="_blank">Frumph.NET</a>, child themes are like regular themes but they only contain the "look" of your site. It is best if you use a child theme so that when you upgrade ComicPress you do not lose any of your site's design. Child themes are also 'base' designs, where you can modify them to look as you wish; they're created to give you a place to start with your own site design.
+ You install child themes just like the regular ComicPress theme, into the wp-content/themes/ directory, then activate it and it will use the design from the chlid theme and the code from the main ComicPress theme. Most people use the child-theme as a central location for their site design images since it does not disappear or change if you upgrade the main ComicPress theme.
</td>
</tr>
<tr>
<td>
- List Child Themes Available Here
- </td>
+ <table>
+ <tr>
+ <td><img src="<?php echo get_template_directory_uri(); ?>/images/screenshots/comicpress-silver.jpg" alt="ComicPress Silver" /></td>
+ <td><img src="<?php echo get_template_directory_uri(); ?>/images/screenshots/comicpress-boxed.jpg" alt="ComicPress Silver" /></td>
+ <td><img src="<?php echo get_template_directory_uri(); ?>/images/screenshots/comicpress-foreboding.jpg" alt="ComicPress Silver" /></td>
</tr>
- </table>
-
- <table class="widefat" cellspacing="0">
- <thead>
- <tr>
- <th colspan="4"><?php _e('Color Scheme','comicpress'); ?></th>
- </tr>
- </thead>
<tr>
- <td colspan="5">
- Coming Soon.
- </td>
+ <td><img src="<?php echo get_template_directory_uri(); ?>/images/screenshots/comicpress-red.jpg" alt="ComicPress Silver" /></td>
+ <td><img src="<?php echo get_template_directory_uri(); ?>/images/screenshots/comicpress-sandy.jpg" alt="ComicPress Silver" /></td>
+ <td><img src="<?php echo get_template_directory_uri(); ?>/images/screenshots/comicpress-greymatter.jpg" alt="ComicPress Silver" /></td>
+ </tr>
+ </table>
+ </td>
</tr>
- </table>
+ </table>
<div class="clear"></div>
</div>
-
- <div class="comicpress-options-save">
- <div class="comicpress-major-publishing-actions">
- <div class="comicpress-publishing-action">
- <input name="comicpress_save_layout" type="submit" class="button-primary" value="Save Layout" />
- <input type="hidden" name="action" value="comicpress_save_layout" />
- </div>
- <div class="clear"></div>
- </div>
- </div>
-
</form>
<div class="clear"></div>
Oops, something went wrong.

0 comments on commit 14ca08f

Please sign in to comment.