vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Welcome Panel [Final] (https://vborg.vbsupport.ru/showthread.php?t=33477)

bouncer18 09-18-2002 04:39 AM

I have a question...

I edited your hack a lil...

the problem i have is:

wehre you have it say Welcome only in the forumhome template i tried mine to say: welcome $username

but it wouldnt show my username, rather someone else's...

got any idea? it works fine right under it like you have it but i wanted to move that 1 line up and remove it below.

i got it to remove below but it did lke i stated above..

wierd ehh.. any ideas

bouncer18 09-18-2002 04:44 AM

nevermind, i got it to work using:

$bbuserinfo[username]

Floris 09-18-2002 05:23 AM

doh :D

TheSaint-AeD 09-18-2002 12:58 PM

[QUOTE]Originally posted by trilOByte


Put this somewhere in the welcomepanel....

PHP Code:

<font face="Verdana" size="1">You have<b$newpm[messages] </b>new <a href="private.php">PM</a>'s.</font> 

It'll look something like...

You have 3 new PM's.

Clicking on the number will take you to yhe new PM, while clicking on "PM" will take you to your PM inbox.

trilOByte 09-18-2002 01:52 PM

Yes, if that's where you want it to appear. Just put it wherever you want it. The welcomepanel code appears withing the forumhome template, but other things have their own template and are *called* by variables - $logoutcode, $pminfo etc - to change how these display, you need to go to their own specific templates.

havefun 09-19-2002 07:12 PM

thanks 4 your hack!

works great. :laugh:

lg, havefun

Je$ter 09-25-2002 05:10 PM

Just installed this to our boards, many thanks tis a great hack :D

\ \ - Speedy - / / 09-27-2002 07:24 PM

Will this work on 2.2.8?

~Speedy~

darkmaninc 09-27-2002 09:54 PM

[QUOTE]Originally posted by Speedy Spike
Will this work on 2.2.8?


~Speedy~

Reverend 09-27-2002 10:03 PM

Yep working for me as well on 2.2.8
Just had to re-apply the root/index.php hacks.
Job done.


All times are GMT. The time now is 01:01 PM.

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.01540 seconds
  • Memory Usage 1,732KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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