vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   how do they use "tilesets" to set buttons? (https://vborg.vbsupport.ru/showthread.php?t=233539)

cloferba 01-19-2010 02:05 PM

how do they use "tilesets" to set buttons?
 
http://www.psicofxp.com is using vbulletin

but i dont know how they set buttons, user titles using this image

http://www.psicofxp.com/themes/revol...s_rev_blue.png

Lynne 01-19-2010 03:30 PM

I don't understand your question.

cloferba 01-19-2010 10:00 PM

well..let me explain

a button..uses a png image (on 3.8.4 for example)

here..on this forum (psicofxp)...a button is not a one png image...

on other words:
on vb 3.8.4..on a button...right click..view image..displays a one png image
on psicofxp forum...right click..view image..displays the image on first post

how do they that?

Lynne 01-19-2010 11:39 PM

If you look at the css for the stats which is the box with the arrow thingie in the very left side - 4th down, it looks something like this:
HTML Code:

.foro_stats {
...background:transparent url(/themes/revolution/imagenes/general/sprite_forums_rev_blue.png) no-repeat scroll 0 -284px;
height:48px;
width:144px;
}

So, they start at position 0 (x-direction) -284px (y-direction) and then from that point, the image is 48px height and 144px wide.

cloferba 01-20-2010 12:22 AM

thank you lynne...but..what are the adventages to use this method?

prevent copy of images?

Lynne 01-20-2010 03:36 AM

Quote:

Originally Posted by cloferba (Post 1960740)
thank you lynne...but..what are the adventages to use this method?

prevent copy of images?

Doubtful, since the image is right there. I don't know what the advantage it except that you download it once, it gets cached, and you won't have to download those images on any other page.


All times are GMT. The time now is 08:04 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.01292 seconds
  • Memory Usage 1,720KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete