Jump to content

bramwolf

Members
  • Content Count

    132
  • Joined

  • Last visited

Community Reputation

24 Excellent

About bramwolf

  • Rank
    Sr. Member
  • Birthday 11/05/1985

Contact Methods

  • Website URL
    http://www.bramwolf.nl

Profile Information

  • Gender
    Male
  • Location
    The Netherlands
  • Interests
    Graphic design, Web development, Playing piano :) Composing

Recent Profile Visitors

2,357 profile views
  1. Thanks Moritzlost! That does just what I needed πŸ™‚ (Y) You rock! πŸ™‚
  2. Hi Guys, I found that my site is producing this notice on the front end, even when $config->debug = false and also when admin is not even logged in. How do I keep the site from displaying this message to front end users? The notice is about a few vars being tested, which in this case aren't defined, how would I stop that from happing all together when testing vars? if I for instance wrap the $discountCode = blabla in a if($order) { ... } statement than I'm again testing for $order which isn't a object in this case which throws another notice.. This is the notice: Here is my current code: // PAD DISCOUNT CODE HOOK // First we see if we have active discount code if ($this->session->orderId) { $order = $this->pages->get($this->session->orderId); } if($product->geen_korting == 1) { $nodisc = $product->geen_korting; } else { $nodisc = $product->parent->geen_korting; } $discountCode = $this->sanitizer->selectorValue($order->pad_discount_code); $dc = $this->pages->get("template=paddiscount, title=$discountCode"); if ($dc->id) { if ($nodisc) { $discount = 0; } elseif ($dc->pad_percentage) { $discount = $newprice * ($dc->pad_percentage / 100); } } $event->return = $newprice - $discount; Thanks in advance πŸ™‚
  3. Hi Krlos, I did get it to work in the end! I used the onepagecheckout template found in padloper. I will send you a zip file with all modules en templates of my site needed for this integration you can just copy the Mollie module in it's entirety. Be sure to select it in PaymentModule. Yoiu can check my checkout scripts on how I invoked Mollie. You can copy what you need from my files and stitch your own version of the integration together πŸ™‚ Hope this helps! Grts, Bram
  4. Thank you sooo much for this!! Truly super helpful, I've been trying to implement that precise script for two days, since I didn't know you had already done it, and failed! 😒 thanks! πŸ™‚ I do however have a few questions O:) I've been playing around with the config options but can't quite get the script to do what I want, I currently have: $options = array( 'showUploaded' => true, 'uploadsDeletable' => true, 'showUploaded' => true, 'setMaxFiles' => 9999, 'setOverwrite' => false, ); But after the upload the script doens't show the files I uploaded, Nor do I see links to the files opening in a Gallery. Also I've not managed to upload more than 50 files at once, the rest of the upload seems to just get dropped. What settings would I have to use to: - See the images already in the folder - See the images after uploading with link to open them in a gallery? - Actually upload 9999 files? Thanks in advance! πŸ™‚
  5. Hi Guys, I've read all the info in this thread but since half is about the umlaubt and half about the content type I can't realy figure out if and how this was solved. This is what I get out of WireMail: Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit <p>Beste Bram,<br /><br /> Er is een account voor je aangemaakt op: portal.bewakingsgroep.nl<br /><br /> Je gebruikersnaam is: brammus<br /> Je wachtwoord is: 2c9c3s2EgAm4<br /><br /> Na het inloggen zal je gevraagd worden een nieuw wachtwoord op te geven.<br /> Onthoud dit wachtwoord goed en deel het met niemand.<br /><br /> Vriendelijke groet,<br /> Tonny Jacobs<br /><br /> Bewakingsgroep.nl</p> Does anyone know how to fix this? I've already tried the suggested updates to WireMail and the version from the repository to no avail :\ Thanks in advance!
  6. I checked a email from the frombuilder and got the same result. I never had this problem before with any other processwire sites I have. Any ideas on what could cause it? Thanks in advance πŸ™‚
  7. I tried it with a Gmail account but got the same results. It's like the header isn't configured properly? the encoding type should be sent as a header not as the message. However I don't know why that is happening or where I could change it.. πŸ˜•
  8. Hi Adrian, I don't think so, got the same formatting on Apple mail and android Grts Bram
  9. Hi Guys, Just installed and tested the module and my email came out like this: Any ideas on how to fix this? Thanks in advance πŸ™‚
  10. Well, here we go again. I was testing to see if the Mollie module works and got this error on the checkout page: Checkout Warning: include(/customers/a/4/3/big-in-fabric.com/httpd.www/site/modules/PaymentMollie-PW3/vendor/composer/../../src/MollieApiClient.php): failed to open stream: No such file or directory in /customers/a/4/3/big-in-fabric.com/httpd.www/site/modules/PaymentMollie-PW3/vendor/composer/ClassLoader.php on line 444 Warning: include(): Failed opening '/customers/a/4/3/big-in-fabric.com/httpd.www/site/modules/PaymentMollie-PW3/vendor/composer/../../src/MollieApiClient.php' for inclusion (include_path='.:/usr/share/php') in /customers/a/4/3/big-in-fabric.com/httpd.www/site/modules/PaymentMollie-PW3/vendor/composer/ClassLoader.php on line 444 I checked to see but the files it is referring to, like: /customers/a/4/3/big-in-fabric.com/httpd.www/site/modules/PaymentMollie-PW3/vendor/composer/ClassLoader.php Is actually right there. Any ideas on how to fix that? πŸ™‚ Thanks again guys.
  11. Crazy!! πŸ™‚ You fixed my problem ^_^ First, I just updated to already installed files of PaymentModule and PaymentInvoice to the PW3 versions, which crashed everything πŸ™‚ Than uninstalled both modules, updated the files and reinstalled them. Afterwards, I installed the MollieModule and now it worked fine! πŸ™‚ Thank you so much, now let's see if I can actually get it to work with the vendor files from composer πŸ™‚
  12. @MoritzLost thanks for your offer! πŸ™‚ However, i'm not planning on reinstalling Processwire inside composer, and also I don't need composer for anything other than this module so I decided to bedug the adapted PaymentMollie module instead and use prepackaged files provided by the original Mollie package from github. So to be clear, I'm trying to install this module ( Mollie compatible with Padloper ) https://github.com/Typografics/PaymentMollie-PW3 With the composer vendor files from this package ( The original Mollie api ) https://github.com/mollie/mollie-api-php The error I get after upload the files and going to the "Install Module" page is this: Fatal Error: Uncaught Error: Class 'ProcessWire\PaymentModule' not found in /customers/a/4/3/big-in-fabric.com/httpd.www/site/modules/PaymentMollie/PaymentMollie.module:7 Stack trace: #0 /customers/a/4/3/big-in-fabric.com/httpd.www/wire/core/Modules.php(1545): include_once() #1 /customers/a/4/3/big-in-fabric.com/httpd.www/wire/core/Modules.php(2842): ProcessWire\Modules->includeModuleFile('/customers/a/4/...', 'PaymentMollie') #2 /customers/a/4/3/big-in-fabric.com/httpd.www/wire/core/Modules.php(3023): ProcessWire\Modules->getModuleInfo('PaymentMollie', Array) #3 /customers/a/4/3/big-in-fabric.com/httpd.www/wire/modules/Process/ProcessModule/ProcessModule.module(380): ProcessWire\Modules->getModuleInfoVerbose('PaymentMollie') #4 /customers/a/4/3/big-in-fabric.com/httpd.www/wire/modules/Process/ProcessModule/ProcessModule.module(343): ProcessWire\ProcessModule->renderList() #5 /customers/a/4/3/big-in-fabric.com/httpd.www/wire/core/Wire.php(380): ProcessWire\ProcessModule->___execute() #6 /customers/a/4/3/big-in-fabric.com/ (line 7 of /customers/a/4/3/big-in-fabric.com/httpd.www/site/modules/PaymentMollie/PaymentMollie.module) This error message was shown because: you are logged in as a Superuser. Error has been logged. I have the PaymentModule installed and am using version 3.0.123 of Processwire, the module requires version 3.0.90 at least. This is the start of the PaymentMollie.module file: <?php namespace ProcessWire; // Here you can find more information about the Mollie php api https://github.com/mollie/mollie-api-php require_once __DIR__ . "/vendor/autoload.php"; class PaymentMollie extends PaymentModule { public static function getModuleInfo() { return array( 'title' => 'PaymentMollie', 'version' => '0.0.2', 'summary' => 'Mollie Payment method', 'singular' => false, 'autoload' => false, 'requires' => 'ProcessWire>=3.0.90, PaymentModule', ); } Anybody had any clues? πŸ™‚ thanks again
  13. Yes πŸ™‚ most definitely. I'm pretty used to all things processwire, but not at all to shell commands and composer thingies πŸ™‚ however the error does mention that it can't find the module within the path of PaymentMollie, totally lost as to why this might be the case.
  14. Actually it's this one: https://modules.processwire.com/modules/payment-mollie/ I think it has been adjusted from the original a bit to work with Padloper. I tried installing it manually but Processwire gives me the Error that the module "PaymentModule" which is needed by the module mentioned above can't be found, even though it is installed. As for composer. I think I can download the installer file and run it with some commands from a shell connection, however I don't even know where to put this without breaking the site. Site/modules seems the obvious place to put it but that will result in Processwire always showing it in the modules to be installed page? Or maybe i'm completely wrong..
  15. Hey Guys, I've been trying to install the Mollie-Payment module for apeisa's PaymentModule, but apparently I cannot get it to work without Composer. I've have no real clue of what it is or does, everything written about it confused me a complete 100% and I don't know how to install it. Could someone please give me some basic stept as to how to install this fucking thing onto my existing Processwire install? 😞 Any help would be greatly appreciated!
Γ—
Γ—
  • Create New...