-
Posts
818 -
Joined
-
Last visited
-
Days Won
6
Everything posted by benbyf
-
Looking to write a tricks and tips article, anyone got anything which is SUPER useful for Processwire users which sits outside of installation and general usage and structure? Maybe things you wish you were told, or little tricks to get around restrictions or issues.
-
BOOOOOOOM thanks @szabesz - when tested, doens't work on PW 2.4 (but is a shared server so might be their setup) but works a charm on PW 3.0 hosted with digital ocean.
-
This has now been updated and works on PW3. I've also added download hit tracking so at least you have a small amount of stats on file downloads for your podcast. I've also added some readme text https://github.com/benbyford/pw-podcast
-
Hi, this has probably been asked before but after a google couldnt find the anwser. When resizing an image using the PW function: image->size() a GIF's animation is not retained (simple a GIF still), is there any way of creating computed sizes without loosing the GIF animation?
-
Work in progress modules Subscribers / WireMailChimp
benbyf replied to benbyf's topic in Module/Plugin Development
@Mikel nice implementation, no it doesn't need the subscriber module, just change the role to something that is present in your system - I chose subscriber as my role. I added a checkbox to the user template and check against it when trigging the module. Soooo when the checkbox is false it sends their email to mailchimp and I change to true. now if it trys to check again the checkbox field will be true and it wont send to mailchimp.- 18 replies
-
- users
- subscribers
-
(and 1 more)
Tagged with:
-
Module FrontendUser: login, logout and register users / members
benbyf replied to pwFoo's topic in Modules/Plugins
@netcarver true, also im not easily offended -
Module FrontendUser: login, logout and register users / members
benbyf replied to pwFoo's topic in Modules/Plugins
wow the conversation has moved on here, totally missed this. YES @modifiedcontent the module is supposed to be writen into your templating, i.e. use the functions to create login, forgotten username, register etc. Then the user is added as a subscriber role (or role of your choosing). For my project I create some pages only available to subscriber role, I dont want anyone from the public seeing the PW install so I effectively created protected parts of the site where they can see and do stuff for their role e.g. see restricted content. I'm happy to develop the module further... the idea wasn't that it was a replacement for the PW admin but a way of creating login to parts of your site for differing role types. Hope that makes sense. Also, yes the username creation is not good, any recommendations would be appreciated. Currently they are created out of the email address as i didn want to add a username field which then needed to be checked for duplication on the client side with PW for a nice experience... lots of cans of worms there. It also doesn't have a two step email verification as it wasn't needed for my purpose at the time, but does mean your likely to get spam. I use: user has role in my private templates to check for logged in users. $user->hasRole($role) if($user->hasRole("subscriber")){ /* * my private info for subscribers */ }else{ /* * show login form or similar */ } -
Module FrontendUser: login, logout and register users / members
benbyf replied to pwFoo's topic in Modules/Plugins
NICE!! mainly trying and checking the module for security and new features -
Module FrontendUser: login, logout and register users / members
benbyf replied to pwFoo's topic in Modules/Plugins
https://github.com/benbyford/subscribers it probably needs some changes and updates. I've been using it with a client and building alot on top. I havent heard much from other people using it hence no new updates - but i would be keen to here from people wanting to use or contribute. -
they've now moved to http://fabrixcap.com/
-
hello! anyone happen to be able to give me a head start on which hook to use to get hold of a page title before it gets saved as a slug and nam. I'm trying to concat the url slugs.
-
Thanks @LostKobrakai that was a swift awser and works well. Cheers
-
how is this done when the user you want to delete is the user logged in? It seems to error and I cann't get my head around how I might change them to guest aftwards etc? Any help would be ace
-
SSL everywhere. Google is pushing HTTPS sites up in their results now. should we all be using HTTPS? and are you now and how?! also this was a great wake up call for me: http://shoptalkshow.com/episodes/250-web-security-april-king-alex-sexton/ For me I'm using Digitalocean and Serverpilot and it was a matter of enabling the Let's encrypt script so supppppppper easy (full disclosure, those two links have affliates)
-
using both at the moment to login, email and username created by PW out of the email.
-
I expect its to do with there being only one pair of values for the explode function on MarkInPageTree.module:112. Thanks for pointing this out. http://stackoverflow.com/questions/1807849/undefined-offset-when-using-php-explode I will amend for the next release.
- 31 replies
-
- 2
-
-
- module
- appearance
-
(and 2 more)
Tagged with:
-
when are you getting this error? can you send me your settings. thanks
- 31 replies
-
- module
- appearance
-
(and 2 more)
Tagged with:
-
not sure you get the use case for it. here i'm using it for two reason 1. to arrange the images (its uses masonry for this as they're made by the same people), 2. to animate filtering of the content - using the category links in this case. you can also do loads load more stuff with it - http://isotope.metafizzy.co/layout-modes.html
-
interesting, can you tell me your browser and OS? all new content should open at top. categories clicked should change the thumbnails displayed, was previously more obvious as it would scroll to the thumbs on change.
-
http://carolineleeming.com/ New website for still life photographer Caroline Leeming. Website build and design by myself - http://www.benbyford.com Using Jquery, alot of AJAX loading of content and the thumbnail grid with http://isotope.metafizzy.co/, slideshow hand coded by me.
-
+1 tutorial for simple api and using PW with composer. @kixe think I've bee working on a similar structure with a special api.php template that disables preappend and append files.
-
Thanks @clsource your helper looks interesting. Am i right in saying its somewhat limited at the minute, or just needs specifics bolted on top?
-
HI! I'm finding myself more and more balancing making get and post requests to templates or to admin modules, when really it would be nice to send all requests to a API url and get data back or a receipt. My example would be to click a link in an email to then make a setting change in PW, like change a specific user role, or publish a page draft etc. Has anyone done much of this and how did you structure it? I was thinking of maybe creating a template for my API and then using the $input inputs and whether you are logged in or not as starting points for sending data back for my API requests specific to my website (a news site with hundreds of members).