diff --git a/wp-content/themes/score/dedications/single/dedicated-2-me.php b/wp-content/themes/score/dedications/single/dedicated-2-me.php index 3979f43..14ddae0 100644 --- a/wp-content/themes/score/dedications/single/dedicated-2-me.php +++ b/wp-content/themes/score/dedications/single/dedicated-2-me.php @@ -32,7 +32,7 @@ $dedications = bp_dedication_get_dedications_to_user( $bp->displayed_user->id );
-

+

TO:
diff --git a/wp-content/themes/score/dedications/single/home-column-dedicated-2-me.php b/wp-content/themes/score/dedications/single/home-column-dedicated-2-me.php index 69ae598..245c4d6 100644 --- a/wp-content/themes/score/dedications/single/home-column-dedicated-2-me.php +++ b/wp-content/themes/score/dedications/single/home-column-dedicated-2-me.php @@ -40,7 +40,7 @@ $dedication_link = bp_core_get_userlink($bp->displayed_user->id, false, true) .
-

+

FROM:
diff --git a/wp-content/themes/score/dedications/single/home-column-my-dedications.php b/wp-content/themes/score/dedications/single/home-column-my-dedications.php index 7deab40..3df5ea2 100644 --- a/wp-content/themes/score/dedications/single/home-column-my-dedications.php +++ b/wp-content/themes/score/dedications/single/home-column-my-dedications.php @@ -38,7 +38,7 @@ $dedication_link = bp_core_get_userlink($bp->displayed_user->id, false, true) .
-

+

TO:
diff --git a/wp-content/themes/score/dedications/single/my-dedications.php b/wp-content/themes/score/dedications/single/my-dedications.php index 208ca80..56cfab7 100644 --- a/wp-content/themes/score/dedications/single/my-dedications.php +++ b/wp-content/themes/score/dedications/single/my-dedications.php @@ -33,7 +33,7 @@ $dedications = bp_dedication_get_dedications_from_user($bp->displayed_user->id);
-

+

TO:
diff --git a/wp-content/themes/score/dedications/single/new-dedication.php b/wp-content/themes/score/dedications/single/new-dedication.php index 55f4b6e..b1d9489 100644 --- a/wp-content/themes/score/dedications/single/new-dedication.php +++ b/wp-content/themes/score/dedications/single/new-dedication.php @@ -63,7 +63,13 @@ global $bp; This dedication is private.
  • - + +
    diff --git a/wp-content/themes/score/functions.php b/wp-content/themes/score/functions.php index 28e428f..8503a33 100644 --- a/wp-content/themes/score/functions.php +++ b/wp-content/themes/score/functions.php @@ -603,6 +603,4 @@ function cutstr($str, $length, $ellipsis=''){ return $cut[0].((strlen($cut) \ No newline at end of file diff --git a/wp-content/themes/score/header.php b/wp-content/themes/score/header.php index b5b3f06..60772ab 100644 --- a/wp-content/themes/score/header.php +++ b/wp-content/themes/score/header.php @@ -58,10 +58,10 @@ $category_id = get_cat_ID( 'concerts' ); $category_link = get_category_link( $category_id ); ?> -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • diff --git a/wp-content/themes/score/index.php b/wp-content/themes/score/index.php index ae02295..f4c411c 100644 --- a/wp-content/themes/score/index.php +++ b/wp-content/themes/score/index.php @@ -7,7 +7,7 @@ $_ishome = (is_home() OR is_front_page()); ID != $from_user_id) && ($current_user->ID != $to_user_id)) { continue; // me salto esta dedicatoria } - } - $contador += 1; + } $video = get_post_meta($post->ID, 'ghostpool_dedication_url', true); if ($_ishome) { @@ -45,7 +44,7 @@ $urls_video = array(); } } $urls_video[] = $video; - + $contador += 1; ?> @@ -73,7 +72,7 @@ $urls_video = array();

    ID, 24); ?> - TO: ID); ?> + TO: ID); ?> TO: user_nicename; ?> diff --git a/wp-content/themes/score/lib/admin/inc/theme-widgets.php b/wp-content/themes/score/lib/admin/inc/theme-widgets.php index b92fb91..3f09d36 100644 --- a/wp-content/themes/score/lib/admin/inc/theme-widgets.php +++ b/wp-content/themes/score/lib/admin/inc/theme-widgets.php @@ -118,10 +118,10 @@ class SidebarPosts extends WP_Widget { $to_user = get_user_by('id', $to_user_id); ?>
    - FROM:
    - TO: ID); ?> + FROM:
    + TO: ID); ?> - TO: ID, 'ghostpool_destination_user_name', true); ?> + TO: ID, 'ghostpool_destination_email', true); ?>
    diff --git a/wp-content/themes/score/lib/images/vimeo.png b/wp-content/themes/score/lib/images/vimeo.png new file mode 100644 index 0000000..ec2757f Binary files /dev/null and b/wp-content/themes/score/lib/images/vimeo.png differ diff --git a/wp-content/themes/score/lib/images/youtube.png b/wp-content/themes/score/lib/images/youtube.png new file mode 100644 index 0000000..d91233a Binary files /dev/null and b/wp-content/themes/score/lib/images/youtube.png differ diff --git a/wp-content/themes/score/loop-dedication-data.php b/wp-content/themes/score/loop-dedication-data.php index ffb5283..edaec2e 100644 --- a/wp-content/themes/score/loop-dedication-data.php +++ b/wp-content/themes/score/loop-dedication-data.php @@ -21,10 +21,16 @@ if(get_post_meta($post->ID, 'ghostpool_thumbnail_height', true) && get_post_meta $gp_settings['artist'] = get_post_meta($post->ID, 'ghostpool_dedication_artist', true); $gp_settings['song'] = get_post_meta($post->ID, 'ghostpool_dedication_song', true); $gp_settings['artist_song'] = $gp_settings['artist'] . '. ' . $gp_settings['song']; +$gp_settings['artist_song_span'] = '' . $gp_settings['artist'] . '. ' . $gp_settings['song']; +$gp_settings['artist_song_span_short'] = cutstr($gp_settings['artist_song_span'], 38, ''); +if ($gp_settings['artist_song_span_short'] != $gp_settings['artist_song_span']) { + $gp_settings['artist_song_span_short'] .= '...'; +} // from user $gp_settings['from_user_id'] = get_the_author_meta('ID'); -$gp_settings['from_user_link'] = bp_core_get_userlink($gp_settings['from_user_id']); +$gp_settings['from_user_link'] = ''.bp_core_get_username($gp_settings['from_user_id']).''; + //bp_core_get_userlink($gp_settings['from_user_id']); $gp_settings['from_flag'] = gp_get_the_flag($gp_settings['from_user_id']); // to user @@ -34,7 +40,8 @@ $gp_settings['to_user'] = get_user_by ('id', $gp_settings['to_user_id']); if ($gp_settings['to_user']) { $gp_settings['to_flag'] = gp_get_the_flag($gp_settings['to_user']->ID, 24); - $gp_settings['to_user_link'] = bp_core_get_userlink($gp_settings['to_user']->ID); + $gp_settings['to_user_link'] = ''.bp_core_get_username($gp_settings['to_user']->ID).''; + //bp_core_get_userlink($gp_settings['to_user']->ID); } else { $gp_settings['to_flag'] = gp_get_the_flag('', 24); $gp_settings['to_user_link'] = get_post_meta($post->ID, 'ghostpool_destination_user_name', true); diff --git a/wp-content/themes/score/members/members-loop.php b/wp-content/themes/score/members/members-loop.php index e0c2d5f..a46f134 100644 --- a/wp-content/themes/score/members/members-loop.php +++ b/wp-content/themes/score/members/members-loop.php @@ -44,7 +44,7 @@
    - + diff --git a/wp-content/themes/score/members/single/small-member-header.php b/wp-content/themes/score/members/single/small-member-header.php index f25187a..2bf0350 100644 --- a/wp-content/themes/score/members/single/small-member-header.php +++ b/wp-content/themes/score/members/single/small-member-header.php @@ -14,7 +14,7 @@
    - + ()
     dedications->get_count_dedications_from_user(bp_displayed_user_id()); ?>
    diff --git a/wp-content/themes/score/post-loop-dedication.php b/wp-content/themes/score/post-loop-dedication.php index d5cd547..e5b8bcf 100644 --- a/wp-content/themes/score/post-loop-dedication.php +++ b/wp-content/themes/score/post-loop-dedication.php @@ -65,6 +65,10 @@

    + + FROM: + + TO:
    diff --git a/wp-content/themes/score/video-slider.php b/wp-content/themes/score/video-slider.php index 7db6ad7..1934850 100644 --- a/wp-content/themes/score/video-slider.php +++ b/wp-content/themes/score/video-slider.php @@ -138,11 +138,13 @@ if (have_posts()) { - FROM: + FROM: + + ID); - ?>TO: ID); ?> + gp_the_flag($to_user->ID); + ?>TO: ID); ?> TO: ID, 'ghostpool_destination_user_name', true); ?> @@ -179,8 +181,8 @@ if (have_posts()) {