Forum Replies Created

Viewing 15 replies - 16 through 30 (of 60 total)
  • Thread Starter cambofrizz

    (@cambofrizz)

    I just realised that this is maybe more related to wpforms, as it does hCaptcha integration without your plug-in active. OK, I’ll put this on their support forum, too.

    Hm, do I get it right that these problems have to do with the block shit (aka “Gutenberg”) WordPress is pushing on all of us?

    You don’t have to go that far back. I resorted to version 4.2.7 and the error message was gone. So, presumably it’s something that was introduced/changed in 4.2.8

    I’m getting the exact same error message. Downgraded to 4.2.8: same problem. Then onto 4.2.7: Success! So, apparently it’s something that was changed in 4.2.8

    I’d be surprised if it would not be working any longer, as the changelog only says this:

    3.2.1
    Update author
    Add sponsor link

    However, because of the above, I didn’t even bother to update.
    Apparently the plug-in has been taken over, and the new author wants to promote his business or something.

    Thread Starter cambofrizz

    (@cambofrizz)

    Can I send that in a private message? Not sure all the clubs would like to be mentioned here.

    Oh, wait, I can of course do it this way (it’s just a simple string replace):

    function MatchTitle ($text) {
    	$text = str_replace(
    		array('Club A','Club B','Club C'),
    		array('Translated Club A','Translated Club B','Translated Club C'),
    		$text);
    return $text;
    }
    
    if(!is_admin() && ICL_LANGUAGE_CODE=='kh') {
    	add_filter('the_title', 'MatchTitle');
    }
    • This reply was modified 3 years, 11 months ago by cambofrizz.
    Thread Starter cambofrizz

    (@cambofrizz)

    Hi @savvasha ,

    The club names in the post itself are already translated, although I have selected ‘Default’ (which originally is ‘Inline’), so that’s OK.

    Regarding the title, I’m wondering if it is not just about the sequence of things. When copying a match for translation, everything is copied and then saved as a separate post, right? So, how about if everything was copied, except for the title and then just before saving, the title would be derived from the now translated clubs, just as happens in the original post with an empty title?

    I have a feeling this must be possible, somehow.

    At the moment I’m translating titles automatically via a filter on ‘the_title’ where the club names get their translated form, but I’d like to have it ‘hard coded’.`

    Thread Starter cambofrizz

    (@cambofrizz)

    Hi @savvasha ,

    Ah yes, I’ve discovered it’s the Alchemists theme that changes the labels for the Layout settings. Why they’ve done that, I don’t know.

    I have installed your branch and YES! Now it works. Thank you very much!

    And I see you also have added a sorting option for the Countdown widget I asked for in another thread. Much appreciated.

    Uhm, at the risk of asking too much: the reason I wanted this to work is of course to have the right clubs connected to the matches in translation. But another consideration – for SEO reasons – was the title (not the slug, as that is just the match id, which is fine). When creating the original match, the title is automatically derived from the clubs selected (Club A vs Club B). In translation I can get a translated title by manually removing the title and then updating the match: the title then contains the translated club names. Is there any way to automate this process?`

    Thread Starter cambofrizz

    (@cambofrizz)

    Hi @savvasha ,

    No, I don’t have those settings, they are – as I wrote – ‘Default’ and ‘Extended’, see the screenshot.

    Which WPML settings do you mean? There are hundreds of possibilities in WPML for translations of custom fields and post types. Surely you don’t want me to put them all here. And besides, as I mentioned above, I’ve tried all kinds of settings and combinations.

    How difficult is it to do something like: “Assuming you have setting A, B, and C, you could use this custom code”?

    Thread Starter cambofrizz

    (@cambofrizz)

    I don’t have ‘Inline’ or ‘Block’ layout, they are called ‘Default’ and ‘Extended’, and yes they already appear as translated, but you’re totally missing the point: in the back-end the clubs are not automatically selected as I thought was obvious from the screenshot I shared.

    Now you’re asking me for WPML settings. Are you saying in your set-up those clubs are automatically selected when duplicating a match for translation? Then it might be much more helpful if you share your WPML settings, as I’ve tried I don’t know how many different settings and NONE of them worked.

    • This reply was modified 3 years, 11 months ago by cambofrizz.
    Thread Starter cambofrizz

    (@cambofrizz)

    Hi @savvasha ,

    No, that solution does not work.

    The problem is this: the translated Match will have the translated league, season and ground assigned as it should have, but it will have lost the assigned teams (under ‘Clubs’, although the translated club names are available in the dropdowns).
    The clubs are by the way correctly copied and translated under ‘Results’.

    See the screenshot: green rectangles with correct copy & translate, red rectangles where the translation (of the club) is missing. At first I thought it might have to do with the fact that the choices under ‘Clubs’ are dropdowns, however ‘Ground’ is also a dropdown.

    Since the title of the original match is automatically set by the clubs selected, it would be nice if the translation could also update the title in the second language.

    Thread Starter cambofrizz

    (@cambofrizz)

    Whoa! Do you @saidaboukhadra always just scan a support message, see the word ‘update’, slam in a link to general update issues and consider that “having given support”?

    Have you even read or understood my complaint? It’s not about issues after the update it’s about the update itself. I have Elementor auto-updates disabled, as in ‘not enabled’, as in ‘undesirable’, as in ‘not wanted’. Yet, your plug-in was updated to the latest version, as in: ‘without my consent’.

    Is the issue now clear?

    And can you please go into this complaint? As in: give an answer how that could have happened?

    Thread Starter cambofrizz

    (@cambofrizz)

    Hi @savvasha

    Oh, come on please…

    In the link copied above (this one : https://wpml.org/forums/topic/sportspress-wpml-player-metrics-bug-player-statistics-issues/ )
    it’s described in as much detail as possible what the problem is.

    Now, just follow the problem described there. Thank you.

    Thread Starter cambofrizz

    (@cambofrizz)

    Hi @savvasha ,

    Of course I have already put the countdown.php template in my child theme structure. But why is there no effort whatsoever to put this very simple adjustment into the countdown widget?

    I’m quite frustrated that you guys are labelled ‘Plugin Contributors’ but seem to be totally unwilling to adjust anything in the SportsPress plug-in, let alone improve it. One just has to have a look at all the support threads here and the ‘suggestions’ on your own website, most of which are completely ignored as well.

    Thread Starter cambofrizz

    (@cambofrizz)

    While the League Tables now display correctly in translation, the translation of matches still doesn’t work properly: when translated the teams are still lost.

    So, I’m still waiting for a clarification of the claimed “Certified compatibility with WPML” (by the way, the link in the feature list to WPML returns a 404).

    In the meantime I have notified WPML of this claim.

Viewing 15 replies - 16 through 30 (of 60 total)