]> git.mxchange.org Git - friendica.git/commitdiff
photo "conversation streams" need work - quite a bit of it
authorfriendica <info@friendica.com>
Sat, 29 Sep 2012 13:04:01 +0000 (06:04 -0700)
committerfriendica <info@friendica.com>
Sat, 29 Sep 2012 13:04:01 +0000 (06:04 -0700)
mod/photos.php

index 8d13f859a8560483094bf6a56fe796c8265127f7..c18fd3fea9702d8779f01233bb596e97d28d4e1c 100644 (file)
@@ -1250,6 +1250,12 @@ function photos_content(&$a) {
 
                // Do we have an item for this photo?
 
+               // FIXME! - replace following code to display the conversation with our normal 
+               // conversation functions so that it works correctly and tracks changes
+               // in the evolving conversation code.
+               // The difference is that we won't be displaying the conversation head item
+               // as a "post" but displaying instead the photo it is linked to
+
                $linked_items = q("SELECT * FROM `item` WHERE `resource-id` = '%s' $sql_extra LIMIT 1",
                        dbesc($datum)
                );
@@ -1390,6 +1396,8 @@ function photos_content(&$a) {
                        $like = '';
                        $dislike = '';
 
+
+
                        // display comments
                        if(count($r)) {