Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter MASSERRA

    (@masserra)

    Yep… that’s exactly what happened with me on the 4.4.2 version and made me open this thread.

    Have you tried the fix Archana Solanki presented?

    Thread Starter MASSERRA

    (@masserra)

    Working great on 4.5 though! Without it being necessary to change the debug to true or false. Still curious about why that worked with debug false.

    I advise everyone who’s interested in image quality to use this plugin without a doubt! I was having issues with image artifacts appearing on a flat painted (in photoshop) light grey background, and this totally fixed it!

    Thread Starter MASSERRA

    (@masserra)

    Hey! Thanks for the quick reply!

    Wow, I was like, “why would this solve the problem”, and as it turns out it fixed it! Strange, would you explain me why would this be a fix? Although this would make me unable to use debug, but in the mean time will probably do it for me.

    Thanks a lot!
    Alex.

    Thread Starter MASSERRA

    (@masserra)

    As I see you can’t do it straight out of the box/plugin, right? You need to install some server functionality like ffmpeg separately, right? Understand why you probably decided to leave it out for the user. Thanks anyway.

    Thread Starter MASSERRA

    (@masserra)

    Yes, I’ve just found that out in the class-backend.php. So sad… I wanted to make sure the client had the minimal effort possible, in this case just uploading a video and thats it…because that raises the possibilities of them adding a pic with some tiny differences… I’m trying to do the same as this site, that shows a pic and on mouseover it starts moving.

    Do you have any idea how difficult it is to retrieve a frame of the uploaded video?

    Thanks for the quick answer! 😉

    It could be the same problem I had a long time ago, that I solved but I am not that good in programing, I only have some knowhow and when I need I can do it, but with lots of research and stuf… I’m sorry to say this, but if I have time I will try to solve your problem… In the meantime, I can say What I think could be your problem for other experienced people to say how to do it…

    Do you have two languages? Is the first form in your native language and the other in another? Because, if you are doing that, you’re probably experiencing the same problem as I was… The plugin uses a regular html form, with the method POST, and it has an action, that says that the info that you entered will be processed by another page, in this case, it’s the same, it sends to itself, but when it does, it misses the variable in the URL that says the language you’re in…

    To see if what’s happening is the same, try to send the form in the language that is not working and see if in the URL the language disappears and goes to your native language…

    😉

    Thread Starter MASSERRA

    (@masserra)

    Ups…I was wrong..! My friend changed the template I was using on that page and when I tried the $a++ I thought it was not working… but the $a++ worked!! I thought it was the same as what I had… but now that it worked I just saw the error I was doing… $a++; is only the same as $a = $a + 1; like I sad in the last comment and, still, I didn’t notice… 😛

    Thread Starter MASSERRA

    (@masserra)

    Thanks for the reply! That’s the same, like doing a count, attributing the $a the value of the $a plus 1… But I tried and no… that doesn’t work… :/

    Thread Starter MASSERRA

    (@masserra)

    Hi pinhassi,
    Try to do what I said above, in the plugin file “si-contact-form.php”.
    You will find something like this, from what I remember:

    <code>
    if ( getenv(‘HTTPS’) == ‘on’ ) {
    $form_action_url = ‘https://&#8217;.$_SERVER[‘HTTP_HOST’].$_SERVER[‘REQUEST_URI’];
    } else {
    $form_action_url = ‘http://&#8217;.$_SERVER[‘HTTP_HOST’].$_SERVER[‘REQUEST_URI’];
    }
    </code>

    Change it to this…

    <code>
    if ( getenv(‘HTTPS’) == ‘on’ ) {
    $form_action_url = ‘https://&#8217;;
    } else {
    $form_action_url = ‘http://&#8217;;
    }

    if (qtrans_getLanguage() == ‘en’) {
    $form_action_url .= $_SERVER[‘HTTP_HOST’].$_SERVER[‘REQUEST_URI’].”?lang=en”;
    } elseif (qtrans_getLanguage() == ‘pt’) {
    $form_action_url .= $_SERVER[‘HTTP_HOST’].$_SERVER[‘REQUEST_URI’];
    }
    </code>

    The last part is saying that if the language is ‘en’ than my form action url will be blah blah blah concatenated with “?lang=en” like you told me it was your url… or else, if it’s your original language (you have to change this part ‘pt’ to your language ‘ex’), than it’s the original url without the ?lang=ex variable…

    PS: If it doesn’t work, when I put “?lang=en”, change to “/?lang=en”… because I’m not sure if the $_SERVER[‘REQUEST_URI’] returns the url with an ending slash…

    Good luck! 😉

    Thread Starter MASSERRA

    (@masserra)

    Thank you! But I’ve done it like this, since wordpress adds classes all the way to ancestor when you click until the last child:

    .children {
         display: none;
    }
    .current_page_item .children,
    .current_page_ancestor .children,
    .current_page_ancestor .current_page_parent .children {
         display: block;
    }
    .current_page_item .children .children {
         display: none;
    }
    Thread Starter MASSERRA

    (@masserra)

    Any way to recognize if we are in the presence of an item’s child page? A function I don’t know about, something like the way $_GET[“page_id”] works, making an hidden ul change to block if you’re in a specific page that is child of another… The problem with this, is that we have to be specific about which page are we talking about, instead of a possibel function that may exist to know, again, if we are in the presence of an item’s child page…

Viewing 11 replies - 1 through 11 (of 11 total)