Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Add Reply
Removing one login form.
Topic Started: Mar 15 2008, 11:27 PM (1,276 Views)
robolynn
Member
[ *  * ]
On the main login page, there are two login forms. I would like to remove just one of these forms, while leaving one for use. Is there a code to do this?

If not, I noticed that while in the default login area, if I instead clicked on "Log In" on the top bar, it then takes me to the proper login page which has only one form, instead of two. Could a redirect code be added to the css to lead the user here instead? Or, could the default login page be assigned to this one instead somehow?

Here is the main, default login page with the double login form:

http://s1.zetaboards.com/IHSP_Test/index/

Here is the login page I would like to use instead, accessible by clicking on Log In on the top bar:

http://s1.zetaboards.com/IHSP_Test/login/
Edited by robolynn, Mar 15 2008, 11:29 PM.
Offline Profile Quote Post Goto Top
 
robolynn
Member
[ *  * ]
On second thought, I just realized that there is no place for users to register on the login page which has the single form.

So, I need a code to remove one of the two login forms here:

http://s1.zetaboards.com/IHSP_Test/index/

Thanks!
Offline Profile Quote Post Goto Top
 
Soloc
Member
[ * ]
I have been looking for something like that too.

If someone can look into this, it'd be much appreciated! :)
Offline Profile Quote Post Goto Top
 
Nicola
Darth Vader's Sewing Instructor

There is no way to disable the welcome box on the login page. There is also no code for that in our code index either. Sorry.
Offline Profile Quote Post Goto Top
 
Dan T
Member Avatar
document.createElement("Alcohol")
[ *  * ]
Code:
 

<script type="text/javascript">
/* created by HolySavior of ZBCode.*/
var itd =document.getElementsByTagName('td');
for(x=0;x<itd.length;x++) {
if(itd[x].style.verticalAlign== "top" && itd[x].innerHTML.match(/We hope you enjoy your visit/i)) {
itd[x].lastChild.style.display ="none";
}
}
</script>


try that out. it should work. it should remove the top one.

Edited by Dan T, Jul 13 2008, 04:33 PM.
Offline Profile Quote Post Goto Top
 
Arrogant
Member Avatar
Vote Choco and Nicola!
[ *  *  * ]
Nicola
Apr 4 2008, 04:31 PM
There is no way to disable the welcome box on the login page. There is also no code for that in our code index either. Sorry.
The welcome box doesn't show on the login page, Nicola.

Try...
Code:
 
<script type="text/javascript"> <!--
$("#main table form[@action$=/log_in/]").hide();
// --> </script>
Admin Control Panel -> Themes -> Board Template -> Bottom of Above the copyright should do just fine.
Offline Profile Quote Post Goto Top
 
Kity
Member
[ * ]
Thanks Arrogant... :D
Worked perfect....
Offline Profile Quote Post Goto Top
 
croino
Member
[ * ]
Interesting idea, it annoyed me too as it made it look messy.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Theme & Code Help · Next Topic »
Add Reply