diff --git a/comicpress-options-config.php b/comicpress-options-config.php index 00d893b..445ef66 100644 --- a/comicpress-options-config.php +++ b/comicpress-options-config.php @@ -4,6 +4,88 @@ $options = array ( array("type" => "open"), + + + array( + "id" => "comicpress-cp_theme_layout", + "default" => "standard", + "type" => "comicpress-cp_theme_layout"), + +array( +"id" => "comicpress-general_main", +"default" => "default", +"type" => "comicpress-general_main"), + + array( + "id" => "comicpress-disable_page_restraints", + "default" => "no", + "type" => "comicpress-disable_page_restraints"), + array( + "id" => "comicpress-rascal_says", + "default" => "no", + "type" => "comicpress-rascal_says"), + array( + "id" => "comicpress-disable_comment_note", + "default" => "no", + "type" => "comicpress-disable_comment_note"), + + array( + "id" => "comicpress-disable_css_style_editor", + "default" => "no", + "type" => "comicpress-disable_css_style_editor"), + + array( + "id" => "comicpress-custom_css", + "default" => "", + "type" => "comicpress-custom_css"), + + array( + "id" => "comicpress-disable_extended_comments", + "default" => "no", + "type" => "comicpress-disable_extended_comments"), + +array( +"id" => "comicpress-general_navigation", +"default" => "default", +"type" => "comicpress-general_navigation"), + array( + "id" => "comicpress-enable_numbered_pagination", + "default" => "yes", + "type" => "comicpress-enable_numbered_pagination"), + array( + "id" => "comicpress-comic_clicks_next", + "default" => "no", + "type" => "comicpress-comic_clicks_next"), + array( + "id" => "comicpress-graphicnav_directory", + "default" => "default", + "type" => "comicpress-graphicnav_directory"), + +array( +"id" => "comicpress-general_sidebars", +"default" => "default", +"type" => "comicpress-general_sidebars"), + + array( + "id" => "comicpress-disable_lrsidebars_frontpage", + "default" => "no", + "type" => "comicpress-disable_lrsidebars_frontpage"), + array( + "id" => "comicpress-enable_widgetarea_use_sidebar_css", + "default" => "no", + "type" => "comicpress-enable_widgetarea_use_sidebar_css"), + +array( +"id" => "comicpress-general_footerheading", +"default" => "default", +"type" => "comicpress-general_footerheading"), + + array( + "id" => "comicpress-disable_footer_text", + "default" => "no", + "type" => "comicpress-disable_footer_text"), + + array( "id" => "comicpress-disable_comic_frontpage", "default" => "no", @@ -23,17 +105,195 @@ $options = array ( "id" => "comicpress-disable_blog_frontpage", "default" => "no", "type" => "comicpress-disable_blog_frontpage"), + array( + "id" => "comicpress-disable_blogheader", + "default" => "no", + "type" => "comicpress-disable_blogheader"), + + +array( +"id" => "comicpress-posts_heading_main", +"default" => "default", +"type" => "comicpress-posts_heading_main"), + + array( + "id" => "comicpress-transcript_in_posts", + "default" => "no", + "type" => "comicpress-transcript_in_posts"), array( - "id" => "comicpress-custom_css", - "default" => "", - "type" => "comicpress-custom_css"), + "id" => "comicpress-enable_related_comics", + "default" => "no", + "type" => "comicpress-enable_related_comics"), array( - "id" => "comicpress-cp_theme_layout", - "default" => "standard", - "type" => "comicpress-cp_theme_layout"), + "id" => "comicpress-enable_related_posts", + "default" => "no", + "type" => "comicpress-enable_related_posts"), + array( + "id" => "comicpress-remove_wptexturize", + "default" => "no", + "type" => "comicpress-remove_wptexturize"), + +array( +"id" => "comicpress-posts_heading_authorsavatars", +"default" => "default", +"type" => "comicpress-posts_heading_authorsavatars"), + array( + "id" => "comicpress-split_column_in_two", + "default" => "no", + "type" => "comicpress-split_column_in_two"), + + array( + "id" => "comicpress-author_column_one", + "default" => "1", + "type" => "comicpress-author_column_one"), + + array( + "id" => "comicpress-author_column_two", + "default" => "1", + "type" => "comicpress-author_column_two"), + + array( + "id" => "comicpress-enable_comic_post_author_gravatar", + "default" => "no", + "type" => "comicpress-enable_comic_post_author_gravatar"), + + array( + "id" => "comicpress-enable_post_author_gravatar", + "default" => "no", + "type" => "comicpress-enable_post_author_gravatar"), + + array( + "id" => "comicpress-avatar_directory", + "default" => "default", + "type" => "comicpress-avatar_directory"), + + + array( + "id" => "comicpress-moods_directory", + "default" => "default", + "type" => "comicpress-moods_directory"), + +array( +"id" => "comicpress-posts_heading_calendar", +"default" => "default", +"type" => "comicpress-posts_heading_calendar"), + + array( + "id" => "comicpress-calendar_directory", + "default" => "default", + "type" => "comicpress-calendar_directory"), + + array( + "id" => "comicpress-enable_comic_post_calendar", + "default" => "no", + "type" => "comicpress-enable_comic_post_calendar"), + + array( + "id" => "comicpress-enable_post_calendar", + "default" => "no", + "type" => "comicpress-enable_post_calendar"), + +array( +"id" => "comicpress-posts_heading_tagscategories", +"default" => "default", +"type" => "comicpress-posts_heading_tagscategories"), + + array( + "id" => "comicpress-disable_tags_in_posts", + "default" => "no", + "type" => "comicpress-disable_tags_in_posts"), + + array( + "id" => "comicpress-disable_categories_in_posts", + "default" => "no", + "type" => "comicpress-disable_categories_in_posts"), + +array( +"id" => "comicpress-posts_heading_pages", +"default" => "default", +"type" => "comicpress-posts_heading_pages"), + + array( + "id" => "comicpress-blogposts_with_comic", + "default" => "no", + "type" => "comicpress-blogposts_with_comic"), + + array( + "id" => "comicpress-disable_page_titles", + "default" => "no", + "type" => "comicpress-disable_page_titles"), + + array( + "id" => "comicpress-archive_display_order", + "default" => "desc", + "type" => "comicpress-archive_display_order"), + + array( + "id" => "comicpress-excerpt_or_content_archive", + "default" => "excerpt", + "type" => "comicpress-excerpt_or_content_archive"), + + array( + "id" => "comicpress-excerpt_or_content_search", + "default" => "excerpt", + "type" => "comicpress-excerpt_or_content_search"), + + array( + "id" => "comicpress-category_thumbnail_postcount", + "default" => "30", + "type" => "comicpress-category_thumbnail_postcount"), + + + array( + "id" => "comicpress-contact_in_menubar", + "default" => "no", + "type" => "comicpress-contact_in_menubar"), + + array( + "id" => "comicpress-enable_search_in_menubar", + "default" => "no", + "type" => "comicpress-enable_search_in_menubar"), + + array( + "id" => "comicpress-enable_rss_in_menubar", + "default" => "no", + "type" => "comicpress-enable_rss_in_menubar"), + + array( + "id" => "comicpress-enable_navigation_in_menubar", + "default" => "yes", + "type" => "comicpress-enable_navigation_in_menubar"), + + + array( + "id" => "comicpress-disable_dynamic_menubar_links", + "default" => "no", + "type" => "comicpress-disable_dynamic_menubar_links"), + + array( + "id" => "comicpress-disable_default_menubar", + "default" => "no", + "type" => "comicpress-disable_default_menubar"), + + array( + "id" => "comicpress-enable_custom_image_header", + "default" => "no", + "type" => "comicpress-enable_custom_image_header"), + + array( + "id" => "comicpress-custom_image_header_width", + "default" => "780", + "type" => "comicpress-custom_image_header_width"), + + array( + "id" => "comicpress-custom_image_header_height", + "default" => "120", + "type" => "comicpress-custom_image_header_height"), + + array( "id" => "comicpress-buy_print_email", "default" => "youremail@youremail.com", @@ -69,225 +329,13 @@ $options = array ( "default" => "9.95", "type" => "comicpress-buy_print_int_ship"), - array( - "id" => "comicpress-transcript_in_posts", - "default" => "no", - "type" => "comicpress-transcript_in_posts"), - - array( - "id" => "comicpress-enable_widgetarea_use_sidebar_css", - "default" => "no", - "type" => "comicpress-enable_widgetarea_use_sidebar_css"), - - array( - "id" => "comicpress-contact_in_menubar", - "default" => "no", - "type" => "comicpress-contact_in_menubar"), - - array( - "id" => "comicpress-disable_extended_comments", - "default" => "no", - "type" => "comicpress-disable_extended_comments"), - - array( - "id" => "comicpress-enable_custom_image_header", - "default" => "no", - "type" => "comicpress-enable_custom_image_header"), - - array( - "id" => "comicpress-custom_image_header_width", - "default" => "780", - "type" => "comicpress-custom_image_header_width"), - - array( - "id" => "comicpress-custom_image_header_height", - "default" => "120", - "type" => "comicpress-custom_image_header_height"), - - array( - "id" => "comicpress-enable_numbered_pagination", - "default" => "yes", - "type" => "comicpress-enable_numbered_pagination"), - - array( - "id" => "comicpress-disable_page_restraints", - "default" => "no", - "type" => "comicpress-disable_page_restraints"), - - array( - "id" => "comicpress-enable_related_comics", - "default" => "no", - "type" => "comicpress-enable_related_comics"), - - array( - "id" => "comicpress-enable_related_posts", - "default" => "no", - "type" => "comicpress-enable_related_posts"), - - array( - "id" => "comicpress-comic_clicks_next", - "default" => "no", - "type" => "comicpress-comic_clicks_next"), - - array( - "id" => "comicpress-rascal_says", - "default" => "no", - "type" => "comicpress-rascal_says"), - - array( - "id" => "comicpress-disable_css_style_editor", - "default" => "no", - "type" => "comicpress-disable_css_style_editor"), - - array( - "id" => "comicpress-enable_post_calendar", - "default" => "no", - "type" => "comicpress-enable_post_calendar"), - - array( - "id" => "comicpress-enable_post_author_gravatar", - "default" => "no", - "type" => "comicpress-enable_post_author_gravatar"), - - array( - "id" => "comicpress-enable_comic_post_calendar", - "default" => "no", - "type" => "comicpress-enable_comic_post_calendar"), - - array( - "id" => "comicpress-enable_comic_post_author_gravatar", - "default" => "no", - "type" => "comicpress-enable_comic_post_author_gravatar"), - - array( - "id" => "comicpress-disable_tags_in_posts", - "default" => "no", - "type" => "comicpress-disable_tags_in_posts"), - - array( - "id" => "comicpress-disable_categories_in_posts", - "default" => "no", - "type" => "comicpress-disable_categories_in_posts"), - - array( - "id" => "comicpress-moods_directory", - "default" => "default", - "type" => "comicpress-moods_directory"), - - array( - "id" => "comicpress-graphicnav_directory", - "default" => "default", - "type" => "comicpress-graphicnav_directory"), - - array( - "id" => "comicpress-enable_search_in_menubar", - "default" => "no", - "type" => "comicpress-enable_search_in_menubar"), - - array( - "id" => "comicpress-enable_rss_in_menubar", - "default" => "no", - "type" => "comicpress-enable_rss_in_menubar"), - - array( - "id" => "comicpress-enable_navigation_in_menubar", - "default" => "yes", - "type" => "comicpress-enable_navigation_in_menubar"), - - array( - "id" => "comicpress-disable_lrsidebars_frontpage", - "default" => "no", - "type" => "comicpress-disable_lrsidebars_frontpage"), - - array( - "id" => "comicpress-calendar_directory", - "default" => "default", - "type" => "comicpress-calendar_directory"), - - array( - "id" => "comicpress-disable_dynamic_menubar_links", - "default" => "no", - "type" => "comicpress-disable_dynamic_menubar_links"), - - array( - "id" => "comicpress-disable_footer_text", - "default" => "no", - "type" => "comicpress-disable_footer_text"), - - array( - "id" => "comicpress-avatar_directory", - "default" => "default", - "type" => "comicpress-avatar_directory"), - - array( - "id" => "comicpress-archive_display_order", - "default" => "desc", - "type" => "comicpress-archive_display_order"), - - array( - "id" => "comicpress-disable_comment_note", - "default" => "no", - "type" => "comicpress-disable_comment_note"), - - array( - "id" => "comicpress-excerpt_or_content_archive", - "default" => "excerpt", - "type" => "comicpress-excerpt_or_content_archive"), - - array( - "id" => "comicpress-excerpt_or_content_search", - "default" => "excerpt", - "type" => "comicpress-excerpt_or_content_search"), - - array( - "id" => "comicpress-category_thumbnail_postcount", - "default" => "30", - "type" => "comicpress-category_thumbnail_postcount"), array( "id" => "comicpress-members_post_category", "default" => "", "type" => "comicpress-members_post_category"), - - array( - "id" => "comicpress-blogposts_with_comic", - "default" => "no", - "type" => "comicpress-blogposts_with_comic"), - - array( - "id" => "comicpress-split_column_in_two", - "default" => "no", - "type" => "comicpress-split_column_in_two"), - - array( - "id" => "comicpress-author_column_one", - "default" => "1", - "type" => "comicpress-author_column_one"), - - array( - "id" => "comicpress-author_column_two", - "default" => "1", - "type" => "comicpress-author_column_two"), - - array( - "id" => "comicpress-remove_wptexturize", - "default" => "no", - "type" => "comicpress-remove_wptexturize"), - - array( - "id" => "comicpress-disable_default_menubar", - "default" => "no", - "type" => "comicpress-disable_default_menubar"), - - array( - "id" => "comicpress-disable_blogheader", - "default" => "no", - "type" => "comicpress-disable_blogheader"), - - array( - "id" => "comicpress-disable_page_titles", - "default" => "no", - "type" => "comicpress-disable_page_titles"), + + array("type" => "close") ); diff --git a/comicpress-options.php b/comicpress-options.php index 12e6695..7808135 100644 --- a/comicpress-options.php +++ b/comicpress-options.php @@ -69,8 +69,8 @@ function comicpress_admin() {
Edit the user with Dashboard -> Users -> Authors & Users and flag the user you want to be a member with the option at the bottom.
++Inside posts, add [members] content you only want members to see [/members]
++When setting a 'members' category, you *cannot* use an existing comic category, uncategorized, or blog category!
++You MUST create a whole new category and called it "members", then you select that category here and create a page called "Members" or something equivelant and associate the Member's Only template to it.
++This will make it so that that category is only seen as blogposts inside that area and not anywhere else on the site unless the user has the members flag.