Welcome to Geeklog, Anonymous Friday, December 27 2024 @ 11:19 am EST
Geeklog Forums
Story Submit
Status: offline
trampoline
Forum User
Full Member
Registered: 02/24/06
Posts: 392
I have removed the story contribute menu Item, but would like to enable it for a particular group, Is this possible ? also when a story is submited is it possible to write a small piece of code,
i.e. >
if contributor in group = false, then halt
to filter out postings from all users ?
i.e. >
if contributor in group = false, then halt
to filter out postings from all users ?
11
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Have a look at CUSTOM_menuEntries in your lib-custom.php (and note that it is commented out ...). It shows you how to make a link show up only for logged-in users. You can do the same for members of an group, using SEC_inGroup('Group Name') instead of checking $_USER['uid'].
bye, Dirk
bye, Dirk
8
12
Quote
All times are EST. The time is now 11:19 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content