Mark

IPS Staff
  • Content count

    29500
  • Joined

  • Last visited


About Mark

  • Rank
    Meet Jay
  • Birthday March 04

IPS Marketplace

  • Resources Contributor Total file submissions: 5

Profile Information

  • Gender Male
  • Location Colchester, UK

Recent Profile Visitors


127,122 profile views

Mark's Activity

  1. Mark added a post in a topic: Favorite Movie(s)   

    It's between 12 Angry Men and Airplane. 
  2. Mark added a post in a topic: TV Shows   

     
    "Tall cap, triple shot, half caff" / "Malt scrap, nipple slap, half caff!" - funniest line ever.
  3. Mark added a post in a topic: Theme System - Missing Vital Functionality   

    Almost all of these have been implemented for Beta 6.
     
    When managing your theme settings, you'll see them tabbed just as the end user will and can reorder them. This also provides an easy way to see all your settings and get the setting keys.

     
    When in designer mode, you'll notice a lang.php file in the theme directory, just lie for applications and plugins, which you can use to define language strings to go with your theme. The "title" field when creating a setting will advise you to use this.

     
    We want it to be really easy for designers to add theme settings even without programming experience. To manage this balance, I've made it so you can use the pre-defined field types just like now, or you can alternatively provide the PHP code to create a form field which will allow you to provide custom validation code, etc.

     
    Also in beta 6, the concept of "images" has been renamed to "resources" and can be used for images, fonts, theme-specific javascript, etc. You'll still use it in the same way, except with {resource="file.ext"} rather than {image="file.ext"} and the files will be in a "resources" folder rather than an "images" folder.
  4. Mark added a post in a topic: "Paste as plain text by default". Should be enabled by default?   

    One shouldn't generalise. If I'm posting something I copied and pasted from a pdf which has the text in an usual color/font/size, I would want it without formatting. However, if I'm posting a link, I would expect it to retain the link (not just paste the text), or if I'm posting an except from Wikipedia, I would want it to retain links/bolding/etc within the excerpt.
    That is why we provide both options.  Personally , I'd prefer to just let the OS handle pasting because that's it's responsibility, but annoyingly both Windows and OS X don't make the ability to paste as plain text terribly well known.
    I do have an idea in the back of my mind. I'd like to make it so when you paste anything, it will paste as formatted, and a discreet message will appear somewhere near the editor saying "Would you prefer this as plaintext?" and then it will remember that choice for next time. This won't make it into 4.0 though.
  5. Mark added a post in a topic: "Paste as plain text by default". Should be enabled by default?   

    ​No, it's an OS thing. Same thing for pasting into any application  
  6. Mark added a post in a topic: Commerce Plugin - Integrating 3rd-Party Class Wrapper   

    Sure, you could add a column to the invoices table in the database, or create your own map table.
  7. Mark added a post in a topic: 4.0 has less options than 3.4.x?   

    You can still see and run tasks manually. The setting to enable/disable cron has a "View Tasks" link in it's description or you can also type "task" into the ACP search bar.
  8. Mark added a bug in IPS4 Bug Tracker   

    Unable to attach xml file
    This zip contains an xml file:   MyFonts.xml.zip
    If I try to attach it to a post/whatever, I get an alert box saying: "There was a problem processing the uploaded file. 99"
     
    In addition to fixing this, the "99" shouldn't be in the alert.
    • 0 replies
    • 0 views
  9. Mark added a bug in IPS4 Bug Tracker   

    Hook tabs
    I created a plugin ( MyFonts.xml.zip ) which includes a hook with code like this:
    class { function { return <<<HTML ... HTML; } } The export process for hooks (correctly) wraps all methods in a try/catch so that hook errors don't break the community. But the way it does this indents everything, so the code becomes:
    class { function { try { return <<<HTML ... HTML; } catch ( \Exception $e ) { return parent::(); } } } Which of course is invalid.
    • 0 replies
    • 0 views
  10. Mark added a post in a topic: CKEditor Kitchen Sink Edition   

    I've not tested them, but yes, any CKEditor plugin should be compatible with IPS4. Let us know if you have any problems with any of them.
  11. Mark added a post in a topic: CKEditor Kitchen Sink Edition   

    You'd have to install each plugin at a time. Almost all of those are of course inappropriate for a community editor (like there's a whole row for form elements, which would make no sense in a post).
  12. Mark added a post in a topic: CKeditor developers?   

    The IPS4 text parser is already able to convert URLs into content - you don't need a CKEditor plugin. Here you go:   MyFonts.xml.zip  (Upload at ACP > Plugins).
  13. Mark added a post in a topic: Commerce Plugin - Integrating 3rd-Party Class Wrapper   

    \IPS\IPS::$PSR0Namespaces['Freshbooks'] = \IPS\ROOT_PATH . '/plugins/commerceTests/Freshbooks';
  14. Mark added a post in a topic: Theme System - Missing Vital Functionality   

    These are some good ideas, we'll take a look into these  
  15. Mark added a post in a topic: Commerce Plugin - Integrating 3rd-Party Class Wrapper   

    Are the classnames \FreshBooksApi\Class? If so, that should work fine.
    Though you can't distribute files in the plugins directory (since they're created dynamically), you'd need to put them somewhere else. /system/3rd_party/ is probably a good place.

About Me

Contributes To

  1. News and Announcements    By IPS

    • 501
      entries
    • 13872
      comments
    • 4821326
      views