About Stacks Guru

Stacks Guru is born from the need to search the vast number of videos out there on stacks built for Stacks Pro and the Stacks 5 plugin for Rapidweaver.

We have scraped over 500 videos to get the transcripts for each in order to make the spoken word searchable.

Please use this free tool to help you learn and discover the awesome power that Stacks and the stacks made for Stacks have to offer.

Stacks Guru

Video Reference

Sitelok Installation and Stacks Integration with RapidWeaver thumbnail

Sitelok Installation and Stacks Integration with RapidWeaver

02/17/2017
In this video, I do a basic installation of Sitelok on my server. I then integrate Sitelok into a simple RapidWeaver project using the Sitelok stacks. More info on the Sitelok stacks at https://joeworkman.net/rapidweaver/st...In this video, I do a basic installation of Sitelok on my server. I then integrate Sitelok into a simple RapidWeaver project using the Sitelok stacks.

Transcript

00:00 man let's just get site lock installed
00:10 hey everybody Joe workman and in this
00:12 video I'm really excited we're gonna be
00:13 doing soup to nuts right that's the
00:16 expression right yeah soup to nuts for
00:18 getting site lock installed right from
00:21 beginning to end so we're gonna start
00:23 off we're gonna do a fresh install a
00:24 site lock get it get it in there to a
00:27 very light kind of walkthrough through
00:29 the user interface and then we're gonna
00:31 jump into rapidweaver and use the Site
00:33 lock stacks to integrate site lock into
00:36 our Rapid River projects so really
00:38 excited without further ado let's jump
00:40 in now before we can actually go ahead
00:42 and install anything we need to actually
00:44 get site lock right so as you know site
00:48 lock from viber logics is a separate
00:50 purchase from my site lock stacks go
00:53 ahead and go over to viber logics calm
00:55 and go ahead and pick up yourself a copy
00:58 of site lock now when you download site
01:01 lock this is exactly what you're gonna
01:03 be getting
01:03 you're gonna meeting a folder that has
01:05 some HTML demo examples the manual
01:09 obviously which we're gonna look at a
01:10 second a members area which has some
01:12 more sample PHP forms we're not gonna
01:15 dive into those and then we have our
01:17 site lock the actual application okay
01:20 the s LPW folder which is very important
01:22 okay but without further ado let's go
01:25 ahead and jump into the manual so here
01:28 we are in the SiteLock manual and as you
01:31 see it is a manual I'm obviously not
01:33 going to be going through every single
01:35 page in this manual but we are gonna
01:37 skip straight down to the installation
01:39 portion okay very important because we
01:43 need to get site lock installed okay
01:45 make sure you review this section
01:48 because you're gonna need to get site
01:51 lock installed obviously I'm gonna show
01:52 you how to do it but please review the
01:54 installation instructions on your own so
01:57 that you can go ahead and get everything
01:58 installed so right now you're gonna want
02:00 to make sure that you go to your host
02:02 and you set up a my sequel database okay
02:05 I'm not gonna show you how to do that
02:08 because every single host does it a
02:10 different way okay a lot of them have
02:14 little cool things in your cPanel that
02:15 let you easily set up a my sequel
02:17 database okay but please check with your
02:20 host in terms of how to get a my sequel
02:23 database installed on your server okay
02:26 and then you need to get the credentials
02:28 for that database okay you need to know
02:30 the server name the username the
02:32 password and maybe even the port okay so
02:35 make sure we get all other information
02:38 for your my sequel database so first
02:42 things first we're gonna go into this SL
02:44 PW folder that we saw earlier okay and
02:46 we're gonna go all the way down to the
02:48 file called SL config dot PHP and you're
02:52 gonna want to edit this inside your
02:54 favorite text editor or code editor okay
02:57 so here we are I open up this file in my
03:00 favorite editor called sublime text and
03:02 you'll notice at the very top of this
03:04 file we have configurations for DP host
03:08 DB name DB user and DB password okay
03:12 you're gonna want to make sure you get
03:14 all of this information from your host
03:16 ok so that you can edit this file okay
03:20 and put all the pertinent information
03:21 into that file save it and then we'll go
03:25 to the step two so now what you want to
03:27 do is you want to open up your favorite
03:28 ftp app here i have transmitted okay and
03:32 what we're gonna do is we're gonna take
03:33 that SL PW folder that we just edited
03:36 that SL config file in okay and we're
03:39 going to upload that to the top level of
03:41 your website okay so here I'm uploading
03:43 it to Joe work sub sandbox Joe workman
03:46 dotnet and I've already uploaded it to
03:49 the very top level of my website so
03:52 you'll see here I have the SL PW folder
03:54 okay now if we look at the installation
03:58 guide the next step is we're gonna want
03:59 to open up our browser and go to your
04:01 site comm /sl PW slash install dot PHP
04:06 okay so let's go ahead and install this
04:09 on my sandbox server remember the domain
04:11 is gonna be you know pertinent to your
04:14 actual domain so you're gonna want to
04:15 substitute your domain in for that so
04:18 now that I've added that URL into my
04:20 browser site lock is actually gone and
04:22 done its thing already very quickly it
04:25 gives us the link to go ahead and log
04:26 into site
04:27 Locke and the initial username password
04:29 is admin and let me in here I clicked on
04:33 that link let's go ahead and login and
04:35 with that you see that we now have site
04:37 lock fully configured and we are done
04:40 right really simple it already created
04:43 as you see our first login okay which is
04:46 admin our passwords let me in um you
04:48 probably want to change this information
04:49 obviously you want to don't want to have
04:51 the default password you probably want
04:54 to put in maybe your name and your email
04:56 address okay or you can just leave the
04:59 admin change the password leave the
05:01 admin account and maybe create another
05:02 admin account for yourself okay with
05:04 your name okay just so that it's it's
05:07 maybe a little bit cleaner it's up to
05:09 you you can edit users by simply go
05:11 ahead and clicking on this and it'll
05:13 take it to the Edit user tab okay or the
05:15 Edit user page for this particular user
05:17 and this where you can assign a random
05:19 password and things of that nature right
05:21 you can add them to groups and things
05:23 and so on other things that we'll just
05:26 get to a quick tour here um if we go to
05:28 user groups this where you can create
05:30 your user groups right so by default we
05:32 have admin all and clients okay um maybe
05:35 you have gold level silver membership
05:38 levels or you know really groups are
05:40 whatever you want it to be okay Brett I
05:43 can have too many I like personally
05:44 keeping it simple but this is where you
05:47 can add new groups and then you can
05:48 obviously assign users to those groups
05:50 as well in the email templates this
05:52 where you can load and save email
05:55 templates so email templates are jerbs
05:57 of you know forgotten passwords and you
06:01 know reminding the user of his password
06:03 and approving a user and read new
06:04 registrations of users and things of
06:06 that nature right this is where you can
06:08 edit all of that information so you can
06:11 customize those emails to your liking
06:15 next we have plugins now I'm not gonna
06:19 really review many plugins in this video
06:21 but SiteLock has a ton of plugins that
06:23 you can install everything from managing
06:26 user files to like a chat to integrating
06:30 with discuss and PayPal and striping
06:33 cart loom right there's a lot of really
06:35 great plugins out there for site lock
06:36 and we actually already have some stacks
06:39 available for site lock that support
06:42 three currently three the blab the Whois
06:44 and the user files plugins for site lock
06:48 so check those out next up we have forms
06:51 now site lock has multiple types of
06:53 forms you can have a login form a
06:56 registration form an update profile form
06:59 so users can update their profiles login
07:02 forms as I said and then contact forms
07:04 in this particular video we're gonna be
07:07 reviewing the login form okay so here we
07:10 can set the default login form and you
07:12 can see exactly what that looks like so
07:14 that pretty much does it for site lock
07:16 right I mean getting site lock installed
07:18 is really the easy part
07:20 right now I just breezed through the
07:22 user interface really quick I highly
07:24 recommend you review the manual and
07:26 learn how to use site lock okay
07:29 again all that's completely separate for
07:31 my stacks it's just go ahead and review
07:34 that site lock user manual that you got
07:36 when you purchased it so that you can
07:38 really learn how to use the tool master
07:40 the tools that you have okay it's very
07:43 important it makes your job a lot easier
07:46 if you master the tools that you have
07:48 whether it's site lock whether it's the
07:49 stacks that you purchase whether it's
07:51 rapidweaver right take the tools that
07:54 you look that you purchase and master
07:56 them okay so tip of the day now let's go
08:00 ahead and jump into rapidweaver
08:02 and see how we can integrate the stacks
08:05 with psylocke so here we are in a sample
08:10 rapid e of a project that I created it's
08:12 nothing special it just has some headers
08:13 and some text and some placeholder
08:15 images right nothing too spectacular or
08:18 fancy here okay but as you'll see in
08:20 this tax library here's all these stacks
08:22 that currently ship with site lock I'm
08:24 sure over time if you're viewing this in
08:26 the future there may be more
08:28 okay but right now first thing we need
08:30 to add to the page is the SiteLock
08:33 prefix stack this is the stack that
08:35 basically controls all of the access
08:38 privileges on the page okay so whether
08:41 or not you want this group to be public
08:43 okay um here I have an example of a gold
08:46 group okay right now we're not gonna
08:51 limit to any groups like admin or gold
08:53 we're just gonna say blanket just allow
08:56 public on this page okay by default if
08:59 you wanted to limit this page to a
09:01 particular user you can do that as well
09:03 I recommend keeping with groups though
09:05 um it just makes it a lot cleaner to
09:07 actually um manage everything at the
09:09 group level okay so what I want to do is
09:13 let's go ahead and say this top content
09:16 area let's say I want to make this a
09:18 four members only
09:20 maybe it's a message for my members or
09:23 something like that right okay so this
09:25 particular content area um if you view
09:28 this web page I only want members to see
09:30 this particular content right so what
09:32 I'm gonna do is I'm gonna use the viz
09:34 alakh stack and I'm gonna go ahead and
09:36 add that to the page okay and we say
09:39 here the logic is when logged in okay
09:41 show this message pretty easy right so
09:45 I'm gonna do is I'm gonna show this
09:46 message okay so when they use it when a
09:49 user is logged in doesn't matter what
09:50 group they're in right just if they're
09:52 logged in okay you can also see there's
09:55 a lot of other different logics
09:57 available here so a member of a group
09:59 not logged in things of that nature okay
10:01 now what be cool is what if I want to
10:04 say if the user is logged in go ahead
10:07 and display this content or else go
10:10 ahead and display the login form so what
10:12 I'm gonna do is I'm gonna go ahead and
10:13 say include else logic if you see here
10:16 I've like if true and else so down here
10:18 what I'm gonna do is I'm gonna say forms
10:20 so I'm gonna go ahead and insert the
10:21 forms here so for this particular form I
10:25 want to make sure we have a login form
10:27 okay we see here if I was gonna do a
10:29 registration form or another one of
10:31 those types of forms I'd go ahead and
10:32 select one of those
10:33 okay then you need to get the ID of the
10:36 form now how do you find the form ID
10:38 let's go and have a look so if you log
10:41 into site law
10:41 and then go into forms login forms okay
10:44 you'll go ahead and if you click Edit
10:46 form you'll see that this says it's form
10:49 ID five okay
10:51 so inside this GUI this Riku actually
10:53 create and style your forms and things
10:55 of that nature and then you'll you'll
10:57 find your form ID right here at the top
11:00 of the editor so now that we're back
11:02 back here and rapidweaver I set my for
11:03 my DV b5 okay which actually turns out
11:06 to be the default ID for a login form
11:08 okay so the default login form has an ID
11:11 of five so we are ready to go I'm out of
11:13 the gates with this okay so here's the
11:16 logic we have again if we logged in
11:19 we're gonna display this four members
11:21 only message okay and if we're not
11:23 logged in we're gonna display the form
11:25 okay um one other thing is what if if
11:29 we're logged in we want the ability to
11:31 log out right so let's go ahead and
11:33 maybe we can create add a little logout
11:35 button up here as well okay now you what
11:38 you'll see here is the logout stack is
11:40 just a generic drop zone area okay so
11:44 we're gonna do is I'm gonna go ahead and
11:45 add a button to that so if we preview
11:48 our page you'll see that here we are I
11:50 have my logout button and I have my four
11:52 members only okay now what if like how
11:57 do I preview the other information right
12:00 so if we look at the site lock prefix
12:03 stack you'll notice that there is a
12:04 setting called site lock visibility
12:07 preview okay by default it's set to true
12:11 this means you're going to be able to
12:13 see all the true statements from the viz
12:16 alakh stack okay if I toggle this
12:19 setting to false inside the preview
12:22 stack all of the viz alot stacks will
12:25 now show the else logic okay so now that
12:29 I set that to false to go ahead and
12:30 preview our page okay and here we have
12:33 our login form okay now this is just
12:37 maybe we want to add a heading let's go
12:38 ahead and add a quick heading right so
12:40 we add drag and drop there we say please
12:42 login
12:46 okay
12:48 preview that okay now we have a at least
12:51 a nice little headers as please login
12:53 right we're not winning any style things
12:55 here this isn't about building a pretty
12:57 page is just about integrating SiteLock
12:59 into our site okay so now let's go ahead
13:03 and publish this and see it all in
13:05 action now actually before I do that I
13:07 actually forgot to mention one other
13:09 thing inside the prefix stack you'll
13:12 notice inside the prefix tax there is a
13:14 site lock imports now
13:16 on this page we have a login form now I
13:18 need to be able to import that inside
13:20 the prefix stack so all the libraries
13:22 for that login form will be loaded so
13:24 I'm going to go ahead and check login
13:26 form okay and then there's also an
13:29 option Erich to redirect to a user group
13:31 start page so you can define like a page
13:33 specifically for a group and if a user
13:35 from that group is logged in it'll
13:36 redirect them there okay I don't want
13:39 this in this in this instance okay so
13:41 I'm going to leave that unchecked now
13:43 remember here if you want to import any
13:45 of these other forms okay or plugins so
13:48 here's for the user files plug-in you're
13:51 going to make sure that you check this
13:53 if you have it on the page so if I have
13:55 a contact form or a registration form or
13:57 you know using the user files plug-in
14:00 I'm gonna have to make sure that that
14:01 that that particular component is
14:03 checked inside the prefix stack so I've
14:06 gone ahead and viewed this web page and
14:08 we'll notice now that I have this great
14:09 login form saying please log in and let
14:12 me go ahead and enter in my login
14:14 information so there we go I've logged
14:17 in and there we go I see my logout
14:20 button I see my four members only right
14:23 and you'll see when I click that logout
14:25 button it refreshes the page and takes
14:27 me right back to my login form now I
14:30 know what we just went over is very
14:32 basic right but it gets you started
14:34 we got site lock installed we got the
14:37 stacks working and configure it inside
14:39 the rack we were project and we did it
14:40 all without zero coding okay
14:43 it's very simple very easy to do okay
14:46 now there's obviously a lot of complex
14:49 things if you're gonna create a
14:50 full-blown membership site you probably
14:52 want to lock down full pages right deny
14:55 access to particular groups right so
14:57 that you know only particular members
14:59 access these pages and some of
15:01 members can only access these pages
15:03 right so there's a lot of stuff here
15:06 that you can build upon with the basics
15:10 that I showed you here okay I'm really
15:14 excited about these stacks because it
15:16 takes something that used to be complex
15:19 and makes it extremely simple to
15:21 implement right really as you saw I just
15:24 implemented user logins in I've no idea
15:27 how long this took 10 minutes right 15
15:30 minutes right very very easy it's very
15:34 exciting that we can now do such things
15:37 like this so easily and with so much
15:39 power
15:39 now with rapidweaver so I hope you enjoy
15:42 the SiteLock stacks hope you enjoy
15:44 SiteLock if you don't have a copy of it
15:45 go get it now cuz it's awesome right I'm
15:49 gonna be using a lot in my back-end
15:50 stuff in the future so pay attention I'm
15:54 all in all in baby
15:55 so go ahead I hope you enjoyed this
15:58 video I hope you appreciate it let me
15:59 know if you have any more questions and
16:01 comments and we'll talk to you later bye
16:04 "}]
Search the page
0