Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Infobar On All Pages Details »»
Infobar On All Pages
Version: 1.0.4, by dartho dartho is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 12-11-2006 Last Update: 01-13-2007 Installs: 156
Supported Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  

This is an modification/extension to Slapyo's "Information Bar for Guests" mod found over HERE

I used his mod for advertising features or events on my site such as when a few people got together in Chat, or if I wanted to bring everyones attention to specific page or thread. I didnlt like editing the templates by hand each time I changed the text or URL, thus this install.

You can control the Text, URL and which usergroups will see the Inforbar via the AdminCP.

As of 1.0.4 you can have 2 different Infobars display to 2 different usergroups, say one for guests encouraging them to register and one for registered users informing them of a new feature or upcoming event or asking them to donate dollars....

No checking is done on this - I suggest you don't enable multiple infobars for the same usergroup!

The CSS and GIF files included are from Slapyo's add-on.

Instructions:
Upload 3 files to your forum root
Import Product File
Modify URL, Text and enable Infobar in vBulletin Options (Infobar) in your AdminCP.

Tested on 3.6.4

Version History
1.0.1 Initial Release
1.0.2 Usegroup Conditionals Added in AdminCP
1.0.3 Internal Update
1.0.4 Now supports 2 Infobars for different usergroups

Upgrade instructions, install new XML, re-enter your Infobar settings in AdminCP in required

Show Your Support

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

Comments
  #52  
Old 10-06-2007, 06:37 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK - I just had a look at your site, and the code for the infobar is there on your portal and forum page. Paths used in this add-on assume that all required files are in the current directory. I *think* you may need to copy the css and image files to your root webspace in addition to your forum root.
Reply With Quote
  #53  
Old 12-29-2007, 04:44 PM
xcingix's Avatar
xcingix xcingix is offline
 
Join Date: Feb 2006
Location: Brooklyn, NY
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I changed
Code:
#infobar a:hover {
	color: #FFF;
	background: #3169B6 url(warning2.gif) no-repeat fixed .3em .3em;
}
to
Code:
#infobar a:hover {
	color: #FFFFFF;
	background: #3169B6 url(warning2.gif) no-repeat fixed .3em .3em;
}
and the hover color of the text is still black.
Any ideas?

This wouldn't have to be updated for 3.7.0 would it?
Reply With Quote
  #54  
Old 12-29-2007, 09:20 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't tested this on any 3.7 betas yet - but would imagine any issues.

As for the text color not changing to white, The only thing I can think of is that there is another CSS declaration over-riding this one.

Do you have a link where I can look at your issue?
Reply With Quote
  #55  
Old 12-31-2007, 02:35 PM
xcingix's Avatar
xcingix xcingix is offline
 
Join Date: Feb 2006
Location: Brooklyn, NY
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
I haven't tested this on any 3.7 betas yet - but would imagine any issues.

As for the text color not changing to white, The only thing I can think of is that there is another CSS declaration over-riding this one.

Do you have a link where I can look at your issue?
How do you suggest I try and figure out whats interfering because Im looking at all the CSS here and don't see another infobar
Reply With Quote
  #56  
Old 01-01-2008, 09:49 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's got me buggered - esp since the CSS obviously works for the "background"...

I'll test it under 3.7 soon and see if there is some issue there.
Reply With Quote
  #57  
Old 01-01-2008, 10:02 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just tested on a vanilla 3.7 B3 and works as expected.

Havikng a look at your site, I see that you have the infobar.css declaration as well as teh contents of the infobar.css in your regular style css (clientscript/vbulletin_css/style-d6c0460d-00215.css). I suggest you only have it declared a single time - try editing the the "Add Infobar" plugin and commenting out the 2 occurrences of
Code:
$StrTmp = '<!-- ADDINFO BAR PLUGIN -->\n<link rel=\"stylesheet\" href=\"infobar.css\" type=\"text/css\" />\n<!-- END ADDINFO BAR PLUGIN -->\n';
$vbulletin->templatecache['headinclude'] = $StrTmp . $vbulletin->templatecache['headinclude'];
Then the CSS should only be declared once
Reply With Quote
  #58  
Old 01-01-2008, 12:26 PM
xcingix's Avatar
xcingix xcingix is offline
 
Join Date: Feb 2006
Location: Brooklyn, NY
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
It's got me buggered - esp since the CSS obviously works for the "background"...

I'll test it under 3.7 soon and see if there is some issue there.
i commented them out and now the infobar doesn't work.
Also the infobar was doing the same thing before i added the second occurrence in the css.
i added it as a troubleshooting step.

[edit]
now i got rid of the infobar classes in my extra CSS and left the product as is and re-imported and it's still black.
please help.
Reply With Quote
  #59  
Old 05-12-2008, 10:11 AM
Mesohu Mesohu is offline
 
Join Date: Jan 2008
Location: Kosova / Albania
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed in vB 3.7 & works without problems.

Great job .

* mark as installed.

Maybe in the future you will upgrade it for vB 3.7 .
Reply With Quote
  #60  
Old 01-27-2009, 09:35 AM
ADomoWorld ADomoWorld is offline
 
Join Date: Jan 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Id like to see this stay at the top of the browser.. its easy in ACP controls are soo nice
Reply With Quote
  #61  
Old 05-10-2009, 06:16 AM
enterhaken enterhaken is offline
 
Join Date: Feb 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

works this nice addon with 3.8.2?
Reply With Quote
Reply


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 04:09 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.10134 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (2)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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