Jump to content

Validarea Campurilor La Inregistrare In Ipb Nu Mai Functioneaza!?


gaby

Recommended Posts

Nu inteleg de ce, dar validarea in timp real a campurilor Username, Email si Password din formularul de inregistrare nu mai functiona. Mai exact, in mod normal, dupa completarea unui camp si odata cu trecerea la urmatorul, acesta era validat automat:
 
TLSdusi.png
 
Ei bine, aceasta validare nu mai avea loc:
 
FbpSA9A.png
 
De asemenea, nici link-ul care ar trebui sa deschida un pop-up cu regulile forumului (Terms and Conditions) nu mai functiona; de aici si aceasta problema:

 

yYmnNCD.png
 
Cu ajutorul unui membru din partea suportului IPB am reusit sa rezolv problema, si consider ca nu e rau sa postez rezolvarea pentru alte cazuri de acest gen.
 
Asadar, pentru a rezolva problema, va trebui sa urmati pasii de aici: http://www.invisionpower.com/support/kb/_/terms-of-use-popup-does-not-show-during-registration-r57
 
Mai exact, intrati in ACP -> Skin & Templates -> Tema folosita -> Registration Screen -> registerForm -> adaugati la sfarsitul fisierului, chiar inainte de inchiderea etichetei:

</if>

urmatorul cod:

	<script type='text/javascript'>
		ipb.templates['registration_terms'] = new Template("<h3>{$this->lang->words['reg_terms_popup_title']}</h3><div class='ipsPad' id='tou_popup'>#{content}</div>");
	</script>

 
Numai bine :pct2:!

  • Upvote 2

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.