Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 2, 20231 yr What should a user care how many users clicked on that link? This item should be admin's choice if: - Show it in public - Show it only to certain groups - Remove it completely from everyone {{if $forum->redirect_on}} <span class='ipsType_light ipsType_medium'>({lang="redirect_hits" pluralize="$forum->redirect_hits"})</span> {{endif}}
April 3, 20231 yr Why not simply change that language string to a space if it really bothers you that much?
April 3, 20231 yr Author 2 hours ago, Randy Calvert said: Why not simply change that language string to a space if it really bothers you that much? Simply because it is not the correct way to act. As you see I posted a suggestion, because this "function" is completely useless, especially seen by guests/users. I solved momentarily like this: {{if \IPS\Member::loggedIn()->member_id AND \IPS\Member::loggedIn()->isAdmin()}} {{if $forum->redirect_on}} <span class='ipsType_light ipsType_medium'>({lang="redirect_hits" pluralize="$forum->redirect_hits"})</span> {{endif}} {{endif}}
April 3, 20231 yr If you want to solve it in that way then use: {{if \IPS\Member::loggedIn()->isAdmin()}} Edited April 3, 20231 yr by DawPi