DLGuard
fully integrated with the major payment systems
Paypal
Clickbank
2checkout
Authorize.Net
Click2Sell
1ShoppingCart
LinkPoint
AlertPay
eBay
PayDotCom
Mal's e-commerce
PagSeguro
CCBill
CommerceGate
DigiResults
FastSpring
JVZoo
MultiSafePay
WorldPay
Plimus
WSO Pro
Paypal Digital Goods
RevenueWire
SWReg
     

How to make a membership site in Joomla
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    DLGuard Forum Forum Index -> Member's Tips and Tricks!
View previous topic :: View next topic  
Author Message
admin
Site Admin


Joined: 31 Jul 2005
Posts: 9396
Location: Australia

PostPosted: Fri Nov 07, 2008 4:45 am    Post subject: How to make a membership site in Joomla Reply with quote

Hi all,

I was just setting this up for a client, so thought I'd document it:

Using DLGuard to secure a certain part of a Joomla website.


1) Login to Joomla

2) Go to the Extensions menu > Template manager

3) Click on the Template name you're currently using

4) Click on the Edit HTML button in the top right

5) You should see a <?php tag, followed by some copyright details about the template you're using.

Directly after the <?php tag, and before the copyright details, paste this code:

Code:
if (eregi("members", $_SERVER['REQUEST_URI'])) {
  $pathToDLG = $_SERVER['DOCUMENT_ROOT']."/dlg/";
  $dlgMemberGroup = "1";
  include ($pathToDLG."members/dlgmembers.php");
}



6) Before you save it, you'll need to edit the code:

Change "members" in the first line to equal the folder where your members section is held.

IMPORTANT: This assumes you're using the SEO Friendly URL's


7) Next, modify the $dlgMemberGroup = "1"; line to equal the membership group number in DLGuard.

This is the number you see next to your group name on the Memberships Summary page in DLGuard.

For example:

$dlgMemberGroup = "2";

...if it's membership group number 2 that you want to have access to this area.

Or:

$dlgMemberGroup = "1,2,3";

...if you want membership groups 1, 2, and 3 to all have access to this area.


Cool Click on the Save button in the top right.




And that's it!

Now anyone who accesses the "members" folder (or whatever you called it) on your Joomla site will be presented with a login screen.


Enjoy!

cheers
Sam
_________________
Sam Stephens
DLGuard: www.dlguard.com
GuardHQ: www.guardhq.com
-------
Keep up to date with DLGuard and other GuardHQ products: www.guardhq.com/newsletter.php
www.twitter.com/DLGuard
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ranny



Joined: 30 May 2009
Posts: 6

PostPosted: Sat May 30, 2009 3:04 am    Post subject: Reply with quote

Hello sam,

I have dlg installed on a joomla site and I am having problems on where membership pages should exist or if what I did was right and it is showing the right stuff. I have it in this site, www.internetutility.biz and set this as a membership page http://www.internetutility.biz/membership-page.html.

I have followed your instructions above but I am afraid I am lacking something. How do I provide a sign up in case they are not registered yet? Do you have any examples of a joomla site working with dlg?

Thank you very much and hoping to find answers to this urgent matter.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
stevenh77



Joined: 09 May 2006
Posts: 26

PostPosted: Sat May 30, 2009 4:12 am    Post subject: Reply with quote

Wow, I would have never thought to use DLGuard with Joomla.. lol

With Wordpress it's a no-brainer, I already have DLGuard and no decent free plugins exist for making a membership site with Wordpress (memberwing is nice, but the free version doesn't integrate with any payment processors, so paid members have to be added/upgraded by hand).

With Joomla, if I wanted to build a membership site I would have probably just used the Account Expiration Control plugin.. lol.. but now this gives me another option.
_________________
Check out my blog, Steven's Internet Marketing Tips.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 31 Jul 2005
Posts: 9396
Location: Australia

PostPosted: Sat May 30, 2009 11:08 pm    Post subject: Reply with quote

Hi Ranny,

What you've done is right!

It looks like it's displaying and protecting correctly.

If you'd like an option to signup, then you can edit the HTML template that is displayed for the login page:

dlg/templates/memberships/login_template.html


You can then link to your sales page, and modify the layout, etc.

cheers
Sam
_________________
Sam Stephens
DLGuard: www.dlguard.com
GuardHQ: www.guardhq.com
-------
Keep up to date with DLGuard and other GuardHQ products: www.guardhq.com/newsletter.php
www.twitter.com/DLGuard
Back to top
View user's profile Send private message Send e-mail Visit poster's website
admin
Site Admin


Joined: 31 Jul 2005
Posts: 9396
Location: Australia

PostPosted: Sat May 30, 2009 11:09 pm    Post subject: Reply with quote

Hi Steven,

There's actually a lot of people using Joomla with DLGuard - Wordpress seems to be more common, but a lot do use Joomla too Smile

cheers
Sam
_________________
Sam Stephens
DLGuard: www.dlguard.com
GuardHQ: www.guardhq.com
-------
Keep up to date with DLGuard and other GuardHQ products: www.guardhq.com/newsletter.php
www.twitter.com/DLGuard
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ranny



Joined: 30 May 2009
Posts: 6

PostPosted: Mon Jun 01, 2009 6:36 am    Post subject: Reply with quote

Thanks for the reply. One more thing, is there a way to display the sign up page etc. of dlguard as modules in Joomla?
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
admin
Site Admin


Joined: 31 Jul 2005
Posts: 9396
Location: Australia

PostPosted: Mon Jun 01, 2009 10:53 pm    Post subject: Reply with quote

Hi Ranny,

I haven't delved too far into Joomla programming, but I don't think so - from what I see we'd need to create a specific Joomla module.

But if you have the ability to use standard HTML code in a module, then you could simply copy the login form HTML and use that in a sidebar, or whereever you wanted to display it.

Does that make sense?

cheers
Sam
_________________
Sam Stephens
DLGuard: www.dlguard.com
GuardHQ: www.guardhq.com
-------
Keep up to date with DLGuard and other GuardHQ products: www.guardhq.com/newsletter.php
www.twitter.com/DLGuard
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ranny



Joined: 30 May 2009
Posts: 6

PostPosted: Tue Jun 02, 2009 1:50 am    Post subject: Reply with quote

Thanks for the answers. I have another question:

In the same site I have mentioned above, the global php.ini was turned off because I don't have direct access to it and I have to have ioncube loader to run dlg. Now, everytime I access dlg and its components in a folder it has the error that I should install ioncube loader. The one that I have figured is to have the php.ini file in each folder in dlg to make it work. Is this the only solution or is there a better way?

Thank you and more power.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
admin
Site Admin


Joined: 31 Jul 2005
Posts: 9396
Location: Australia

PostPosted: Tue Jun 02, 2009 5:55 am    Post subject: Reply with quote

Hi Ranny,

If your server isn't allowing a global php.ini file, then yes, you'll just need to have a php.ini file in each folder in DLGuard.

cheers
Sam
_________________
Sam Stephens
DLGuard: www.dlguard.com
GuardHQ: www.guardhq.com
-------
Keep up to date with DLGuard and other GuardHQ products: www.guardhq.com/newsletter.php
www.twitter.com/DLGuard
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ranny



Joined: 30 May 2009
Posts: 6

PostPosted: Thu Jun 04, 2009 3:06 am    Post subject: Reply with quote

Another question Smile

I guess there was a work on dlg + oempro4 integration, when I register in dlg, should the registration info be automatically sent/ logged in oempro4? I can't seem to see it working. Any suggestions?

Thanks!
_________________
http://www.batasnatin.com
http://www.philippinesdirectory.org
http://www.hotelsphilippines.org
http://www.jobsearchportal.net
http://www.philippinespictures.org
http://www.stolenwreckords.net
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
admin
Site Admin


Joined: 31 Jul 2005
Posts: 9396
Location: Australia

PostPosted: Thu Jun 04, 2009 3:19 am    Post subject: Reply with quote

Hi Ranny,

Yes there was! If you have a look at the first product on the Home page of DLGuard, in the Custom Script box there is a URL.

Copy that, and paste it into the Custom (Third Party) Script box on your Edit Group page for the membership.

Now when you buy access to the membership it'll run the script, and you'll be added to the list.

cheers
Sam
_________________
Sam Stephens
DLGuard: www.dlguard.com
GuardHQ: www.guardhq.com
-------
Keep up to date with DLGuard and other GuardHQ products: www.guardhq.com/newsletter.php
www.twitter.com/DLGuard
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ranny



Joined: 30 May 2009
Posts: 6

PostPosted: Fri Jun 05, 2009 4:12 am    Post subject: Reply with quote

Another question sorry Smile

Should the person download the product or simply register to be added to the list? And, with the list, sould I see it directly in the list in oempro?

Thanks a lot!
_________________
http://www.batasnatin.com
http://www.philippinesdirectory.org
http://www.hotelsphilippines.org
http://www.jobsearchportal.net
http://www.philippinespictures.org
http://www.stolenwreckords.net
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
admin
Site Admin


Joined: 31 Jul 2005
Posts: 9396
Location: Australia

PostPosted: Sat Jun 06, 2009 10:22 pm    Post subject: Reply with quote

No worries Ranny:

If this is for the membership site, then I assume all you're doing is adding him to the OEMprolist, and then displaying the membership login details so that they can login to the members area?

Yes, after buying a membership, they should be added to OEMpro, and you should see them in OEMpro.

cheers
Sam
_________________
Sam Stephens
DLGuard: www.dlguard.com
GuardHQ: www.guardhq.com
-------
Keep up to date with DLGuard and other GuardHQ products: www.guardhq.com/newsletter.php
www.twitter.com/DLGuard
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ranny



Joined: 30 May 2009
Posts: 6

PostPosted: Mon Jun 08, 2009 4:54 am    Post subject: Reply with quote

thanks
_________________
http://www.batasnatin.com
http://www.philippinesdirectory.org
http://www.hotelsphilippines.org
http://www.jobsearchportal.net
http://www.philippinespictures.org
http://www.stolenwreckords.net
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
wiseweb



Joined: 10 Jun 2009
Posts: 34

PostPosted: Fri Jun 26, 2009 4:22 pm    Post subject: Can I use this to protect use of certain components? Reply with quote

Hello,

Can I hide registration page, componenets or sections thanks to your code?

if (eregi("members", $_SERVER['REQUEST_URI'])) {
$pathToDLG = $_SERVER['DOCUMENT_ROOT']."/dlg/";
$dlgMemberGroup = "1";
include ($pathToDLG."members/dlgmembers.php");
}

If so how many times does a person have to login each time it reaches a protected area?

Thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DLGuard Forum Forum Index -> Member's Tips and Tricks! All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group