Results 1 to 10 of 14
-
20th Jul 2009, 01:47 PM #1OPლ(ಠ益ಠლ)Website's:
extremecoderz.com[phpbb3] RokBox Login Box Addon
Hi all.
This little add-on will allow your users to login with a nice little login box. It can also be used for manual external links, and fades the background page to 70% black while the login box is displayed, and fades back when the box is closed, much like a lightbox.
Very simple to implement, ~5 minutes.
Needed files:
Code:http://rapidshare.com/files/257953122/files.rar
Add the JavaScript Links and login-box CSS:
Code:<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/mootools-release-1.11.js"></script> <script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/rokbox.js"></script> <link href="{T_THEME_PATH}/rokbox/themes/light/rokbox-style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="{T_THEME_PATH}/rokbox/themes/light/rokbox-config.js"></script>
Code:<!-- IF not S_USER_LOGGED_IN --> <a href="#" id="lock-button" rel="rokbox[240 210][module=login-module]"><span>{L_LOGIN_LOGOUT}</span></a> <!-- ELSE --> <a href="{U_LOGIN_LOGOUT}" id="lock-button" ><span>{L_LOGIN_LOGOUT}</span></a> <!-- ENDIF -->
Here we are adding a DIV in which the box will call upon when viewed:
This can be modded any old way you like. Fully HTML compatible so do as you please if you do not like the basic example.
Code:<div id="login-module"> <div class="moduletable"> <h3>Login Form</h3> <div class="main-login-form"> <form method="post" action="{ROOT_PATH}ucp.php?mode=login" class="form-login"> <div class="username-block"> <div class="input-field-l"><input name="username" id="mod_login_username" type="text" alt="username" size="10" class="inputbox" value="Username" onfocus="if (this.value=='Username') this.value=''" onblur="if(this.value=='') { this.value='Username'; return false; }" /> </div></div> <div class="password-block"> <div class="input-field-l"><input type="password" id="mod_login_password" name="password" size="10" alt="password" value="Password" class="inputbox" onfocus="if (this.value=='Password') this.value=''" onblur="if(this.value=='') { this.value='Password'; return false; }" /> </div></div> <fieldset> <div class="remember-me"> <input type="checkbox" name="autologin" id="autologin" class="checkbox" value="yes" alt="Remember Me" style="padding: 0px;"/> <input name="redirect" value="{LOGIN_REDIRECT}" type="hidden" /> <!-- IF S_AUTOLOGIN_ENABLED --><label for="autologin" class="remember">Remember Me</label><!-- ENDIF --> </div> </fieldset> <div class="login-links"> <p><a href="ucp.php?mode=sendpassword&rb_v=ucp"> {L_FORGOT_PASS}</a><br /> <a href="ucp.php?mode=resend_act&rb_v=ucp"> {L_RESEND_ACTIVATION}</a> </div> <div class="clr"></div> <div class="readon-wrap1"><div class="readon1-l"></div><a class="readon-main"><span class="readon1-m"><span class="readon1-r"><input type="submit" name="login" class="button" value="{L_LOGIN}" /></span></span></a></div><div class="clr"></div> </form> </div></div></div>
You can also use it for external links. For example:
Code:(set height/width by pixels) <a href="http://www.google.com" rel="rokbox[500 400]">click me</a> OR (set height/width by percentage) <a href="http://www.google.com" rel="rokbox[75% 80%]">click me</a>
Demo Board: click login to see it. - http://www.rapidsharemoviezone.com
Login Box:
External Link:
jayfella Reviewed by jayfella on . [phpbb3] RokBox Login Box Addon Hi all. This little add-on will allow your users to login with a nice little login box. It can also be used for manual external links, and fades the background page to 70% black while the login box is displayed, and fades back when the box is closed, much like a lightbox. Very simple to implement, ~5 minutes. Needed files: http://rapidshare.com/files/257953122/files.rar OVERALL_HEADER: Rating: 5
-
20th Jul 2009, 04:33 PM #2BannedWebsite's:
gigasharez.org fileleech.orgdam thats cool im gonna give this a go nice man ty !
edit ooops didnt realise it was for phpbb only shame this is cool
is there anything similiar like this for vbulletin ?
-
20th Jul 2009, 04:48 PM #3Member
Thanks..
@I am legend ..you can do manythings using mootoolsCoding Horror Fan
I don't read PM's frequently .
-
20th Jul 2009, 04:49 PM #4BannedWebsite's:
gigasharez.org fileleech.orgcool ty ill check it out !
fancy making 1 for vbulletin then bro ?
-
20th Jul 2009, 05:26 PM #5Member
I am trying to make one
Coding Horror Fan
I don't read PM's frequently .
-
20th Jul 2009, 05:50 PM #6BannedWebsite's:
gigasharez.org fileleech.orgawsomeeeeeeeeeeee ty man carnt wait
-
20th Jul 2009, 10:10 PM #7Respected DeveloperWebsite's:
X4B.org
-
21st Jul 2009, 12:57 AM #8(1only)Website's:
BarakaDesigns.com Amodity.com IMGFlare.comyup there nice well me and I_Am_Legend Made A Vbulletin One Check It Out Here
Code:http://www.besthostingforums.com/showthread.php?t=9981
-
21st Jul 2009, 10:19 AM #9OPლ(ಠ益ಠლ)Website's:
extremecoderz.comi would hazard a guess it would be prety easy to mod for vb, but iv never used it. I would think its only the login IF/ELSE that needs to be modded afaik.
-
11th Oct 2009, 04:16 AM #10Member
Links dead
Signature too big, removed by staff.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to add another addon
By msk19994 in forum Web Development AreaReplies: 0Last Post: 8th Apr 2012, 01:24 PM -
[VPS] How much you take for 1GB Ram Addon?
By ChaoscripT in forum ArchiveReplies: 6Last Post: 9th Nov 2011, 10:41 AM -
DLE need this addon
By John in forum DLEReplies: 12Last Post: 5th Jan 2011, 11:03 PM -
[phpbb3] Login Box Addon
By shadow.prx in forum Webmaster ResourcesReplies: 5Last Post: 17th May 2010, 08:52 PM -
[phpBB3] WGTools Link Checker Addon
By el_jentel1 in forum phpBBReplies: 0Last Post: 4th May 2009, 04:40 AM
themaPoster - post to forums and...
Version 5.21 released. Open older version (or...