Plugin Directory

Changeset 159719


Ignore:
Timestamp:
10/01/2009 04:32:20 PM (17 years ago)
Author:
talk2manoj
Message:

Changes made for BuddyPress 1.1

Location:
bppicture-album
Files:
21 added
5 edited

Legend:

Unmodified
Added
Removed
  • bppicture-album/trunk/album/post-form.php

    r121388 r159719  
    11<div id="wire-post-new">
    22    <form action="<?php bp_picture_wire_get_action() ?>" id="wire-post-new-form" method="post">
    3         <div id="wire-post-new-metadata">
     3        <div id="wire-post-new-avatar">
     4
     5            <?php do_action( 'bp_before_wire_post_avatar' ) ?>
     6
    47            <?php bp_wire_poster_avatar() ?>
     8
     9            <?php do_action( 'bp_before_wire_post_avatar' ) ?>
     10
     11        </div>
     12
     13                <div id="wire-post-new-metadata">
     14
    515            <?php printf ( __( 'On %1$s %2$s said:', "buddypress" ), bp_wire_poster_date( null, false ), bp_wire_poster_name( false ) ) ?>
    616        </div>
  • bppicture-album/trunk/album/post-list.php

    r121388 r159719  
    1 <div class="info-group">
     1<div class="info-group  bp-widget">
    22    <h4><?php bp_wire_title() ?></h4>
    33
  • bppicture-album/trunk/bp-album.php

    r121388 r159719  
    1313
    1414define ( 'BP_ALBUM_IS_INSTALLED', 1 );
    15 define ( 'BP_ALBUM_VERSION', '0.001' );
     15define ( 'BP_ALBUM_VERSION', '0.1' );
    1616define ( 'BP_ALBUM_DB_VERSION', '0.001' );
    1717
     
    9898
    9999    $bp->album->slug = BP_ALBUM_SLUG;
    100     $bp->version_numbers->album = BP_ALBUM_VERSION;
     100
     101        /* Register this in the active components array */
     102    $bp->active_components[$bp->album->slug] = $bp->album->slug;
     103
     104        $bp->version_numbers->album = BP_ALBUM_VERSION;
    101105}
    102106add_action( 'plugins_loaded', 'bp_album_setup_globals', 5 );
  • bppicture-album/trunk/bp-album/bp-album-cssjs.php

    r121388 r159719  
    1616
    1717    if ( $bp->current_component == $bp->album->slug )
    18         wp_enqueue_script( 'bp-album-js', WP_PLUGIN_URL . '/bp-album/js/general.js' );
     18        wp_enqueue_script( 'bp-album-js', WP_PLUGIN_URL . 'bppicture-album/bp-album/js/general.js' );
    1919}
    2020add_action( 'template_redirect', 'bp_album_add_js', 1 );
     
    2828function bp_album_add_structure_css() {
    2929    /* Enqueue the structure CSS file to give basic positional formatting for your component reglardless of the theme. */
    30     wp_enqueue_style( 'bp-album-structure', WP_PLUGIN_URL . '/bp-album/css/album.css' );
     30    wp_enqueue_style( 'bp-album-structure', WP_PLUGIN_URL . 'bppicture-album/bp-album/css/album.css' );
     31        wp_print_styles();
    3132}
    3233add_action( 'bp_styles', 'bp_album_add_structure_css' );
  • bppicture-album/trunk/readme.txt

    r129101 r159719  
    44Tags: picture album, buddypress
    55Requires at least: BuddyPress 1.0
    6 Tested up to: BuddyPress 1.0
    7 Stable tag: 0.001
     6Compatible up to: BuddyPress 1.1 / WordPress MU 2.8.4a
     7Stable tag: 0.1
    88
    99
    1010By bpPicture Album you can upload pictures to your BuddyPress Profile
     11
     12= For BuddyPress 1.1 =
     13
     14You have to the "album" directory out of /bppicture-album/ and place it into /bp-sn-parent/.
    1115
    1216== Description ==
     
    1620== Installation ==
    1721
    18 bpPicture Album requires BuddyPress 1.0
     22bpPicture Album requires BuddyPress 1.0,
    1923
    2024= Plugin: =
     
    2529= Theme: =
    2630
    27 Move the "/wp-content/plugins/bp-album/album/" directory to "/wp-content/bp-themes/bpmember/"
     31Keep /bp-album/ within the bppicture-album directory. What you need to relocate is the album directory.
    2832
    29 "album" directory should be at the same level as "/wp-content/bpmember/groups" and "/wp-content/bpmember/profile" etc...
     33So, you move the "album" directory out of /bppicture-album/ and place it into /wp-contents/bp-themes/bpmember/.
     34
     35"album" directory should be at the same level as "/wp-content/bp-themes/bpmember/groups" and "/wp-content/bp-themes/bpmember/profile" etc...
    3036
    3137== Frequently Asked Questions ==
     
    3339= Will this work on standard WordPress? =
    3440
    35 No, this will only work only on BuddyPress 1.0
     41No, this will only work only on BuddyPress 1.0 and Above
    3642
    3743= Where can I get support? or report a bug? =
Note: See TracChangeset for help on using the changeset viewer.