vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Board Optimization - Put Your Logo on CSS [vBulletin] (https://vborg.vbsupport.ru/showthread.php?t=261013)

TheGrimReaper2 04-05-2011 09:51 PM

One of my users is reporting that they only see a link on the browser they are using (chrome) but It works for me (Opera). Any ideas?

It shows up as a link for me on some pages as well for some reason.

raulin 06-05-2011 04:11 AM

Thanks

Hdeaf.com 06-06-2011 04:53 AM

<font color="DarkOrange">Thanks .....</font>

doctorsexy 06-10-2011 02:13 PM

Works...thanks

fxwoody 07-03-2011 08:55 AM

Good one Logect! Cut my loading time from 10.76 seconds to 6.7 seconds!

Cudo my friend ;)

reddyink 08-17-2011 05:05 PM

one problem with this is that if you have a forum http://localhost/yoursuite/ and after doing the changes as mentioned here, clicking on log will direct you to localhost instead of correct location of install (localhost/yoursuite)

Akangage 08-28-2011 03:49 AM

Wow.... great :) i change lil' bit to mine in order to avoid disorder of style template, like this one
Code:

#vbulletin_logo {
background-image: url(http://localhost/****/****/****/logo.png);
background-repeat: no-repeat;
height: 100px;
width: 270px;
position:relative;
float: left;
left: 15;
top: 30px;
}


maxie 09-20-2011 02:05 AM

nice code but my header is modefied with some code, i cant use this css, so sad

HMBeaty 09-20-2011 02:15 AM

Just a suggestion....

Instead of this:
Quote:

Originally Posted by tarzan22 (Post 2178386)
With:
Code:

<a href="{vb:link forumhome}{vb:raw session.sessionurl_q}" title="YOUR TITLE" id="vbulletin_logo">YOUR WEBSITE NAME</a>
use following code, if you are using the vbulletin suite version.
Code:

<a href="{vb:raw vboptions.homeurl}{vb:raw session.sessionurl_q}" title="YOUR TITLE" id="vbulletin_logo">YOUR WEBSITE NAME</a>

Use this:
HTML Code:

<vb:if condition="$vb_suite_installed">
    <a href="{vb:raw vboptions.homeurl}{vb:raw session.sessionurl_q}" title="YOUR TITLE" id="vbulletin_logo">{vb:raw vboptions.bbtitle}</a>
<vb:else />
    <a href="{vb:link forumhome}{vb:raw session.sessionurl_q}" title="YOUR TITLE" id="vbulletin_logo">{vb:raw vboptions.bbtitle}</a>
</vb:if>


OldSchoolDSL 11-22-2011 10:23 PM

I used the above suggestion, but changed the code from the author to this

PHP Code:

#vbulletin_logo {
background-imageurl(http://www.YOURWEBSITE.com/images/logo.png); 
display:block;
background-repeatno-repeat
text-indent:-9999px;;
position:relative;
min-height:65px;


The mid-height values and site values you can change as needed.


All times are GMT. The time now is 03:35 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.01044 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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