quote:
Originally posted by drkknght:
selfish!
Ohh...Hehe. I didn't mean it like that.
I was referring to the issues I was having in relation to what you're experiencing.
I agree with you in that trying to figure out the codes and modifying (and sometimes creating) them can be a challenge. Here is what I'm thinking:
Take a look at the scripts by LK and Bookie of "BLAMearth" Templates hack. Inside the "ubb_status.cgi" you will see this code:
[code][/code]That will tell the UBB page (in particular with Forum Summary) to recognize the any user's info when the user is logged in. All of the codes above the one I listed in "ubb_status.cgi" is important to keep intact. While LK extended this code from UBB's you can simply use UBB's default code to generate the same results. You can place these codes in "ubb_forum_summary.cgi".
Once the Forum Summary recognizes the user has logged in you can get the "Base Code Profile Fields" which Allen supplied before and extract the codes you want. Now since you are looking for the default user codes I think that can be done with the info you already have. Example codes to add:
$user_profile[8] = user's status
$user_profile[31] = custom user's status
$pubname = user's public display name
$Avatar = user's avatar (I don't think just adding this only will work)
For the PM just extract the javascript of that code and insert it. The Date and Time I haven't tried that yet. The funny thing is that you can actually display all of the user's information (e.g., password) if you wanted to.
I'll help with whatever I'm able to as this is a definitely a cool feature.