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
  #2  
Old 12-12-2006, 01:16 AM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im using the 3.5.4 version works on my 3.6 but this looks like the exact same screen shot and easier to manipulate
good job
Reply With Quote
  #3  
Old 12-12-2006, 01:35 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The infobar itself will look identical as it is using the same CSS file and Gif's.

It is easier to manipulate, but cut back slightly on what it does , which is perfectly useful for what I use it for!

The main addition I would like is that I would like to be able to schedule it being enabled/disabled but don;t know how
Reply With Quote
  #4  
Old 12-12-2006, 02:08 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Added UserGroup conditionals for displaying the information bar
Reply With Quote
  #5  
Old 12-12-2006, 03:17 AM
lovelypk lovelypk is offline
 
Join Date: Oct 2005
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Was looking for something like this.
Thanks
Reply With Quote
  #6  
Old 12-12-2006, 05:13 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Due to using a portal (not VB in anyway), what would i need to remove from the product so that i could manually add the template codes please? I would need the code to go in the portals header template.....
Reply With Quote
  #7  
Old 12-12-2006, 07:21 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check teh original version of this hack HERE

to do this manually in a non-VB page, just upload the files and add the following to any web page you want to have an infobar on:

put this in your <head> </head> section
HTML Code:
<link rel="stylesheet" href="infobar.css" type="text/css" />
and this at the top of your <body> </body> section - first line preferably
HTML Code:
<div id="infobar">
<a href="http://google.com"><p>Click here to go to Google...</p></a></div>
Of course changing the link and text to what you require...

What portal system you using? Or is it custom?
Reply With Quote
  #8  
Old 12-12-2006, 08:47 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work. Thanks.
Reply With Quote
  #9  
Old 12-12-2006, 10:31 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. Works good.
Reply With Quote
  #10  
Old 12-12-2006, 10:42 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks - I wanted something liek this for ages - as a non-coder, it took me a while to work it out. Once I did - it was relatively easy

I'd still like help to CRON/Schedule enabling/disabling it...
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 02:08 PM.


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.04265 seconds
  • Memory Usage 2,289KB
  • 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
  • (2)bbcode_html
  • (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