User Group Permissions

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
byteme
Posts: 10
Joined: Fri Jun 30, 2006 7:14 pm

Re: User Group Permissions

Post by byteme »

That is very interesting - I will haev to try it as well.
I have found someone else that has offered some data as well.

Eventually I will get this together!
byteme
Posts: 10
Joined: Fri Jun 30, 2006 7:14 pm

Re: User Group Permissions

Post by byteme »

I made a test file and pasted your code in it -

Fatal error: Call to undefined function group_memberships() in C:\ia2007\test.php on line 21
Line 21 is

Code: Select all

if (group_memberships($my_group_id_ary, $my_user_id_ary, $my_return_bool))
Am I missing something -- I am tired tonight, and likely overlooked something completely :oops: noobish :-)
KFCSpike
Registered User
Posts: 17
Joined: Mon Oct 02, 2006 5:44 pm
Location: Scotland
Contact:

Re: User Group Permissions

Post by KFCSpike »

You need to include functions_user earlier in your code.

Code: Select all

include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
byteme
Posts: 10
Joined: Fri Jun 30, 2006 7:14 pm

Re: User Group Permissions

Post by byteme »

THAT was perfect - THANKS! Now lets see where I can go with THAT :-)
Post Reply