Home | Products | Consulting | Hosting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
Setup Separate Membership area?

 

 


timages
User

May 8, 2008, 5:58 AM

Post #1 of 10 (730 views)
Shortcut
Setup Separate Membership area? Can't Post

I needed to install "Members Area". I would like to password protect a Members folder online and use AM2 to publish content within that folder as well as public information into the current folder of publish.

I can password protect using .htaccess I just don't know how to setup AM2 to access it.

1.) How do I setup AM2 to publish in a password protected folder (.htaccess) where a username and password are required to access it.

2.) How do I setup AM2 to publish to multiple folders based on categories setup in AM2.

Example: "Members" category created in AM2 that will publish to Members folder on server.


MikeB
Staff / Moderator


May 8, 2008, 12:33 PM

Post #2 of 10 (717 views)
Shortcut
Re: [timages] Setup Separate Membership area? [In reply to] Can't Post

Hi,

Thanks for the post! Smile

Probably the best way to set this up is to set up the Members category in Article Manager and then figure out where this category is publishing to on the server. From there, you can password protect that directory so anyone that tries to view articles will be required to log in. If you envisioned this working differently just let me know.

Regarding publishing to multiple folders, by default the software should publish to the folder for the category the article is in. If you can let me know what you'd like to change about this, I'll have a look at that for you.

I hope this helps! Smile

Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


(This post was edited by MikeB on May 8, 2008, 12:34 PM)


timages
User

May 9, 2008, 5:31 PM

Post #3 of 10 (677 views)
Shortcut
Re: [MikeB] Setup Separate Membership area? [In reply to] Can't Post

Mike,

I now understand that when I create a new catagory it creates a new folder in the main publish folder. However is it possible when I create subcatagories that they create a physical folder withing the its main catagory folder. The reason is that one is a membership folder that will have subcatagories. I would like to place just one .htaccess file in the main membership folder then all sub cats would require the same password before access is granted. Currently I would have to place an .htaccess file in every subcat because they are their own folders within the main publish folder and not within the membership folder.

Is this possible - maybe a publish rule or something?

Thanks,

Tim


Jake
Staff / Moderator


May 10, 2008, 3:31 PM

Post #4 of 10 (657 views)
Shortcut
Re: [timages] Setup Separate Membership area? [In reply to] Can't Post

Hi Tim,

This is possible to do but you would need to create a separate publishing rule for each set of subcategories under a given parent category on your site. The key here would be to specify a custom publish directory and URL for the subcategories - so if you had some subcategories under a "News" parent-level category, your custom publish directory and URL would point to a path like this:

/path/to/artman/publish/news/

The URL would look like this:

http://www.yoursite.com/artman/publish/news/

You'd want to use the "Category Filter" settings in this publishing rule so that it only publishes files for the subcategories. Conversely, in your publishing rule for the parent-level categories, you'd want to exclude all of the subcategories in the "Category Filter" settings. The placeholder set names should be the same for both rules. You would need custom publishing rules for both your category index pages as well as your article pages.

Let us know if you have any other questions about this. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.



timages
User

May 12, 2008, 8:39 AM

Post #5 of 10 (598 views)
Shortcut
Re: [Jake] Setup Separate Membership area? [In reply to] Can't Post

So let me get this straight. Here is what I want to do:
Membership (Parent Cat)
- What's New (Sub Cat)
- What Members Do (Sub Cat)
- Promotions (Sub Cat)

So would I only need one new rule for category index and one for article pages?

I only need membership (Parent Cat) and any sub cat under it to have this method working.

Also the "Membership" parent, would have to publish a new rule so to exclude the sub cats.

Finally on the original rules I would have to exclude Membership and all its subs - Correct?

I hope this makes sense - could you be more specific based on what I have suggested here?

Thanks,
Tim


MikeB
Staff / Moderator


May 12, 2008, 1:30 PM

Post #6 of 10 (575 views)
Shortcut
Re: [timages] Setup Separate Membership area? [In reply to] Can't Post

Hi Tim,

Thanks for the post!

There's actually a quicker way around this that you can make use of here.

You'll want to first log into Article Manager and click Admin->Database Editor. Head to the "Category" table and scroll to the bottom of the page to find the dropdown menu where you can select "Enable System Field Editing". Once you've clicked "go", modify the "filename" field and look for the "Only allow characters" setting. You'll want to tweak the "Other" field so it looks like this:

_./-

You should notice that based on the default, I've just added a "/". Once you're done this you can click "Save". You may also want to disable system field editing again before you leave this part of the admin program.

What you've done here is set up the ability for the "filename" field to accept slashes as part of the filename. Now, when you're setting up your categories you could have something like this for the "filename" field:

Membership: membership
What's New: membership/whats-new
What Members Do: membership/what-members-do
Promotions: membership/promotions

Obviously you can name the subdirectories whatever will work for you but this is a good example. In this case, if someone were to view your "Promotions" category, they'll see this URL:

http://www.yoursite.com/artman/publish/membership/promotions/

I hope this helps Tim! Smile

Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


timages
User

May 14, 2008, 10:03 AM

Post #7 of 10 (525 views)
Shortcut
Re: [MikeB] Setup Separate Membership area? [In reply to] Can't Post


Quote
Now, when you're setting up your categories you could have something like this for the "filename" field:

Membership: membership
What's New: membership/whats-new
What Members Do: membership/what-members-do
Promotions: membership/promotions


I've done everything else except I'm not sure what to do here. I've attached to JPG files of the areas I think I need to edit. If so what does I need to edit here.

Newsletters is a sub cat of Members only.
Do I type Catagory Name: /Newsletters or in the File Name: /Newsletters. If I type it in the file name would it be /Newsletters.shtml? That would not make sense.

Please show example.

Thanks,
Tim
Frown
Attachments: List_Cats.jpg (49.9 KB)
  cat_edit_window.jpg (49.4 KB)


timages
User

May 14, 2008, 12:21 PM

Post #8 of 10 (511 views)
Shortcut
Re: [timages] Setup Separate Membership area? [In reply to] Can't Post

One more question on this item. By creating the subcat this way would it physically create a folder within membership folder?

Example:
In AM2 category editor:
What's New: membership/whats-new

Actual server:
membership/what-new


Or every time I added to category editor a subcat this way would I have to physically add the folder on the server?


Jake
Staff / Moderator


May 15, 2008, 1:43 AM

Post #9 of 10 (477 views)
Shortcut
Re: [timages] Setup Separate Membership area? [In reply to] Can't Post

Hi Tim,

By setting up a category like that which has a slash in its name, it should publish files to the specified directory on your server, and create the directory if necessary. Some servers may not create the directory automatically though - I'd suggest that you just try out that setting to see if it works for you. If not, then creating the directory manually on your server should work. So for your newsletters category you'd want to use a filename like this:

membership/newsletters

I hope that gets you on the right track!
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.



Garbracht
User

Jun 8, 2008, 12:06 PM

Post #10 of 10 (284 views)
Shortcut
Re: [timages] Setup Separate Membership area? [In reply to] Can't Post

Hi timages,

I am using 'PHP Membership Manager' by i2services http://www.interactive-scripts.com/php_mm/?mm2
for some months. It works great.

PHP Membership Manager is a browser based application which allows a site owner to manage an unlimited number of username / password accounts and groups. Feature packed with a clean, organized, easy to navigate interface for users and administrator makes creating, managing and administrating any online membership program a simple task.

Clemens

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Hosting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4