Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 2917

SendDerek on "Latest Comments Not Showing for Non-Admin Users"

$
0
0

I'm using zpskeleton (v1.4.3) on ZenPhoto (v1.4.3.3) which calls:

<?php printLatestComments(2,'125','all'); ?>
<?php printLatestZenpageComments(1,'125','','all'); ?>

This gallery is password protected so that only registered users can see it.

I am able to see the latest comments show up on the home page when my users have General -> Admin permission bit set, but I am unable to see the latest comments without the bit set.

The comments are published and not private. I am able to see the comment on the album or image page without the permissions bit set.

I'm hoping somebody can help me make sense of what might be happening.

Thanks for any help in advance.

-Derek

PS. Also, I realize the standard answer will be "use a standard theme", so I gave the "Default" theme a shot, making a slight modification to include the call to the two functions:

<br />
--- index.php.mod       2012-10-10 13:45:40.321655946 -0600<br />
+++ index.php   2012-10-10 13:45:46.216887100 -0600<br />
@@ -58,11 +58,6 @@<br />
                                printCustomPageURL(gettext('Register for this site'), 'register', '', '', ' |');<br />
                        }<br />
                        ?><br />
-<br />
-<h1>Latest Comments</h1><br />
-<?php printLatestComments(2,'125','all'); ?><br />
-<?php printLatestZenpageComments(1,'125','','all'); ?><br />
-<br />
                        <?php printZenphotoLink(); ?><br />
                </div><br />
                <?php @call_user_func('mobileTheme::controlLink'); ?><br />

The same issue exists on the Default theme as well.


Viewing all articles
Browse latest Browse all 2917

Trending Articles