Jump to content

Oni

Contributor
  • Posts

    101
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Oni

  1. Check that there is a PRIMARY KEY set on your table (core_acp_notifications), and that the PRIMARY KEY is set to AUTO-INCREMENT.
  2. That's a really weird issue, did you try clearing your cache or using another browser except your mobile phone browser?
  3. Install MySQL 5.6.2 or above as recommended or use another version of MariaDB, it seems like IPS doesn't support your version of MariaDB.
  4. Open your AdminCP and go to Members -> Member Settings -> Profiles There you can create new fields with the option 'Show with member's content submissions?', which you set to 'Show to all'.
  5. If your theme contains these 2 options: Set them both to 'Default' as in the picture above, or skip this step if not existing. Now you can import the Google Font of your choice the recommended way by importing it via CSS @import rule. Open your custom.css (Customization -> Themes -> Your Theme -> Edit HTML and CSS) and add the @import rule which you can get from https://fonts.google.com, as an example here is how it looks like (using 'Open Sans' font as example): @import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap'); after that you just have to set the font-family property in the body class of your theme like this (using 'Open Sans' font as example): body { font-family: 'Open Sans', sans-serif; } Here an example how the custom.css looks after following these 2 steps with a fresh copy of the default IPS theme: Congratulations, you have successfully changed your font face globally - in a more maintainable way! Remember: You should not touch any of the template files for styling, always use the stylesheets, even if it's just 1 line of code.
  6. That's not the recommended way to change or set a font in IPS! If the options of body_font and headline_font are set to default, you can define the font face of your choice in the stylesheet of your theme without touching any template files.
  7. Hello @vasil1682, the IPS Framework is great and provides the needed properties and methods for this. If you want only a certain user group to see the content: {{if \IPS\Member::loggedIn()->member_group_id === X}} // This content is only visible for the specified userGroup, // in this case it would not work since X is not a user group, replace it with a GroupId ;) {{endif}} If you want multiple user groups to see the content: {{if \IPS\Member::loggedIn()->inGroup( array( 1, 2, 3 ) )}} // This content is only visible for GroupId 1, 2 and 3 {{endif}} I hope that I could help you, have a nice day and good luck with your forum.
  8. Hello everyone, I'm Oni and thought I would finally join this forum to stay awhile, listen and contribute to the community.
×
×
  • Create New...