Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Plugins
    In reply to: [WP Sentry] Comments
    Thread Starter angsaysrawr

    (@angsaysrawr)

    I had nothing specified in preview link in the preview settings so it should have disabled it, however I have since changed it so now when you click it should take you to a friends only page.

    Thread Starter angsaysrawr

    (@angsaysrawr)

    I figured this out.

    You will need to edit the UserAccessManager.class.php file in the class folder.

    Look for the following:

    if (count($aGroups) > 0) {
                $sLink .= ' | '.TXT_UAM_ASSIGNED_GROUPS.': ';
    
                foreach ($aGroups as $oGroup) {
                    $sLink .= $oGroup->getGroupName().', ';
                }
    
                $sLink = rtrim($sLink, ', ');
            }
    
            return $sLink;
        }

    You need to replace that code with:

    if (count($aGroups) > 0) {
                $sLink .= ' ';
    
                foreach ($aGroups as $oGroup) {
                    $sLink .= ' ';
                }
    
                $sLink = rtrim($sLink, ', ');
            }
    
            return $sLink;
        }

    I figured this out.

    You will need to edit the UserAccessManager.class.php file in the class folder.

    Look for the following:

    if (count($aGroups) > 0) {
                $sLink .= ' | '.TXT_UAM_ASSIGNED_GROUPS.': ';
    
                foreach ($aGroups as $oGroup) {
                    $sLink .= $oGroup->getGroupName().', ';
                }
    
                $sLink = rtrim($sLink, ', ');
            }
    
            return $sLink;
        }

    You need to replace that code with:

    if (count($aGroups) > 0) {
                $sLink .= ' ';
    
                foreach ($aGroups as $oGroup) {
                    $sLink .= ' ';
                }
    
                $sLink = rtrim($sLink, ', ');
            }
    
            return $sLink;
        }
    Forum: Plugins
    In reply to: [WP Sentry] Comments
    Thread Starter angsaysrawr

    (@angsaysrawr)

    This is what the first user sees when they try to comment: http://grab.geekpowered.me/NHGy

    This is the test post I created: http://geekpowered.me/2016/01/28/test/

    In the prior post, I turned off WP Sentry and it allowed people to comment. As an admin I can reply to comments with WP Sentry turned on, however, non-Admin users get the routed to the page showing in the screenshot.

    In addition, as an Admin if I try to comment on a post that has no comments, it takes me to the Oops, page not found page, but as a Subscriber, it takes me to a blank page.

    WordPress is up to date: 4.4.1 and I am using a custom theme.

Viewing 4 replies - 1 through 4 (of 4 total)