vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [Release] User Info Box (https://vborg.vbsupport.ru/showthread.php?t=83566)

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

Quote:

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
Code:

<td align="left" valign="top" bgcolor="#FFFFFF">
and replace it with
Code:

<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].

The end result is that it looks a lot like the welcome page a xiphoid's web site [link] :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.


All times are GMT. The time now is 09:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01212 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete