The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
How to redo your vBulletin 3.5.0 Navbar in Four Easy Steps! Details »» | |||||||||||||||||||||||||||||
How to redo your vBulletin 3.5.0 Navbar in Four Easy Steps!
Developer Last Online: Feb 2022
This extension was inspired by the concept provided by Megatekno and his Welcome Panel Script. Unfortunately that script was killing servers, so I took his concept and did a Redux of it using vBresident code as the inspiration for the plug side of the house. What you need to do Upload images: 2(I have provided the blinking PM notification image, you provide the no avatar image, must be named noavatar.gif and both are placed in the ./images/misc/ directory. If you want to not display an avatar without breaking the navbar with a big red "X" then follow the instructions below) Queries to run: 3 (to add indexes to the user, post, and thread tables to speed up page loads and cut overhead, this is optional, but is reccomended) File Edits: 0 Template Edits: 2 Plugin XML Import: 1 All done! Features
Page Load and Queries are as follows on a heavy traveled forum: Quote:
Quote:
Love and Light to you all! )O( Cloudrunner )O( To disable display of NoAvatar Image In the plugin NavBar Redux, simply find this code PHP Code:
PHP Code:
To get this to work with vB Advanced CMPS for 3.5.0 In your VBACMPS default settings add the following to your Portal Output Global Variables: Code:
nav_av_image nav_new_users_today nav_users_today nav_new_threads nav_new_posts pm_show pm_tdwidth Show Your Support
|
Comments |
#12
|
||||
|
||||
Quote:
|
#13
|
||||
|
||||
Quote:
Quote:
Quote:
Seriously though, I am working on getting this to talk with the datamanager as a cached thing, I don't want to add tables, or modify the db in anyway shape or form, but I will figure this out to kill off what little overhead there is right now. I have severa scenarios running on my test bed that have brought the page gen overhead down but I need to make sure that they are reliable methods first, my biggest concern at this point is the avatar... |
#14
|
|||
|
|||
Hi,
I have installed your version of the welcome panel but have a couple of problems, the welcome panel is not showing up at all on the style by Kall below, I was wondering how to fix this. https://vborg.vbsupport.ru/showthread.php?t=90792 Also, the panel does not resize like the other one did, so if you go to show favourites or bookmarks it does not look right. I would also like to make the avatar image smaller, how do I go about it? And finally thanks for sharing taffy |
#15
|
||||
|
||||
Quote:
You need to add indexs to the datelines in the thread and post tables, which should reduce the query times even more, for the two table scans to get the ammount of new posts. simplicity is not the best way when it comes to some things. The data that you want to get can be very strenious on the server, esp done on everypage load for every user, including guests it seems, very bad idea, guests DO NOT need to see this data, and most of it would be flawed to them as well. As far as Avatars go, try this in the config.php file define('AVATAR_ON_NAVBAR', 1); And this in the navbar. <img src="image.php?$session[sessionurl]u=$bbuserinfo[userid]&dateline=$bbuserinfo[avatardateline]" title="$bbuserinfo[username]'s Avatar" alt="Avatar" border="0" /> |
#16
|
|||
|
|||
Hi,
Just realised that I didn't put the file edit in the navbar template , so that is fixed now! But still having a problem with sizing the welcome bar, it does adjust to a degree but the avatar is taking up to much room in my opinion, perhaps if it was 25% - 50% smaller the sizing issue would not be a problem? taffy |
#17
|
|||
|
|||
Quote:
Did I quote that? :smoke: taffy |
#18
|
||||
|
||||
Quote:
|
#19
|
|||||
|
|||||
Quote:
Quote:
Quote:
Quote:
Quote:
and lastly, Thank you for your help, I do appreciate constructive assistance! )O( Cloudrunner )O( |
#20
|
||||
|
||||
Quote:
But in realitity that is a very small modification, and seeing as the config is a safe file to edit.. you might get away wiuth this as a plugin. |
#21
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|