Jump to content

benbyf

Members
  • Content Count

    676
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by benbyf


  1. 13 minutes ago, szabesz said:

    By default regular expressions are case sensitive and in the warning only a-z is displayed and I guess Ryan wanted to make sure there can be no issues with these filenames when writing to a case sensitive filesystem.

    If this is the case then I'm a total idiot. Thanks!

    • Like 1
    • Haha 1

  2. Super confused, getting a error for this code to create a save message to log file:

    public function init() {
    	$log = $this->wire('log');
    	$log->save("MyModuleName","working");
    }

    Error: Exception: Log name must contain only [-_.a-z0-9] with no extension (in /srv/users/serverpilot/apps/betaville-dev/public/wire/core/WireLog.php line 167)

    Not sure how to fix this. Any help appreciated.
     

     


  3. 14 hours ago, szabesz said:

    I think Ben's "specification" is just somewhat vague so that is the source of our confusion. Anyway, Members Messaging can be either for frontend or PW's backend or even for both but in the latter case it would probably be practical to split the code among "submodules".

    Module was created to track date/time based messages between one or more users. That said it might be I could use it to create a new module that has an admin page that acts as a conversation between the logged in user and the admin or any other users.

    If you're looking for a less structured, freeform notes sort of collaboration thing then let me know and ill have a think.

    • Like 2

  4. @gbball which library? Like any CMS style thing, processwire makes it easy yo work with content and create content driven sites - including things like users etc. If you dont have much content that needs to be easily edited thennnnnnnn probably don't use a CMS 🙂 If you do then totally use PW as your content engine and the template system to display content on a page that also houses your webGL etc


  5. get this warning and am unsure even with the nice warning what to do here, the links dont seem to help - want to set eh site to FR and not the whole server as it is a shared server:

    https://www.dropbox.com/s/dxtfcrt1eyg9t7o/Screenshot 2019-01-15 11.40.53.png?dl=0

    Warning: your server locale is undefined and may cause issues. Please translate the “C” locale setting for each language to the proper locale in /wire/modules/LanguageSupport/LanguageSupport.module (shortcuts provided below):
    • English
    • Française
    For example, the locale setting for US English might be: en_US.UTF-8

     


  6. love it and think most little bits have been picked up.

    On the design side if possible restricting wide text sections like quotes on the homepage to a restricted width so that word count on each line is between 10-16 words will help people read it without getting lost on the jump to a new line. This both helps people read and looks nicer as it adds white space on wider screens breaking up the sections.

    • Like 5

  7. running PW3.0.98 and simply cant find a way to default the lang to fr-FR on the front end. Hoped this module would do the magic but can only ever get en-EN on enter to the site in a private session. Guest user lang is fr. Something else I need to be doing?


  8. Quote

     

    To continuously improve Instagram users' privacy and security, we are accelerating the deprecation of Instagram API Platform, making the following changes effective immediately. We understand that this may affect your business or services, and we appreciate your support in keeping our platform secure.

    These capabilities will be disabled immediately (previously set for July 31, 2018 or December 11, 2018 deprecation). The following will be deprecated according to the timeline we shared previously:

    • Public Content - all remaining capabilities to read public media on a user's behalf on December 11, 2018
    • Basic - to read a user’s own profile info and media in early 2020

    For your reference, information on the new Instagram Graph API.

     

    https://www.dropbox.com/s/tl5zgx9h7iormf8/Screenshot 2018-12-10 13.53.46.png?dl=0

     

    Just seen this on the instagram developer portal. I had a quick play with the facebook API explorer but couldn't get it to work as wanted (just display another user's profile image). Think we'll need to get going with this as instagram is stopping support for it's own API 😦


  9. What is the recommedned way of getting another user's recently images? Am I right in saying in sandbox mode only the dev user can display their content, so it's needed to use the profile's account to setup the dev tokens etc, or is there a way of adding another username to the sandbox so I can query their images...

    Bit confusing sorry, but I can only display my own images currently, no matter what I add to the module options.


  10. For some unknown reason when you add an admin page as a child of one of the menu items e.g. Setup - the page doesn't appear in the Setup menu. I've had to do a hacker work around to make it work but was wondering what I needed to add to the module or page to make this happen, and what was the thinking behind this? As looking at the core code it looks as though this was done purposely.

    Thanks!

×
×
  • Create New...