Adri Oosterwijk (@adri-oosterwijk)

Forum Replies Created

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

  • Adri Oosterwijk
    Participant

    @adri-oosterwijk

    Hi all,
    I think I got it worked out together with Otto and Tia over at WPML.
    You can have a look at it at those two topics:

    https://wpml.org/forums/topic/multiple-site-languages-but-just-a-bbpress-forum-in-english/
    https://wpml.org/forums/topic/bbpress-breadcrumbs-how-to-localize-and-point-to-the-right-page/

    BTW I hide the language switcher(s) on the topics pages by adding this piece of code in my header file

    <?php if (!is_bbpress()) {
    do_action('icl_language_selector'); 
    } ?>

    and this in my footer.php

    <?php if (!is_bbpress()) {
    do_action(‘wpml_footer_language_selector’);
    } ?>

    I hope it helps you as well.

    Regards,

    Adri


    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    @robin-w: thank you for your reply. I’m sure it could work. However using this solution forces me to create a function for every language I add.


    @casiepa
    : Goeiemorgen, daar zijn we weer! Thanks for helping out. I have achieved a lot of what I want but the breadcrumbs remains. (for reference, see this topic on WPML: https://wpml.org/forums/topic/multiple-site-languages-but-just-a-bbpress-forum-in-english/).

    As a result of this thread I have an English forum AND a Dutch page displaying the forum with a shortcode with only one set of topics. Exactly what I want.

    For the breadcrumbs I tried to create a solution with an onclick event and then navigate back in the history but that is not reliable. When a user is entering a topic from, let’s say a google search result page and then clicking the breadcrumb link they are send back to the google page.

    I imagine something like this:

    The English page for the forum has the slug: supportforum (for example)
    The Dutch page for the forum has the slug: helpforum (for example)

    On the forum index page no breadcrumbs are needed.
    On the topics page I only want a link back to the forum index for the appropriate language.
    So the ‘solution’ must not link back to the forum slug but to the page where the index lives.
    I have absolutely no idea how to achieve this.

    The outputted link has to be something like this:

    http://www.my-site.com/forumpage-slug/

    For the other languages:
    http://www.my-site.com/language-code/localized-forumpage-slug

    In my case English is the default language and Dutch is the translation.
    The urls should be:

    http://www.my-site.com/supportforum/ -> for the default English language.
    and
    http://www.my-site.com/nl/helpforum -> for the Dutch language forum page.
    and
    same way for every other language added.

    I hope this description make sense.

    HTH

    Regards,

    Adri


    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    Although this is an old thread I just try my luck.
    The solution above does work however I’m trying to get it to work in a multi-lingual site using WPML. I know there are issues with the compatibility between bbPress and WPML. What happening is that when I click on the (altered) breadcrumb it alway returns to the English version.

    I’ve been working on a solution to use bbPress in my multi-lingual site for quite a while now and this is the one issue left.

    I do not translate the forums because I want the English topics displayed on all different language pages. However I want to achieve that the visitor is returning to /nl/supportforum/ (when the site is in Dutch) instead of /supportforum which is the English version.

    Please advice.

    Adri


    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    Found it….
    It was really to simple to spill words over it. None the less it may be useful to anyone else.

    It came down to the fact that I (although I am the site admin) had a role as Participant.
    There was another admin account with the role of key master so I logged in with that account and was able to change the admin user to a Forum key master role.

    This problem is solved!


    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    Thank you for your effort, I will investigate further.

    Fijne dag!


    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    Hey Pascal, goeiemorgen,

    Thank you for your reply.
    Sadly it did not work at all.

    The setting

    Dashboard / Settings / Forums: Default User Role = Participant; leave other settings at default.

    could not be changed because it is unavailable in the settings pane of the dashboard as well.

    Permalinks and Port numbers were already set to the suggested ones.

    I hope you have another suggestion for me.


    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    Thanks for helping me out.
    Looking forward to hear from you.
    Adri


    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    Goedemiddag Pascal,

    Yes, I am the administrator of this site. It is still under development and is running locally.
    When I try to load the url you provided (of course with my local domain name) I get this response:

    ———————-
    Cheatin’ uh?
    ———————-

    Do you know what is happening here?

    It would be great if you can help me out here.
    I’m struggling (on and of) for more as a half year now.

    Thanks in advance.

    Adri

    In reply to: Languages in bbPress

    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    It is really annoying that no one seems to bother…..
    bbPress is at this time not showing in the backend of the site, it does in the front end but in a wrong way.

    In reply to: Languages in bbPress

    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    Hi,
    Anything new to know? Your reply please….

    In reply to: Languages in bbPress

    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    Below the reaction I got from WPML.
    Forgive me but for me it is unthinkable that the most used forum plugin on the net 1,7 million downloads is still not WPML compatible.

    Are you taken actions to WPML to persuade them to shift gear on it?
    Here is the WPML reaction:

    ——————————-

    Hello Adri

    Thank you for the Debug infos.

    Unfortunately I can not provide solutions for bbPress in use with WPML and WooCommerce by now.
    The Bridge Plugin isn’t supported at current time.

    Our DEV Team is working on a solution, but this will take time.

    For now the bbPress Plugin is considered as not compatible with WPML and also not compatible with WooCommerce Multilingual.

    I am happy you found a kind of workaround, though I assume you could encounter more issues later on using this plugin at current status of things.

    Regarding your last question, please refer to this DOC:

    Automatic Redirect Based on Browser Language

    The WPML Language Redirection based on browser language will “work” every 24 hours, unless you clean your cache of the browser.

    This is because if you take as example a visitor that has EN as browser language,
    but he wants to see your site in DE,
    he would not be able to see your DE site if WPML would ALWAYS redirect to the browser language.

    So WPML does only redirect the user once, and that cookie expires 24 hours after, or of course if you clean the browsers cache.

    I apologize that I can’t help much regarding the bbPress issues.

    It is in the ToDo list of the DEV Team.

    Thank you

    —————————

    In reply to: bbPress not working!?

    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    I was able to pin it down a bit more. I discovered that this was happening only when the woocommerce shop page was set as Front page in the WordPress Reading Settings. How come? Beats me, but when I selected another page as front page the Forums shows up. Beside that I have a topic out at Woocommerce that the pagination is not working properly. When the shop page is set as front page, the second and any other product page I want to go to takes me to a wrong page. So it looks like it is a permalink issue caused by one of the plugins.

    However I definitely want the shop page as my front page. So I had to find a work around. I downloaded a page redirect plugin called Page Links To, created a new page and named it Start. There is no content on that page, I only set the redirect. Selected this page as the static Front page an it all works.

    I have my shop page at front, the woocommerce pagination works and the bbPress forums are showing.

    Of course the real issue is not solved so please do investigate and let me know.

    In reply to: bbPress not working!?

    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    I did and I’m awaiting their response. Thank you so far.

    In reply to: bbPress not working!?

    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    I was able to point it down to WPML. When I activate the Multilingual CMS Plugin I see the custom Post Types dissappear. Searching the internet I discovered a bbPress Multilingual bridge plugin. I downloaded this plugin from GitHub an installed it. The Custom Post Types appears as they should.

    From this point on I was very optimistic but….
    It is virtually impossible to show the forum. It comes all down to permalink settings and page settings. When I select my WooCommerce shop page as the static front page (what I want) the forum is not visible. It redirects immediately to the front page. When I select no page as front page the forum appears when clicked on the menu item. Beats me! I’m pulling my hair out. Argggghhhhhhhh!!!!!!

    In reply to: bbPress not working!?

    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    I had not try to install and run bbPress without other plug ins.

    I deactivate any other plug in and switched to the default twentytwelve theme.

    Now it works.
    So I have to find out wicht plugin or what part of the child theme is causing this issue.
    Thanks for now and I will get back when I know more.

    In reply to: bbPress not working!?

    Adri Oosterwijk
    Participant

    @adri-oosterwijk

    Thank you for your reply.

    I installed through the wordpress installer ->from the plugins ->add new -> install.
    Second attempt downloaded the zip, upload it to wordpress and activate it.

    No functions added.

    I’m using MAMP (for mac, obviously) with mySql and Apache.
    Because I’m on a mac I never had to bother about drivers etc.

    Other plugins are installing fine, except I had an issue in the last couple of days with the upgrade of WooCommerce in conjunction with the WPML plugin. That is solved. It was permalink related (content showed in English and was invisible in Dutch)

    I have tried to remove the bbPress plugin and try to reinstall it to no avail.

    I’m really puzzled here.

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