CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> Archive -> GotoCode Archive

 CodeCharge: How to close forum to registered users

Print topic Send  topic

Author Message
Posted: 12/04/2003, 4:58 PM

I am new in the CodeCharge software and use templates for forum.

I wonder how to program the forum with three features:

- only registered users can post messages
- they can choose to receive email after every post
- code to send email of message for them


Posted: 12/08/2003, 2:37 AM

CCS solution
I think that you can add the users registration and then restrict access to several pages, forms, actions.
1. You can just hide the “post message” form for not logged in users - use form’s Restricted property for it.
2. send email use CCS “send mail” action that generates the code automatically.

3. as I understand you want to add the subscription to the post. It also can be done for the registered users only. You should think how to organize the subscription on the database layer, i.e. how to store the emails and post IDs. Then after the post is updated the email is sent:
create After Update event where execute custom query that retrieves the emails of the users subscribed to this post. Run through the recordset in a loop and send emails.


1. you can also hide the form if the user is not logged in. But it requires manual coding. Refer to his article that explains how to do it:

2. the sample send mail code is available in the TellAFriend example.
3. the routine is the same


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by  and YesSoftware, Inc.