![]() |
Quote:
|
Hi mate. Here ya go
// ### INSERT PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE ### // ---------------------------------------------------------- $_BITFIELD['usergroup']['shoutboxpermissions'] = array( 'shoutview' => 1, 'shoutpost' => 2, 'shoutedit' => 4, 'shoutdelete' => 8, 'shouthdelete' => 16, 'shouteditothers' => 32, 'shoutdeleteothers' => 64, 'shouthdeleteothers' => 128, 'shoutip' => 256, 'shoutcoventry' => 512 ); // ---------------------------------------------------------- // ### END PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE ### // now take all the usergroup bitfields and define constants for spot permission checks foreach($_BITFIELD['usergroup'] AS $_permgroup) { foreach($_permgroup AS $_constname => $_constval) { define(strtoupper($_constname), $_constval); } } unset($_constname, $_constval, $_permgroup); // Calendar Moderator permissions $_BITFIELD['calmoderatorpermissions'] = array( 'caneditevents' => 1, 'candeleteevents' => 2, 'canmoderateevents' => 4, 'canviewips' => 8, 'canmoveevents' => 16 ); // Forum Moderator permissions |
Well done on brining this to final
|
It looks very nice, and it works beautifully in the iframe on forumhome. However, when I go to the shoutbox.php-page with a usergroup that's allowed to shout it shows up completely blank. (If I try to access the shoutbox-page with a usergroup that isn't allowed it shows a rejection message).
Any ideas where the problem might be? |
Quote:
|
geezzaa: I don't see any error in that code. Has another hack that you installed edit init.php?
|
Quote:
|
Quote:
Thanks for the help! :) |
Quote:
|
Quote:
|
All times are GMT. The time now is 09:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|