Important alert: (current site time 7/15/2013 10:23:56 PM EDT)
 

winzip icon

[ AspBB ] - Active Server Page Bulletin Board

Email
Submitted on: 2/3/2002 2:07:04 PM
By: Johnny Yu  
Level: Beginner
User Rating: By 36 Users
Compatibility: ASP (Active Server Pages)
Views: 56086
(About the author)
 
     This is the upgraded Version to my ASP MessageBoard Version 2.0. In this Version, it contains a better look, new design view for listing the post, Traveling in between threads while viewing a post and last but not least a Search Function. To the you the truth, This is not the best Bulletin Board that has been posted on PSC, however I made this Bulletin Board with the simplest ASP codes. So you will not see complicated coding in here. A little messy maybe, but nothing difficult. For a Demo Visit: http://www27.brinkster.com/dangerduo Please vote for me. Thank you

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 4 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

2/5/2002 6:06:02 AMMohd Vajid

Nice work dude. you could make another module that helps in deleting a thread aswell. more like an admin module.
if you make it, do mail it to me on vajidz@hotmail.com

take care.. nice work!

(If this comment was disrespectful, please report it.)

 
2/5/2002 5:14:15 PMJohnny Yu

I certainly will. My next [ AspBB ] will include Admin function, ip logging includes banning, general forum and login system. It'll be done on Asp.NET. So until then, please enjoy the classic ASP board :P
(If this comment was disrespectful, please report it.)

 
2/7/2002 12:20:46 PMMohd Vajid

That sounds cool. how does the IP banning thing work? you can only ban IP's that are static rite? how can you bann a dynamic IP?
(If this comment was disrespectful, please report it.)

 
2/9/2002 7:28:35 PMJohnny Yu

well, good question. Since in the future, my .NET code will include a login system. Only members are allow to post and edit. So is just banning their accounts. IP Banning probably only works with static ip.. i dunno how to do dynamic..
(If this comment was disrespectful, please report it.)

 
2/26/2002 11:59:42 AMHasan Rashid

Indeed awesome work DUDE ... can u make the same thing with admin stuff in CLASSIC ASP and email to hasan@sahaz.com you have done an awesome work... IP loggin and banning those things are awesome ... even if not ... just email me how to get the CLIENTS SYSTEM Information such as PC name and machine brand stuff i will be greatfull to u ..You can also send a web email from httP://www.sahaz.com/ and click on SUggesstions..
(If this comment was disrespectful, please report it.)

 
2/26/2002 9:08:19 PMZack Coburn

Great job. I suggest that you have a users system, so people can log in and post things.
(If this comment was disrespectful, please report it.)

 
5/5/2002 11:30:58 PMJulio Pablo

I tryed to put the code un my asp web page and it produces that error. I supose the cause is the spanish date format (dd-mm-yyy) baut I don't know how can I solve it.
[translated into english by me]

Información técnica (para personal de soporte técnico)
[Technical info ...]
Tipo de error:
[Kind of error:]
Microsoft JET Database Engine (0x80040E07)
Error de sintaxis en la fecha en la expresión de
consulta '# 5/6/aaaa 5:26:58 #'.
/AspBB/resubmit.asp, line 40
[Microsoft JET Database Engine (0x80040E07)
Date syntax error on query expression '# 5/6/aaaa 5:26:58 #'.
/AspBB/resubmit.asp, line 40]

(If this comment was disrespectful, please report it.)

 
5/28/2002 4:38:54 PMScott Wieduwilt

Have a safe memorial day
(If this comment was disrespectful, please report it.)

 
8/10/2002 3:37:52 AMpmscanlon

I get this error when i try to post microsoft knowledge base said update one field @ a time

can u help with this ?




Error Type:
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
/master/submit.asp, line 37




(If this comment was disrespectful, please report it.)

 
9/13/2002 3:42:23 AM

Nice work. Cool forum.
but you are using to much code reuse.
you have

set conn = Server.CreateObject("ADODB.connection")
sConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & Server.MapPath("\dangerduo\db\betaboard.mdb") & ";" & _
"Persist Security Info=False"
conn.Open(sConnection)


in every single file. Case you wanted to change the db connection string, you would have to change every single file.

Put the DBconnectionstring in a sub and call it from an include file.

if you do this you can better maintain your code.
(If this comment was disrespectful, please report it.)

 
11/11/2002 4:54:37 AM

Dear Johnny Yu,
Thank you for a posting a very good code. "Excellent"
(form ASP Training Center - PAKISTAN)
(If this comment was disrespectful, please report it.)

 
12/11/2002 10:30:48 PMSimon

This is a very nice looking board. It works well and doesn't muck around with user systems, which on a small site are not needed anyway. I look forward to the next version. Would there be a non .NET version available?
(If this comment was disrespectful, please report it.)

 
1/28/2003 11:13:41 AM

Good, simple, easy to configure message board. Would like to see improved code for admin area though, so one can delete offensive, irrelevent entries.

One problem I do seem to be experiencing though, it doesn't seem to work on IE6. Is anyone else experiencing this??

Help Appreciated.

Thanks

Matt
(If this comment was disrespectful, please report it.)

 
3/11/2003 8:19:57 AM

Really wonderful code!
Simle and Perfect!!
Exactly what i needed, i have tride
all the forums here but that was the only one i cound install on brinkster.com corecctly.
Thank you very much, come to visit your forum on:
http://videogoals.on.to
(If this comment was disrespectful, please report it.)

 
3/11/2003 10:09:27 AM

in regards to the ip loggin and bannng, could u not just deermine what the mac address is of the client and then block by macs instead of ip's?
(If this comment was disrespectful, please report it.)

 
4/19/2003 7:25:54 AMSaddat

i have juest download it but it seems to be a good and nice one

(If this comment was disrespectful, please report it.)

 
5/30/2003 12:32:29 PM

I'm having problems setting it up. I am new to ASPs and keep having the problem:

Error Type:
Microsoft VBScript compilation (0x800A03EE)
Expected ')'
/Academy/BB/submit.asp, line 31, column 77
"Data Source=" & Server.MapPath("\AberAcademyFiles\BB\db\betaboard.mdb"") & ";" & _

Any ideas?
(If this comment was disrespectful, please report it.)

 
12/2/2003 6:15:11 PM

hi im new to .asp to but its easy to figure out that the files not there or relocated, its looking in
"AberAcademyFiles\BB\db\betaboard.mdb"
just locate the file or rename the directory :)


(If this comment was disrespectful, please report it.)

 
2/13/2004 8:31:05 PM

Ok!!!! very useful
(If this comment was disrespectful, please report it.)

 
3/11/2004 10:47:31 PM

hey dude nice work....And I'm here to ask you a permission to use this message board into our website...Pls. reply...Thank You...
(If this comment was disrespectful, please report it.)

 
3/11/2004 10:51:59 PM

3/11/2004 10:47:31 PM:

hey dude nice work....And I'm here to
ask you a permission to use this
message board into our website...Pls.
reply...Thank You...

(If this comment was disrespectful, please report it.)

 
4/10/2004 9:46:25 PM

i'm a beginer
(If this comment was disrespectful, please report it.)

 
7/1/2004 1:35:04 PM

When will you release the new version of this? is there a website where we can check for updates?
(If this comment was disrespectful, please report it.)

 
1/9/2005 12:14:01 PM

good-
(If this comment was disrespectful, please report it.)

 
1/25/2005 7:27:29 PM

Very nice... This saved me lots...

the above statements are correct... wish you could add a module for deleting threads... and uhm.... restricting replies from a thread...

Thanks!
(If this comment was disrespectful, please report it.)

 
3/15/2005 6:23:55 PM

xbx
(If this comment was disrespectful, please report it.)

 
3/15/2005 6:26:09 PM

Hi this forum looks great. But i have a problem with the database when setting up... i get this error in my browser:

Server.MapPath() error 'ASP 0173 : 80004005'

Invalid Path Character

/student/mod3/narwalp/PunjabForum/AspBB/default.asp, line 20

An invalid character was specified in the Path parameter for the MapPath method.

I am using the following connection string:

sConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & Server.MapPath("http://bushmouth.doc.stu.mmu.ac.uk/student/mod3/narwalp/PunjabForum/AspB B/db/betaboard.mdb") & ";" & _
"Persist Security Info=False"
conn.Open(sConnection)

Am i aloud to hardcore the path for the database, and if so, have i done it correctly. Thanks guyz.

(If this comment was disrespectful, please report it.)

 
1/15/2006 3:20:24 PMvipin

thank u for supporting
(If this comment was disrespectful, please report it.)

 
5/17/2006 4:15:42 AMbrook

hi i'm from ethiopia and i'm on my sinior project semester but i couldn't anything because my mother is so sick that she is in a hospital. and i thought that you could help me by sending me a project in vb or a web based project and save my life please
(If this comment was disrespectful, please report it.)

 
11/23/2006 5:04:24 PMpreston

?????

Technical Information (for support personnel)

Error Type:
Microsoft JET Database Engine (0x80040E07)
Syntax error in date in query expression '# 23/11/2006 02:01:44 م #'.
/aspbb/submit.asp, line 37

where and how do i change the date format to mm/dd/yyyy

?????

email me at prestonascott@hotmail.com
if u can
(If this comment was disrespectful, please report it.)

 
3/30/2007 6:20:47 AMSanjoy Das

u hv gr8 funda
(If this comment was disrespectful, please report it.)

 
2/17/2010 10:58:03 PMATUL

VERY GOOD;;;;;
(If this comment was disrespectful, please report it.)

 
2/25/2010 4:11:12 AM

sir may i know why is it that authentication are required when i', running it
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.