Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

use custom user group

Asked Modified Viewed 1,823 times
V
vision4life
V
Kind Regards, Fred
  • Member, joined since
  • Contributed 53 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions
asked
Member

Thanks in advance of helping me.

On my personal website I like to add a user group besides default "members" so that I can divide members: the members group is for friends and the new custome group "family" is for family. I created the group familie and add mysefl to the group. I made a download categroy for family and something to download. But as administrator I only see members categories and not the family downalod category. How can I arrange what i describe and what do I do wrong?

Regards, Fred
0 replies

4 posts

B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

update to v7 or open maincore.php
look for the function groupaccess() and replace with:

function groupaccess($field) {
 if (iSUPERADMIN) { $res = "(1=1";
 } elseif (iADMIN) { $res = "($field='0' OR $field='101' OR $field='102'";
 } elseif (iMEMBER) { $res = "($field='0' OR $field='101'";
 } elseif (iGUEST) { $res = "($field='0'"; }
 if (iUSER_GROUPS != "") $res .= " OR $field='".str_replace(".", "' OR $field='", iUSER_GROUPS)."'";
 $res .= ")";
 return $res;
 }
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Admins should be able to see everything.
0 replies
V
vision4life
V
Kind Regards, Fred
  • Member, joined since
  • Contributed 53 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions
answered
Member

Hello,
Thanks for your fast response. I run version 6.01.18 I tried upgrading to version 7 but ran into lots of misery, because of my customized theme and used infusions.

www.vision-4-life.nl/php_UK
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

What version of PHPFusion are you using?
0 replies

Category Forum

User Administration - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
B
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
V
V
Kind Regards, Fred
  • Member, joined since
  • Contributed 53 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet