vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   How to redo your vBulletin 3.5.0 Navbar in Four Easy Steps! (https://vborg.vbsupport.ru/showthread.php?t=91624)

Cloudrunner 07-06-2005 01:57 AM

Quote:

Originally Posted by Zachery
I think it might be able to be added to a hook, no, its not in the config, its one of those fun hidden features that I poked out of the devs ages ago :)

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.

Nope, I just spent three hours walking through the initialization code from initial page call from the browser to the display, and unfortunately class_core.php is called WAY before any hooks, so I'm stuck with editing the config.php file...

What do you think, since the call is part of the resident vB coding, placing it in your config.php file (like the debug statement) would not invalidate the support? If so then I'll keep the mod here in the extensions forum...

Anyway, I'll start working on the data stuffies tomorrow after work...

Oh, BTW
Quote:

Originally Posted by TNP Site w/o navbar redux
Page generated in 0.12269 seconds with 9 queries

Quote:

Originally Posted by TNP Site w/ navbar redux (avatar query removed)
Page generated in 0.18365 seconds with 13 queries

So looks like those four queries are kickin the juice up...will work on that tomorrow as I said...

And thanks again for the help!

)O( Cloudrunner )O(

Zachery 07-06-2005 03:45 AM

It shouldn't invlidate support, its just an undocumented feature :)

taffy056 07-06-2005 09:09 AM

Hi,

Encountered a problem with the panel, I posted 2 posts into my test site, and then deleted one of them, but the panel is still showing two posts posted today, as you can see on the image attached. Is there a fix for this?

taffy

Zachery 07-06-2005 02:01 PM

For your new post and new thread querys, you should use WHERE visable = 1 which should help clear that problem up.. abit...

Cloudrunner 07-06-2005 11:51 PM

Hey folks, had to do an update to the system to cut down on the overhead abit...

So, download the new zip, and delete the old plugin, then import the new xml file.

After you do that follow step 4 again in the install.txt file and you should notice a decent drop in overhead.

I am still working on cutting down the overhead to as close to nothing as possible, but I thought I'd update with what I had so far.

A LOT of this update is due to the help that I have received on it from Zachery, Thank you boss!

)O( Cloudrunner )O(

Cloudrunner 07-07-2005 12:00 AM

Quote:

Originally Posted by taffy056
Hi,

Encountered a problem with the panel, I posted 2 posts into my test site, and then deleted one of them, but the panel is still showing two posts posted today, as you can see on the image attached. Is there a fix for this?

taffy

Did you "soft" delete it? if so it will still show due to how the threads and posts are called from the DB...

jesus likes pie 07-07-2005 02:22 PM

by looking at the pic, its a welcome panel then?

taffy056 07-07-2005 02:39 PM

Quote:

Originally Posted by Cloudrunner
Did you "soft" delete it? if so it will still show due to how the threads and posts are called from the DB...

No it was hard deleted, but I will try the same on your new panel to see if it makes any difference.

Thanks for sharing,

taffy

Rover416 07-07-2005 06:19 PM

Quote:

Originally Posted by cloudrunner
If you want to check this and provide me with your results, I would appreciate it!

These are mine

Code:

Page generated in 0.10616 seconds with 14 queries
And then when i clicked on a forum post it went to

Code:

Page generated in 0.21673 seconds with 15 queries

Cloudrunner 07-16-2005 01:45 PM

Just an update on the avatars for this hack...if you are running vbadvanced CMPS then the navbar redux will break.

To fix this you'll need to DL this version and then do the following:

  1. Remove the AVATAR_ON_NAVBAR line in your config file.
  2. Remove the old plugin and then re-upload it and activate it.
  3. Then 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

Your navbar should be fixed now on all of your VBACMPS pages.


All times are GMT. The time now is 09:43 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.01054 seconds
  • Memory Usage 1,744KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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