Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




template tag similar to is_restricted()

UserPost

7:15 pm
June 1, 2009


Jessica

Member

posts 32

1

Hi Kevin!

Another feature request. ;)

Role Scoper doesn't show posts or pages to a user who hasn't the necessary permissions in lists which are generated automatically as the archive, search results, toclists and of course the index page.

Is it possible to create a template tag similar to is_restricted() which checks if the current user is authorized, that means if he fulfills a condition, e.g. the membership in a certain group. The condition could be given to the function as a parameter.

Sometimes I want to display something which I insert manually just to certain groups, for example my phone number on the contact page or a single link.


About the Agapetry forum

Currently Online:

13 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1244

Posts: 5649

Members:

There are 1254 members

There are 1 guests


Kevin has made 2502 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin