vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Suite Style - Avenger Blue Style by TheLastSuperman (https://vborg.vbsupport.ru/showthread.php?t=269253)

TheLastSuperman 01-20-2014 08:46 PM

ahh so ok on the optimizing images note, I found the option in my image editing program for .png it's "Posterize" here is a nifty bit of info too - http://www.smashingmagazine.com/2009...on-techniques/

How were you going to optimize the images Ozzy? I've only ever thought to optimize .jpg and .gif honestly using default options available not "posterize" so some of this is a little new to me.

ozzy47 01-20-2014 08:49 PM

I tried doing them all, but I can not get any better results from the page test, without screwing up some of the images. So I think they are fine just the way they are, I was just looking to speed up the page load but not if it is going to degrade the images.

TheLastSuperman 01-20-2014 09:18 PM

Hmm I optimized some others (not from this style) using posterize and one example took it from 1.46mb down to 1.05mb and the image looked fine I zoomed in a little as I noted that article said it clumps color regions together. I didn't notice any clumping using the value suggested of 40 but it could vary by image per their example of the image on the background (the image they showed w/ the little Earth globe) so I'll do this later on and simply check each image as I go and refresh the style each time.

If the image looks ok then it is optimized, even if just a little it still helps and if the image looks bad I will not modify the original ;).

ozzy47 01-20-2014 09:23 PM

Cool, cause me and graphics are like water and oil. :)

kandalf 01-20-2014 11:46 PM

First off, Very nice work you did !
Now i got a problem and cant find the solution anywhere.
I added my logo to it but your logo is still in the background, any idee's ?
http://godsgrace.the-remedy.be/

ozzy47 01-21-2014 12:24 AM

How is it that you added your logo? You should have changed the stylevar titleimage, found under the group, ImagePaths.

TheLastSuperman 01-21-2014 01:29 AM

Quote:

Originally Posted by kandalf (Post 2475665)
First off, Very nice work you did !
Now i got a problem and cant find the solution anywhere.
I added my logo to it but your logo is still in the background, any idee's ?
http://godsgrace.the-remedy.be/

See below...

Quote:

Originally Posted by ozzy47 (Post 2475679)
How is it that you added your logo? You should have changed the stylevar titleimage, found under the group, ImagePaths.

Correct ^ and thanks Ozzy.

The css for the header logo still references the stylevar "titleimage" ;).

Code:

.abimage {
        background: url({vb:stylevar titleimage}) center center no-repeat !important;
        height: 155px !important;
        margin-left: 0px !important;
}

Edit: Now that I took another minute to look at it, I realized you were simply trying to make the logo clickable as well, to do this simply edit template header...

Find:
Code:

                    <div class="ablogo">
<div class="abimage"><a name="top" href="{vb:link forumhome}"><vb:comment><img src="images/avenger_blue/misc/home.png" width="960px" height="150px" alt="{vb:raw vboptions.bbtitle}" /></vb:comment></a></div>
</div>


Fixed Width Replace with:
Code:

                    <div class="ablogo">
<div class="abimage"><a name="top" href="{vb:link forumhome}"><img src="images/avenger_blue/misc/home.png" width="960px" height="150px" alt="{vb:raw vboptions.bbtitle}" /></a></div>
</div>

Fluid Width Replace with:
Code:

                    <div class="ablogo">
<div class="abimage"><a name="top" href="{vb:link forumhome}"><img src="images/avenger_blue/misc/home.png" width="100%" height="150px" alt="{vb:raw vboptions.bbtitle}" /></a></div>
</div>


Now the logo is clickable.
*Additionally this utilizes a transparent image so anyone right-clicking to copy your logo will not be able to, they can still obtain the url via source code or firebug for example though.

crazyboy1661 01-21-2014 05:29 AM

Superb Style TheLastSuperman. Installed on our live board and it is absolutely nice. Rated 5.

kandalf 01-21-2014 10:34 AM

Thanks ! Fixt now !

ozzy47 01-21-2014 11:12 PM

Quote:

Originally Posted by TheLastSuperman (Post 2475698)
*Additionally this utilizes a transparent image so anyone right-clicking to copy your logo will not be able to, they can still obtain the url via source code or firebug for example though.

Say what? All they have to do is select View Background Image, when they right click, and then they can grab it from there, or am I missing something.


All times are GMT. The time now is 10:14 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.01446 seconds
  • Memory Usage 1,745KB
  • 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
  • (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