1
hablu
Only admin or other group must post
  • 2002/11/16 12:28

  • hablu

  • Just popping in

  • Posts: 3

  • Since: 2002/2/7 2


Can anyone fix this so only webmaster can post news, I want to use it in several modules...

(I'm new to php)


/*********************************************************/
/* User Authentication */
/*********************************************************/
if ($xoopsUser) {
$uid = $xoopsUser->uid();
} else {
if ($xoopsConfig['anonpost'] == 1) {
$uid = 0;
} else {
redirect_header("index.php",3,_ANONNOTALLOWED);
exit();
}
}
/************************************************************/


Regards,
Ole Rasmussen

2
chapi
Re: Only admin or other group must post
  • 2002/11/16 13:53

  • chapi

  • Theme Designer

  • Posts: 611

  • Since: 2002/1/22


I dont understand your intention. If you want restrict the admin rights of the news module only to webmasters, then just dont give admin rights to another group ?!

3
hablu
Re: Only admin or other group must post
  • 2002/11/16 18:45

  • hablu

  • Just popping in

  • Posts: 3

  • Since: 2002/2/7 2


Well, I vant to give ALL users right to read news but only the webmaster (or anothe special group) should have the right to post news, as it is now registred users can altso post news, that i don't want.

Hope that ansvers your question.

Regards,
Ole Rasmussen

4
zer0fill
Re: Only admin or other group must post
  • 2003/12/22 5:11

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


i'd like to restrict news posts to only specific groups too. normal registered users should not be allowed to post news (and i dont want to have to look though a bunch of articles that need approving from users unless they're in the right group).

Login

Who's Online

146 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 146


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits