'------------------------------------------------------------------------ ' Project Name : Sbox Build 02262006v5.0 ' Original Author : Roy L. Besiera ' Date Created : February 26,2006 ' Date Released : Sometime in May 2006 ' Description : A Small Web Application called Sbox. '------------------------------------------------------------------------ ' In this Version features include: ' a. Auto Detect and process URL's on Posted Message and convert them to links. ' b. User can delete own post in a admin defined time in seconds ' c. Detect long single words that can disorient shoutbox ' d. Anti Flooding System. ' e. Admin Nicks cannot be used by Users. Admin nicks is in dif. color ' f. AJAX Interface ' Previous Version Include: ' a. Ban IP and Moderate Message ' b. Alternating BackgroundColor ' c. Can View All Previous Messages ' d. Filter Bad Words ' ' 'Revisions: ' a. Fix a QueryString bug when Redirecting to Referrer Page. (May 24 2006) ' b. Fix Bug on Filtering out Unwanted Words (June 03 2006) ' c. Fix bug on HTML tag parsing on Name and Homepage Form (Jun 09,2006) ' d. Added AJAX Interface '------------------------------------------------------------------------ '------------------------------------------------------------------------ ' Requirements ' ' a. A Web Host that supports ASP (Active Server Pages) ' '------------------------------------------------------------------------ '------------------------------------------------------------------------ 'Things to know before setting up the Sbox. ' 'a. Use this code when using SSI (Server Side Includes) to view the shoutbox, ' anywhere on your Page ' 'b. Some Web Host (Ex. brinkster) only allow one location where scripts ' can execute command on the database. This means that when you put ' the database somewhere else aside from the location specified by the ' web host, you will get a "Permission error or Use an Updateable Query" ' or something. In this project i already put the database on folder ' db/shoutbox.mdb since on brinkster the specified and allowed location ' of the database is the "db" folder so you wont have any problems at all. ' in case you still get this error, after putting the database on the ' allowed location, it's the host problem and not the script. ' ' Note: Sbox_cn.asp contains the information for Database connection ' Open that with notepad and change it's location if you do changes. ' 'c. I dont know about some web host but some of them allow .mdb files to be downloadable from the browser. This means that anyone can download ' the database and open it and view the settings where your password and ' username resides, login to your shoutbox admin page and screw up ' everything, pretty nasty but this might happen on not properly configured ' web host. So if your that serious in keeping your Sbox Secure, make sure ' you email the technical people and ask them about this. ^^ ' 'd. Well, the fourth is i wish that you would keep that link that point to ' my website so that others may know about it and might be able to help ' me maintain the website. Thank you for being considerate '----------------------------------------------------------------------- '----------------------------------------------------------------------- 'Using the shoutbox (Sbox Version 5) ' 'a. Unzip files and use the code above to display the shoutbox on your ' webpage. 'b. View the shoutbox by typing the URL of the page where you inserted the code ' from your browser ' Ex. www.mywebsite/PagewhereIinsertedThesbox.asp 'c. if you use iFrame tags you can directly call the sbox.asp from your browser. ' Ex. '----------------------------------------------------------------------- '----------------------------------------------------------------------- ' Additional Info. ' ' The shoutbox is set to Refresh in 30 Secs. To change this value You can ' open the javascript file (script_handler.js). ' on the bottom part is the code ' ' window.setInterval("doGetRequest('ASbox.asp','sbox_container');", 30000); ' ' 30000 means 30 secs ' Set that to Whatever you want. But not less than 15 secs or you will ' choke the server with request. 5 should be okay. '------------------------------------------------------------------------ After Carefully following this Example and still get an error that you cannot understand, please email by clicking the contact link. Please remember that i am also a busy person and may not answer your query in time but i will try to answer all of them as soon as a get them. If you want to donate something, email me first. ^^.