diff --git a/app/omb/plugins/ping.php b/app/omb/plugins/ping.php index b5fb86f..1f98343 100755 --- a/app/omb/plugins/ping.php +++ b/app/omb/plugins/ping.php @@ -30,7 +30,7 @@ function send_ping( &$model, &$rec ) { $par = $db->get_record( 'posts',$rec->parent_id ); $tweet = render_comment($rec,$o,$par); $payload['html'] = $tweet; - if ($par->parent_id > 0) + if ($rec->parent_id > 0) $payload['in_reply_to'] = "#commentcontent-".$rec->parent_id; else $payload['in_reply_to'] = "#content-".$rec->parent_id; diff --git a/app/omb/views/posts/_entry.html b/app/omb/views/posts/_entry.html index 6175744..bc161d2 100644 --- a/app/omb/views/posts/_entry.html +++ b/app/omb/views/posts/_entry.html @@ -5,7 +5,38 @@ $post = strtolower(classify($request->resource)); ?> - + + + prefix)) + $chan = $db->prefix; + else + $chan = "chan"; + ?> + + + profile_id); ?>
nickname." ".time_of($Member->created); ?>
@@ -89,6 +120,14 @@
+ + +
+ +id.','.$Member->id.');'; ?> + +Comment +