Forum Activity for @nate

nate
@nate
05/03/16 02:46:59PM
917 posts

Form Validation


Jamroom Developers

That was already there. I'm gonna assume there's another problem.

http://n8flex.com/core/form_validate/__ajax=1

Quote: jr_html_form_token
2d1a8b8229813fd7cea2e92bc8b7d657
user_email
demo6@demo.com
user_name
Demo
user_passwd1
demo
user_passwd2
demo

jr_html_form_token=2d1a8b8229813fd7cea2e92bc8b7d657&user_name=Demo&user_email=demo6%40demo.com&user_passwd1
=demo&user_passwd2=demo

updated by @nate: 05/03/16 02:48:16PM
nate
@nate
05/03/16 02:23:01PM
917 posts

Form Validation


Jamroom Developers

Is there any way to get my custom sign up form to validate?

{jrCore_module_url module="jrUser" assign="uurl"}
                            <form id="jrUser_signup" class="jrform" enctype="multipart/form-data" accept-charset="utf-8" method="post" action="{$jamroom_url}/{$uurl}/signup_save" name="jrUser_signup">
                                {$token = jrCore_form_token_create()}
                                <input type="hidden" value="{$token}" name="jr_html_form_token" id="jr_html_form_token">
                                <input type="text" tabindex="1" placeholder="Create a Username" name="user_name" class="form_text" id="user_name"><br>
                                <input type="text" tabindex="2" placeholder="Email Address" value="" name="user_email" class="form_text" id="user_email"><br>
                                <input type="password" tabindex="3" placeholder="Password" name="user_passwd1" class="form_text" id="user_passwd1"><br>
                                <input type="password" tabindex="4"  placeholder="Repeat Password" onkeypress="if (event &amp;&amp; event.keyCode == 13 &amp;&amp; this.value.length &gt; 0) { jrFormSubmit('#jrUser_signup','{$token}','ajax'); }" value="" name="user_passwd2" class="form_text" id="user_passwd2">
                                <div class="split">
                                    {jrCore_module_url module="jrImage" assign="url"}
                                    <img id="form_submit_indicator" src="{$jamroom_url}/{$url}/img/skin/{$_conf.jrCore_active_skin}/submit.gif" width="24" height="24" alt="{jrCore_lang module="jrCore" id="73" default="working..."}">
                                    <button id="jrUser_signup_submit" type="button" onclick="jrFormSubmit('#jrUser_signup','{$token}','ajax');">Join</button>
                                </div>
                                <div class="split">
                                    <button type="button" class="login" onclick="jrCore_window_location('{$jamroom_url}/{$uurl}/login')">{jrCore_lang skin=$_conf.jrCore_active_skin id=100 default="or Log in"}</button>
                                </div>
                            </form>

Quote: {"notices":[{"type":"error","text":"Invalid Form Validation received - please refresh and try again."
}] }

updated by @nate: 08/12/16 03:12:21AM
nate
@nate
04/22/16 10:54:54AM
917 posts

Menu Editor (bug)


Jamroom Developers

I did it they way you suggested. Thanks.
nate
@nate
04/21/16 09:10:25AM
917 posts

Menu Editor (bug)


Jamroom Developers

Whenever I enter a string in the label field for "Items you Like or Dislike" (way too long, btw), it shows successful save but reverts back to lang ID 10 (of which lang file I have no idea).

If I enter a number the number stays. If I enter a number that doesn't match a lang ID, the menu shows the number.

I can't get the string I want to show in the menu.
updated by @nate: 08/08/16 03:18:31AM
nate
@nate
04/20/16 06:40:03PM
917 posts

Site Builder IDs


Suggestions

Sort of like you set the height parameter, a text field labeled ID. I can do this with templates but the average user may struggle doing that.
nate
@nate
04/20/16 09:45:54AM
917 posts

Site Builder IDs


Suggestions

While you're at it, classes for CSS would also be good.
nate
@nate
04/20/16 08:47:47AM
917 posts

Site Builder IDs


Suggestions

It would be good if we could place ID tags on page content and widget items, for js handling.
updated by @nate: 07/22/16 10:46:09PM
nate
@nate
04/18/16 04:07:19PM
917 posts

Skin Directory


Jamroom Developers

brian:
In PHP:
$dir = APP_DIR . '/skins/' . $_conf['jrCore_active_skin'];
In Smarty:
{$jamroom_dir}/skins/{$_conf.jrCore_active_skin}
Let me know if that helps.

Yes. Thanks.
nate
@nate
04/18/16 02:44:16PM
917 posts

Skin Directory


Jamroom Developers

$dir = $_SERVER['DOCUMENT_ROOT'] . '/skins/' . $_conf['jrCore_active_skin'] . '/img/backgrounds/';

updated by @nate: 04/18/16 02:47:42PM
nate
@nate
04/18/16 02:28:34PM
917 posts

Skin Directory


Jamroom Developers

This only returns the directory name. I need the full path.
  54