I want some some info to show up in the area that appears when my users first login. I've forgotten how do get the content to show up here, will someone remind me real quickly please?

I have been playing with the _user function in tac_lite and I'm sure that's the way to go, but when I say something like: drupal_set_message("Let's go! -- ");
it shows up on the page 3 times! So not sure what I'm doing wrong here

Also is there a way to eliminate the default (History / Member For) info? I don't want my users to see that.

thanks for the help,

Comments

nevets’s picture

It would probably help if you provided a little more detail (for example the relevant code) otherwise it's a little hard to point you in the right direction.

jeditdog’s picture

just this code right here:

function report_user($op, $edit, $account, $category = null)
{
drupal_set_message("ha ha");
}

gives the output
* ha ha
* ha ha
* ha ha

It does this only on a /user/ page
I don't really want those bullets and I especially don't want it repeating 3 X's. What is the way to put content on the logged in user's account page? I think I'm close but missing something.

-------------
The main man of MMC :)

nevets’s picture

See http://api.drupal.org/api/function/hook_user/5 and the information for when $op equals 'view'.

jeditdog’s picture

Thanks, that got me where I needed to go. I think I can get everything I need out of drupal now.

-------------
The main man of MMC :)