![]() |
[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".
|
Screenshot?
|
Just posted it. :)
|
Looks nice! Way to go.
|
I'll use it! Thanks
|
One problem - the avatar only shows if the user is using a custom avatar and not if they are using a stock one.
|
Nice work. :)
|
Quote:
Code:
<img src="image.php?userid=$bbuserinfo[userid]" alt="" border="0" /> |
Quote:
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" /> 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). |
Quote:
|
For what it is worth, it does not seem that there is a universal vBcode or replacement variable for a user's avatar as of this writing. I did however write a complete hack that allows this to work with either custom or pre-defined avatars and it works flawlessly.
Unfortunately vBulletin.org is not allowing vb3 hacks at this time, so we're pretty much screwed as far as me sharing it with anyone. :( I did post a question on vBulletin.com to see if the devs have hidden a globally accessible vBcode or replacement variable that we can call instead, but no replies yet. |
try out www.vBulletin.nl they are a friendly community
|
Quote:
A welcome panel really only needs to have it's relevant code called when the 'index.php' page is generated -- which is why I opted to do what you're talking about but made it an actual hack of the index.php code. My hack consists of a modification of ogden2k's template, three new templates to represent the avatar, custom avatar and no avatar possible states and some code added right before the end of index.php. Works great! But, again... no way to share it since VB.org has taken the stance that they have on prohibiting VB3 hacks until a final version is released. |
Quote:
|
I have this fixed as a working TEMPLATE ONLY modification. It's significantly different than the one Odgen2k posted so I made a new thread, but I do give credit to him and Brad.loo in the post and in the text file.
http://www.vbulletintemplates.com/mo...3440#post33440 |
Yes there is a problem with overhead, but we are not talking about running queries here.
There are tricks to working with the phpinclude without adding much overhead on the server. Define what page the code should run on with a if statement, and dont use custom templates. Check out filburt1's artical on the phpinclude template, its in the vB 2 mod forums :) |
Quote:
I'm too much of a PHP newbie at this point. It's all starting to give me a headache. :D |
All times are GMT. The time now is 04:45 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|