Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by benbyf

  1. ok, so somehow its working.... fingers crossed, not sure what but did a mix of all the settings and something has started working with one of the combinations... FML i hate email

    3 hours ago, netcarver said:

    Hey @benbyf I don't run my own servers, but there is some info here about DNS records for people doing self-hosted stuff...

    • The Digital Life on YT:

      There are other videos on that channel about self hosting email servers - but I note he's recently given up self hosting mail services.

    also this was really useful by the way

    • Like 1
  2. Just now, netcarver said:

    Is your intent to use your self-hosted service for email sends only?  Or receipt as well?

    so theres a mailbox set up on the server and I'm connecting to it to send from the PW site via wiremail

  3. Happen to be any email DNS ninja's out there?! Running a email server using mailinabox on a digitalOcean droplet and sending email from a PW site using wireMailSMTP. Something is set wrong as I mostly SMTP errors:

    Error in hnsmtp::send : 554 5.7.1 <*******@gmail.com>: Relay access denied

    when sending out emails. logins etc are correct and I get this error when sending. Anyone happen to know what might be happening here or what might be missing from my domain DNS to make this the case..?

  4. HELLO!

    Trying to use Pug templating engine and have downloaded and installed both TemplateEngineBase and pug module, however pug itself seems to be missing as the module throughs an error saying Phug isn't found. How should I install pug itself??

  5. To: hello@ethicalby.design
    X-Spam-Level: *
    Mime-Version: 1.0
    Content-Type: multipart/alternative; boundary="==Multipart_Boundary_x4f3b2ef58aaf86a1b8f42e135b6d876fx"
    X-Spam-Report: *  0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% *      [score: 0.5009] *  0.0 HTML_MESSAGE BODY: HTML included in message *  0.8 RDNS_NONE Delivered to internal network by a host with no rDNS
    X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,HTML_MESSAGE, RDNS_NONE autolearn=no autolearn_force=no version=3.4.2
    X-Spam-Score: 1.6
    X-Mailer: ProcessWire/WireMail
    X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.nicegrp.com
    Return-Path: <site@bristoltechwork.nicegrp.com>
    Received: from mail.nicegrp.com ([]) by mail.nicegrp.com (Dovecot) with LMTP id mfEsKtk/rmDfcQAAOdwwgg for <hello@ethicalby.design>; Wed, 26 May 2021 08:33:12 -0400
    Received: from PWbox1.default-fqdn.com (unknown []) by mail.nicegrp.com (Postfix) with ESMTP id 85EA91464DB for <hello@ethicalby.design>; Wed, 26 May 2021 08:33:12 -0400 (EDT)
    Received: by PWbox1 (Postfix, from userid 1000) id 4C15C14008C; Wed, 26 May 2021 08:33:12 -0400 (EDT)
    Delivered-To: <hello@ethicalby.design>
    Authentication-Results: mail.nicegrp.com; dmarc=none header.from=bristoltechwork.nicegrp.com

    not clear to me..

  6. Module.

    class MembersMessaging extends WireData implements Module {
    	public static function getModuleInfo() {
    		return array(
    			'title' => "Members messaging" ...blah blah
    			'singular' => true,
    			'requires' => array("PHP>=5.4.0", "ProcessWire>=3.0.1, MembersMessagingProcess"),


  7. Trying to work out why my module is send two emails when it should be sending one. I have a log statement at the end, it only shows up once in the logs where as i'm still recieving two emails!!? Which is why I'm confused:

    $mail = wireMail();
    // set a default email address if none set
    $mail->to($u->email)->from($this->siteEmail); // all calls can be chained
    $mail->subject('New Unread message');
    $numSent = $mail->send();
    if($numSent) $this->wire('log')->save('mm_emails', 'New email sent to: ' . $u->email);

    I'm running PW 3.0.165

  8. 7 minutes ago, Klenkes said:

    aaand... not to forget, in the CKE field you can set: Update image alt attributes (Replace blank alt attribute with image description)

    If an image description is set, it will be used automatically.

    wheres this sorry? I looked in the module InputfieldCKEditor and the settings on the textarea field itself but couldnt see this.

  9. 7 hours ago, JeevanisM said:

    There is one computer pioneer often get backseat in foray, none other than Mr. Konrad Zuse . I dont think he gets the wider audience as he deserves. 

    Amazing, thank you! Zuse wasn't on the list and is now

    • Like 1
  10. ended up with this, but be nice to get a best practice of tutorial on this as still don't really understand.

    	public function ___uninstall() {
    		// for each installed page delete on uninstall
    		$pages = array('my_test_page');
    		foreach ($pages as $key => $value) {
    			$page = $this->pages->get("name=$value, include=all");
    			$this->wire('log')->save('mm_log', $page->id);
    				// delete page and any children
    		// delete field groups used on system templates
    		$f = $this->fields->get('my_repeater');
    		$userTemplate = $this->templates->get("user");
    		if($userTemplate->id) {
    			// $userTemplate = $this->templates->get("user");
    			// $fg = $userTemplate->fieldgroup->remove($f);
    			// $fg->save();
    			$this->wire('log')->save('mm_log', 'delete user field');
    		// delete messages template
    		$templates = array('my_template');
    		foreach ($templates as $key => $value) {
    			$t = $this->templates->get($value);
    				$t->flags = Template::flagSystemOverride; 
    				$t->flags = 0; 
    			$fieldgroup = $this->fieldgroups->get($value);
    		// for each installed field delete on uninstall
    		$fields = array('my_field');
    		foreach ($fields as $value) {
    			$f = $this->fields->get($value);
    				// if field exists, then delete


  11. Never really got my head around field groups and it shows, In my module uninstall I think I figured out how to delete a page, then a template and it's fieldgroup so that nothing gets upset. But for fields that belong to templates that need to stoick around I'm still abit stuck to how you would remove the field and when I try I still get:

    Unable to delete field '[field name]' because it is in use by these fieldgroups: 'user'

    is there a tutorial or best method for removing added fields, pages and templates?

  • Create New...