Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Re-Release] Tungsten's Welcome Panel Details »»
[Re-Release] Tungsten's Welcome Panel
Version: , by imported_Tungsten imported_Tungsten is offline
Developer Last Online: Jan 2005 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-10-2003 Last Update: Never Installs: 0
 
No support by the author.

Author:

Tungsten


Credits:

Credits go to Ogden2K for inspiring the layout of the welcome panel and to Brad.loo for his help on coding issues.


Description:

I have changed a few minor problems in the original coding that were prohibiting avatars from being shown on some boards. I also redid the instructions file so that Microsoft Notepad opens it with proper line formatting.

Basically this is just a simple welcome panel that conditionally displays the user's avatar if they are (a.) logged in and (b.) have an avatar selected. If they are not logged in or do not have an avatar selected, they see variations of the welcome panel text that intuitively guide them toward registering or logging in and selecting an avatar.

No PHP files are hacked with this modification. It is completely template driven.

I have successfully tested the modifications on my own vBulletin 3.0.0 Beta 4 installation with both avatars stored within the MySQL database and with avatars stored in a file-system folder outside of the database. It works both ways now.

Anyone who downloaded the previous releases of this modification needs to upgrade to this one. I apologize for the confusion that arose from having so many different ideas being publicly thrown about in the other thread.


Reporting Bugs:

Feel free to report bugs in this thread but please do not post any code modifications here. Send them to me via a private PM so that I can evaluate their effectiveness. All support will be handled via this thread. Please do not PM me for support.


New Screenshots:

Finally... new screenshots are attached to this post as well as included inside the ZIP file. Enjoy!

Download Now

File Type: (21.4 KB, 150 views)
File Type: (21.4 KB, 107 views)
File Type: (21.4 KB, 98 views)
File Type: (21.4 KB, 56 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-10-2003, 05:20 PM
imported_Tungsten's Avatar
imported_Tungsten imported_Tungsten is offline
 
Join Date: Jul 2002
Location: Tennesspeed.net
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Squawell
if user do not select avatar..i want it show the noavatar.gif not text..

how should i change the code?
Change this line in the phpinclude_start file:
Code:
$welcomeavatar = "<span class=\"smallfont\">No Avatar<br/ >Specified</span>";
To read as this:
Code:
$welcomeavatar = "<img src=\"$stylevar[imagesfolder]/noavatar.gif\" title=\"\" border=\"0\" />";
And place the attached noavatar.gif file into your forum images folder.
Attached Files
File Type: (21.4 KB, 77 views)
Reply With Quote
  #13  
Old 07-10-2003, 06:19 PM
imported_HexOnxOnx imported_HexOnxOnx is offline
 
Join Date: May 2003
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tungsten
Can you right-click on the red-X and view the properties of what the graphic should have been? It should give you a complete FQDN path to the image file.

Copy and paste that into a reply for me. I want to see if it is parsing the graphic at all.
Here are the properties where the avatar should be:

http://forum.xelation.org/"image.php?u=$bbuserinfo[userid]&dateline=$avatar[dateline]/"
Reply With Quote
  #14  
Old 07-10-2003, 06:40 PM
imported_Tungsten's Avatar
imported_Tungsten imported_Tungsten is offline
 
Join Date: Jul 2002
Location: Tennesspeed.net
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason, quotes are being inserted into the code when it is rendered which breaks the functionality of the code. Let me re-evaluate my modification again and see if I goofed on something when I typed up the instructions.
Reply With Quote
  #15  
Old 07-10-2003, 07:39 PM
imported_Tungsten's Avatar
imported_Tungsten imported_Tungsten is offline
 
Join Date: Jul 2002
Location: Tennesspeed.net
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Those of you who were still having problems with avatars not showing up, please download the ZIP file again. It includes new code for the phpinclude_start template that parses properly on servers running versions of PHP older than 4.3.2


Apparently 4.3.1 and older versions of PHP didn't like the syntax I used when calling the image.php file to grab a user's custom avatar. I have replaced that code with some that works a little better across all versions.


Confirmed to work on my own test server.
Reply With Quote
  #16  
Old 07-10-2003, 07:43 PM
imported_Tungsten's Avatar
imported_Tungsten imported_Tungsten is offline
 
Join Date: Jul 2002
Location: Tennesspeed.net
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HexOnxOnx has confirmed that the code change fixed the avatar problem on his server. It looks like this modification is finally good for the whole family.
Reply With Quote
  #17  
Old 07-10-2003, 10:46 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tungsten
Change this line in the phpinclude_start file:
Code:
$welcomeavatar = "<span class=\"smallfont\">No Avatar<br/ >Specified</span>";
To read as this:
Code:
$welcomeavatar = "<img src=\"$stylevar[imagesfolder]/noavatar.gif\" title=\"\" border=\"0\" />";
And place the attached noavatar.gif file into your forum images folder.
Tungsten thankz that!!

another problem...when i logout...i still see the noavatar.gif not the

guestavatar.gif~~but i already place the pic to images&avatarts

folders...any idea?thankz...
Reply With Quote
  #18  
Old 07-10-2003, 11:08 PM
imported_Tungsten's Avatar
imported_Tungsten imported_Tungsten is offline
 
Join Date: Jul 2002
Location: Tennesspeed.net
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Squawell
Tungsten thankz that!!

another problem...when i logout...i still see the noavatar.gif not the

guestavatar.gif

I can't seem to duplicate that problem. I am seeing the proper guestavatar.gif and noavatar.gif files whenever those conditions are true.
Reply With Quote
  #19  
Old 07-11-2003, 10:47 AM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working great here!! all avatars showing up! thanks Tungsten!
Reply With Quote
  #20  
Old 07-11-2003, 12:59 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tungsten
I can't seem to duplicate that problem. I am seeing the proper guestavatar.gif and noavatar.gif files whenever those conditions are true.
ok...i find the problem!!!i add wrong variable to template.....now it work..

thankz...
Reply With Quote
  #21  
Old 07-11-2003, 01:13 PM
SmartGnome's Avatar
SmartGnome SmartGnome is offline
 
Join Date: Mar 2003
Location: Amsterdam
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working also great here!! thanks Tungsten! all avatars showing up.

The only thing with me is, that the width of the welcom panel is larger then my forums. Any idea how I can fix this
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:03 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.04529 seconds
  • Memory Usage 2,346KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete