Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
IE Style infobar Alert Details »»
IE Style infobar Alert
Version: 1.00, by unitedpunjab unitedpunjab is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.0 Beta 6 Rating:
Released: 01-31-2008 Last Update: 02-02-2008 Installs: 60
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

IE Style infobar Alert

This little mod is very similar to this mod.
https://vborg.vbsupport.ru/showthread.php?t=120784
Just a different style.

Installation.
  1. Upload infobar.css from the attached zip to /clientscript/vbulletin_css
  2. Upload alert.png to /images
  3. Edit header template and add this code at the top.
    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">You are not registered yet. Please click here to register!</a></div></div>
    <!-- Infobar -->
    </if>

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-01-2008, 12:53 AM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seen it before
Reply With Quote
  #3  
Old 02-01-2008, 05:42 AM
skrazydogz skrazydogz is offline
 
Join Date: Apr 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant see the picture in front of the sentence (alert.png)
Reply With Quote
  #4  
Old 02-01-2008, 07:22 AM
seangworld's Avatar
seangworld seangworld is offline
 
Join Date: Sep 2002
Location: Chesapeake, VA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good deal.
Reply With Quote
  #5  
Old 02-01-2008, 02:42 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, looks better then other versions.
Reply With Quote
  #6  
Old 02-03-2008, 06:44 AM
Chewitt Chewitt is offline
 
Join Date: Aug 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i dont get the alert pic showing up either
Reply With Quote
  #7  
Old 02-03-2008, 06:50 AM
Chewitt Chewitt is offline
 
Join Date: Aug 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in the Zip file it list the template eddit as
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">You are not registered yet. Please click here to register!</a></div></div>
      <!-- Infobar -->
      </if>[
when infact it should be
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">You are not registered yet. Please click here to register!</a></div></div>
      <!-- Infobar -->
      </if>
due to there been a rouge [ in it your header displays wrongly, but that dont solve the alert problem
Reply With Quote
  #8  
Old 02-03-2008, 06:55 AM
Chewitt Chewitt is offline
 
Join Date: Aug 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fixed it this code works and shows the alert image, hope you dont mind.
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>
Reply With Quote
  #9  
Old 02-03-2008, 10:07 AM
unitedpunjab unitedpunjab is offline
 
Join Date: Feb 2006
Location: Scotland
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks,I have corrected the error.
Reply With Quote
  #10  
Old 02-04-2008, 02:12 AM
pericolosogr pericolosogr is offline
 
Join Date: Mar 2007
Location: Greece
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about vbadvanced cmps integration?
It doesnt show up right, css isnt workin...
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04407 seconds
  • Memory Usage 2,285KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete