Recent content by Matthijs

  1. M

    Custom_required_functions problem

    I found the problem. The checked field was a date field. The database field had a content migrated from a previous (non-dadabik) database containing value 0000-00-00. After updating this to NULL all Working as expected.
  2. M

    Custom_required_functions problem

    I have the code below. Field type2 is "Beting" (so not one of the values in the IF clause). In the error_log, I see confirmation that both $a['show'] and $a['required'] are false. However, I still get the message that related field is required. What can be the reason? Code: function...
  3. M

    Custom page not displayed om mobile menu

    I have a strange problem. I created a Custom page type php. I added permissions for registered users. On my PC, the item is shown in the menu. But on my mobile (logged in with same user) the menu item is not displayed. What can be the reason for this? About/upgrade DaDaBIK™ is a product...
  4. M

    Question about code in custom_required_functions.php

    I found a solution for this! First, I added an extra field "type2" to the table. Then, I added a trigger in the mysql database: DELIMITER $$ CREATE TRIGGER update_type2 BEFORE UPDATE ON mslb_members FOR EACH ROW BEGIN SET NEW.type2 = NEW.type; END $$ DELIMITER ; Every updates of field...
  5. M

    Question about code in custom_required_functions.php

    Hi, I have this situation. I have a members table with a field 'type'. This field is disabled for regular members, they see the field but are not allowed to edit. In the same table, I have another field, that I want to show/hide depending on the value in 'type'. But because 'type' is disabled...
  6. M

    Issues with public pages

    Hi Eugenio, thanks, I did not set $always_refresh_permissions in config_custom.php. But I think I understand a bit what is causing this. I have a Wordpress website and use Dadabik using the wrapper. For logged-in users, the Home page is displayed. All fine. But for public users, I do not...
  7. M

    Issues with public pages

    After deleting browser history, cookies en cache in Edge, problem solved again. But this is annoying, since I can not ask our site visitors to do that ...
  8. M

    Issues with public pages

    Just upgraded to 12.5-Aveto enterprise. Same problem again. Clearing cache does not help ... I did change $dadabik_session_name after the upgrade.
  9. M

    Issues with public pages

    I used Edge. I cleared cache and after that all ok. Any idea what could have triggered this?
  10. M

    Issues with public pages

    I did some further investigation and found that on mobile it works fine. So it looks like it has to do with something on my desktop/browser and not with Dadabik. Will look further.
  11. M

    Issues with public pages

    Yes it is:
  12. M

    Issues with public pages

    I have problems with displaying public pages. This used to work fine. Is something changed in version 12.4.1? I set $username_public_user I have an activated page I set permissions (see image below) But if I open Dadabik, I get this error (but if I click on menu Vloot it works fine)...
  13. M

    Force commit in custom code possible?

    Hi, short question. In operational_hooks.php I want to do a redirect/pop-up. But for that, I need to do an exit() but then any changes are not done/committed. Is there a way to force a commit in custom code?
  14. M

    Implemented Show $show_logout_account_admin only when admin logged in

    Hi Eugenio, yes I had custom code for this, but since DadaBik 12 nog longer needed. All fine now!
  15. M

    Insert an escaped field in another table

    Hi, I have a question about escaping. I have a form where the user can enter city name. City name can include a single quote, e.g.: ’s Heerendijk. The value is stored by Dadabik in the related table. I do have a hook in operational_hooks.php enabled on that table...
Top