vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Information Bar for Guests (https://vborg.vbsupport.ru/showthread.php?t=123117)

Slapyo 08-04-2006 10:00 PM

Information Bar for Guests
 
https://vborg.vbsupport.ru/showthread.php?t=72279 - Original hack for 3.0.x
https://vborg.vbsupport.ru/showthread.php?t=97150 - Hack for 3.5.x

What is this?
This will display an information bar across the top of the browser window that appears to be like the Information Bar that is from Windows XP SP2. When the user clicks it they will be sent to the registration page for your forums. This is not a popup.

If the user is logged in then this will not display at all. This only appears on the page for people who are not logged in.

http://www.veteransresources.org/forums/index.php? - Example Site

How many changes?
  • Uploads: 4
    • infobar.css
    • infobar.wav (optional)
    • warning.gif
    • warning2.gif
  • File edits: 0
  • Template edits: 2
    • headinclude
    • header
  • New templates: 0
  • Queries: 0

Version History
  • 1.05
    • fix for Firefox (Bytecon)
  • 1.04
    • added info bar sound (Lionel)
  • 1.03
    • no javascript required now
    • works in Firefox
  • 1.02
    • removed information bar any browser other than IE
  • 1.01
    • removed information bar from login and registration pages (Lionel)
  • 1.00
    • initial release

Screenshots
Guest on forums
Guest hovering over info bar

Please click Install this Modification if you like it.

Posof 08-05-2006 03:07 PM

:)


Nice just what i need..


Thanks

project-Buckfas 08-05-2006 03:54 PM

Reserved.

Snake 08-05-2006 04:39 PM

Thank you! :)

rmxs 08-05-2006 08:56 PM

I ask beffore in the old version byt nothing..

I try again here Its poosible the bar follow the screen??

Slapyo 08-06-2006 07:35 AM

I'm sure there is a way but I haven't looked into it. The last time I did it would work in 1 browser but not the other. I couldn't get it working the same in both. If anyone can, post the code and I'll include it.

PersianImmortal 08-06-2006 10:59 AM

Looks good.

Just a question before I install - does this allow you to set the usergroup for which the bar appears?

In my case, I'd prefer for the bar to appear for new registrants, prompting them to read the forum rules first before posting.

So I guess it might be a different mod, but if you could do the same thing so that all Registered Members see this popup until they click to go to the relevant link (forum rules in my case), and after that it doesn't appear again. I think something along those lines would be in even greater demand :)

Slapyo 08-06-2006 02:55 PM

You could probably set something up ... just change the IF statement around. Right now it looks for guests.

tpzone 08-07-2006 05:07 AM

installed, very nice. thank you.

one question. using CMPS with it on vB3.6 and the 'home' page it just shows up as a link and not with the fancypants box around it. is there a way to get it to display on the main portal page as well? i don't mind the plain text link asking people to register but the box version that's on all the other pages does look nicer.

thanks!

Slapyo 08-07-2006 12:39 PM

You will need to adjust the style sheet and where it points to for images ... maybe point the sheet to http://www.domain.com/forums/infobar.css and then open that up and point the images to the same ... include the full url to the image.


All times are GMT. The time now is 10:38 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.01114 seconds
  • Memory Usage 1,734KB
  • 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
  • (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