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)

Taurus1 08-07-2011 06:11 AM

EDIT: Disregard. Sorry, I get it now. I just need to add the one part of that code in my threadbit templates.

Osbes 08-07-2011 06:13 AM

Hello Taurus1

Quote:

EDIT: lol, OK, I get it. I am a slow learner. If I remove that part in the additional.css the search icon shows but the little block is gone. Yet I can change the image in forums>images>buttons>search.png, but will that not then change it on all other skins also?
If the other Styles use this path also for the stylevar imgdir_button, than this will also change the other styles.

So i think it would be better to use antoher folder for the style with the special background for the magnification glass.

Best regards
Sebastian

Osbes 08-07-2011 06:16 AM

Quote:

Originally Posted by Taurus1 (Post 2230404)
So do I just add this to my threadbit template, and where?

Code:

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}">

You need to search in the templates for the iSupport for "threadbit".

There should be something like

Code:

<li class="threadbit ...">
there, add the sprite_statusicon_thread_30, so it looks like

Code:

<li class="sprite_statusicon_thread_30 threadbit ...">
Since i didnt know this addon, i cant tell you which is the themplate they use.

Edit:
You need to refresh all styles, there is currently no option to refresh a single style.

Best regards
Sebastian

NgocTam 08-07-2011 07:08 AM

pls add
post_old.png
post_new.png

Osbes 08-07-2011 07:20 AM

Hello NgocTam,

support for icons within SHOWTHREAD will be added in 0.8.0.

Best regards
Sebastian

Taurus1 08-07-2011 07:32 AM

Thank you very much for all your help. I think I got everything sorted now. If you have a moment sometime, I would really appreciate it if you could just check on my forum, and see if everything is correct. Thank you!

Andyrew 08-07-2011 07:45 AM

Can you tell me why the icons on forum home are broken in IE. They seem to be OK in firefox now but not IE. http://www.airgunforum.co.uk/forums/forum.php

Osbes 08-07-2011 08:12 AM

1 Attachment(s)
Hello Andyrew,
i cant reproduce this, everthing seems fine for me (see attached screenshot).

What exactly did you mean by "broken" and what is the version of your IE?
Maybe this is a problem with your browser cache?

Best regards
Sebastian

Andyrew 08-07-2011 09:24 AM

1 Attachment(s)
That's odd. I have deleted cache and it still looks the same. I am using IE 9, here is what I see.

Update: I have told IE to reset to default settings and everything is now working fine. :up::D

Must have been something I changed a while ago.

NgocTam 08-08-2011 01:25 AM

Sprite was not created ????
Quote:

0 imageprefixes for forums found.
Processing post icons.
14 post icons found.
116 icon candidates added.
Starting with styles/summer/sprites/sprite-2-main.png.
93 icons added.
Creating sprite (width:1000px height:117px).
Sprite saved, updating css-rules.
Starting with styles/summer/sprites/sprite-2-main_rtl.png.
93 icons added.
Creating sprite (width:1000px height:117px).
Sprite saved, updating css-rules.
CSS template successfully updated.
Starting with styles/summer/sprites/sprite-2-forumdisplay.png.
0 icons added.
Sprite was not created.
Starting with styles/summer/sprites/sprite-2-forumdisplay_rtl.png.
0 icons added.
Sprite was not created.
CSS template successfully updated.
Starting with styles/summer/sprites/sprite-2-forumhome.png.
0 icons added.
Sprite was not created.
Starting with styles/summer/sprites/sprite-2-forumhome_rtl.png.
0 icons added.
Sprite was not created.
CSS template successfully updated.
Starting with styles/summer/sprites/sprite-2-showthread.png.
0 icons added.
Sprite was not created.
Starting with styles/summer/sprites/sprite-2-showthread_rtl.png.
0 icons added.
Sprite was not created.
CSS template successfully updated.


All times are GMT. The time now is 04:22 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.01392 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
  • (3)bbcode_code_printable
  • (3)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