PDA

View Full Version : [Release] User Info Box


SaintDog
06-16-2002, 10:00 PM
Author: plattopus

Description: Before the Welcome Panel Hack, this modification was created, while it resembles the WPH, this is for those of you that do not like to hack your boards (other than the templates).

Screenshots:

Logged In: http://www.vbulletintemplates.com/mods/previews/loggedin2.gif
Logged Out: http://www.vbulletintemplates.com/mods/previews/loggedout2.gif

imported_Niloc
06-24-2002, 12:22 AM
Thanks again!

7alem
06-24-2002, 06:29 AM
very nice i like it :)

bokmade
06-24-2002, 12:05 PM
Nice Thanks :)

imported_aracthus
06-24-2002, 07:13 PM
Am adding this to my board for www.GetALife.com (soon up).

vertex
06-24-2002, 07:13 PM
thats actually very nice, good job plat = ]

imported_plattopus
06-29-2002, 05:26 AM
Thanks. :)

squawell
06-29-2002, 12:46 PM
looks great...

thankz share...:D:D:D:D

imported_Mike Gaidin
06-29-2002, 02:55 PM
Very nice. :D

hellsatan
06-29-2002, 10:05 PM
It looks just like the WP...

Cool:)

Satan

Floris
06-30-2002, 08:20 AM
hey cool.

I do like the Welcome panel hack very much, and have been using it since 2.2.1 was released. But I hate to re-apply that code each time. Maybe if I move over to the template version, I am as happy as well. I hope to find the time soon to convert it to match my current design & look etc. Great to release this. Downloaded the file and hope to apply it soon.

AllusionalChaos
07-06-2002, 04:33 PM
I like this alot. It seems much less space taking and time consuming. Along with looking nicer. Installed.

mashby
07-06-2002, 05:17 PM
I didn't even know this was available. I too have the Welcome Panel hack installed, but only because I didn't know that there was an alternative. Hmmmm, I think I'm going to have to switch. :)

sphinx
07-06-2002, 05:38 PM
yep very nice,one thing can the white background be changed to match the forum ? please forgive my ignorance

rootnik
07-06-2002, 06:10 PM
Great modification, I hope nobody minds if I post an add-on to this.

The avatar can be displayed by simply adding an new column and image tag to the template, no need to install the hack reffered to in the instructions. It's pretty easy to figure out, only took me (a newbie at this) a couple minutes.

I only edited the forumhome_logoutcode template

----------------
Find:
----------------
<td width="50%" align="left" valign="top">
<smallfont>Name: <b><a href="usercp.php?s=$session[sessionhash]">$bbuserinfo[username]</a></b><br>
---------------------------------------------------------------------------
Right ABOVE that paste:
----------------
<tr>
<td><img width="75" height="75" src="avatar.php?userid=$bbuserinfo[userid]">
----------------------------------------------------------------------------
Scroll down to the bottom of the template. Right ABOVE this:
--------
</table>
</table>
</table>
</table>

-----------------
Add another one of these theses:
-----------------
</td>
</tr>
-----------------

Of course you can change the height and width of the image tag to anything you want, or get rid of it completely. 75 just happens to work good for me.

G2 Lost Soul
07-06-2002, 09:42 PM
gj plat

mashby
07-07-2002, 12:54 AM
Originally posted by sphinx
yep very nice,one thing can the white background be changed to match the forum ? please forgive my ignorance

In the "forumhome_logoutcode" template, search for <td align="left" valign="top" bgcolor="#FFFFFF"> and replace it with <td align="left" valign="top" bgcolor="{firstaltcolor}">.

I just fixed it myself. :)

mashby
07-07-2002, 02:33 AM
The HTML in this mod is really awful. While I was cleaning it up for my site, I went ahead and integrated the ability to see the user's avatar, as well as xiphoid's Private Message template mod [link (http://www.vbulletintemplates.com/mods/showthread.php?s=&threadid=125)].

The end result is that it looks a lot like the welcome page a xiphoid's web site [link (http://marietje.nl/vbb/index.php?s=)] :D

Since it's really just a derivitive mod, I didn't think it was worth it's own unique post. I'll post a screenshot in the next post.

mashby
07-07-2002, 02:34 AM
A screenshot for the above template.

K33nny
07-07-2002, 03:33 AM
Nice job mashby. I'll be using this more than likely.

Dimi
07-08-2002, 07:58 AM
Very nice indeed!

Nick_xp
07-12-2002, 05:45 AM
Thanks

imported_MALIGNO
08-02-2002, 05:28 PM
As I make so that the change also comes out in the square of information?

mashby
08-03-2002, 05:09 PM
Originally posted by MALIGNO
As I make so that the change also comes out in the square of information?

I don't understand your question. :confused:

spellbind
08-08-2002, 06:56 PM
mine dosent seem to work right please help me...
heres a screenshot below...

spellbind
08-08-2002, 06:58 PM
as you see in that screen shot the user info is doubled...please help

AbSoluTc
08-08-2002, 09:20 PM
What do you mean user nfo is doubled? Only thing I see that is different, is that there is NO avatar for the user nfo. Thats about it. Everything else looks normal.

mashby
08-08-2002, 11:49 PM
Check your code. You are probably calling the $loggedinuser variable twice. Check your fourm home templates.

imported_plattopus
08-13-2002, 07:57 AM
Thanks all for your comments... I'll be around for support now, if anyone needs it.

Yes, the HTML is incredibly bad... I re-did the mod in DreamWeaver so I could release it quickly... my personal mod was coded from scratch, but has additions that I didn't want included in this release.

And thank you mashby for answering questions in my absence.

mashby
08-13-2002, 06:30 PM
My pleasure plattopus. :) Glad to have you back.

Photon
08-27-2002, 07:41 PM
thnx m8 works fine :D

NuclioN
08-28-2002, 07:43 PM
I've tried but did'nt succeed. I want to place an image on the right side of the box with the same height and width as the avatar image. Hoe can i do that?

Tony G
08-28-2002, 11:36 PM
Screenshot might help.

NuclioN
08-30-2002, 10:01 AM
Yes, as you can see...an avatar right and i want an image to the left with the same height/width as the avatar. ;)

imported_plattopus
08-30-2002, 06:58 PM
The avatar's height and width aren't static... it depends on what avatar the user chooses. But it's just a matter of putting another <img> tag before $avatarimage in forumhome_logoutcode.

imported_DigitalJE5U5
09-13-2002, 08:15 AM
Sorry Mashby, but can you tell me where the code you posted is inserted?

Thanks,
/DJ

mashby
09-13-2002, 05:21 PM
The code I posted is a complete replacement for the original template mod. You can find it in the previous post I made [link (http://www.vbulletintemplates.com/mods/showthread.php?s=&postid=1180#post1180)]

imported_plattopus
10-13-2002, 04:38 AM
Oh by the way, if you use the <img src="avatar.php?userid=$bbuserinfo[userid]"> code anywhere, it will show a broken image for guests/unregistered users. I haven't tested it myself, but I believe this will happen. I think that's why Chen's hack was written, because there's no way to completely fix everything with just a template mod.

But it's good if you know that most (or all) of your members have avatars.

Brad
10-13-2002, 05:10 AM
Yes, it will show a broken image cause there is not one to display, it also shows broken images to people without avatars. im working on a template only verson that uses the phpinclude template. Its almost done :)

imported_simplythi
10-18-2002, 01:35 AM
after installing this hack i noticed something quite odd. the screen shot will tell all. SOMEONE HELP?

imported_simplythi
10-18-2002, 02:33 AM
never mind problem solved.

bonnmac
10-20-2002, 02:40 PM
Thanks for the mod. It's a nice addition without having to hack the files.. Much appreciated. :)

Floris
10-30-2002, 05:58 PM
Originally posted by mashby
The HTML in this mod is really awful. While I was cleaning it up for my site, I went ahead and integrated the ability to see the user's avatar, as well as xiphoid's Private Message template mod [link (http://www.vbulletintemplates.com/mods/showthread.php?s=&threadid=125)].

The end result is that it looks a lot like the welcome page a xiphoid's web site [link (http://marietje.nl/vbb/index.php?s=)] :D

Since it's really just a derivitive mod, I didn't think it was worth it's own unique post. I'll post a screenshot in the next post.

Thank you for pointing out :)

Brew
11-15-2002, 03:04 AM
I have been trying to figure out how to get the welcome panel on category pages as well. Not every page....but the page right below the main home page of vB.

The reason is that I have links from my main web site that goes to the category and not to the forum home page. If I could get a welcome panel in the category users wouldn't have to go to the main page to login.

Can someone tell me how to use this hack for this?

Thanks for any help!

theta
12-15-2002, 08:59 AM
Originally posted by simplythi
never mind problem solved.

How?

Orfejs
01-30-2003, 04:03 PM
If it is not the best script ever - hit me!!