?
Solved

'domain' (?) setup per member profile?

Posted on 2004-09-12
5
Medium Priority
?
225 Views
Last Modified: 2013-12-24
Ok, I'm asking this question in CF forum because I'm writing my web site in CF ... but sorry if it's the wrong place!

I have an online community where my members can manage their member profiles ... and make specific info 'public' for other members to view.  I'm trying to enhance ... by allowing my members to 'publish' their profiles as a 'domain' URL ?

i.e. .... suppose I have a member called 'FredBloggs'. I'm hoping I can make the following URL dynamically ...
http://www.mywebsite/fredbloggs

SO ... when you enter this URL in the browser ... it takes the user to the member's specific profile.

I have NO idea how to do this and am quite a newbie as you can see!

Any ideas!?
DO I need to create a sub folder called 'http://www.mysebste/fredbloggs/' and an index.cfm in this folder?
OR?

I'm ALSO hoping I can dynamically create email addresses using the member name also! Can I do this in CF?
such as fredbloggs@mywebsite.com

Thanks!
Richard
0
Comment
Question by:rcbuchanan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 17

Expert Comment

by:anandkp
ID: 12041518
>> DO I need to create a sub folder called 'http://www.mysebste/fredbloggs/' and an "index.cfm" or "default.cfm" in this folder?

PERFECT !

Not too sure on the email address part ... but if u cld set up a code link with ur ISP - then u cld call their script & it wld do the needfull.
0
 

Author Comment

by:rcbuchanan
ID: 12045170
question then:
how do i programmatically (spelling?) 'create' a subfolder in CF?
how do i 'also' programmatically 'create' the default.cfm? ...

obviously  i know how to design, save and ftp pages manually using Dreamweaver but automatically - using CF? no idea!

tx!
R.
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 12047288
Personally I would do it similar to how Expert Exchange does it.

You access like this :

http://www.mywebsite/member.cfm?ID=fredbloggs

so that the one default page would pull the corect member's profile from that page.  

Then if you ever want to make a change to how it is displayed you only have to change one file instaed of one per member.


But if you want to do it your way then you need to look at manipulating the file structure on the web.  Look at this :

http://www.forta.com/books/0321125169/0321125169_pdf.zip

which contains the electronic chapeters from the CF WACK that tell about how to manipulate the file structure.
0
 
LVL 17

Accepted Solution

by:
anandkp earned 2000 total points
ID: 12051682
If its just a page - then yes i agree with what mrichmon suggested - having a common file to show up different profiles, with the use of userID - shld be gr8.
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 12195813
Glad that worked for you....
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question