miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Master Class miniBB Support Forums / Master Class /  
 

What happens with vars during templates parsing?

 
Author terex
Partaker
#1 | Posted: 26 Apr 2003 17:51 
Sorry for my english first

piece of templates/user_logn_form:
<input tabindex=0 type=text size=10 maxlength=25 name="user_usr" value="{$user_usr}" class=textForm>

piece of bb_fucn_vthread.php:
if (!$user_usr) $user_usr=$l_anonymous;
$mainPostArea=ParseTpl($mainPostArea);


Why value of $user_usr does not appear in the input box in the login form?

It interest me because when users sees blank textbox, they left it as is. After, i see messages only from Anonymous =)

But if $l_anonymous wrote in "login" field, probably users will change whis name to another.

Author mmx
Partaker
#2 | Posted: 26 Apr 2003 18:07 
if you try a username that exists - without the correct password (because you mistyped or it is not your account) you will see an error message; if you click back there the template will fill in the account you tried.
of course the very first time a user comes in the template cannot "smell" who is trying to get in :-)

Author terex
Partaker
#3 | Posted: 26 Apr 2003 18:55 
Oops.. I didn't think about this :)
Ok, no questions.

Master Class miniBB Support Forums / Master Class /
 What happens with vars during templates parsing?
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑