-
Posts
818 -
Joined
-
Last visited
-
Days Won
6
Everything posted by benbyf
-
Payment base class + PaymentStripe + PaymentPaypal
benbyf replied to apeisa's topic in Module/Plugin Development
PaypalPayments - having problem on Process step not validating. There was an error, which went away after chaning the settings to use Curl, but now it always returns "Payment canceled or something went wrong" after sucessful retunr from paypal. I orginally had different pages for each checkout item, but now doing the whole checkout process on one url. @apeisa Happen to know what might be happening here at all? Thanks! -
RT @TechCrunch: 5 reasons why Apple's animoji are dumb https://t.co/zooXFIq3hk https://t.co/K6jHxUFOU0
-
Works well if you change null for $this. Was erroring before.
-
yep, if you look at the first post error this is the module that was having the issue reported on it.
- 11 replies
-
- 1
-
-
- animated gif
- gif
-
(and 1 more)
Tagged with:
-
True, but it was mainly to get faster page speeds so the resizing was needed. however it doesnt seem to work for some reason (gif's are bloaty)
- 11 replies
-
- animated gif
- gif
-
(and 1 more)
Tagged with:
-
AHHHHHHH worked it out. Silly me, think it's actually something i've hit on before in PW, it doesnt like resizing gif's My code was this: $imageSmall = $image->width(460); $imageMedium = $image->width(720); echo '<div class="slide"><img src="'. $image->url .'" srcset="'. $image->url .' 1440w, '.$imageMedium->url.' 720w, '. $imageSmall->url .' 460w" alt="'.$image->description.'"></div>'; now is this and works like a dream taking out the resizing for gif's: if($image->ext == "gif" || $image->ext == "GIF"){ echo '<div class="slide"><img src="'. $image->url .'" alt="'.$image->description.'"></div>'; }else{ $imageSmall = $image->width(460); $imageMedium = $image->width(720); echo '<div class="slide"><img src="'. $image->url .'" srcset="'. $image->url .' 1440w, '.$imageMedium->url.' 720w, '. $imageSmall->url .' 460w" alt="'.$image->description.'"></div>'; }
- 11 replies
-
- animated gif
- gif
-
(and 1 more)
Tagged with:
-
That seemed to produce an even worse Apache level error it was super scary
- 11 replies
-
- animated gif
- gif
-
(and 1 more)
Tagged with:
-
gif's dont store dpi data, however I did manage to upload a tiny giff and its works but over 2mb its crashing, is it maybe a memory allocation setting somewhere that needs increasing? I'm running Nginx
- 11 replies
-
- animated gif
- gif
-
(and 1 more)
Tagged with:
-
Running into Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes) (line 190 of /srv/users/serverpilot/apps/hortons/public/site/modules/ImageAnimatedGif/ImageAnimatedGif.module) I'm running PW 3.0.42. Not come across this before on a image field with a gif uploaded, anyone have any insight? Thanks
- 11 replies
-
- animated gif
- gif
-
(and 1 more)
Tagged with:
-
great, will be sending you some Pull Requests in the near future
-
Hi! Great module. Two requests: Could the token step be incorperated into the admin settings or a required Process module? I've been thinking for ages to whether it was possible to view the contents of a folder from dropbox on your site and create public links to files - use case: upload your resources to this folder in dropbox and they'll automatically appear on the site? Thanks!
-
Just for other peoples reference I've been using @adrian's coding here: as a function in my module: protected function createRepeater($repeaterName,$repeaterFields,$repeaterLabel,$repeaterTags, $icon){ $f = new Field(); $f->type = $this->modules->get("FieldtypeRepeater"); $f->name = $repeaterName; $f->label = $repeaterLabel; $f->tags = $repeaterTags; $f->icon = $icon; $f->repeaterReadyItems = 3; //Create fieldgroup $repeaterFg = new Fieldgroup(); $repeaterFg->name = "repeater_$repeaterName"; //Add fields to fieldgroup foreach($repeaterFields as $field) { $repeaterFg->append($this->fields->get($field)); } $repeaterFg->save(); //Create template $repeaterT = new Template(); $repeaterT->name = "repeater_$repeaterName"; $repeaterT->flags = 8; $repeaterT->noChildren = 1; $repeaterT->noParents = 1; $repeaterT->noGlobal = 1; $repeaterT->slashUrls = 1; $repeaterT->fieldgroup = $repeaterFg; $repeaterT->save(); //Setup page for the repeater - Very important $repeaterPage = "for-field-{$f->id}"; $f->parent_id = $this->pages->get("name=$repeaterPage")->id; $f->template_id = $repeaterT->id; $f->repeaterReadyItems = 3; //Now, add the fields directly to the repeater field foreach($fieldsArray as $field) { $f->repeaterFields = $this->fields->get($field); } $f->save(); return $f; } // usage public function install(){ $fields = array('title','body'); $this->createRepeater("text_repeater",$fields,"Text repeater","", "file-text"); }
-
Done quite a bit of Googling and haven't quite worked out how one would create a field of type repeater and add fields to it via the API in a module. Anyone have any links or examples?
-
Hello, Does anyone know whether the is a place detailing the structure your admin theme should take when creating one? e.g. I see UiKit, Reno and Default admin themes all have default.php, init.php, controller.php files, is this a stylisitic choice or a prerequisite for any admin theme module? Thanks!
-
@szabesz not what i intended, but probably not a long shot to create a mini module using the messaging but in the admin to be viewed by all users with the permissions. will look into it after I've published the main messaging module. Thanks
- 19 replies
-
- 1
-
-
- conversation
- messaging
-
(and 1 more)
Tagged with:
-
@szabesz Thanks, not sure I understand fully you requirements, like a "message the site admin" area?
- 19 replies
-
- 1
-
-
- conversation
- messaging
-
(and 1 more)
Tagged with:
-
HELLO! I've been working on a user messaging module which I am nearly ready to release as version 1. Currently I have the below functionality and I'm looking for feedback to what other things may be useful for people looking to add user to user messaging on their sites. compose message to one or more users known to PW js to enable tag based UI display of user names input on compose message form display all message threads with reply forms reply to message thread displaying each user name by each message in the thread display "unread" when a thread has new content that hasnt been seen by current user delete or unpublish message thread (configurable) display total message thread count display total unread threads (threads that have new replies that the current user has not seen) delete all message threads and associated data (not meant for the users to have access to) road map send email to user on new message to a thread they are included in
- 19 replies
-
- 8
-
-
- conversation
- messaging
-
(and 1 more)
Tagged with:
-
Hi, does @ryan or anyone else have anymore progress or opinion on this, as i think it is a somewhat polarising subject. I believe having lots of different stores would be bad for processwire (as im not very keen on using the https://processwireshop.pw/ store). It would be preferable to have a one stop shop for all modules including premium IMO.
-
@Sergei thanks. I am big on performance but I always struggle to add image compression to my workflow as i kind of want it running on the server for all new image uploads too but dont know of a good solution... whatever happened to that module that did that?!
-
New website created by myself for Hannah Shaw Children's book illustrator: http://hannahshawillustrator.co.uk/ Modules used: AIOM+ Croppable Image 3 PageTable extended - used to create layouts such as: 2up, 3up, 1third-2thirds, video, slideshow etc. Image Animated GIF Site-wide File Manager PublishToTwitter3 Video embed for YouTube/Vimeo Template Notes lots of Javascript and CSS animations to give it some fun flare where possible.
-
cant seem to get it working with facebook. keeps giving me this error: AutoFbPost: post failed; click here to log in with Facebook. URL blocked: This redirect failed because the redirect URI is not white-listed in the app's client OAuth settings. Make sure that the client and web OAuth logins are on and add all your app domains as valid OAuth redirect URIs. my settings: https://www.dropbox.com/s/y4ajeac4wwlyup4/Screenshot 2017-07-07 16.53.23.png?dl=0 and platform the website url. any help would be appreciated
-
not really sure by the docs how to implement this module after adding the settings in the admin. any extra guidance? sorry. Just saw the Tweet this page check box... and now works, not sure this is mentioned on github however.
-
HELLO. I've recently found that the module doesn't currently work as expected. please do not use till this is resolved. Thanks Should work now. wasn't saving pages properly, but now fixed.