Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 126 through 150 (of 162 total)
  • @grosbouff

    Participant

    @Andy : any idea for my problem ?

    Thanks

    @grosbouff

    Participant

    Maybe an idea here; in the Theme Options, it says this :

    The template files are located in /themes/bp-sn-parent/groups. The stylesheet files are located in /themes/bp-default.

    @grosbouff

    Participant

    Hi !

    Seems to have good new functionnalities !

    I have one problem though :

    I use a fresh install (WPMU 2.8.4 + BuddyPress 1.1 Beta); no plugins;

    I moved /bp-default and /bp-sn-parent to /themes;

    and I get

    Not Found

    The requested URL …./wordpress-mu/blog was not found on this server.

    Then I did copy my old .htaccess file to the fresh WPMU installation; and now I have

    Page Not Found

    The page you were looking for was not found.

    What is the problem ?

    @grosbouff

    Participant

    Hi, i’m still working on this.

    Big steps have been made but there’s still work.

    I think i’ll not implent a complex moderation system for the first release; only admin & authors will be able to edit/delete the classifieds.

    I changed some stuff to make the plugin ‘extensionnable’; eg. for pictures (done) and google maps (working on); then your contributions :).

    So steps for the creation / display can be

    -core steps

    -plugins steps

    steps can be optionnable and orderable in the admin panel.

    Hope i’ll give you some more news soon !

    @grosbouff

    Participant

    :)

    If I have some time to work on it until september, I guess it will be ready to test at the beginning of that month.

    @grosbouff

    Participant

    Hi, what is ETA ?

    @grosbouff

    Participant

    Picture gallery now works.

    @grosbouff

    Participant

    A little look at what we’ve got so far…

    Actions for each classifieds runs with ajax which means you don’t need to go on the single classified page each time you have to do something (reset date, delete, publish or add to watched list)

    I’ll try to adapt bpPicture Album component by Manoj Kumar to add pictures to a classified.

    @grosbouff

    Participant

    Finally works with

    add_submenu_page( 'bp-core.php', __( 'Classifieds Setup', 'classifieds' ), __( 'Classifieds Setup', 'classifieds' ), 1, "bp-classifieds/bp-classifieds-admin.php", "bp_classifieds_siteadmin_screen" );

    In reply to: about the wire

    @grosbouff

    Participant

    Done.

    @grosbouff

    Participant

    Nice ! I’ll check all this and tell you what.

    Thanks !

    @grosbouff

    Participant

    …anyone ?

    @grosbouff

    Participant

    @Ralfsohl

    I plan to finish it in about one month, maybe 2.

    Now almost all the big things have been done (creation, moderation, admin, display…); the big things that left are notifications and the navigation system (I mean, searches, filters; browsing…)

    Then I’ll have to debug it; test it again and again, and between all that take some vacations :)

    @Gp01

    I don’t think I’ll add a rating feature in it; I’ll try to keep it rather simple and I don’t see the point to “rate” a classified…

    the “watching” part has been implated :

    -“add to / remove from watched list” works (also with ajax).

    -“list watchers”

    @grosbouff

    Participant

    add_submenu_page( 'bp-core.php', __( 'Classifieds Setup', 'classifieds' ), __( 'Classifieds Setup', 'classifieds' ), 2, "bp-classifieds", "bp_classifieds_siteadmin_screen" );

    gives me the url

    http://127.0.0.1/kine/wordpress-mu/wp-admin/bp-classifieds

    bp-classifieds.php is my main file and is under /plugins…

    @grosbouff

    Participant

    anyone ?

    @grosbouff

    Participant

    @Gpo1

    I added a “share this” feature using the Add-to-any plugin which seems to be a quite good plugin.

    So if that plugin is enabled, you’ll be able to check an option in the admin to show or not the share button.

    In reply to: list custom members

    @grosbouff

    Participant

    Ok. It is for a component, so I created a class. Thanks !

    @grosbouff

    Participant

    I dont’t know which features I’ll eventually add…

    As said above, I’m not a professional coder and it is a challenge for me to finish this as it is :)

    But it’s true, it’s a good idea. I’ll see later.

    No widgets planned for the moment (only maybe things like last/random classifieds) and plan to make it different from the others as it is completely build on BuddyPress, with its code & features (notifications, member screens vs site screens, etc).

    It will not be a WPMU plugin but a BuddyPress component…

    @grosbouff

    Participant

    Some news :

    -user settings [admin/member]

    –accepts terms & conditions

    –save filters for home (days, types, categories)

    –admin (give moderation rights for all,some types or some categories)

    -navigation is finished (still some debugging)

    –member navigation (loop is working)

    —published

    —awaiting moderation (if needed) [admin/member]

    —drafts [admin/member]

    —unactive (x days old)

    —watched

    –directory navigation (loop is working)

    —*search

    —*retrieve member filters

    —*retrieve moderation info

    –show single classified

    –home

    –wire (still some debugging)

    –*admin

    –*watchers

    -create classified

    –added tags (with suggestions)

    the next two big thing (among others) will be handling notifications and adding custom fields.

    @grosbouff

    Participant

    I finally found out.

    Maybe this should be added to the doc ?

    I forget to add those functions :

    function component_force_buddypress_theme( $template ) {
    global $bp;

    if ( $bp->current_component == $bp->component->slug && empty( $bp->current_action ) ) {
    $member_theme = get_site_option( 'active-member-theme' );

    if ( empty( $member_theme ) )
    $member_theme = 'bpmember';

    add_filter( 'theme_root', 'bp_core_filter_buddypress_theme_root' );
    add_filter( 'theme_root_uri', 'bp_core_filter_buddypress_theme_root_uri' );

    return $member_theme;
    } else {
    return $template;
    }
    }
    add_filter( 'template', 'component_force_buddypress_theme', 1, 1 );

    function component_force_buddypress_stylesheet( $stylesheet ) {
    global $bp;

    if ( $bp->current_component == $bp->component->slug && empty( $bp->current_action ) ) {
    $member_theme = get_site_option( 'active-member-theme' );

    if ( empty( $member_theme ) )
    $member_theme = 'bpmember';

    add_filter( 'theme_root', 'bp_core_filter_buddypress_theme_root' );
    add_filter( 'theme_root_uri', 'bp_core_filter_buddypress_theme_root_uri' );

    return $member_theme;
    } else {
    return $stylesheet;
    }
    }
    add_filter( 'stylesheet', 'component_force_buddypress_stylesheet', 1, 1 );

    @grosbouff

    Participant

    What do u mean by this ?

    print_r($bp->is_single_item);

    returns me true.

    I read and read again my code, I don’t see what’s wrong with it…

    It is almost exactly the same than in bp-groups.

    My “member” part is ok for loading templates; it is just for single classified and directory that it does not load.

    Updated pastie : http://pastie.org/546674

    @grosbouff

    Participant

    I updated my code to fit more like the bp-groups plugin.

    I put two echoes somewhere in the code :

    echo “classifieds_screen_directory”; (line 103)

    echo “classifieds_screen_single”; (line 118)

    which do show when I go to

    wmpu/classifieds

    wmpu/classifieds/test1234.

    But their templates still not loading… The paths are okay.

    Could you have a look ? Thanks, it here : http://pastie.org/546228

    @grosbouff

    Participant

    Burt, I updated my code to fit more like the bp-groups plugin.

    I put two echoes somewhere in the code :

    echo “classifieds_screen_directory”; (line 103)

    echo “classifieds_screen_single”; (line 118)

    which do show when I go to

    wmpu/classifieds

    wmpu/classifieds/test1234.

    But their templates still not loading… The paths are okay.

    Could you have a look ? Thanks, it here : http://pastie.org/546228

    @grosbouff

    Participant

    So what I would success to have is to detect if

    -we are on a profile page

    –logged-in user profile

    –or other

    -we are on a single classified page (which should be shown inside its author profile)

    -we are in the directory (lists the classifieds in the root)

    complete code here for the nav : http://pastie.org/545457

    I adapted the code from the skeleton example & from the bp-groups plugin.

    What is also confusing for me is that there is a code for a single classified starting on line 4 ; but there is also code for the single classified starting at line 52.

    Maybe is there a way to simplify this.

    Thanks a lot for your help ! I appreciate..

    PS : template for directory does not load either (line 92 with statement starting at line 84)

    @grosbouff

    Participant

    i’m in the root (wordpress-mu/classifieds/classified1234)…

Viewing 25 replies - 126 through 150 (of 162 total)
Skip to toolbar