Forum Replies Created

Viewing 15 replies - 1 through 15 (of 102 total)
  • Just wanted to second @agiveon’s post. The From and Reply to inputs, kept reverting to the wrong name and email. We had to create a new newsletter in order to get the information to change. Older newsletters and edited duplicates would not change; even after saving, pausing, reactivating, etc.

    Thread Starter leoly

    (@leoly)

    ??Hurray?? LOL. It worked. Both audio only and full video shortcodes, and even regular YouTube links work. Amazing solution, thanks for figuring it all out.

    Thread Starter leoly

    (@leoly)

    Also tried this

    add_filter('lyte_match_postparse_template','playlist_randomizer');
    function playlist_randomizer($in) {
      return str_replace('class="lyMe ','class="lyMe qsa_\&index\='.rand(1,200).'"',$in);
    }

    and got this, which killed the playlist, because it printed out as embed/PLID, instead of embed/videoseries?list=PLID

    <div class="lyte qsa_\&index\=41 lP" lyte-audio="" playlist"="" id="PLID"><iframe id="PLID" src="https://www.youtube.com/embed/PLID?autoplay=1&controls=1&wmode=opaque&rel=0&egm=0&iv_load_policy=3&hd=0&index=41" style="" allowfullscreen="" frameborder="0" height="38" width="1060"></iframe></div>
    
    <div class="lyte qsa_\&index\=186 lP" playlist"="" id="PLID"><iframe id="PLID" src="https://www.youtube.com/embed/PLID?autoplay=1&controls=1&wmode=opaque&rel=0&egm=0&iv_load_policy=3&hd=0&index=186" style="" allowfullscreen="" frameborder="0" height="298" width="1060"></iframe></div>
    Thread Starter leoly

    (@leoly)

    Unfortunately, that didn’t work. But we have taken too much of your time already. Thanks again for the continued follow up ??. Below where the html print outs for the audio only shortcode and the full video.

    <div class="lyte qsa_\&index\=166lyte-audio playlist lP" id="PLID">
    <iframe id="iF_PLID" src="https://www.youtube.com/embed/videoseries?list=PLID&autoplay=1&controls=1&wmode=opaque&rel=0&egm=0&iv_load_policy=3&hd=0&index=166lyte-audio playlist&autohide=0" style="position:relative;top:-400px;" allowfullscreen="" frameborder="0" height="438" width="1060"></iframe></div>
    <div class="lyte qsa_\&index\=163playlist lP" id="PLID">
    <iframe id="iF_PLID" src="https://www.youtube.com/embed/videoseries?list=PLID&autoplay=1&controls=1&wmode=opaque&rel=0&egm=0&iv_load_policy=3&hd=0&index=163playlist" style="" allowfullscreen="" frameborder="0" height="298" width="1060"></iframe></div>
    Thread Starter leoly

    (@leoly)

    Works well, thanks again ??

    Just for the future, is there a way to create an array so that the randomizer works for both the lyMe playlist and lyMe lyte-audio playlist at the same time.

    • This reply was modified 7 years, 6 months ago by leoly.
    Thread Starter leoly

    (@leoly)

    Apologies, you were right, it does work. We were getting an error, because of the audio only part. So: [lyte id=”PLID” audio=”true” playlist=”true” /] doesn’t work, the index info is stripped out, but [lyte id=”PLID” playlist=”true” /] works.

    Hurray ?? Would appreciate if you can help with the styling to just show the audio only. Thanks and left a review as well.

    • This reply was modified 7 years, 6 months ago by leoly.
    Thread Starter leoly

    (@leoly)

    Huge thanks for trying to help figure this out. Added the above code to functions.php and then tried out the shortcode in two ways:

    added to a page template – <?php echo do_shortcode('[lyte id="PLID" audio=”true” playlist=”true” /]'); ?>

    added to a page – [lyte id="PLID" audio=”true” playlist=”true” /]

    and in both cases the index information was stripped out of the final html, just like before.

    Thread Starter leoly

    (@leoly)

    This is the html before clicking play with &index=’.rand(1,200).’

    <div class="lyte lyte-audio playlist lP" id="WYL_PLID"><div id="lyte_PLID" data-src="" class="pL"><div class="tC"><div class="tT">Playlist:Mix</div></div><div class="play"></div><div class="ctrl"><div class="Lctrl"></div><div class="Rctrl"></div></div></div><noscript><a href="https://youtube.com/playlist?list=PLID"><br />Watch this playlist on YouTube</a></noscript></div>

    Thread Starter leoly

    (@leoly)

    The shortcode isn’t broken, but the print out on the page – strips out the index info, so the html looks like the below (?index doesn’t show, just goes back to &autoplay, like with the regular shortcode).

    <iframe id="iF_PLID" src="https://www.youtube.com/embed/videoseries?list=PLID&autoplay=1&controls=1&wmode=opaque&rel=0&egm=0&iv_load_policy=3&hd=0&autohide=0" style="position:relative;top:-400px;" allowfullscreen="" frameborder="0" height="438" width="840"></iframe>

    Is there a way to add it to the js file that adds the other YouTube parameters, i.e. controls, wmode, etc. Basically, a way to generate a random number, within the js script.

    Thanks again for the assistance.

    Thread Starter leoly

    (@leoly)

    Thank you for the prompt response. Unfortunately, it keeps printing out this error –

    148" audio=”true” playlist=”true” /][lyte id="PLID&index=1

    Where the 148 above is a number that changes with each refresh, so it is printing out a random number, but putting it in the wrong place, and thus breaking the code.

    Is it possible to make the changes in a similar method has mentioned in these topics – https://www.ads-software.com/support/topic/individual-playlist-not-working/
    https://www.ads-software.com/support/topic/problems-with-playlists-in-custom-fields/

    Or is there a way to add a filter to YouTube iframes for mobile, in a similar method has mentioned here –

    add_filter('lyte_do_mobile','lyte_on_mobile',10,0);
    function lyte_on_mobile(){
        return true;
    }

    Really appreciate the assistance, thanks

    Thank you for your prompt replies and follow up. Updated to the latest version (1.8.23) and ran the test configuration and there were no errors. Tried with a sample post, and that went through as well. Seems the latest update fixed whatever was causing the issue. Really appreciate the help.

    Sockets. With cURL, got the ‘Postie requires cURL 7.30.0 or newer be installed’ message.

    • This reply was modified 7 years, 10 months ago by leoly.
    • This reply was modified 7 years, 10 months ago by leoly.

    Thanks for replying. We are concerned about permanently corrupting something by updating and then rolling back the installation again, as we have done this a few times. However, the last time we updated and checked the debug message – it mentioned that the email password was wrong. However, the password is the same, and when we roll back, the email and password work just fine.

    Hello, just wanted to update on this issue.

    1. We had the same issue after updating from version 1.7.32 to version 1.8.6

    2. We switched to cURL, and got a similar error message as above – “Warning! Postie requires cURL 7.30.0 or newer be installed.”

    3. We roll-backed to the older version, and everything worked again.

    4. We recently tried updating again to version 1.8.22, and the same errors returned.

    5. After rolling back, the issue once again resolved.

    6. Not sure if this is a Host specific issue, but the host for this particular site is Bluehost.

    Thanks

    • This reply was modified 7 years, 10 months ago by leoly.

    Having a similar issue. When sending messages via the contact form – some messages are sent, while others never arrive, even though all messages give the successfully sent message. Thanks.

Viewing 15 replies - 1 through 15 (of 102 total)