Message for guests [CSS3] - force registration
Hello & Welcome to our community. Is this your first visit? Đăng Ký
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Kết quả 1 đến 1 của 1
  1. #1
    Thành Viên PandavB's Avatar
    Ngày tham gia
    Feb 2014
    Bài viết
    243
    Thanks
    1
    Thanked 13 Times in 11 Posts

    Icon14 Message for guests [CSS3] - force registration

    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):
    HTML Code:
    PHP Code:
    <vb:if condition="$show['guest']"><div class="guestm"> <img src="images/misc/warning.png" /> <b>Hello guestIt looks like you aren't a member already. Get now full access and <a href="register.php">register for free!</a></b></div></vb:if> 
    2. Add CSS Code to your additional.css File (Templates > CSS > additional.css):
    HTML Code:
    PHP Code:
    div.guestm {
    -
    webkit-border-radius:4px;
    -
    moz-border-radius:4px 4px 4px 4px;
    -
    moz-box-shadow:1px 1px 1px #666666;
    background:url(images/misc/guestmbg.gifrepeat-x top;
    background-color:#ef8d31;
    border:1px solid #4A4848;
    color:white;
    max-width:280px;
    min-height:18px;
    padding:0 5px 3px;
    position:fixed;
    right:36px;
    top:49px;
    z-index:1;
    }

    div.guestm img {
    padding-top:2px;
    margin-bottom:-4px;

    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!
    Hình Kèm Theo Hình Kèm Theo
    File Kèm Theo File Kèm Theo
    Khách viếng thăm hãy cùng PandavB xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 

Các Chủ đề tương tự

  1. New way to force guests to register
    Bởi PandavB trong diễn đàn vBulletin 4.x Template Modifications
    Trả lời: 0
    Bài viết cuối: 11-02-14, 03:04 PM
  2. Force Users to Read a Thread
    Bởi PandavB trong diễn đàn vBulletin 4.x Add-ons
    Trả lời: 0
    Bài viết cuối: 11-02-14, 10:55 AM
  3. VSa - Advanced Registration
    Bởi PandavB trong diễn đàn vBulletin 4.x Add-ons
    Trả lời: 0
    Bài viết cuối: 11-02-14, 08:51 AM
  4. Cyb - Advanced Registration
    Bởi KingSky trong diễn đàn vBulletin 3.8 Add-ons
    Trả lời: 0
    Bài viết cuối: 10-02-14, 02:29 PM
  5. Limited Guest Viewing -- Motivate Guests to Register
    Bởi KingSky trong diễn đàn vBulletin 3.8 Add-ons
    Trả lời: 0
    Bài viết cuối: 10-02-14, 10:59 AM

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 05:48 PM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.