New messages Members Forum rules Search
  • Page 1 of 1
  • 1
Forum moderator: kostova, Brazen  
uCoz Support Forum by uCozers » Coding » HTML » Problem with Custom Log-In (sml[answered]What is wrong with my code?)
Problem with Custom Log-In
looneyheadDate: Saturday, 2010 May 08, 8:41 PM | Message # 1
Font size: A | A |
Lieutenant
Group: uCozer
Message: 54
[ ]
Offline
What is wrong with this login code:
Code
<div id="bottomBanner">
<div id="bottomBannerTxt">
<?if($USER_LOGGED_IN$)?>
<?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?>Logged in as <a href="$PERSONAL_PAGE_LINK$" title="My profile"><b>$USERNAME$</b></a> | <!--<s3167>-->Group<!--</s>--> "<u>$USER_GROUP$</u>"<?else?><!--<s5212>-->Welcome<!--</s>--> <b>$USERNAME$</b><?endif?><?endif?></td></tr>
     <?else?>
<script type="text/javascript">
sendFrm549556=function(){
     var o=$('#frmLg549556')[0],pos=_uGetOffset(o),o2=$('#blk549556')[0];
     document.body.insertBefore(o2,document.body.firstChild);
     $(o2).css({top:(pos['top'])+'px',left:(pos['left'])+'px',width:o.offsetWidth+'px',height:o.offsetHeight+'px',display:''}).html('<div align="left" style="padding:5px;"><div class="myWinLoad"></div></div>');
     _uPostForm('frmLg549556',{type:'POST',url:'/index/sub/',error:function() {
     $('#blk549556').html('<div align="left" style="padding:10px;"><div class="myWinLoadSF" title="Impossible to execute the request, try again later"></div></div>');
     _uWnd.alert('<div class="myWinError">Impossible to execute the request, try again later</div>','',{w:250,h:90,tm:3000,pad:'15px'});
     setTimeout("$('#blk549556').css('display','none');",'1500');
     }
     });
}
</script>
<div id="blk549556" style="border: 1px solid rgb(204, 204, 204); background: transparent url(http://s41.ucoz.net/img/fr/g.gif) repeat scroll 0% 0%; position: absolute; z-index: 82; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; display: none;"></div><form id="frmLg549556" method="post" style="margin: 0pt;" onsubmit="sendFrm549556();return false;">
<a href="javascript://" rel="nofollow" onclick="new _uWnd('HelpWd','Helper',360,150,{align:'justify',closeonesc:1},{url:'/index/90-7'});return false;" class="noun"><img alt="" title="uID accepted" src="http://s41.ucoz.net/img/ma/uid.gif" style="border: 0pt none ; vertical-align: -4px;"></a>
<input class="login" name="user" value="E-mail" size="20" style="width: 100px;" maxlength="50" type="text">
<input class="pass" name="password" value="Password" size="20" style="width: 100px;" maxlength="15" type="password">
<input id="remlogin" name="rem" value="1" checked="checked" type="checkbox"><label for="remlogin">Remember</label> <input id="hidlogin" name="hidden" value="1" type="checkbox"><label for="hidlogin">Hidden</label>
<input class="loginButton" name="sbm" value="Login" type="submit">
<a href="http://armycommand.tk/index/3">Registration</a>

</div>

<?endif?>
</div>
</div>

You can see it at my site here. When I try to log in it says "Impossible to execute the request try again later."




Edited Bylooneyhead - Saturday, 2010 May 08, 8:45 PM
 
BrazenDate: Sunday, 2010 May 09, 0:53 AM | Message # 2
Font size: A | A |
Colonel
Group: Administrator
Message: 304
[ ]
Offline
I will look into it!!

LOL With Us! l Game Blog l 3D Autos

"knowledge without wisdom is curse" Alex Seb

 
looneyheadDate: Thursday, 2010 May 13, 11:45 PM | Message # 3
Font size: A | A |
Lieutenant
Group: uCozer
Message: 54
[ ]
Offline
Well?

 
kostovaDate: Wednesday, 2010 May 26, 3:19 AM | Message # 4
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
I think it's apparent where the problem is occurring.
Quote
$('#blk549556').html('
title="Impossible to execute the request, try again later">
');

I'm thinking you just looked at the source code, copied, and pasted. Am I right?

 
looneyheadDate: Thursday, 2010 May 27, 0:03 AM | Message # 5
Font size: A | A |
Lieutenant
Group: uCozer
Message: 54
[ ]
Offline
Ya that's what I did at first, but I figured this out a lonng time ago so no need for help.

 
kostovaDate: Wednesday, 2010 June 02, 5:50 AM | Message # 6
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
Sorry, we kind of lost our touch over here at the forum. It's not really our obligation to answer every thread since there is no benefit other than the fact we helped someone.
If you have any other questions just ask.
 
uCoz Support Forum by uCozers » Coding » HTML » Problem with Custom Log-In (sml[answered]What is wrong with my code?)
  • Page 1 of 1
  • 1
Search:


Copyrights uCozers 2009 - 2024 To TOP
Refresh Smileys Manager