1
hablu
Survey System
  • 2004/8/7 23:35

  • hablu

  • Just popping in

  • Posts: 3

  • Since: 2002/2/7 2


Would anyone take the challenge to port UCCASS to XOOPS as a module. It's a great Survey system that uses PHP, Smarty and MySQL so I think it would me farly easy for someone who knows how to build XOOPS modules..

Unit Command Climate Assessment and Survey System (UCCASS)

Regards
Hablu



2
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



3
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




TopTop



Login

Who's Online

232 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 232


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