PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   Bugs & Issues Tracker (http://www.photoplog.com/forum/forumdisplay.php?f=8)
-   -   [Closed via Lite v.1.0.7] probleme (http://www.photoplog.com/forum/showthread.php?t=54)

bmoods 01-31-2006 03:52 AM

[Closed via Lite v.1.0.7] probleme
 
Hello Morgan,

When I position a category = "0" then:

1) on the index of photoplog the category is not more accessible and the link pictures are always validate.

2) the photos put in this category are visible in the blocks (index, and portal).

You could tell myself how to make to repair. :)


Thank you

Morgan 01-31-2006 07:21 AM

Looks like I missed a couple of spots to check for moderation.

In edit.php find:
Code:

                        $photoplog_file_moderate = $photoplog_file_info['moderate'];
And afterwards add:
Code:

                        if ($permissions['photoplogpermissions'] & $vbulletin->bf_ugp_photoplogpermissions['photoplogmoderategroupfiles'])
                        {
                                $photoplog_file_moderate = 1;
                        }

In comment.php find:
Code:

                                        $photoplog_moderate = $photoplog_comment_info['moderate'];
And afterwards add:
Code:

                                        if ($permissions['photoplogpermissions'] & $vbulletin->bf_ugp_photoplogpermissions['photoplogmoderategroupcomments'])
                                        {
                                                $photoplog_moderate = 1;
                                        }

As for the category zero, it's not a real category and doesn't have a name, so it shows up as not available.

If you upgrade to v.1.0.6.2, then a category choice becomes mandatory.

Morgan 02-17-2006 01:26 AM

The moderation code is now included in PhotoPlog Lite v.1.0.7 plus.


All times are GMT. The time now is 01:43 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.