Recent content by bart

  1. bart

    XF 2.0 Force a language to all users

    Ik know how to do that for myself but dont think an addon should make such changes. So thats where i got stuck.
  2. bart

    XF 2.0 Force a language to all users

    No sorry, I couldn't find out what to do. I've put xenforo on hold for a while. The learning curve is a bit to steep for me.
  3. bart

    UI.X 2

    When I click on any of the menu-options (Forums, What's New media Resources members, a tiny scrollbar appears right next to Members. And disappreas after about a second. It looks like a page is loading, maybe the menu itself. I see this in Firefox and Edge. It's not there in Chrome.
  4. bart

    UI.X 2

    That's it. Thanks
  5. bart

    UI.X 2

    I have a faulty file-permission somewhere... But where? I get this when I try to install the theme throught the admincp in the section "ThemeHouse Styles ". To which directory does the script want to write?
  6. bart

    XF 2.0 Hidden custom thread fields

    Is it possible to hide a custom thread-field to the user? - the one starting the thread should set the option (this works great) - all others won't see the option (is this possible?)
  7. bart

    Likes You've Given

    Will this work on 2.0? If not, will you do an update?
  8. bart

    XF 2.0 Force a language to all users

    I am building an addon that should bring the number of languages used back to one. Only the default language can be used. The first step was to make template modifications. It is no longer possible to change the language in the preefrences-section, nor chose a language through the...
  9. bart

    XF 2.0 Changing a Translation

    Thanks for your reply. I thin I better bring it down to two language. The Dutch translation including RM and MG and my own translation on top. I see a suggestion for user-selectability dating back to 2015. Time to get to work! :-)
  10. bart

    Implemented User Selectable Languages

    Wow, this dates back tot 2015... I would really like to see this implemented. I really only want one language for the whole site. I don't want the possibility to change the language at all. Not in the account settings nor in the language-choser. So that's the second suggestion: if there is...
  11. bart

    XF 2.0 Changing a Translation

    One last question. This seems to be the best way to do it. A pile of 4 languages: Master language Language 1: --- Dutch translation Language 2:------ Dutch translation of the RM Language 3:--------- Dutch translation of the MG Language 4:------------ My own changes to all the above and the...
  12. bart

    XF 2.0 Creating a page

    Just to ask it one more time. How can I make it so that I can call something like: return $this->renderer('my_template', $viewParams); Well, what I really want to do is somthing like: $html=render("my_template"); $reply->setParam('contents', $html); Hope this makes sense...
  13. bart

    XF 2.0 Creating a page

    This works. Great! I have to dig into this constroller-stuff. Now one small step further: to render the page I would like to use a template from the system. Like "page_view" or any template I define myself. Thanks!
  14. bart

    XF 2.0 Creating a page

    To show you what I am stuck on. This is my code: namespace test\home; class homepage { public static function doe() { $visitor = \XF::visitor(); $viewParams = [ 'who' => $visitor['username'], 'zone' => $visitor['timezone'] ]...
  15. bart

    XF 2.0 Creating a page

    Yeah, that part is clear. Sorry. The problem is when I want to use a callback. I can't get that working. I need to be able to make a page through php and show it in a template.
Top