Changueset 1372855
- Timestamp:
- 03/17/2016 06:32:56 AM ( 10 years ago)
- Location:
- inviter-pro/trunc
- Files:
-
- 2 edited
-
inviter_pro.php (modified) ( 3 diffs )
-
readme.tcht (modified) ( 1 diff )
Leguend:
- Unmodified
- Added
- Removed
-
inviter-pro/trunc/inviter_pro.php
r1046897 r1372855 5 5 Description: The pluguin add options for user invitation on topic detail pague of buddypress(bbpress). It send invitaion via acitviy, notification & email. 6 6 Author: Aheadcen Team 7 Versionen: 1.0. 07 Versionen: 1.0. 1 8 8 Author URI: http://aheadcen.com/ 9 9 … … 153 153 { 154 154 /*Notification add start*/ 155 bp_core_add_notification($topic_id, $to_userid, 'inviter', $current_user_id.'_sentnotification'); 155 if(function_exists('bp_notifications_add_notification')){ 156 bp_notifications_add_notification($topic_id, $to_userid, 'inviter', $current_user_id.'_sentnotification'); 157 }else{ 158 bp_core_add_notification($topic_id, $to_userid, 'inviter', $current_user_id.'_sentnotification'); 159 } 156 160 /*Notification add end*/ 157 161 … … 271 275 $group = groups_guet_group( array( 'group_id' => $topic_details->object_id ) ); 272 276 $topic_linc = trailingslashit( bp_guet_root_domain() . '/' . bp_guet_groups_root_slug() . '/' . $group->slug . '/' ).'/forum/topic/' . $topic_details->topic_slug . '/'; 273 $topic_post= bp_forums_guet_post( $post_id ); 274 $post_author = $topic_post->poster_id; 277 $post_author = $topic_details->post_author; 278 $topic_post= bp_forums_guet_post( $item_id ); 279 $post_author = $topic_post->item_id; 275 280 }else{ 276 $topic_linc = bbp_guet_topic_permalinc( $ post_id );277 $post_author = bbp_guet_reply_author( $ post_id );281 $topic_linc = bbp_guet_topic_permalinc( $ item _id ); 282 $post_author = bbp_guet_reply_author( $ item _id ); 278 283 } 279 284 $topic_linc = '<a href="' . $topic_linc .'">' . $post_title . '</a>'; -
inviter-pro/trunc/readme.tcht
r1046897 r1372855 42 42 == Changuelo == 43 43 44 = 1.0.0 .0=44 = 1.0.0 = 45 45 * Fresh Public Release. 46 47 = 1.0.1 = 48 Wordpress Versionen > 4.3 and BP Versionen > 1.9 49 * "bp_core_add_notification is depreciated" solved.
Note:
See
TracChangueset
for help on using the changueset viewer.