vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - AJAX File Manager For Your Admin CP (https://vborg.vbsupport.ru/showthread.php?t=314883)

Max Taxable 01-19-2015 01:10 AM

Although, I would debate if sprites really speed things up - you're now loading the entire larger image file no matter even if it's only displaying the smallest icon in the sprite - it does reduce requests. It's open in my mind how much it helps if you're only displaying 2-3 of the icons in the sprite.

But this is a great mod you made even better.

nerbert 01-19-2015 01:27 AM

I have a very slow satellite connection and I would say it does help. It used to be the page loaded and then the icons would load a few at a time. Now they all load all at once.

Use the blazes out of it, if there are any more bugs I want to fix them.

Max Taxable 01-19-2015 02:11 AM

Quote:

Originally Posted by nerbert (Post 2533308)
I have a very slow satellite connection and I would say it does help. It used to be the page loaded and then the icons would load a few at a time. Now they all load all at once.

But, once cached in the browser this shouldn't happen. You should see no loading issues after the first time.

The sprite tradeoff is, larger image file but only one request no matter how many of the icons are displayed. It's a slick way to load icons especially if there's alot of them to be displayed.

nerbert 01-19-2015 11:56 AM

The whole sprite image for the file icons is 16 x 606 so size is not an issue here. What is nice is that when you view a directory with an unusual file type in it, like swf or mp3, the icon is right there and is loaded just as fast as the commonly used ones such as php or js.

Also sometimes the directory tree would load unevenly and directory names would shift as the images would load.

Probably the main advantage of sprites in this project is it cuts down the length of the html string for the directory tree. Instead of an image tag it just uses a three letter class name

I also minified all the JavaScript files. I don't know how much difference that makes.

Max Taxable 01-19-2015 12:54 PM

Quote:

Originally Posted by nerbert (Post 2533351)
The whole sprite image for the file icons is 16 x 606 so size is not an issue here.

I'm talking about file size, not pixel dimensions. Example, if each icon is only 1kb let's say, with sprites you are loading the whole sprite image, which typically is well over 50kb. This is no matter how many of the icons you're displaying.

Using sprites increases kb page load. Because you are loading the entire image file on browsers instead of the few small, 1kb images.

nerbert 01-19-2015 07:17 PM

Bug Fix for Who's Online!

There is an error in the File Manager: Show User in "Admin Control Panel" in Who's Online Plugin. You can either upload the new product file or follow these directions:

Change the hook location to "online_location_unknown"

Change the code to:

Code:

if (strpos($userinfo['location'], '/' . $vbulletin->config['Misc']['filemanagerdir'] . '/') !== false)
{
        $handled = true;
        $userinfo['action'] = $vbphrase['admin_control_panel'];
        $userinfo['where'] = '';
}

DONE

Dr.CustUmz 04-17-2016 11:56 PM

anyone have this working with vb3? ...max?

Max Taxable 04-18-2016 12:42 AM

Quote:

Originally Posted by Dr.CustUmz (Post 2569165)
anyone have this working with vb3? ...max?

I never installed this, not even on my v4 sites.

Dr.CustUmz 04-18-2016 12:58 AM

1 Attachment(s)
i managed to get it all organized in proper folders cause this was a mess, but i got a sql error (i think its for vb4s stylevars) tried removing the query but no luck.

may have done something wrong idk, didnt really spend too much time dinkin with it cause how messy it is lol

anyway, heres a neater file structure for anyone that wants it, includes everything you need, and its all structured.


All times are GMT. The time now is 02:10 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.01080 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (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
  • (9)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