Welcome to Geeklog, Anonymous Wednesday, July 24 2024 @ 11:22 pm EDT

Geeklog Forums

Admin publish stories


saatchi

Anonymous
Hi,

how can I restrict normal user to send news and links? I want that only admins can send news and links.

Thanks.
 Quote

Status: offline

rv8

Forum User
Regular Poster
Registered: 10/10/02
Posts: 105
Location:Ottawa, Canada
One way would be to use the Menu Plugin to handle those items, and edit the theme header.thtml to remove the links from it. The Menu Plugin allows you to set access rights for each item in the menu, so you can specify which items regular users will see. The menu would be in a block, typically near the top on the left or right side.

The Menu Plugin is available in the Downloads section on this site.

Note: rather than hard code in the links at the top of the page, some themes header.thtml files use the {menu_elements} place holder, which is defined in lib-common.php). You can remove the unwanted items in lib-common.php.
Kevin Horton
 Quote

All times are EDT. The time is now 11:22 pm.

  • 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