vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=238123

Message for guests [CSS3] - force registration
by Radjedef
12 Mar 2010 22:39

3 Attachment(s)
Update 1.5 now online, check it out!


Guest Message

A little fixed (=> the message is always on top of the browser window) message which guest's says to register in the forums. There is a little warning image (thx, famfamfam!) and a link to the registration page. The message is CSS3 ready and got nice borders and a shadow.

Update 1.5: What's new

- Border radius now also for Safari and Google Chrome
- Warning Image improved
- New stylish background
- Color changes
- Wider message (can be changed)
- some fixes

How To Install:

1. Add HTML Code to your header Template (at the top):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Add CSS Code to your additional.css File (Templates > CSS > additional.css):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Upload images to the misc folder ("/images/misc/"). Image in the ZIP attachement.

That's it! :)

Special:


I added some more backgrounds (see attachment) which you can use.

Please rate and mark as installed, thx!

Markos 13 Mar 2010 00:09

tagged till i get on my main pc

DaMani 13 Mar 2010 00:36

where is the additional.css - i dont find it?

chriske 13 Mar 2010 03:58

Quote:

Add CSS Code to your additional.css File (Templates > CSS > additional.css):
Double click on CSS Templates, Goodluck!

Nice mod btw, Tagged & will install later :)

Manoel Júnior 13 Mar 2010 04:14

Very Thanks... Installed

Radjedef 13 Mar 2010 09:44

1 Attachment(s)
Happy you guys like it, thanks! :)

Screenshot where you can find the additional.css in the attachment.

Markos 13 Mar 2010 12:26

nice i got it installed :) is there any way to get it centered rather than on the right hand side of the forum

Kolbi 13 Mar 2010 12:49

Vielen Dank :)

Werde es mir genauer anschauen.

Radjedef 13 Mar 2010 13:29

Quote:

Originally Posted by Markos (Post 2002721)
nice i got it installed :) is there any way to get it centered rather than on the right hand side of the forum

yep, there is a way for that. Just copy this code:

Quote:

div.guestm {
max-width:150px;
min-height:18px;
position:fixed;
top:20px;
margin:auto;
background-color:#FEB966;
padding:2px 8px 5px 8px;
border:1px solid #000000;
z-index:1;
-moz-border-radius:4px;
-webkit-border-radius:4px;
-moz-box-shadow: 3px 3px 3px #666;
-webkit-box-shadow: 3px 3px 3px #666;
}

div.guestm img {
padding-top:2px;
}

if you want the message wider, just change the line in red.
enjoy :)

Markos 13 Mar 2010 13:44

hmmm that put it to the left of the forum i want it bang in the center lol

Radjedef 13 Mar 2010 13:49

Quote:

Originally Posted by Markos (Post 2002751)
hmmm that put it to the left of the forum i want it bang in the center lol

sorry, my fault :)

try this:

Quote:

div.guestm {
max-width:150px;
min-height:18px;
position:fixed;
top:20px;
background-color:#FEB966;
padding:2px 8px 5px 8px;
border:1px solid #000000;
z-index:1;
-moz-border-radius:4px;
-moz-box-shadow: 3px 3px 3px #666;
-webkit-box-shadow: 3px 3px 3px #666;
left:50%;
}

div.guestm img {
padding-top:2px;
}
again: edit the red line if you want a wider message ;)

merk_aus 13 Mar 2010 14:24

Thanks I have tagged this and will install later is 1:24am and I am tired and beat so going to bed but will install when i get up thanks.

Markos 13 Mar 2010 15:09

Quote:

Originally Posted by Radjedef (Post 2002753)
sorry, my fault :)

try this:



again: edit the red line if you want a wider message ;)

thanks :)

Dr.osamA 15 Mar 2010 03:15

thanxxx

installed +5
________
Creampie Ebony

Radjedef 15 Mar 2010 15:56

Quote:

Originally Posted by Dr.osamA (Post 2003821)
thanxxx

installed +5

Thanks! :)


All times are GMT. The time now is 02:01.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.