diff --git a/wp-content/plugins/bp-dedication/functions.php b/wp-content/plugins/bp-dedication/functions.php index d5c6942..79245b7 100644 --- a/wp-content/plugins/bp-dedication/functions.php +++ b/wp-content/plugins/bp-dedication/functions.php @@ -135,6 +135,4 @@ function bp_dedication_options() { return apply_filters( 'bp_dedication_options', $options ); } - - ?> \ No newline at end of file diff --git a/wp-content/plugins/bp-dedication/includes/create-dedication.php b/wp-content/plugins/bp-dedication/includes/create-dedication.php index 1931085..3cedc1c 100644 --- a/wp-content/plugins/bp-dedication/includes/create-dedication.php +++ b/wp-content/plugins/bp-dedication/includes/create-dedication.php @@ -65,13 +65,13 @@ function bp_dedication_create_new_dedication() { 'post_type' => 'post' //'post',page' or use a custom post type if you want to ); - $pid = wp_insert_post($new_post); - if ($pid) { - $link = get_permalink($pid); + $post_id = wp_insert_post($new_post); + if ($post_id) { + $link = get_permalink($post_id); - add_post_meta($pid, 'ghostpool_dedication_artist', $artist_name); - add_post_meta($pid, 'ghostpool_dedication_song', $song_name); - add_post_meta($pid, 'ghostpool_dedication_url', $videoData['videoURL']); + add_post_meta($post_id, 'ghostpool_dedication_artist', $artist_name); + add_post_meta($post_id, 'ghostpool_dedication_song', $song_name); + add_post_meta($post_id, 'ghostpool_dedication_url', $videoData['videoURL']); $imageurl = $videoData['thumbnail']; diff --git a/wp-content/themes/score/dedication/new-dedication.php b/wp-content/themes/score/dedication/new-dedication.php index 3711b73..50d05f7 100644 --- a/wp-content/themes/score/dedication/new-dedication.php +++ b/wp-content/themes/score/dedication/new-dedication.php @@ -24,12 +24,12 @@ global $bp;
  • - +
  • - +
  • diff --git a/wp-content/themes/score/lib/admin/inc/theme-options.php b/wp-content/themes/score/lib/admin/inc/theme-options.php index 7f14901..9bb48f1 100644 --- a/wp-content/themes/score/lib/admin/inc/theme-options.php +++ b/wp-content/themes/score/lib/admin/inc/theme-options.php @@ -1,6 +1,5 @@ __('Thumbnail Width', 'gp_lang'), "desc" => __('The width to crop the thumbnail to (can be overridden on individual posts, set to 0 to have a proportionate width).', 'gp_lang'), "id" => $shortname . "_homepage_thumbnail_width", - "std" => "130", + "std" => "300", "type" => "text", "size" => "small", "details" => "px"), @@ -347,7 +346,7 @@ $options = array( "name" => __('Homepage Category IDs', 'gp_lang'), "desc" => __('Enter the IDs of the post categories you want to display (leave blank to display all categories).', 'gp_lang'), "id" => $shortname . "_homepage_cats", - "std" => "", + "std" => get_category_by_slug(BP_DEDICATION_SLUG), "type" => "text"), array("type" => "divider"), array( @@ -370,7 +369,7 @@ $options = array( "name" => __('Posts Per Page', 'gp_lang'), "desc" => __('The number of posts per page.', 'gp_lang'), "id" => $shortname . "_homepage_posts_per_page", - "std" => "10", + "std" => "4", "type" => "text", "size" => "small"), array("type" => "divider"), @@ -402,7 +401,7 @@ $options = array( "name" => __('Score Type', 'gp_lang'), "desc" => __('Choose the score type to display.', 'gp_lang'), "id" => $shortname . "_homepage_score_type", - "std" => "1", + "std" => "0", "options" => array('Site Score' => __('Site Score', 'gp_lang'), 'User Score' => __('User Score', 'gp_lang'), 'Site & User Score' => __('Site & User Score', 'gp_lang'), 'No Scores' => __('No Scores', 'gp_lang')), "type" => "select"), array("type" => "divider"), @@ -448,7 +447,7 @@ $options = array( "name" => __('Post Categories', 'gp_lang'), "desc" => __('Choose whether to display the post categories.', 'gp_lang'), "id" => $shortname . "_homepage_cats_", - "std" => "1", + "std" => "0", "options" => array(__('Enable', 'gp_lang'), __('Disable', 'gp_lang')), "type" => "radio"), array( @@ -462,7 +461,7 @@ $options = array( "name" => __('Post Tags', 'gp_lang'), "desc" => __('Choose whether to display the post tags.', 'gp_lang'), "id" => $shortname . "_homepage_tags", - "std" => "1", + "std" => "0", "options" => array(__('Enable', 'gp_lang'), __('Disable', 'gp_lang')), "type" => "radio"), array("type" => "close"), @@ -617,7 +616,7 @@ $options = array( "name" => __('Thumbnail Width', 'gp_lang'), "desc" => __('The width to crop the thumbnail to (can be overridden on individual posts, set to 0 to have a proportionate width).', 'gp_lang'), "id" => $shortname . "_cat_thumbnail_width", - "std" => "100", + "std" => "280", "type" => "text", "size" => "small", "details" => "px"), @@ -657,7 +656,7 @@ $options = array( "name" => __('Posts Per Page', 'gp_lang'), "desc" => __('The number of posts per page.', 'gp_lang'), "id" => $shortname . "_cat_posts_per_page", - "std" => "10", + "std" => "6", "type" => "text", "size" => "small"), array("type" => "divider"), @@ -681,7 +680,7 @@ $options = array( "name" => __('Read More Link', 'gp_lang'), "desc" => __('Choose whether to display the read more links.', 'gp_lang'), "id" => $shortname . "_cat_read_more", - "std" => "0", + "std" => "1", "options" => array(__('Enable', 'gp_lang'), __('Disable', 'gp_lang')), "type" => "radio"), array("type" => "divider"), @@ -713,35 +712,35 @@ $options = array( "name" => __('Post Date', 'gp_lang'), "desc" => __('Choose whether to display the post date.', 'gp_lang'), "id" => $shortname . "_cat_date", - "std" => "0", + "std" => "1", "options" => array(__('Enable', 'gp_lang'), __('Disable', 'gp_lang')), "type" => "radio"), array( "name" => __('Post Author', 'gp_lang'), "desc" => __('Choose whether to display the post author.', 'gp_lang'), "id" => $shortname . "_cat_author", - "std" => "0", + "std" => "1", "options" => array(__('Enable', 'gp_lang'), __('Disable', 'gp_lang')), "type" => "radio"), array( "name" => __('Post Categories', 'gp_lang'), "desc" => __('Choose whether to display the post categories.', 'gp_lang'), "id" => $shortname . "_cat_cats", - "std" => "1", + "std" => "0", "options" => array(__('Enable', 'gp_lang'), __('Disable', 'gp_lang')), "type" => "radio"), array( "name" => __('Post Comments', 'gp_lang'), "desc" => __('Choose whether to display the post comments.', 'gp_lang'), "id" => $shortname . "_cat_comments", - "std" => "0", + "std" => "1", "options" => array(__('Enable', 'gp_lang'), __('Disable', 'gp_lang')), "type" => "radio"), array( "name" => __('Post Tags', 'gp_lang'), "desc" => __('Choose whether to display the post tags.', 'gp_lang'), "id" => $shortname . "_cat_tags", - "std" => "1", + "std" => "0", "options" => array(__('Enable', 'gp_lang'), __('Disable', 'gp_lang')), "type" => "radio"), array("type" => "close"), diff --git a/wp-content/themes/score/lib/buddypress/functions-buddypress.php b/wp-content/themes/score/lib/buddypress/functions-buddypress.php index 3630ba7..3d5bb11 100644 --- a/wp-content/themes/score/lib/buddypress/functions-buddypress.php +++ b/wp-content/themes/score/lib/buddypress/functions-buddypress.php @@ -280,7 +280,7 @@ if (function_exists('bp_is_active')) { } -// No ver mostrar de buddypress excepto para el admin +// No ver mostrar de buddypress excepto para el tablero if (!is_admin() ) define( 'BP_DISABLE_ADMIN_BAR', true ); diff --git a/wp-content/themes/score/style-asong2u.css b/wp-content/themes/score/style-asong2u.css index 628becf..d44e9db 100644 --- a/wp-content/themes/score/style-asong2u.css +++ b/wp-content/themes/score/style-asong2u.css @@ -632,8 +632,8 @@ h3.comments { } .home-page .post-loop { - width: 49%; - padding-right: 1%; + width: 49% !important; + padding-right: 1% !important; } .post-text { diff --git a/wp-content/uploads/2012/06/014-210x157.jpg b/wp-content/uploads/2012/06/014-210x157.jpg new file mode 100644 index 0000000..6bb9a7a Binary files /dev/null and b/wp-content/uploads/2012/06/014-210x157.jpg differ diff --git a/wp-content/uploads/2012/06/014-350x262.jpg b/wp-content/uploads/2012/06/014-350x262.jpg new file mode 100644 index 0000000..bb082c9 Binary files /dev/null and b/wp-content/uploads/2012/06/014-350x262.jpg differ diff --git a/wp-content/uploads/2012/07/0-210x157.jpg b/wp-content/uploads/2012/07/0-210x157.jpg new file mode 100644 index 0000000..40cbbe6 Binary files /dev/null and b/wp-content/uploads/2012/07/0-210x157.jpg differ diff --git a/wp-content/uploads/2012/07/0-350x262.jpg b/wp-content/uploads/2012/07/0-350x262.jpg new file mode 100644 index 0000000..a2ae456 Binary files /dev/null and b/wp-content/uploads/2012/07/0-350x262.jpg differ diff --git a/wp-content/uploads/2012/07/03-150x150.jpg b/wp-content/uploads/2012/07/03-150x150.jpg new file mode 100644 index 0000000..288b62a Binary files /dev/null and b/wp-content/uploads/2012/07/03-150x150.jpg differ diff --git a/wp-content/uploads/2012/07/03-200x200.jpg b/wp-content/uploads/2012/07/03-200x200.jpg new file mode 100644 index 0000000..6f75193 Binary files /dev/null and b/wp-content/uploads/2012/07/03-200x200.jpg differ diff --git a/wp-content/uploads/2012/07/03-400x300.jpg b/wp-content/uploads/2012/07/03-400x300.jpg new file mode 100644 index 0000000..005ccca Binary files /dev/null and b/wp-content/uploads/2012/07/03-400x300.jpg differ diff --git a/wp-content/uploads/2012/07/03.jpg b/wp-content/uploads/2012/07/03.jpg new file mode 100644 index 0000000..b1758fc Binary files /dev/null and b/wp-content/uploads/2012/07/03.jpg differ diff --git a/wp-content/uploads/2012/07/04-150x100.jpg b/wp-content/uploads/2012/07/04-150x100.jpg new file mode 100644 index 0000000..7091791 Binary files /dev/null and b/wp-content/uploads/2012/07/04-150x100.jpg differ diff --git a/wp-content/uploads/2012/07/04-150x150.jpg b/wp-content/uploads/2012/07/04-150x150.jpg new file mode 100644 index 0000000..468d53c Binary files /dev/null and b/wp-content/uploads/2012/07/04-150x150.jpg differ diff --git a/wp-content/uploads/2012/07/04-200x200.jpg b/wp-content/uploads/2012/07/04-200x200.jpg new file mode 100644 index 0000000..30f9d88 Binary files /dev/null and b/wp-content/uploads/2012/07/04-200x200.jpg differ diff --git a/wp-content/uploads/2012/07/04-210x157.jpg b/wp-content/uploads/2012/07/04-210x157.jpg new file mode 100644 index 0000000..4862684 Binary files /dev/null and b/wp-content/uploads/2012/07/04-210x157.jpg differ diff --git a/wp-content/uploads/2012/07/04-300x225.jpg b/wp-content/uploads/2012/07/04-300x225.jpg new file mode 100644 index 0000000..ba0d88b Binary files /dev/null and b/wp-content/uploads/2012/07/04-300x225.jpg differ diff --git a/wp-content/uploads/2012/07/04-350x262.jpg b/wp-content/uploads/2012/07/04-350x262.jpg new file mode 100644 index 0000000..583dbef Binary files /dev/null and b/wp-content/uploads/2012/07/04-350x262.jpg differ diff --git a/wp-content/uploads/2012/07/04-400x300.jpg b/wp-content/uploads/2012/07/04-400x300.jpg new file mode 100644 index 0000000..af69717 Binary files /dev/null and b/wp-content/uploads/2012/07/04-400x300.jpg differ diff --git a/wp-content/uploads/2012/07/04.jpg b/wp-content/uploads/2012/07/04.jpg new file mode 100644 index 0000000..20eb6fe Binary files /dev/null and b/wp-content/uploads/2012/07/04.jpg differ diff --git a/wp-content/uploads/2012/07/05-150x100.jpg b/wp-content/uploads/2012/07/05-150x100.jpg new file mode 100644 index 0000000..5355032 Binary files /dev/null and b/wp-content/uploads/2012/07/05-150x100.jpg differ diff --git a/wp-content/uploads/2012/07/05-150x150.jpg b/wp-content/uploads/2012/07/05-150x150.jpg new file mode 100644 index 0000000..25444f4 Binary files /dev/null and b/wp-content/uploads/2012/07/05-150x150.jpg differ diff --git a/wp-content/uploads/2012/07/05-200x200.jpg b/wp-content/uploads/2012/07/05-200x200.jpg new file mode 100644 index 0000000..1212705 Binary files /dev/null and b/wp-content/uploads/2012/07/05-200x200.jpg differ diff --git a/wp-content/uploads/2012/07/05-210x157.jpg b/wp-content/uploads/2012/07/05-210x157.jpg new file mode 100644 index 0000000..877a23b Binary files /dev/null and b/wp-content/uploads/2012/07/05-210x157.jpg differ diff --git a/wp-content/uploads/2012/07/05-300x225.jpg b/wp-content/uploads/2012/07/05-300x225.jpg new file mode 100644 index 0000000..65ccacf Binary files /dev/null and b/wp-content/uploads/2012/07/05-300x225.jpg differ diff --git a/wp-content/uploads/2012/07/05-350x262.jpg b/wp-content/uploads/2012/07/05-350x262.jpg new file mode 100644 index 0000000..8a50d80 Binary files /dev/null and b/wp-content/uploads/2012/07/05-350x262.jpg differ diff --git a/wp-content/uploads/2012/07/05-400x300.jpg b/wp-content/uploads/2012/07/05-400x300.jpg new file mode 100644 index 0000000..ea889c8 Binary files /dev/null and b/wp-content/uploads/2012/07/05-400x300.jpg differ diff --git a/wp-content/uploads/2012/07/05.jpg b/wp-content/uploads/2012/07/05.jpg new file mode 100644 index 0000000..efb97c2 Binary files /dev/null and b/wp-content/uploads/2012/07/05.jpg differ diff --git a/wp-content/uploads/2012/07/06-150x100.jpg b/wp-content/uploads/2012/07/06-150x100.jpg new file mode 100644 index 0000000..c1efe79 Binary files /dev/null and b/wp-content/uploads/2012/07/06-150x100.jpg differ diff --git a/wp-content/uploads/2012/07/06-150x150.jpg b/wp-content/uploads/2012/07/06-150x150.jpg new file mode 100644 index 0000000..7f7ba10 Binary files /dev/null and b/wp-content/uploads/2012/07/06-150x150.jpg differ diff --git a/wp-content/uploads/2012/07/06-200x200.jpg b/wp-content/uploads/2012/07/06-200x200.jpg new file mode 100644 index 0000000..944f44a Binary files /dev/null and b/wp-content/uploads/2012/07/06-200x200.jpg differ diff --git a/wp-content/uploads/2012/07/06-300x225.jpg b/wp-content/uploads/2012/07/06-300x225.jpg new file mode 100644 index 0000000..5d885f5 Binary files /dev/null and b/wp-content/uploads/2012/07/06-300x225.jpg differ diff --git a/wp-content/uploads/2012/07/06-400x300.jpg b/wp-content/uploads/2012/07/06-400x300.jpg new file mode 100644 index 0000000..7408756 Binary files /dev/null and b/wp-content/uploads/2012/07/06-400x300.jpg differ diff --git a/wp-content/uploads/2012/07/06.jpg b/wp-content/uploads/2012/07/06.jpg new file mode 100644 index 0000000..e745d97 Binary files /dev/null and b/wp-content/uploads/2012/07/06.jpg differ diff --git a/wp-content/uploads/2012/07/07-150x100.jpg b/wp-content/uploads/2012/07/07-150x100.jpg new file mode 100644 index 0000000..9c6a4d9 Binary files /dev/null and b/wp-content/uploads/2012/07/07-150x100.jpg differ diff --git a/wp-content/uploads/2012/07/07-150x150.jpg b/wp-content/uploads/2012/07/07-150x150.jpg new file mode 100644 index 0000000..bfa2aef Binary files /dev/null and b/wp-content/uploads/2012/07/07-150x150.jpg differ diff --git a/wp-content/uploads/2012/07/07-200x200.jpg b/wp-content/uploads/2012/07/07-200x200.jpg new file mode 100644 index 0000000..190a54b Binary files /dev/null and b/wp-content/uploads/2012/07/07-200x200.jpg differ diff --git a/wp-content/uploads/2012/07/07-300x225.jpg b/wp-content/uploads/2012/07/07-300x225.jpg new file mode 100644 index 0000000..711acab Binary files /dev/null and b/wp-content/uploads/2012/07/07-300x225.jpg differ diff --git a/wp-content/uploads/2012/07/07-400x300.jpg b/wp-content/uploads/2012/07/07-400x300.jpg new file mode 100644 index 0000000..004d727 Binary files /dev/null and b/wp-content/uploads/2012/07/07-400x300.jpg differ diff --git a/wp-content/uploads/2012/07/07.jpg b/wp-content/uploads/2012/07/07.jpg new file mode 100644 index 0000000..8a245fa Binary files /dev/null and b/wp-content/uploads/2012/07/07.jpg differ