On Sat, 28 Feb 2004, Jeniffer C. Johnson wrote:
> At 07:19 AM 2/28/2004, you wrote:
>
> > > all their profile info. This is bad, since we certainly don't want
> > > just anyone to be able to get our phone numbers and addresses.
> >
> >Yes, this is wone of Drupal's shortcomings.
>
>
> Will this be changed in future versions? I have have three drupal sites
> currently running where this is an issue, so it would be handy not to have
> to do the modifications to each installation. ;-)
I've heard rumours that the profile module will be rewritten. I don't
know if this will be part of the rewrite. I hope it though.
> >Find the piece of code where the user profile is output and add a
> >if(user_access("access memberslist")) (or similar) before it.
> >
> >The code is in user_view in user.module, after this line:
> >
> > else if ($uid && $account = user_load(array('uid' => $uid, "status" =>
> > 1))) {
>
> Thank you! Works perfectly. I have non-members receiving only the
> user's name and a notice about only members having profile access,
> and I've changed some of the wording for what members see. What I
> can't seem to piece together on my own now is how to get a member's
> email address to display when another member views their profile. (I
> can see where it needs to be, I think, but can't figure out what to
> put there...hehe.)
Simply add
$output .= form_item(t("E-Mail"), $account->mail);
> >BTW: Marvin.theme got removed from the Drupal cvs version. That does not
> >mean that it won't be supported anymore, but other themes are a bit more
> >elegant to use if you want to try out several css style sheets.
>
> Thanks! Most of the sites I've done so far with drupal all have only
> one style available, so Marvin has worked well for me as it's quick
> and easy to change to acheive the layouts we've needed. But I'll
> keep this in mind for when I next have to upgrade everything. Each
> time I start a new drupal site I look first at that xtemplate theme,
> but I just can't seem to wrap my head around it. ;-)
Then you might want to look at the chameleon theme which is more like a
'classic' theme and does not include an extra parser.
Cheers,
Gerhard
--
[ Drupal support list | http://list.drupal.org/ ]
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|