vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   [Release] Welcome Panel ver. 2 (https://vborg.vbsupport.ru/showthread.php?t=88257)

imported_ogden2k 06-29-2003 07:37 PM

[Release] Welcome Panel ver. 2
 
1 Attachment(s)
Here's a revamped Welcome panel for vB3. The only thing I could not add in is the "x amount of new threads and posts since your last visit".

imported_Tungsten 06-29-2003 07:49 PM

Screenshot?

imported_ogden2k 06-29-2003 07:51 PM

Just posted it. :)

imported_Tungsten 06-29-2003 08:35 PM

Looks nice! Way to go.

Dan 06-29-2003 10:10 PM

I'll use it! Thanks

amykhar 06-29-2003 11:22 PM

One problem - the avatar only shows if the user is using a custom avatar and not if they are using a stock one.

Tony G 06-29-2003 11:41 PM

Nice work. :)

imported_ogden2k 06-29-2003 11:46 PM

Quote:

Originally Posted by amykhar
One problem - the avatar only shows if the user is using a custom avatar and not if they are using a stock one.

Really? It should show whatever the user has for an avatar.
Code:

<img src="image.php?userid=$bbuserinfo[userid]" alt="" border="0" />

Brad 06-30-2003 02:07 AM

Quote:

Originally Posted by ogden2k
Really? It should show whatever the user has for an avatar.
Code:

<img src="image.php?userid=$bbuserinfo[userid]" alt="" border="0" />

There is indeed a problem with hard coding a link to image.php, let me explain.

Hard coding a link to image.php can cuase two errors.

1: It will not work with predefined avatars (non-custom ones that live on the server).

2: It will not work if custom avatars are begin stored outside the database. This is new to vbulletin 3.

When avatars are store as files the link would need to point to: (this is for custom avatars only!)

Code:

<img src="$vboptions[avatarurl]/avatar$bbuserinfo[userid]_$bbuserinfo[avatarrevision].gif" alt="" border="0" />
Both problems can be solved with some added code to the phpinclude_start template, and calling the correct image path via a variable.

I have a code chunck that dose this working on local host that I am plaing to release in my own re-vamp of the kousetsu welcome panel (see the vB 2 mod forums).

imported_ogden2k 06-30-2003 03:33 PM

Quote:

Originally Posted by Brad.loo
There is indeed a problem with hard coding a link to image.php, let me explain.

Hard coding a link to image.php can cuase two errors.

1: It will not work with predefined avatars (non-custom ones that live on the server).

2: It will not work if custom avatars are begin stored outside the database. This is new to vbulletin 3.

When avatars are store as files the link would need to point to: (this is for custom avatars only!)

Code:

<img src="$vboptions[avatarurl]/avatar$bbuserinfo[userid]_$bbuserinfo[avatarrevision].gif" alt="" border="0" />
Both problems can be solved with some added code to the phpinclude_start template, and calling the correct image path via a variable.

I have a code chunck that dose this working on local host that I am plaing to release in my own re-vamp of the kousetsu welcome panel (see the vB 2 mod forums).

What's the added code that I would need to add?


All times are GMT. The time now is 03:19 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.01009 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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