vb.org Archive

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

Slapyo 09-28-2005 10:00 PM

Information Bar for Guests
 
https://vborg.vbsupport.ru/showthread.php?t=72279 - Original hack for 3.0.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.

ggiersdorf 09-29-2005 05:08 PM

What if a user has a pop-up or ad blocker turned on can they easily bypass this screen? I really want something that covers part of the screen for like 30 seconds on each page they view asking them to register.. I hate lurkers...but I understand they need to see things in order to join..

Slapyo 09-29-2005 05:11 PM

This won't be blocked by a pop-up blocker. It is just a <div> that shows at the top of the screen. Visit my site for an example.

Zachery 09-29-2005 06:05 PM

Personally I hate thise template modification, its just a way to trick your users....

Bad Bunny 09-29-2005 06:20 PM

I just get a black row at the top that hovers white with no text. Looks so goofy to me.

gethinoakes 09-29-2005 07:51 PM

Thanks :)

theArchitect 09-29-2005 11:16 PM

What section of the screen should I mouse over?

I have moved over every part of the screen (on your site) and nothing changes.

I am running FireFox on a Mac.

And before anyone says I know, Mac users are the most valuable and important demographic on the net.;)

Slapyo 09-29-2005 11:29 PM

can you provide a link to the forum so i can see if it works in IE? i tried the one in your signature but that doesn't have this hack installed.

theArchitect 09-29-2005 11:38 PM

Quote:

Originally Posted by Slapyo
can you provide a link to the forum so i can see if it works in IE? i tried the one in your signature but that doesn't have this hack installed.

Sorry, I haven't installed it, I just clicked onto your veterans forum and it wasn't working for me there.

Slapyo 09-30-2005 12:14 AM

I'm in the middle of the upgrade to 3.5.0 right now.

Slapyo 09-30-2005 02:39 AM

It's working now on my 3.5.0 upgrade, I didn't make any changes to the hack when I upgraded.

Rich 10-01-2005 10:09 AM

Hello,

I don't like this either. I almost clicked it thinking I was seeing an error before I realized THAT was what you added. I am not trying to "trick" people into joining my site.

gothicuser 10-02-2005 10:18 AM

Very nice, installed faultlessly, works perfectly.

:) :)

ProperMethodz 10-03-2005 11:57 PM

Quote:

Originally Posted by Zachery
Personally I hate thise template modification, its just a way to trick your users....

its a way to trick your non-users... :p I like!

Pramodinfo 10-04-2005 06:12 AM

Thanks.. Working Fine in VB 3.5.0

KeithMcL 10-05-2005 11:33 AM

Quote:

Originally Posted by Zachery
Personally I hate thise template modification, its just a way to trick your users....

Same here. I've seen a few forums have this and it's annoying.

Brandon Sheley 10-12-2005 03:18 AM

/me installs
works fine, I need all the help I can get...lol

Lea Verou 10-12-2005 04:05 AM

Quote:

Originally Posted by Zachery
Personally I hate thise template modification, its just a way to trick your users....

Same here too. I never register in a forum that has this thing. It makes me think that they underestimate my IQ :p

Robru 10-17-2005 12:25 PM

Great!, thanks for your perfect mod.

Avalon111 10-18-2005 07:22 AM

just what i needed!!!

rb290 10-24-2005 02:05 AM

"UPLOAD to vB folder"

sorry i dont know where that is ^

Slapyo 10-24-2005 11:40 PM

Quote:

Originally Posted by rb290
"UPLOAD to vB folder"

sorry i dont know where that is ^

The folder where you installed vB.

lanc3lot 10-30-2005 12:51 PM

Hello, its a great hack this, thnx for sharing:)
One question though, could be added a feature, where it could show the same bar, to the users that havent did yet their first post?
I mean, as a 2nd ability to this hack.

Hope it can be done, thnx again:)

Slapyo 10-30-2005 06:23 PM

I'm sure it could ... just look for a hack that shows something for people who haven't posted and use that conditional.

lanc3lot 11-01-2005 09:10 PM

Hm i wondering if u can explain what u mean with that or even add that to the hack as a feature, as my coding abilities are limited:)

Anyway, thnx again:)

Slapyo 11-03-2005 01:04 AM

Works in 3.5.1 no problem, just need to make the changes after your revert your templates.

Slapyo 11-03-2005 11:03 PM

Quote:

Originally Posted by lanc3lot
Hello, its a great hack this, thnx for sharing:)
One question though, could be added a feature, where it could show the same bar, to the users that havent did yet their first post?
I mean, as a 2nd ability to this hack.

Hope it can be done, thnx again:)

You can put this conditional in as well.
Code:

condition="$bbuserinfo[posts]<1"
That will make it show for people who have not posted.

lanc3lot 11-04-2005 02:24 AM

Quote:

Originally Posted by Slapyo
You can put this conditional in as well.
Code:

condition="$bbuserinfo[posts]<1"
That will make it show for people who have not posted.


And we put that where? I mean, we repeat the if code at headinclude again, with this conditional or in the head instead? (or both!)

Thnx again for this help :)

Slapyo 11-04-2005 03:44 AM

Code:

<if condition="(($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')) OR ($bbuserinfo['posts']<1)">
That is untested, so I don't know if that will work or not. But I think it should.

lanc3lot 11-05-2005 07:29 AM

Thnx its working:)

Great hack mate:D

Duncan 11-06-2005 12:14 AM

Thanks for creating this,

I've installed it for my forum and it's working great. Most of the guests who visit my forum have never visited a forum before. This helps them out.

Duncan-

davidw 11-12-2005 09:41 PM

Although its a nice hack, I'm not sure at the moment if I'd use it.
However... :) - As a disabled veteran - I am honored that you have a site like this for veterans. I may have to do some visiting... :)

SugarDadE 11-15-2005 10:11 PM

this is an awesome lil mod! The noise is cool but it gets annoying too quick so I disabled mine.

lanc3lot 11-16-2005 03:43 PM

Its a great hack indeed...Any way we can use more conditionals with it?For example add the feature, to show a message to users that havent be posted for 10 days in the forum. I dont know how to syntax that though :(

Anyway, great hack:)

Slapyo 11-18-2005 03:26 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=99579" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=99579</a>

Look at the conditionals in that hack. Maybe combine the 2 hacks.

lanc3lot 11-18-2005 08:21 AM

okie dokie, thnx again:)

bashy 12-07-2005 06:37 PM

Whoopsy....someting dont look right...any ideas please?

Bashy

Slapyo 12-08-2005 01:24 PM

It needs to go in the overall header of the site. I'm not exactly sure how to install it with a CMPS. But if someone gives me the right directions on how to do it I will include it.

cbr929rrerion 12-08-2005 01:30 PM

put it at the top of common templates > header thats where mines is and I have vb 3.5 and cmps 2.0

Slapyo 12-09-2005 04:46 AM

Works with 3.5.2 ... no changes.


All times are GMT. The time now is 10:07 AM.

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.01346 seconds
  • Memory Usage 1,808KB
  • 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
  • (3)bbcode_code_printable
  • (7)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
  • (40)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