1
leing
Re: Report about the newbb
  • 2004/4/9 9:19

  • leing

  • Just popping in

  • Posts: 2

  • Since: 2004/4/9 3


so great. i don't whether it is feasible to put a beta version of new newbb soon.
I am looking forward to test it.
Thanks.



2
leing
Probelm with Myalbum - submitter can't delete his own pictures
  • 2004/4/9 3:26

  • leing

  • Just popping in

  • Posts: 2

  • Since: 2004/4/9 3


I meet with some issue after I installed myalbum.
If I login as admin, I can delete every pictures successfully. But when I login as a normal user, I can't delete pictures the account posted before.
i lokked throgh editphot.php and especially the following section.

// Permission Check
if ( $xoopsUser ) {
$xoopsModule = XoopsModule::getByDirname("myalbum");
if ( $xoopsUser->uid() != $submitter && ! $xoopsUser->isAdmin( $xoopsModule->mid() ) ) {
redirect_header(XOOPS_URL."/",3,_NOPERM);
exit();
}
} else {
redirect_header(XOOPS_URL."/",3,_NOPERM);
exit();
}


I am confused. submitter should have enough permission to delete his own pictures. What is the matter?




TopTop



Login

Who's Online

212 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 212


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