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 01:26 AM

There's one thing I would like to see added to this.

Domain Sharding

As we've been discussing this and other tweaks here.

And please... if your going to post in english at least put the screenshots in english too... thanks.

Osbes 08-01-2011 05:14 AM

Hello extreme-gaming,

sorry, since we are from germany our tools are also in german, but we will try to use an english version for the screenshots next time :)

Since Version 0.6.2 i have added support for URLs within the imgdir_* Stylevars, so you can use this addon with CDNs. So i would assume, that Domain Sharding also works.

How is Domain Sharding implemented on your site, whats the content of the imgdir_* StyleVars?

Best regards
Sebastian

8thos 08-01-2011 05:25 AM

Quote:

Originally Posted by Osbes (Post 2227509)
Hello extreme-gaming,

sorry, since we are from germany our tools are also in german, but we will try to use an english version for the screenshots next time :)

Since Version 0.6.2 i have added support for URLs within the imgdir_* Stylevars, so you can use this addon with CDNs. So i would assume, that Domain Sharding also works.

How is Domain Sharding implemented on your site, whats the content of the imgdir_* StyleVars?

Best regards
Sebastian

I plan on using this modification in conjunction with domain sharding. I want an A across the board on webpagetest.org. First Byte Time is killing me. I keep getting an F.

final kaoss 08-01-2011 06:26 AM

I have them all set to (via stylevars)

Code:

/i1/
like /i1/icons
/i1/sprites

And now your plugin says:

Quote:

DF2
0 custom icons added.
0 imageprefixes for forums found.
38 icon candidates added.
/home/username/public_html/forum/i1/statusicon/category-16.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/category_forum_link.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/category_forum_new.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/category_forum_old_lock.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/category_forum_old.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/forum_link-16.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/forum_new-16.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/forum_old-16.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/forum_new_lock-16.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/forum_old_lock-16.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/forum_link-48.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/forum_new-48.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/forum_new_lock-48.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/forum_old-48.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/forum_old_lock-48.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/subforum_link-48.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/subforum_new-48.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/subforum_old-48.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/subforum_link.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/subforum_new.png does not exist or is not readable.
/home/username/public_html/forum/i1/statusicon/subforum_old.png does not exist or is not readable.
/home/username/public_html/forum/i1/buttons/lastpost-left.png does not exist or is not readable.
/home/username/public_html/forum/i1/buttons/lastpost-right.png does not exist or is not readable.
/home/username/public_html/forum/i1/misc/rss_40b.png does not exist or is not readable.
/home/username/public_html/forum/i1/misc/subscribed_40b.png does not exist or is not readable.
/home/username/public_html/forum/i1/site_icons/profile.png does not exist or is not readable.
/home/username/public_html/forum/i1/site_icons/forum.png does not exist or is not readable.
/home/username/public_html/forum/i1/site_icons/message.png does not exist or is not readable.
/home/username/public_html/forum/i1/site_icons/blog.png does not exist or is not readable.
/home/username/public_html/forum/i1/site_icons/homepage.png does not exist or is not readable.
/home/username/public_html/forum/i1/site_icons/article.png does not exist or is not readable.
/home/username/public_html/forum/i1/site_icons/add.png does not exist or is not readable.
/home/username/public_html/forum/i1/site_icons/email.png does not exist or is not readable.
/home/username/public_html/forum/i1/misc/users_online.png does not exist or is not readable.
/home/username/public_html/forum/i1/misc/event.png does not exist or is not readable.
/home/username/public_html/forum/i1/misc/birthday.png does not exist or is not readable.
/home/username/public_html/forum/i1/misc/forum_stats.png does not exist or is not readable.
/home/username/public_html/forum/i1/misc/legend.png does not exist or is not readable.
Starting with main.
0 icons added.
Creating sprite (width:1000px height:1px).

Warning: imagepng() [function.imagepng]: Unable to open '[path]/i1/sprites/sprite-16-main.png' for writing: No such file or directory in [path]/admincp/sprite.php on line 798
Error occurred: Unable to save sprite in /i1/sprites/sprite-16-main.png.
CSS template successfully updated.
Starting with forumdisplay.
0 icons added.
Creating sprite (width:1000px height:1px).

Warning: imagepng() [function.imagepng]: Unable to open '[path]/i1/sprites/sprite-16-forumdisplay.png' for writing: No such file or directory in [path]/admincp/sprite.php on line 798
Error occurred: Unable to save sprite in /i1/sprites/sprite-16-forumdisplay.png.
CSS template successfully updated.
Starting with forumhome.
0 icons added.
Creating sprite (width:1000px height:1px).

Warning: imagepng() [function.imagepng]: Unable to open '[path]/i1/sprites/sprite-16-forumhome.png' for writing: No such file or directory in [path]/admincp/sprite.php on line 798
Error occurred: Unable to save sprite in /i1/sprites/sprite-16-forumhome.png.
CSS template successfully updated.
Starting with showthread.
0 icons added.
Creating sprite (width:1000px height:1px).

Warning: imagepng() [function.imagepng]: Unable to open '[path]/i1/sprites/sprite-16-showthread.png' for writing: No such file or directory in [path]/admincp/sprite.php on line 798
Error occurred: Unable to save sprite in /i1/sprites/sprite-16-showthread.png.
CSS template successfully updated.
Quote:

Originally Posted by Osbes (Post 2227509)
Hello extreme-gaming,

sorry, since we are from germany our tools are also in german, but we will try to use an english version for the screenshots next time :)

Since Version 0.6.2 i have added support for URLs within the imgdir_* Stylevars, so you can use this addon with CDNs. So i would assume, that Domain Sharding also works.

How is Domain Sharding implemented on your site, whats the content of the imgdir_* StyleVars?

Best regards
Sebastian


Mooff 08-01-2011 09:51 AM

Are those files readable and the folder writeable for the username/group you are using for php?

DNCL 08-01-2011 09:56 AM

Quote:

Originally Posted by Mooff (Post 2227462)
If that doesn't work hit the sprite-refresh button in the acp and send us the output.

1 styles found.

Default Style
0 custom icons added.
0 imageprefixes for forums found.
Processing post icons.
14 post icons found.
Adding sidebar icons.
122 icon candidates added.
/forum/images/statusicon/forum_new_lock-16.png does not exist or is not readable.
/forum/images/statusicon/forum_old_lock-16.png does not exist or is not readable.
Starting with images/sprites/sprite-1-main.png.
97 icons added.
Creating sprite (width:1000px height:117px).
Sprite saved, updating css-rules.
Starting with images/sprites/sprite-1-main_rtl.png.
97 icons added.
Creating sprite (width:1000px height:117px).
Sprite saved, updating css-rules.
CSS template successfully updated.
Starting with images/sprites/sprite-1-forumdisplay.png.
0 icons added.
Sprite was not created.
Starting with images/sprites/sprite-1-forumdisplay_rtl.png.
0 icons added.
Sprite was not created.
CSS template successfully updated.
Starting with images/sprites/sprite-1-forumhome.png.
0 icons added.
Sprite was not created.
Starting with images/sprites/sprite-1-forumhome_rtl.png.
0 icons added.
Sprite was not created.
CSS template successfully updated.
Starting with images/sprites/sprite-1-showthread.png.
0 icons added.
Sprite was not created.
Starting with images/sprites/sprite-1-showthread_rtl.png.
0 icons added.
Sprite was not created.
CSS template successfully updated.

giorgino 08-01-2011 10:39 AM

Hi guys this template changes don't match:

Code:

Template: pagenav
5c5
Trova:
<span class="first_last"><a href="{vb:raw lastaddress}{vb:raw address2}<vb:if condition="$show['pagelinks']"><vb:if condition="$use_qmark">?<vb:else />&amp;</vb:if>page={vb:raw totalpages}</vb:if><vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase last_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw lastnumbers.first}, {vb:raw lastnumbers.last}, {vb:raw total}}">{vb:rawphrase last}<img src="{vb:stylevar imgdir_pagination}/last-{vb:stylevar right}.png" alt="{vb:rawphrase last}" /></a></span>

8c8
Trova:
<span class="prev_next"><a rel="next" href="{vb:raw nextaddress}{vb:raw address2}<vb:if condition="$show['pagelinks']"><vb:if condition="$use_qmark">?<vb:else />&amp;</vb:if>page={vb:raw nextpage}</vb:if><vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase next_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw nextnumbers.first}, {vb:raw nextnumbers.last}, {vb:raw total}}"><img src="{vb:stylevar imgdir_pagination}/next-{vb:stylevar right}.png" alt="{vb:rawphrase next}" /></a></span>

18c18
Trova:
<span class="prev_next"><a rel="prev" href="{vb:raw prevaddress}{vb:raw address2}<vb:if condition="$show['pagelinks']"><vb:if condition="$use_qmark">?<vb:else />&amp;</vb:if>page={vb:raw prevpage}</vb:if><vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase prev_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw prevnumbers.first}, {vb:raw prevnumbers.last}, {vb:raw total}}"><img src="{vb:stylevar imgdir_pagination}/previous-{vb:stylevar right}.png" alt="{vb:rawphrase previous}" /></a></span>

27c27
Trova:
<span class="first_last"><a rel="start" href="{vb:raw firstaddress}{vb:raw address2}<vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase first_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw firstnumbers.first}, {vb:raw firstnumbers.last}, {vb:raw total}}"><img src="{vb:stylevar imgdir_pagination}/first-{vb:stylevar right}.png" alt="{vb:rawphrase first}" />{vb:rawphrase first}</a></span>

30c30
Trova:
<span class="prev_next"><a rel="prev" href="{vb:raw prevaddress}{vb:raw address2}<vb:if condition="$show['pagelinks']"><vb:if condition="$use_qmark">?<vb:else />&amp;</vb:if>page={vb:raw prevpage}</vb:if><vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase prev_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw prevnumbers.first}, {vb:raw prevnumbers.last}, {vb:raw total}}"><img src="{vb:stylevar imgdir_pagination}/previous-{vb:stylevar right}.png" alt="{vb:rawphrase previous}" /></a></span>

40c40
Trova:
<span class="prev_next"><a rel="next" href="{vb:raw nextaddress}{vb:raw address2}<vb:if condition="$show['pagelinks']"><vb:if condition="$use_qmark">?<vb:else />&amp;</vb:if>page={vb:raw nextpage}</vb:if><vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase next_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw nextnumbers.first}, {vb:raw nextnumbers.last}, {vb:raw total}}"><img src="{vb:stylevar imgdir_pagination}/next-{vb:stylevar right}.png" alt="{vb:rawphrase next}" /></a></span>

43c43
Trova:
<span class="first_last"><a href="{vb:raw lastaddress}{vb:raw address2}<vb:if condition="$show['pagelinks']"><vb:if condition="$use_qmark">?<vb:else />&amp;</vb:if>page={vb:raw totalpages}</vb:if><vb:if condition="$anchor">#{vb:raw anchor}</vb:if>" title="{vb:rawphrase last_page} - {vb:rawphrase results_x_to_y_of_z, {vb:raw lastnumbers.first}, {vb:raw lastnumbers.last}, {vb:raw total}}">{vb:rawphrase last}<img src="{vb:stylevar imgdir_pagination}/last-{vb:stylevar right}.png" alt="{vb:rawphrase last}" /></a></span>


giorgino 08-01-2011 11:15 AM

1 Attachment(s)
I've upgraded from 0.6.3 to 0.7.0 and I've this issue

nikosb 08-01-2011 11:56 AM

Quote:

Originally Posted by giorgino (Post 2227598)
I've upgraded from 0.6.3 to 0.7.0 and I've this issue

the same on 0.7.0

Osbes 08-01-2011 12:19 PM

Sorry for the problems, there is update missing for the css-rule .threadbit .nonsticky a.threadstatus, .threadbit .sticky a.threadstatus in threadlist.css

Please change the original

Code:

.threadbit .nonsticky a.threadstatus, .threadbit .sticky a.threadstatus {
    background-position: {vb:stylevar padding} 4px;
    background-repeat: no-repeat;
    clear: right;
    display: block;
    float: left;
    position: relative;
    width: 60px;
}

to

Code:

.threadbit .nonsticky a.threadstatus, .threadbit .sticky a.threadstatus {
    background-repeat: no-repeat;
    clear: right;
    display: block;
    float: left;
    position: relative;
    width: 60px;
}

I will update to 0.7.0a which include this change in the TMS-rules in a few minute.


All times are GMT. The time now is 05:50 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.01593 seconds
  • Memory Usage 1,798KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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