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)
-   -   Board Optimization - United-Forum CSS Sprites - ludicrous speed - NOW! (https://vborg.vbsupport.ru/showthread.php?t=266696)

final kaoss 08-01-2011 02:47 PM

DF2
Error occurred: Your sprite folder uses an URL. Sprites cannot be saved via URLs. Please use an local filepath on your system for the StyleVar imgdir_sprite.

DNCL 08-01-2011 02:56 PM

Problem solved. :), still the search results issue as giorgino mentioned. :)

8thos 08-01-2011 03:04 PM

Good news. This mod really did create sprites but because I was doing so many changes to my styles and because of the delay from my CDN, webpagetest.org didn't give me an accurate score. I will have to try again later.

With this new update, do we still have to install template modification system?

I disabled template modification system because it changed the way I access edit templates and was too confusing to mess around with.

Mooff 08-01-2011 03:05 PM

I was talking about the stylevars: imgdir_statusicon / imgdir_misc / imgdir_button / imgdir_siteicons /
Stylevars where our addon needs to read the old files. The files which are displayed when our addon is not running. The files which shall be replaced by our addon.

Of course we cannot connect to an external server to write the sprite. So imgdir_sprite has to be local - which is stated as an error via the addon.

edit: TMS is not needed. You can do all template changes manually. But i would strongly advise to use TMS, since the number of changes is really high. TMS does them in a blink of an eye. Manually does take it's time though.
As a sidenote. If vb4 would have native sprite support, no user based template changes would be necessary at all.

final kaoss 08-01-2011 03:10 PM

This is exactly where I made the edits like you suggested. In the stylevars.

Quote:

so add http://vgchat.info/i1/statusicon/ as your statusicon image directory. That might work, that might not work. Or maybe http://1i/vgchat.info/ or http://3i/vgchat.info. Help me helping you - i really cannot work with the level of information you do provide.
Quote:

Originally Posted by Mooff (Post 2227717)
I was talking about the stylevars: imgdir_statusicon / imgdir_misc / imgdir_button / imgdir_siteicons /
Stylevars where our addon needs to read the old files. The files which are displayed when our addon is not running. The files which shall be replaced by our addon.


Of course we cannot connect to an external server to write the sprite. So imgdir_sprite has to be local - which is stated as an error via the addon.


edit: TMS is not needed. You can do all template changes manually. But i would strongly advise to use TMS, since the number of changes is really high. TMS does them in a blink of an eye. Manually does take it's time though.
As a sidenote. If vb4 would have native sprite support, no user based template changes would be necessary at all.


Mooff 08-01-2011 03:16 PM

Code:

              if(strpos($stylevars['imgdir_sprite']['imagedir'], 'http://') !== false)
                {
                    echo '<span style="color:red">Error occurred:</span> Your sprite folder uses an URL. Sprites cannot be saved via URLs. Please use an local filepath on your system for the StyleVar imgdir_sprite.<br />';
                }

That's when you receive that error. That is the only time you will receive that error. You won't get that error when you change the statusicon imgdir.
So please change your imgdir_sprite folder to a local path - and keep the other ones at http.

8thos 08-01-2011 03:32 PM

Quote:

Originally Posted by Mooff (Post 2227717)
I was talking about the stylevars: imgdir_statusicon / imgdir_misc / imgdir_button / imgdir_siteicons /
Stylevars where our addon needs to read the old files. The files which are displayed when our addon is not running. The files which shall be replaced by our addon.


Of course we cannot connect to an external server to write the sprite. So imgdir_sprite has to be local - which is stated as an error via the addon.


edit: TMS is not needed. You can do all template changes manually. But i would strongly advise to use TMS, since the number of changes is really high. TMS does them in a blink of an eye. Manually does take it's time though.
As a sidenote. If vb4 would have native sprite support, no user based template changes would be necessary at all.

When you say manual template changes do you mean in just the stylevars or in edit templates?

Mooff 08-01-2011 03:38 PM

Edit templates.

Every (supported) imagecode in the templates needs to be replaced via a fitting sprite class.

8thos 08-01-2011 03:44 PM

Quote:

Originally Posted by Mooff (Post 2227735)
Edit templates.

Every (supported) imagecode in the templates needs to be replaced via a fitting sprite class.

I don't know if there's a bug in my template modification system or what but I can't edit templates in it. That's why I said it was hard and confusing cause I played around with it and it won't let me do anything.

So to get sprites working I'd have to turn it on and when I want to edit templates I'd have to disable template modification system which would then disable the sprites in united forum sprites mod?

smh.
:rolleyes:

I'll bug vb.com to add sprite support. Might take them two years.

Crotan 08-01-2011 03:52 PM

Upgrade Instructions?

Upload Files
Upload XML
Done if using TMS
Do refresh to find new supported images

Anything else?


All times are GMT. The time now is 06:13 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.01552 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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