If anyone requires any specific fuctionality post your wants here. Hopefully people will read and respond with solutions that they have built.
Ill start with:
A good user forum (i might use ASP.net forums).
A multiple image upload facility, so i can let people add directory listings (I have already built one but am suffering with max size upload and aspect ratio!!
Does any one know how to let people see there own stuff. I am not quite talking about peronalisation but rather if i let someone add an advert, i would like them to be able to logon and edit their adverts. Any ideas. I am
used to classic asp and found it easy. I have to admit im finding it difficult trying to intergrate this with PWS.
I used to just set a session equal to their userid if login is succesful and then when the user clicked on manage my adverts or anything else i used to run an sql query such as "select * from adverts where userid = sessionid"
How would i do such a thing with this system.
Any pointers would be great. I am not asking for code just ideas
I'm not sure how you plan to organize it but one way would be to make each Advert editable where it sits. Let say you were using a Datalist for this. You create a template to display all the information for an advert and an edittemplate for editing an advert. You
could associate the user name with the advert in the Advert table when an advert is added. Then have an edit button next to each advert that has a visible property set to false.
In code you look for a logged in user. If you find one you get the user name and compare it to each Advert record in the Datalist. If the the logged in user is the same as the user associated with a particlular record set the edit button visible to true.
If you downloaded my source code you could look at the FavoriteLinks.ascx. It allows for add, edit, and delete for each item based on being logged in using the administrator role.
The idea of integrating a simple but well designed FORUM with less features would be nice.
Plus the idea of " Paging " in blogs is also recommended. Rather than stretching the blog page for too long, it would be nice to having Pagination in blogs. Plus like the blogs found on " Bill evjen " and " Scott Guthrie , it would be nice to have the blogs
seperated as month wise.
For example:-
december (25 )
January (16)
February (28)
etc
Integrating calendar control with good css also looks good. I like the CSS of Bill evjen. its simple but elegant.
Mixing few great capabilities of " CLUB STARTER KIT " is also welcomed.
Thats just my opinion.
Paggy4u
Paggy4u
-----------------------------------------
Working with Dynamic Languages
I am shortly going to try to build a system that lets people build their own directoy listings and classified adverts.
So far i have done the following:
when you login it loads a loggedin template that displays some links such as manageAds.aspx. This link picks up the userid and apends it to the url. So next i have to build a page that loads any adds associated with that user. or a management screen that
will have links to add, edit or delete ads.
cool
My only problem is understanding the membership thingy with the login. In order to return the userid i have had to make a connection to the memebership_users table in ASPNETDB. I was wondering if i can get these values another way.
Becuase the welcome message is getting them from somewhere, ie welcome Paul
If you’re using my code you need to set the SMTP server in the Manage/Site Settings. If your SMTP server uses authentication you'll need to specify the user name and password for your email account.
If you’re not using my code you may be able to extract that functionality out of my code to use in your site.
User.Identity.Name will give you the current user. The user name in the membership table is unique so you can use the name to edit the user, manage the user's role, etc.
I wasnt using your code but i do have it. Thanks and i will have a look at it to see if i can suss out the email feature. One step at a time at first.
My first task is to customise the user registration system so i can take more details from them. Once done i will see if i can get it to send an email of confirmation. i hope to have a confirmation link in the email.
Strange, but im having a little difficulty understanding the PWS way of controling users and roles ect. I have all that i have mentioned in classic ASP many times.
That's a great idea, actually, send an email with a confirmation link in order to enable a user! Thanks for that thought[Idea]. If you have any problems with it let me know, I should have a working example up soon!
tallpaul101
Member
485 Points
98 Posts
Post here for things you need
Mar 03, 2006 01:42 PM|LINK
If anyone requires any specific fuctionality post your wants here. Hopefully people will read and respond with solutions that they have built.
Ill start with:
A good user forum (i might use ASP.net forums).
A multiple image upload facility, so i can let people add directory listings (I have already built one but am suffering with max size upload and aspect ratio!!
Does any one know how to let people see there own stuff. I am not quite talking about peronalisation but rather if i let someone add an advert, i would like them to be able to logon and edit their adverts. Any ideas. I am used to classic asp and found it easy. I have to admit im finding it difficult trying to intergrate this with PWS.
I used to just set a session equal to their userid if login is succesful and then when the user clicked on manage my adverts or anything else i used to run an sql query such as "select * from adverts where userid = sessionid" How would i do such a thing with this system.
Any pointers would be great. I am not asking for code just ideas
Get posting people
jwadsworth
Contributor
2378 Points
542 Posts
Re: Post here for things you need
Mar 03, 2006 03:53 PM|LINK
Adverts
I'm not sure how you plan to organize it but one way would be to make each Advert editable where it sits. Let say you were using a Datalist for this. You create a template to display all the information for an advert and an edittemplate for editing an advert. You could associate the user name with the advert in the Advert table when an advert is added. Then have an edit button next to each advert that has a visible property set to false.
In code you look for a logged in user. If you find one you get the user name and compare it to each Advert record in the Datalist. If the the logged in user is the same as the user associated with a particlular record set the edit button visible to true.
If you downloaded my source code you could look at the FavoriteLinks.ascx. It allows for add, edit, and delete for each item based on being logged in using the administrator role.
Extended Personal Site Starter kit
paggy4u
Contributor
3017 Points
774 Posts
Re: Post here for things you need
Mar 04, 2006 03:31 AM|LINK
The idea of integrating a simple but well designed FORUM with less features would be nice.
Plus the idea of " Paging " in blogs is also recommended. Rather than stretching the blog page for too long, it would be nice to having Pagination in blogs. Plus like the blogs found on " Bill evjen " and " Scott Guthrie , it would be nice to have the blogs seperated as month wise.
For example:-
december (25 )
January (16)
February (28)
etc
Integrating calendar control with good css also looks good. I like the CSS of Bill evjen. its simple but elegant.
Mixing few great capabilities of " CLUB STARTER KIT " is also welcomed.
Thats just my opinion.
Paggy4u
-----------------------------------------
Working with Dynamic Languages
tallpaul101
Member
485 Points
98 Posts
Re: Post here for things you need
Mar 09, 2006 01:18 PM|LINK
Excatly
I am shortly going to try to build a system that lets people build their own directoy listings and classified adverts.
So far i have done the following:
when you login it loads a loggedin template that displays some links such as manageAds.aspx. This link picks up the userid and apends it to the url. So next i have to build a page that loads any adds associated with that user. or a management screen that will have links to add, edit or delete ads.
cool
My only problem is understanding the membership thingy with the login. In order to return the userid i have had to make a connection to the memebership_users table in ASPNETDB. I was wondering if i can get these values another way.
Becuase the welcome message is getting them from somewhere, ie welcome Paul
Cheers
tallpaul101
Member
485 Points
98 Posts
Re: Post here for things you need
Mar 09, 2006 01:20 PM|LINK
Yes i would like a reduced fuctionality forum as well.
asp.net forums is quite good through. And will work but you will need to get your users to login twice.
Paul
tallpaul101
Member
485 Points
98 Posts
Re: Post here for things you need
Mar 09, 2006 01:22 PM|LINK
Anyone customised the register system. i would really like to take some more details such as address ect
Please!!!
tallpaul101
Member
485 Points
98 Posts
Re: Post here for things you need
Mar 09, 2006 01:23 PM|LINK
Oh and email registration response. i have downloaded this but it will not work on my machine
paul
jwadsworth
Contributor
2378 Points
542 Posts
Re: Post here for things you need
Mar 09, 2006 02:41 PM|LINK
Paul,
If you’re using my code you need to set the SMTP server in the Manage/Site Settings. If your SMTP server uses authentication you'll need to specify the user name and password for your email account.
If you’re not using my code you may be able to extract that functionality out of my code to use in your site.
User.Identity.Name will give you the current user. The user name in the membership table is unique so you can use the name to edit the user, manage the user's role, etc.
Extended Personal Site Starter kit
tallpaul101
Member
485 Points
98 Posts
Re: Post here for things you need
Mar 09, 2006 03:26 PM|LINK
Thnaks for your reply JW
I wasnt using your code but i do have it. Thanks and i will have a look at it to see if i can suss out the email feature. One step at a time at first.
My first task is to customise the user registration system so i can take more details from them. Once done i will see if i can get it to send an email of confirmation. i hope to have a confirmation link in the email.
Strange, but im having a little difficulty understanding the PWS way of controling users and roles ect. I have all that i have mentioned in classic ASP many times.
Thanks i will have a look at your code
Paul
donniellis
Member
275 Points
57 Posts
Re: Post here for things you need
Mar 10, 2006 04:32 AM|LINK