• Resolved mortetm

    (@mortetm)


    Hi,

    I have recently bought and activated ai1ec on our website.
    We are extremely happy with the plugin and it is exactly what we’ve been looking for.

    Unfortunately, we did find one thing that seems to be problematic:
    in the url field for frontend submission, people are required to enter http or https or otherwise the link will not be generated correctly.

    Is there a simple way to fix this? I can’t ask all of my users to manually enter https:// every time they want to post an entry, it is just out of their scope to think about things like that.

    I tried editing the front_end_create_event_form.js with the following:

    $url_field_temp = e(this) // add url temp variable
    				if (substr($url_field_temp, 0, 7) == 'https://') {
    					$url_field_temp = substr($url_field_temp,7);
    				}
    				if (substr($url_field_temp, 0, 8) == 'https://') {
    					$url_field_temp = substr($url_field_temp,8);
    				}
    				$url_field_temp = concat('https://', $url_field_temp);
    				
    				$url_field = $url_field_temp;	
    console.log($url_field);			

    but it did not work at all. I added that after `url, #ai1ec_ticket_url”, l).each(function() {
    `

    Cheers,
    Antonio.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Antonio,

    Your inquiry requires changes in the code, which unfortunately we cannot help with as part of our support, but you are welcome to suggest changes or new features on Timely Product ideas page: https://ideas.time.ly/, upvote an existing request or make a new request there.

    Thanks,
    Ben

    Thread Starter mortetm

    (@mortetm)

    I read through the idea page and it seems that it was rejected because you need to differentiate between http and https, which is cool and all, but can we safely assume that when someone manualy enters an address, he needs only http version?

    In any case, I made my own plugin to deal with this problem meanwhile.

    Pozdrav!

    • This reply was modified 8 years, 3 months ago by mortetm.

    Hi @mortetm,

    Apologies for the delay in responding to your inquiry. We’ve updated the calendar and have issued several bug fixes with the newest releases for our WordPress Core Plugin, as well as our hosted calendar versions.

    If you are still experiencing difficulty or for faster assistance, please login to your Timely account and click on the “Get Help” link. You may also reply to this ticket, or open a new ticket.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Broken links’ is closed to new replies.