This topic is locked
[SOLVED]

 Can members Template be added to an existing Site?

3/12/2011 8:17:12 AM
PHPRunner General questions
M
mlapl1 author

Hello
I already asked this question on the members Templates Forum but noticed that the Templates Forum seems really inactive, so I thought I would ask here too.
I have a site made with PHPRunner and it does everything I want it to do.
Now... I would like to charge a subscription to use this site.
Is there some way that I can use the Members Template to wrap my old site and limit access to those who have paid a subscription? OR do I have to recreate my original website inside the Members Template (quite a lot of work of course - which I would like to avoid)?
Thanks for any advice

Andrew

T
tedwilder 3/14/2011

To my humble opinion you could try to easily to:

as you have the template pack you know some templates are divided in 2 : exemple shopping cart is divided into 2 phprunner project: one for admin, one for front side.

Based on the fact you can use the same database with different phprunner project, If I were you, I would try diffrent things without touching the existing website.

all you need is to create a new directory on server side.

As A matter of fact member template has some premade tables . So a good idea would be to create an empty members project BUT with login to your actual database : this way you just add members tables to your actual website/database : hence by ticking which tables you want to use in your new project you can just test members part or whole part.

and in the end you get 2 projet somesite.com/original somsite.com/newmembers and you dont have to move any database, or change any tables, that what is cool with phprunner : it's not a total proprietary database thing : same database can be used with different projects.

I dont know how difficult your phpr project is, but members is quite easy : just copy past php events scripts into you new project that has been made from a template from your original project after you uploaded an empty members project to your database ( this way it created tables to be used with script you copy from members project).

hope I'm clear enough <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=57035&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

Sergey Kornilov admin 3/14/2011

You can add Members template to your existing project. There might be conflict if your project already has login page. In this case you will need to migrate security settings from your existing login table to one that comes with Members template.

M
mlapl1 author 3/14/2011

Thanks very much - I think I understand.
( a ) Leave the login page etc. as it is for the original project
( b ) Create a separate registration site using the Members Template. This new registration site modifies the login information in the tables for the original site and sets the group to which members belong on the original site etc.

OR

Use the Members Template tables for the security of the original site
( c ) Control everything through the groups allocated by the Members Template.
( d ) Make sure that there are no security incompatibilities.
Very nice - thanks to both you and Sergey. I am sure that this will work.