PDA

View Full Version : ASP Admin Pages



rlLife
May 24th, 2004, 01:20 PM
I know that this sounds like a dumb question but here it goes. I have a flash site that hits and access database and I also made some admin pages that the client can use to update the site (they use asp).

The question is how difficult would it be to add something like the guided mode on this site. I want to be able to have the client click on a <b>B</b> and have it add the tags to their text just like it works on this site.

Does anyone know if this is a off the shelf type of script or is this something that I can buy some place, it seems fairly standard to most forums that i have seen.

Marble
May 24th, 2004, 03:09 PM
My advice would be to look for an asp forum with that and download it, examine the code (probably an included function or class object) and go from there. This forum is in php and uses the BBcode class. It's not hard, but a lot easier to just find some source code that already does the job.

λ
May 24th, 2004, 03:25 PM
it'd be using regular expressions. Do a google search on them.

rlLife
May 24th, 2004, 03:26 PM
cool thanks

rL

Marble
May 25th, 2004, 03:21 AM
If you want to explore this further, then download this:
http://prdownloads.sourceforge.net/sf2k/sf2k_v34_04.zip

It's Snitz ASP forums (freeware). I looked over a few pages and I think what you want are:
inc_func_posting.asp, inc_post_buttons.asp, and inc_code.js which will show you how they built their BBcode parser to html, and the javascript that prompts you to enter the code to be altered. It's been about a year since I touched asp (vbscript) so it looked all goofy to me - lol...