FREE complete Web Site Code, ASP.NET 2.0 C# SQL, hereby placed in the public domain, no copyright. 11 screen shots, 1.9Mb, are available for download here: http://www.javascript-demos.com/download_center_lite/index_t.php?Hero_Site_Screen_Shots.zip The complete code, 1.6Mb, is available for download here: http://www.javascript-demos.com/download_center_lite/index_t.php?Hero_Site.zip Main features: - Users self-register, an email is sent as a record of their userID and password - Users may recover a forgotten password - Users may change their password - Registered users can upload up to 25 images, 75Kb maximum image file size - They can manage captions for those images - Then can delete any image or images at any time - They can provide and edit additional text, up to 200 words, and other informational fields - Site visitors can visit URLs similiar to: www.whoisyourhero.org/My_Hero.aspx?hero=visitor1 to see, and interact with, all the images and text - Site visitors do not need to be members to view any content - Site visitors and members can use a Search and Browse page to retrieve random and specific content - The Search and Browse page has a "Report Bad Content" link that sends an email to the Administrator - A "Ban Users" menu option appears only when the Administrator is logged in There are two sample active registered users: ID: visitor1 password: password_1 ID: Admin_1 password: password_1 visitor1 has previously uploaded content. Admin_1 is the Administrator account. You should be familiar with Visual Web Developer, C# / SQL, and how to upload files to an active domain. A hosting account for this code MUST support ASP.NET 2.0. The Web.config file contains comments indicating the sections that need to modified to agree with your hosting account, namely the SQL connection string and the smtp host and login information. Typical configurations are also contained in those comments, as a guide. Two other files need to be edited: Report_Violator.aspx MailFile.txt The Report_Violator file needs simple text string changes regarding the email that it sends. The MailFile.txt needs nothing more than customizing the text to suit you. If you test it in IIS, with IE, and if your version supports the .NET 2.0 framework, and you have SQL Server installed, and your local SMTP server "to" address is "me@localhost" you won't need to change anything. If you test it in IIS using Firefox, some pages may demand that you log in. There's nothing wrong with the code, it's something peculiar to Firefox. I've had to change ordinary HTML documents that apparently had one or more unseen line breaks, usually in the HEAD section, just to get them to work in IIS using Firefox. The code wasn't changed, all I did was find an HTML file that I knew worked in IIS on Firefox, and copied my code to it. So, if that happens to you, if you try to test this in IIS using Firefox, there's nothing wrong with the .aspx file. The problem is Firefox. Finally, if you test this in IIS, and register new users, use your local smtp address as the new user's address, meaning for me, it's: me@localhost. Otherwise, upon registering, you will get an error. You might find parts of the code to be useful merely by perusing the ASP.NET 2.0 / C# & SQL / AJAX / CSS / JavaScript. Who knows? You might learn something. If you do find any of code to be useful and would like to donate by PayPal, PM or email me, I will provide my PayPal address and offer you my thanks.
I played around with this a little bit, very user friendly. Well of course by user I mean semi skilled. I'd be interested in telling others if there were some deccent tuts written for it.
Yeah I think it'd be great if there were some tutorials written for it. Even for some of us semi-skilled people, I personally hate looking at other peoples code, it just doesn't seem to make much sense to me.
Sorry, Gents, I'm not a teacher, because I wouldn't be an effective one. The code is what it is. I'm not twisting anyone's arm to look at it. Look at it, or don't look at it, I don't care one way or the other. I do hope though, that one day you are freed from laboring under all that hatred.
Be my guest. The code is in the public domain, free to use, modify, copy, etc., just like any other code found on the internet that is not copyrighted.