How LoginBox PRO WorksLoginBox gives you a slick web 2.0 lightbox window to decorate login and signup processes on your website. Lightbox window shows up after your visitors click a button placed somewhere in an article or LoginBox module. But decorative purpose is not the only one here - LoginBox helps to protect your website from spamming bots! This article describes how LoginBox can be used and also answers some common questions. Installation and setupFirst off, unzip loginbox_pro - please unzip first.zip file delivered to you after the purchase. Install loginbox_pro.zip - that's the component. During installation process LoginBox will automatically upgrade your WYSIWYG editor with the LoginButton and will also install LoginLogout content plugin.
The quick setup of a loginbutton is as follows.
1.Open any article for edit (or create a new one), and click the button called LoginButton underneath the WYSIWYG editor. A lightbox window will show up asking you for "Login HTML code" and "Logout HTML code". Below are examples of what you can type in:
| # | Login HTML code | Comments |
| way 1 | Login | The "code" can be as simple as this |
| way 2 | <input type="button" value="Login" /> | or a regular HTML button |
| way 3 | <img src="/demo/joomla1/images/login_button.jpg" onmouseover="this.src= 'http://www.wowjoomla.com/demo/joomla1/images/login_button1.jpg';" onmouseout="this.src= 'http://www.wowjoomla.com/demo/joomla1/images/login_button.jpg';"> | or even some funky dynamic button |
2. Now click Add LoginButton Link button and it will generate new loginbutton and add it to the article you're editing. Inside the article loginbutton will look like {loginbutton}[ID_BUTTON]{loginbutton}, where [ID_BUTTON] is its id. 3. Save the content item, and go to that article in the front-end. You'll see your button inside the content. 4. Click the button, and a login lightbox will appear. It will be pretty much the same as we use here at wowjoomla.

After you enter your login/password and click "Login", the page will refresh and here're you go - you are logged into your website.
All the buttons you create are automatically saved to the "Manage LoginButtons" area (Components->LoginBox):
Here you can add as many loginbuttons as you want.
Besides login buttons in content items, are there other ways to display LoginBox?
Yes, you can use LoginBox module (included into the package) or output login buttons using custom content module (it is able to display articles). You can even add loginbuttons to 3d-party components: just include this
http://www.wowjoomla.com/docs/login_box/customize_button/1.txt
in the HEAD section (either in your template or a 3d-party-component-page). And then you can use something like that:
<?php if ($user->get('guest')) :?>
<a href="index.php?option=com_loginbox"
onclick="SqueezeBox.fromElement(this); return false;"
rel="{handler: 'iframe', size: {x: 400, y: 530}}"
class="mainlevel">Login</a>
<?php else: ?>
<a href="javascript:void(0);"
onclick="LB_onLogout(); return false;"
class="mainlevel">Logout</a>
<?php endif; ?>
to display a link.
How LoginBox PRO protects my website from spam?Long story short, Joomla has a standard URL for registration which looks like http://www.anyJoomlaInstall.com/index.php?option=com_user&view=register&Itemid=157 So if the spambot knows that this is a joomla site, they could just use direct URL to register. With LoginBox PRO, you can disable registration on your site and make all new users register via the lightbox. Spamming bots won't be able to bypass the captcha, and thus no spam :-) Is LoginBox PRO compatible with Community Builder (CB)?Yes! If you already have CB installed, please switch LoginBox to CB mode. Custom CB fields will be automatically included in the signup form.
Helpful links
LoginBox PRO Demo (frontend), LoginBox PRO Demo (backend)
LoginBox PRO Support Forum
|