-
Posts
811 -
Joined
-
Last visited
-
Days Won
6
Everything posted by benbyf
-
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.
- 28 replies
-
- 2
-
-
- icon
- fontawesome
-
(and 2 more)
Tagged with:
-
when are you getting this error? can you send me your settings. thanks
- 28 replies
-
- icon
- fontawesome
-
(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).
-
Hi, Got a couple of sites going live. This is the first one Wolfpie creative agency website london. This is another collaboration with myself and Charlie Crook Design. Using AJAX to fetch new pages so the site feels like a one page app but all the URLS etc work. I was also asked to create a mophing animation of a playful rectangle for the homepage. At points the animation joins with the cutout o and creates the wolfpie logo.
-
Payment base class + PaymentStripe + PaymentPaypal
benbyf replied to apeisa's topic in Module/Plugin Development
https://stripe.com/docs/api#metadata You can add key value pairs to your stripe api requests and i was just wondering if you had used it or had any idea about it. I was looking to add ids to payments to compare with info stored in my database fore invoices. -
Payment base class + PaymentStripe + PaymentPaypal
benbyf replied to apeisa's topic in Module/Plugin Development
@apeisa happen to know how one would add meta to a payment using the stripe module? thanks -
ok, well something to bare in mind and maybe something that needs remedying or not. @ryan?
-
@adrian so i'm right in saying if the name is stored as e.g. yourname-web.com then both yourname-web.com and yourname@web.com log me in.
-
@adrian Could it be that if the name and email are the same but the sanitizer is changing @ to - and thus making them equivalent?