vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Mini Mods - IE Style infobar Alert (https://vborg.vbsupport.ru/showthread.php?t=169300)

unitedpunjab 02-04-2008 10:01 AM

Quote:

Originally Posted by pericolosogr (Post 1435762)
what about vbadvanced cmps integration?
It doesnt show up right, css isnt workin...

Copy the contents of the css file to bottom Additional CSS Definitions box.

admincp > style manager > styles and templates > main css.

skrazydogz 02-05-2008 01:53 PM

For this people who wanted no border around the image, please use this code:

Code:

<if condition="$show[guest]">
      <!-- Infobar -->
      <link rel="stylesheet" href="clientscript/vbulletin_css/infobar.css" type="text/css">
                      <div id="info"><div id="infobar" align="left"><a href="register.php"><img src="images/alert.png" border="none" /> You are not registered yet. Please click here to register!</a></div></div>
      <!-- Infobar -->
      </if>


and for german sites please use this code:

Code:

<if condition="$show[guest]">
      <!-- Infobar -->
      <link rel="stylesheet" href="clientscript/vbulletin_css/infobar.css" type="text/css">
                      <div id="info"><div id="infobar" align="left"><a href="register.php"><img src="images/alert.png" border="none" /> Achtung! Du bist nicht registriert, klicke bitte hier um dich schnell und kostenlos anzumelden.</a></div></div>
      <!-- Infobar -->
      </if>


Boofo 02-05-2008 06:13 PM

Quote:

Originally Posted by unitedpunjab (Post 1435230)
Thanks,I have corrected the error.

You also need to correct the code in the first post. ;)

Quote:

Originally Posted by Magnumutz (Post 1433978)
Thanks, looks better then other versions.

How is it any different?

Boofo 02-05-2008 06:17 PM

Quote:

Originally Posted by skrazydogz (Post 1436744)
For this people who wanted no border around the image, please use this code:

Code:

<if condition="$show[guest]">
      <!-- Infobar -->
      <link rel="stylesheet" href="clientscript/vbulletin_css/infobar.css" type="text/css">
                      <div id="info"><div id="infobar" align="left"><a href="register.php"><img src="images/alert.png" /> You are not registered yet. Please click here to register!</a></div></div>
      <!-- Infobar -->
      </if>


and for german sites please use this code:

Code:

<if condition="$show[guest]">
      <!-- Infobar -->
      <link rel="stylesheet" href="clientscript/vbulletin_css/infobar.css" type="text/css">
                      <div id="info"><div id="infobar" align="left"><a href="register.php"><img src="images/alert.png" border="none" /> Achtung! Du bist nicht registriert, klicke bitte hier um dich schnell und kostenlos anzumelden.</a></div></div>
      <!-- Infobar -->
      </if>


So, where is the border=0?

pericolosogr 02-05-2008 06:55 PM

So who can just make that? And of course post it over here?

skrazydogz 02-06-2008 01:12 AM

in the german code is it correct.

I have fixed the englishversion with border="none".

Code:

<img src="images/alert.png" border="none" />

Boofo 02-06-2008 01:30 AM

It should be:

Code:

<img src="images/alert.png" border="0" />

skrazydogz 02-06-2008 05:53 AM

is the same ;)

Boofo 02-06-2008 07:24 AM

But not in line with how vb or anyone else does it. ;)

Brew 02-21-2008 06:05 AM

I get this error at the top of the page:

Warning: array_merge(): Argument #2 is not an array in /index.php(539) : eval()'d code on line 202

I used this code:

Code:

<if condition="$show[guest]">
      <!-- Infobar -->
      <link rel="stylesheet" href="clientscript/vbulletin_css/infobar.css" type="text/css">
                      <div id="info"><div id="infobar" align="left"><a href="register.php"><img src="images/alert.png" /> You are not registered yet. Please click here to register!</a></div></div>
      <!-- Infobar -->
      </if>

using vb ver 3.7b5


All times are GMT. The time now is 05:44 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.01300 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)bbcode_code_printable
  • (4)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