Forum Replies Created
- 
		
			
Ok, thanks for the answer Paul. 
 Could you also tell me this : is it a multisite installation ?
 If not, how do u share members between the blogs ?
 Thanks !Ok; this DOES print the callback, thanks for the explanation ! 
 Still; I don’t get my notifications….
 `
 function bp_query_subscribe_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = ‘string’ ) {
 die();
 `
 Do not die… 
 I have notifications in my sql table; and the function IS included     Like this ? 
 Still have a problem for the format notifications function.. Thanks !
 `function bp_query_subscribe_init(){
 global $bp;
 if ( !isset( $bp->query_subscribe ) ){
 $bp->query_subscribe = new BP_Query_Subscribe();
 //TO FIX SHOULD RUN AUTOMATICALLY
 $bp->query_subscribe->includes();print_r($bp->query_subscribe); } 
 }
 bp_query_subscribe_init();
 `OK, but then why current_theme_supports( ‘post-thumbnails’ ) returns true ? 
 I’ll give a shot and tell you what.Anyone ? Got the same problem (WP3.1+BP1.2.  
 Should work as current_theme_supports( ‘post-thumbnails’ ) returns true…Well, i made some updates today for both of my plugins, One Quick Post and Your Classified Ads. 
 Those are alpha releases, but a big step has been made in the developement.
 Testing, debugging and donations are welcome !Hey; 
 Not any answer…I’m disapointed.
 This could be a very good plugin.
 I did some work on it today and most of the features are working. It just needs some more time and people to debug it.
 Do nobody need a classified ads plugin ??? It could be a killer feature for a social network.
 I spend hundreds of hours on this. All I would like is some of your time to help me finish it…I’m still waiting for u guys  Ok, got it. 
 I have to use another ajaxurl than the one defined in BuddyPress :`function totd_wp_head() { 
 //ajax url is defined in BP but not in WP
 if (!defined( ‘BP_VERSION’ )) {
 ?><!– 
 var ajaxurl = “/wp-admin/admin-ajax.php”;
 //–>
 <?php
 }
 }add_action(‘wp_print_styles’,’totd_wp_styles’);` Plugin deprecated for this one : https://buddypress.org/community/groups/creating-extending/forum/topic/new-plugin-your-classified-ads/ The plugin has been deprecated for this one : https://buddypress.org/community/groups/creating-extending/forum/topic/new-plugin-your-classified-ads/ Amazing ! Just what I was waiting for ! Jet QuickPress is a plugin from Jettochkin based on my first plugin ‘BuddyPress Quickpress’. 
 One Quick Post is the ‘new version’ of BuddyPress Quickpress; the difference is that the plugin works for WordPress too (without BuddyPress), and has been improved.As OQP (one quick post) is used to “power” my main plugin Your Classified Ads; you can be sure i will still update it  . .Yes I record an activity stream when I publish a new ad (which is a post with a custom type). 
 Then, what’s the smarter ?
 Enable regular WP comments for this ad or use BP comments ?youkedi-hô ? aïdi-ho ? anyone ? anyone ? Ok; it’s broken again with 1.2.5… 
 I did read your post about new hooks for plugins for 1.2.5; but I don’t understand how to adapt this.
 So :
 my loader file : http://pastie.org/1023309
 A part of my core file : http://pastie.org/1023315Could you have a look at this ? Thanks ! @johnjamesjacoby : it fixed it ! 
 thanks A LOT.Ok. Here my code now : 
 
 loader.php
 function yclads_bp_init() {
 require_once( YCLADS_BP_PLUGIN_PATH . 'includes/yclads-bp-core.php' );
 }
 add_action( 'bp_init', 'yclads_bp_init');
 
 yclads-bp-core.php
 
 function bp_yclads_setup_globals() {
 global $bp;// For internal identification 
 $bp->yclads->id = 'yclads';$bp->yclads->format_notification_function = 'bp_yclads_format_notifications'; 
 $bp->yclads->slug = YCLADS_SLUG;// Register this in the active components array 
 $bp->active_components[$bp->yclads->slug] = $bp->yclads->id;do_action( 'bp_yclads_setup_globals' ); } 
 //TO FIX
 //add_action( 'bp_setup_globals', 'bp_yclads_setup_globals' );
 add_action( 'wp', 'bp_yclads_setup_globals');
 add_action( 'admin_menu', 'bp_yclads_setup_globals');function bp_yclads_setup_root_component() { 
 /* Register 'yclads' as a root component */
 bp_core_add_root_component( YCLADS_SLUG );} 
 //TO FIX
 //add_action( 'bp_setup_root_components', 'bp_yclads_setup_root_component' );
 add_action( 'wp', 'bp_yclads_setup_root_component');
 add_action( 'admin_menu', 'bp_yclads_setup_root_component');function bp_yclads_setup_nav() { 
 global $bp;
 global $post;if ((is_single()) && ($post->post_type=='yclad')) { // This is a single ad. 
 $bp->is_single_item = true;
 $bp->yclads->current_ad = $post;[...] } [...] print_r($bp->current_component); 
 exit;do_action( 'yclads_setup_nav', $bp->yclads->current_ads->user_has_access ); } 
 //TO FIX
 //add_action( 'bp_setup_nav', 'bp_yclads_setup_nav' );
 add_action( 'wp', 'bp_yclads_setup_nav' );
 add_action( 'admin_menu', 'bp_yclads_setup_nav' );
 If I access /wordpress/classified-ads/i-give-kitties/ (single-ad) 
 print_r($bp->current_component);
 exit;
 
 outputs “i-give-kitties” while it should output “classified-ads”. So something is wrong with all this.
 Any idea ?@Paul : 
 not working either with
 
 //TO FIX
 //https://buddypress.org/community/groups/creating-extending/forum/topic/how-to-use-bp_init-and-bp_setup_globals-at-the-same-time/
 //add_action( 'bp_setup_globals', 'bp_yclads_setup_globals' );
 add_action( 'wp', 'bp_yclads_setup_globals' );
 add_action( 'admin_menu', 'bp_yclads_setup_globals' );
 
 For the same problem (https://buddypress.org/community/groups/creating-extending/forum/topic/custom-plugin-hook-bp_setup_globals-is-not-fired/)Hi nig3d. I’m the Real Names plugin author. I’m back on BuddyPress those days. Please feel free to contact me ! Hi 3sixty; first I’ll release a new version of BP Classifieds using custom post types. Big work there  Then I could make a “plan”  Actually it’s the mess ! Thanks !