Forum Activity for @nmaster88

Nmaster88
@nmaster88
05/03/16 02:25:06AM
94 posts

ShareThis problem


Design and Skin Customization

I'm having problems finding how to do it, what do you mean? Thanks
Nmaster88
@nmaster88
05/02/16 04:23:44AM
94 posts

ShareThis problem


Design and Skin Customization

I'm using to following code to have the icon of sharethis:

        {literal}
            <script type="text/javascript">{var switchTo5x=true;</script>
            <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
            <script type="text/javascript">stLight.options({ publisher: "123456789-91211-121314-121617-181920212223242526", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>

            <span class='st_sharethis_large' displayText='ShareThis'></span>

        {/literal}
This code works well if i simply go to the page i have it. But if i go to the page through ajax as i'm doing in our site it doesn't work.
In the image in attach i give an example, in the right i have a list of playlists i want to load on the left side, if i click on the button the left side will be populated by the songs of it.
The jquery i use to do that is this:
    $(document).on('click','#addplaylisttolist',function(){
        myPlaylist.pause();
        myPlaylist.remove();
        $("#playlist_selected_songs").empty();
        $.each($(this).find("span"),function(){
                $("#playlist_individual_li").load('listen_playlist_section_content_item_add',{musicId:$(this).attr('data-id-music'),musicTitle:$(this).attr('data-title'),musicArtist:$(this).attr('data-artist'),musicFile:$(this).attr('data-mp3'),musicPoster:$(this).attr('data-poster'),musicTime:$(this).attr('data-time-music')},function(){
                    $("#playlist_selected_songs").append($("#playlist_individual_li").html());
                });
            });
        myPlaylist.play();
    });
With this template:
<li class="list-group-item">
    <div class="pull-right m-l">
        <span class="addtolistbutton">
            {jrCore_module_function function='jrPlaylist_button' playlist_for='jrAudio' item_id=$musicId class='circleplus_icon_playlist' title='Add To Playlist'}
        </span>
        {if jrUser_is_logged_in()}
            <a href="" id="listen_playlist_delete_item" title="delete music"><i class="icon-close"></i></a>
        {/if}
        {literal}
            <script type="text/javascript">$(function() {var switchTo5x=true;});</script>
            <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
            <script type="text/javascript">$(function() {stLight.options({ publisher: "123456789-91211-121314-121617-181920212223242526", doNotHash: false, doNotCopy: false, hashAddressBar: false});});</script>

            <span class='st_sharethis_large' displayText='ShareThis'></span>

        {/literal}
    </div>
    <a href="" class="addplaylistmusic jp-play-me m-r-sm pull-left" data-title="{$musicTitle}" data-artist="{$musicArtist}" data-mp3="{$musicFile}" data-m4a="{$musicFile}" data-poster="{$musicPoster}">
        <i class="icon-control-play text"></i>
        <i class="icon-control-pause text-active"></i>
    </a>
    <div class="clear text-ellipsis">
        <a href="$(this).attr('data-path')"><span>
                {$musicTitle}
                </span></a>
        <span class="text-muted"> --
            {$musicTime}
                </span>
    </div></li>
The code in the template related to the sharethis doesn't work. As anyone tried to do anything like this or as an idea how i can fix this? I think ajax doesn't let this inline scripts work. Thanks for the help!

sharethis_1.jpg sharethis_1.jpg - 127KB

updated by @nmaster88: 08/01/16 04:35:48AM
Nmaster88
@nmaster88
04/15/16 02:40:25AM
94 posts

Site builder page missing


Using Jamroom

The page of the module site builder seems to me missing from the site:
https://www.jamroom.net/site-builder/documentation/modules/2918/site-builder

I think i found another page that works. That may be an older one. Thanks!
updated by @nmaster88: 07/15/16 11:44:40PM
Nmaster88
@nmaster88
04/14/16 11:53:59AM
94 posts

login page with help buttons


Design and Skin Customization

douglas:
I'm seeing an issue with this too and will try to figure it out.
Thanks!

I had a look at the scripts and with seemed very complex to me. Thanks.
updated by @nmaster88: 04/14/16 11:54:32AM
Nmaster88
@nmaster88
04/14/16 11:52:12AM
94 posts

Signup form


Design and Skin Customization

It's been a while after we touched this but it seems that unfortunatelly our signup form stopped working it submits empty info, i'm trying now to have a test form working but it no success, the code is the following:
       {jrCore_form_create_session module="jrUser" option="signup" assign="token"}
          <div id="jrUser_signup_msg" class="page_notice form_notice"></div>
          <form class="jrform" id="jrUser_signup" name="jrUser_signup" action="{$jamroom_url}/user/signup_save" method="post" accept-charset="utf-8" enctype="multipart/form-data">
            <input type="hidden" id="jr_html_form_token" name="jr_html_form_token" value="{$token}">

              <tr id="ff-row-user_name">
                  <td class="element_left form_input_left text_left user_name_element_left">
                      <a id="ff-user_name"></a>user name
                  </td>
                  <td class="element_right form_input_right text_right user_name_element_right" style="position:relative">
                      <input type="text" id="user_name" class="form_text" name="user_name" value="" tabindex="1" autocorrect="off" autocapitalize="off">
                      <input type="button" value="?" class="form_button form_help_button" title="expand help" onclick="$('#h_user_name').slideToggle(250);">
                  </td>
              </tr>


              <tr id="ff-row-user_email">
                  <td class="element_left form_input_left text_left user_email_element_left">
                      <a id="ff-user_email"></a>email address
                  </td>
                  <td class="element_right form_input_right text_right user_email_element_right" style="position:relative">
                      <input type="text" id="user_email" class="form_text" name="user_email" value="" tabindex="2" autocorrect="off" autocapitalize="off">
                      <input type="button" value="?" class="form_button form_help_button" title="expand help" onclick="$('#h_user_email').slideToggle(250);">
                  </td>
              </tr>


              <tr id="ff-row-user_passwd1">
                  <td class="element_left form_input_left password_left user_passwd1_element_left">
                      <a id="ff-user_passwd1"></a>password
                  </td>
                  <td class="element_right form_input_right password_right user_passwd1_element_right" style="position:relative">
                      <input type="password" id="user_passwd1" class="form_text" name="user_passwd1" value="" tabindex="3">
                      <input type="button" value="?" class="form_button form_help_button" title="expand help" onclick="$('#h_user_passwd1').slideToggle(250);">
                  </td>
              </tr>


              <tr id="ff-row-user_passwd2">
                  <td class="element_left form_input_left password_left user_passwd2_element_left">
                      <a id="ff-user_passwd2"></a>repeat password
                  </td>
                  <td class="element_right form_input_right password_right user_passwd2_element_right" style="position:relative">
                      <input type="password" id="user_passwd2" class="form_text" name="user_passwd2" value="" tabindex="4" onkeypress="if (event && event.keyCode == 13 && this.value.length > 0) { jrFormSubmit('#jrUser_signup','{$token}','ajax'); }">
                      <input type="button" value="?" class="form_button form_help_button" title="expand help" onclick="$('#h_user_passwd2').slideToggle(250);">
                  </td>
              </tr>


              <tr id="ff-row-quota_id">
                  <td class="element_left form_input_left select_left quota_id_element_left">
                      <a id="ff-quota_id"></a>account type
                  </td>
                  <td class="element_right form_input_right select_right quota_id_element_right" style="position:relative">
                      <select id="quota_id" class="form_select" name="quota_id" tabindex="5"><option value="1" selected="selected"> Listener</option>
                          <option value="2"> Artist / Band</option>
                          <option value="6"> Event Organizer </option>
                          <option value="5"> Journalist / Media</option>
                          <option value="3"> Label</option>
                          <option value="4"> Manager</option>
                          <option value="7"> Radio Station</option>
                      </select>
                      <input type="button" value="?" class="form_button form_help_button" title="expand help" onclick="$('#h_quota_id').slideToggle(250);">
                  </td>
              </tr>

              <tr id="ff-row-user_is_human">
                  <td class="element_left form_input_left checkbox_spambot_left user_is_human_element_left">
                      <a id="ff-user_is_human"></a>human check
                  </td>
                  <td class="element_right form_input_right checkbox_spambot_right user_is_human_element_right" style="position:relative">
                      <span id="sb_user_is_human"><input type="checkbox" id="user_is_human" name="user_is_human" tabindex="5"></span>
                      <input type="button" value="?" class="form_button form_help_button" title="expand help" onclick="$('#h_user_is_human').slideToggle(250);">
                  </td>
              </tr>

              <tr>
                  <td colspan="2" class="form_submit_box">
                      <div class="form_submit_section">
                          <img id="form_submit_indicator" src="{$jamroom_url}/image/img/skin/wmMusic/submit.gif" width="24" height="24" alt="working...">
                          <input type="button" id="jrUser_signup_submit" class="form_button" value="create account" tabindex="6" onclick="jrFormSubmit('#jrUser_signup','{$token}','post');">
                            <input type="button" id="jrUser_signup_cancel" class="form_button" value="cancel" onclick="jrCore_window_location('{$jamroom_url}')">
                      </div>
                  </td>
              </tr>

          <p class="text-muted text-center">
            <small>Already have an account?</small></p>
          <a href="{$jamroom_url}/signin" class="btn btn-lg btn-info btn-block btn-rounded">Sign in</a>
        </form>

Is something wrong in this code? Thanks

(We don't want to use the sitebuild form)
empty_user_submit.jpg empty_user_submit.jpg - 23KB

updated by @nmaster88: 04/14/16 12:16:15PM
Nmaster88
@nmaster88
04/14/16 01:24:08AM
94 posts

login page with help buttons


Design and Skin Customization

In the code you posted, i mean this:
<img id="form_submit_indicator" src="{$jamroom_url}/skins/jrNova/img/submit.gif" width="24" height="24" alt="working...">
                <input type="button" id="jrUser_login_submit" class="form_button" value="login" tabindex="3" onclick="jrFormSubmit('#jrUser_login','{$token}','ajax');">
            </form>
It's not flexible, i wanted to center the image, when it shows on the screen and place it on another place but if i do that the code stops working.

Thanks!
img_submit.jpg img_submit.jpg - 27KB

updated by @nmaster88: 04/14/16 06:35:01AM
Nmaster88
@nmaster88
04/13/16 11:27:44AM
94 posts

login page with help buttons


Design and Skin Customization

Thanks!
That input is working for the submit but i don't see the the error anywhere:
<input type="button" id="jrUser_login_submit" class="form_button" value="login" tabindex="3" onclick="jrFormSubmit('#jrUser_login','{$token}','ajax');">

My code:
                        {jrCore_form_create_session module="jrUser" option="login" assign="token"}
                        <div id="jrUser_login_msg" class="page_notice form_notice error"></div>
                        <form class="jrform" id="jrUser_login" name="jrUser_login"
                              action="{$jamroom_url}/user/login_save" method="post" accept-charset="utf-8"
                              enctype="multipart/form-data" _lpchecked="1">

                            <input type="hidden" id="jr_html_form_token" name="jr_html_form_token"
                                   value="{$token}">
                            <input type="hidden" name="user_remember" value="off">

                            <div class="form-group signin-content">

                                <input type="username" placeholder="Username" id="user_email_or_name" name="user_email_or_name" style="width:90%;float:left;" class="form-control rounded input-lg text-center no-border">
                                <input value="?" title="expand help" style="outline: 0;float:left;border-radius:50px;-moz-border-radius: 50px;-webkit-border-radius: 50px;border: 1px solid;margin: 10px 0px;" onclick="$('#h_user_email_or_name').slideToggle(250);" type="button">
                            </div>

                            <div id="h_user_email_or_name" class="form_help" style="display:none;">
                                            <p>please enter a valid email address or user name to log into the system.</p>
                            </div>

                            <div class="form-group  signin-content">
                                <input type="password" placeholder="Password" id="user_password" name="user_password" style="width:90%;float:left;" class="form-control rounded input-lg text-center no-border">
                                <input value="?" title="expand help" style="outline: 0;float:left;border-radius:50px;-moz-border-radius: 50px;-webkit-border-radius: 50px;border: 1px solid;margin: 10px 0px;" onclick="$('#h_user_password').slideToggle(250);" type="button">
                            </div>

                            <div id="h_user_password" class="form_help" style="display:none;">
                                            <p>please enter your password</p>
                            </div>
                            <button type="submit" id="jrUser_login_submit" class="btn btn-lg btn-warning lt b-white b-2x btn-block btn-rounded" onclick="jrFormSubmit('#jrUser_login','{$token}','ajax');"><i class="icon-arrow-right pull-right"></i><span class="m-r-n-lg">Sign in</span></button>
                            <div class="text-center m-t m-b"><a href="#"><small>Forgot password?</small></a></div>
                            <div class="line line-dashed"></div>
                            <p class="text-muted text-center"><small>Do not have an account?</small></p>
                            <a href="http://dev.wowmusic.fm/signup" class="btn btn-lg btn-info btn-block rounded">Create an account</a>

                            <input type="button" id="jrUser_login_submit" class="form_button" value="login" tabindex="3" onclick="jrFormSubmit('#jrUser_login','{$token}','ajax');">
                        </form>

After inserting the img element it seems to be working!

Unfortunatelly that code doesn't seem that is much flexible, i'm trying to put that image in other places and center it and if i do that the code stops working lol
updated by @nmaster88: 04/13/16 12:15:34PM
Nmaster88
@nmaster88
04/13/16 02:15:35AM
94 posts

login page with help buttons


Design and Skin Customization

Nmaster88:
That doesn't work either.
This is the code i have from inspection on the flashback page:
Invalid Login or Password - please try again


And after searching in the debug variables i think i found something related.

I just need to know how the code to get that response (for both login and register forms). Thanks


login_error.jpg login_error.jpg - 123KB

updated by @nmaster88: 04/13/16 05:38:13AM
Nmaster88
@nmaster88
04/13/16 02:04:47AM
94 posts

Favicon Creater missing documentation


Using Jamroom

Hello, i found the following documentation missing:
https://www.jamroom.net/the-jamroom-network/documentation/modules/2954/favicon-creator

Thanks.
updated by @nmaster88: 08/16/16 09:34:06AM
Nmaster88
@nmaster88
04/12/16 04:05:52PM
94 posts

Meta tag manager documentation


Using Jamroom

It seems ok now.
1