New way to force guests to register
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 New way to force guests to register

    If you want me to do the setup for you and create a unique character for your site please check my fiverr.com Gig and spend those 5 bucks
    [Only registered and activated users can see links. ]


    ABOUT THIS MOD


    My idea was to place a fix characater on the bottom right, which forces guests to register an account, because i was sick of those standard "hello guest, register" mods.

    So with this little modification, you are able to display a nice and flashy character to all guests - forcing them to register

    All examples on the bottom are free to use.

    -----------------------------------------------------------------------------------------------------------------

    LIVE-DEMO: [Only registered and activated users can see links. ]

    -----------------------------------------------------------------------------------------------------------------

    IF YOU RUN VBULLETIN 4.X.X CHECK THIS THREAD
    IF YOU RUN VBULLETIN 3.X.X CHECK THIS THREAD



    1. Upload your desired image to "/images/misc/register.png" (if you want my samples, feel free to use them, they are all attached below)

    2. Open your "css_additional.css" and add the following lines:

    div.forcetoregister {
    background:url(images/misc/register.png);
    background-repeat: no-repeat;
    width:300px;
    height:200px;
    padding:0 5px 3px;
    position:fixed;
    right:1px;
    bottom:0px;
    z-index:1;
    }
    3. Open your "footer" template and add the following line on top:

    To show it on every page add this on bottom right before the </body> tag in footer:
    <vb:if condition="$bbuserinfo['userid'] == 0"><a href="/register"><div class="forcetoregister"></div></a></vb:if>
    4. Mark as installed

    5. You are done!


    -----------------------------------------------------------------------------------------------------------------

    NEW FEATURE: RANDOM IMAGE ON EVERY PAGERELOAD

    Since some one at the forum came up with the wish, to have random images on every pagereload, i can now provide you a solution:

    1. Add this code to your "css_additional.css" instead of the code provided on top:

    div.forcetoregister {
    background:url(rotate.php);
    background-repeat: no-repeat;
    width:300px;
    height:200px;
    position:fixed;
    right:1px;
    bottom:0px;
    z-index:1;
    }
    2. Download the file "rotate.php" wich is attached below

    3. Upload the file "rotate.php" to your FORUMROOT

    4. Open "images/misc" via FTP and create a new folder called "ftr" (Complete path should look like this: /images/misc/ftr)

    5. Upload your desired images to the "ftr" folder (supported file extensions are: PNG, GIF & JPG)

    6. Your done!
    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. Message for guests [CSS3] - force registration
    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, 07:35 PM
  2. 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
  3. 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
  4. 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
  5. Ai còn giữ JX Offline Register Software của MĐ cho mình xin nhé
    Bởi SaoThaiBinh72 trong diễn đàn Hỏi Đáp/ Yêu Cầu
    Trả lời: 9
    Bài viết cuối: 05-09-11, 08:30 PM

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à 10:49 AM.
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ệ.