vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Welcome Panel (https://vborg.vbsupport.ru/showthread.php?t=32702)

trilOByte 11-25-2001 10:00 PM

Well, I'm not sure where to put this, it's really a template edit, but includes a couple of hacks already posted on the "full releses" section. I put this together as a walkthrough for an admin friend, and thought someone might find it useful.

Like I said, it's a combination of 2 previously relesed hacks (both credited fully). One by Firefly (avatar hack) and one by MrLister (since your last visit). It combines both of these hacks into a welcome panel at the top of the BB, just like the one here and on a few other sites. I'm pretty much a newbie to vB hacking, and struggled to put this together myself (couldn't find any instructions/hacks etc), but I think I've done an OK job. Maybe this will save a few headaches to others like myself ;)

Anyway, here's a few images to illustrate the hack/edit (or whatever it is :D)

A guests view of your forum homepage...

http://www.synobyte.com/images/unreg.gif

...and what they see when they have registered....

http://www.synobyte.com/images/gotavatar.gif

You can see a working verion of this hack here:

The Genome Collective

Thanks to Firefly and MrLister for providing the PHP hacks in this err, whatever :)

(BTW, if this is in the wrong forum, please (mods) feel free to move it)

here it is:

[EDIT] Updated 28-11-01 to correct a display issue, table border on the right now displays properly.

nafae 11-26-2001 09:50 AM

melikes...ill install it l8r :cool:

LuBi 11-26-2001 10:30 AM

[QUOTE]Originally posted by nafae
melikes...ill install it l8r :cool:

fonzerelli_79 11-26-2001 03:10 PM

great hack trilobyte

i wasnt too keen on the actual welcome panel as i thought the actual forum was too far down

instead of the welcome panel i just edited my forumhome template

underneath

<td><smallfont>
Registered Members: <b>$numbermembers</b><br>
Total Threads: <b>$totalthreads</b> | Total Posts: <b>$totalposts</b><br>
Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid"><b>$newusername </b></a>
</smallfont></td>

i put

<td align="center"><smallfont>
$avatarimage<br>Your chosen Avatar.
</smallfont></td>

I have attached an example.

Cheers

Goldfinger 11-26-2001 07:41 PM

I like it im gonna install it on my board :D.

fonzerelli_79 11-26-2001 07:42 PM

i do love the avatars

class

nafae 11-26-2001 08:00 PM

im installing it, but it seems i have encountered something i dont get. It sayes it can be placed anywhere in forumhome_xxx template. Well i am in the "forumhome" tree, and I dont see forumhome_xxx there or anywhere else. If he means xxx as in "any of them" it doesnt matter in WHAT forumhome i put it in? sorry just wanted to clear that up ;)

snyx 11-27-2001 02:09 AM

I didnt like it when the users avatar was in that table man, cuz then the ON/OFF image of the PM's gets all messed up, and doesnt aling with the forums ON/OFF.

I made mine from scrap, and hacks throw together. The "User News Scroller" is just that, it scrolls some important user news, and threads, and tips. Hot links, sorta explains its self. It looks basically the same when logged out, but with an "GUEST" image as the avatar, no scroller, or hot links. PM is gone, and it just says a little "HEY JOIN NOW" thing, and im working in the login thing tonight (whoa, a whole 2 mins there)

I attached a shot of it when your loggedin.

Myles.

nafae 11-27-2001 02:33 AM

synx call me :stupid: but i dont understand... hehe :D

snyx 11-27-2001 02:36 AM

what man, im just showing off my work :D


All times are GMT. The time now is 01:41 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.01165 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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