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)

Osbes 08-14-2011 07:11 AM

Hello FReeSTER,

most of the icons you listed are introduced by your style, if you want to add them you need to do this via the sprite_add_icon Hook. Please read "Google pagespeed still tells me that i should combine icons into sprites." in the FAQ for further information :)

I am currently working on 0.8.0 an have changed the Array for adding Icons a little bit, so i would advise to wait until the release of 0.8.0 before you add icons to the sprite, so you didnt need to change them a second time.


Regarding the not displayed threadicons, i think you forget this template-change:
Code:

Template: threadbit
1c1
<    <li class="threadbit {vb:raw thread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">
---
>    <li class="sprite_statusicon_thread_30 threadbit {vb:raw thread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">

Best regards
Sebastian

FReeSTER 08-14-2011 01:50 PM

Quote:

Originally Posted by Osbes (Post 2233301)
Hello FReeSTER,

most of the icons you listed are introduced by your style, if you want to add them you need to do this via the sprite_add_icon Hook. Please read "Google pagespeed still tells me that i should combine icons into sprites." in the FAQ for further information :)

I am currently working on 0.8.0 an have changed the Array for adding Icons a little bit, so i would advise to wait until the release of 0.8.0 before you add icons to the sprite, so you didnt need to change them a second time.


Regarding the not displayed threadicons, i think you forget this template-change:
Code:

Template: threadbit
1c1
<    <li class="threadbit {vb:raw thread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">
---
>    <li class="sprite_statusicon_thread_30 threadbit {vb:raw thread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}">

Best regards
Sebastian

Thank you mate, that did the job. :):up:
and yes i will wait for 0.8.0

klaus 08-14-2011 08:30 PM

I also had the problem post#300 had where icons don't show up in forumdisplay.

I relied on the TMS to automate my Template modifications for this product but it didn't modify the first line of threadbit because of another plugin/product I was running. Separate Sticky from NonSticky threads is the plugin that previously changed line1 in threadbit preventing the TMS from doing its job.

So if you have that plugin installed then the automated install of this product does not work and you need to modify threadbit by hand or uninstall the other plugin. I simply reverted threadbit to default (loosing the sticky plugin), but it did the trick.

Taurus1 08-15-2011 12:48 PM

I am sorry, but I had to disable this mod. TMS caused me to almost not being able to edit any template. And disabling TMS renders this mod useless. I really hope you can come up with a fix here. Thanks.

Osbes 08-15-2011 01:32 PM

Hello Taurus1,

if you have problems with TMS, please write them down in https://vborg.vbsupport.ru/showthrea...152931&page=44. I cant help you with the TMS.

Without TMS, maintaining the templateedits is very time-consuming. I knew it, since i do this manually on our forum.

Best regards
Sebastian

rajubd 08-17-2011 12:13 PM

When thread display version will be added? Then I will add it on my live board..

Mooff 08-17-2011 12:25 PM

Osbes is working on SHOWTHREAD right now, an alpha is running on our live board.

SHOWTHREAD is really tricky and needs a lot of creative thinking, therefore it unfortunately takes a bit longer than expected to weed out the unavoidable bugs. But it's going to be awesome. =)

Eagle Eyes 08-19-2011 06:07 PM

Do you have a live board running this?

Thank you.

rajubd 08-19-2011 06:44 PM

Alpha version working on here www.united-forum.de/?

datoneer 08-19-2011 11:30 PM

upon installation a new stylevar imgdir_sprite will be created. Update this stylevar based on your file structure - default value is the vbulletin sprite directory. Make sure the folder is writable, else the sprites can't be saved!

I don't understand this?? What do you mean with ths update stylevar what do need to do, i'm newbie for this stuff. How to make folder to be writeable


All times are GMT. The time now is 11:40 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.01447 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (1)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