Making a Profile block.

Howdy,

I need to make a profile block to basicly display some status information.

The block would look something like this:

$NickName 's Profile Status

Currently: Online

Last online: 25 Oct 2008 06:54

Last edited: 20 Oct 2008 14:54

Membership level: Standard

Joined: 15 Oct 2008 06:

Profile Views: 1337

I'm not asking anyone to do this for me, I need to learn how to do this on my own.

But... So far I have not been able to figure out how the default blocks are made.

Can anyone help me get started?

Thanks.

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 26 Oct 2008

You need to learn PHP for that.

Quote · 26 Oct 2008

I know just enough php to be dangerous.

I have managed to make a PHP block on the Profile page, and test code is working.

Now I belive it is a matter of getting code to display the things I need.

I have found a number of functions that do some of the things I want, but am not sure how to pass the values to them from my PHP block.

If I could find the code that makes the current blocks work I think I would make a lot of progress.

For example, there is a 'General Info' and 'Misc Info' block.

If I could find the code that is used to display that information I could hack it into my block...

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 26 Oct 2008

Do you have link to the name of the mod that can do this?

Quote · 26 Oct 2008

No,
That is not what I am looking for. :(

~

How about this... What code is required to display the member name?

~

This should be fairly easy, something like:

~

<?php echo $MemberName; ?>

~

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 28 Oct 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.