Date index for Jun 2003


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help 911 Install issues



Could some body help me on this error. I ftp copied a working achievo directory from my site and then re ftped it to a new directory.... and when I try to go in and log on I get this error.

Parse error: parse error, unexpected '}' in /home/cschurma/public_html/entrack/menu.php on line 134

I can seem to get this up and running because of this issue ... thanks in advance..

Chris


From: Ivo Jansch <ivo dot 
Reply-To: achievo dot 
To: achievo dot 
Subject: Re: [achievo] Access user rights from a function.
Date: Wed, 11 Jun 2003 10:18:22 +0200

Hi,

Robert Beguiristain wrote:

regardless of their status to no avail. I am sure it is just some small bit
of data as to what variable or function I need to address to get their
profile information,

If you do this:

$user = getUser();

you get all userdata. It's an array with several bits of information, among which, the id of the profile.

But it's better not to check directly on the profile. It's better to create a new privilege which you can check in each profile. Privileges can be checked with this code:

$doesuserhavesomeprivilege = $g_securityManager->allowed("module.nodename", "privilege");

You indicated that you don't want to use a privilege, but the reason why is not really clear to me.

P.S.S When will the module section of the site be up. I have built some nice
add ons that I would like to send soon.

I could say "real soon now", but I know from experience that "real soon now" in my case is very close to "I don't know".


Greetings,
Ivo

--
Ivo Jansch <ivo dot 
ibuildings.nl BV - information technology
http://www.ibuildings.nl



[ Achievo mailing list - http://www.achievo.org/ ]
[ to unsubscribe send an e-mail to achievo-unsubscribe dot 

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail



http://www.achievo.org/lists achievo.org - ©1999-2002 ibuildings.nl BV