Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2003
    Location
    Denmark
    Posts
    9

    Unanswered: Remake of an existing forum

    Hi,

    I am trying to remake an existing forum in ASP.
    Please see my NOT WORKING result at http://testforum.franl.dk, and the forum I am trying to remake at http://www.prikpagina.nl/list.php?f=446

    I cannot make the layout, as the original forum have.

    Technical background:
    My forum is based on a .mdb / JET database.
    Administrative fields in the table are ID (AutoNumber), ReplyID (which is 0 if a new message is posted, and gets the ID of the original message, if it is a reply), BaseID (which gets the ID of the first message in a line) and Position (which is the number of reply's in ONE line).

    Here is a part of the code, I used to make a list of ID's, in which order they should be shown. But somewhere I am making a big mistake, because it doesn't work.

    Note: To avoid heavy network traffic, at load of the ASP-file, the complete Database will be read, and all values will be recorded in arrays as IDs, ReplyIDs, BaseIDs, Subjects, Names, IPs, and so on

    Dim ArOrder(99999)
    Dim CurrentRecord
    Dim Counter
    CurrentRecord = 1
    Dim J
    Counter = 1
    Dim NewRecord

    Sub FindRecord()
    ArOrder(Counter) = ids(CurrentRecord)
    CurrentRecord = CurrentRecord + 1
    Counter = Counter + 1
    For J = CurrentRecord To RecordCounter
    If replyids(J) = CurrentRecord then
    CurrentRecord = ids(J)
    J = RecordCounter
    End if
    Next
    End Sub

    Sub FindRecord2()
    ArOrder(Counter) = ids(CurrentRecord)
    CurrentRecord = CurrentRecord + 1
    Counter = Counter + 1
    For J = CurrentRecord To RecordCounter
    If replyids(J) = CurrentRecord then
    CurrentRecord = ids(J)
    J = RecordCounter
    End if
    Next
    response.write Counter & ". Albert zegt: " & CurrentRecord & "<br>"
    End Sub


    For I = 1 To RecordCounter
    If ReplyIDs(I) = 0 then FindRecord
    If ReplyIDs(I) <> 0 then FindRecord2
    Next


    Please, WHO can help me setting up a forum like http://prikpagina.nl/list.php?f=446

    Thanks in advance!

  2. #2
    Join Date
    Jul 2003
    Location
    Ohio/Chicago
    Posts
    75
    first link is broken and the last one requires windows basic authentication to view

  3. #3
    Join Date
    Sep 2003
    Location
    Denmark
    Posts
    9
    Originally posted by unatratnag
    first link is broken and the last one requires windows basic authentication to view

    The first link appears with a comma at the end, so that is the reason to appear som broken link. The correct link is: http://testforum.franl.dk

    The other link appears to work here....

  4. #4
    Join Date
    Jul 2003
    Location
    Ohio/Chicago
    Posts
    75
    if you go to tools->internet options->security and then see preferences, you can see that you have it set up to automatic login. My box nor anyone else's will have permission to that site without a log in and password. The first link is beta.prik with is not requiring windows authentication and has anonymous browsing turned on. If you would like us to view the third link you'll need to give us a login/password or turn on anonymous browsing. I also assume you didn't just download the real site and put it on another box for us to view because that will cause permission problems with IIS.

  5. #5
    Join Date
    Sep 2003
    Location
    Denmark
    Posts
    9
    Originally posted by unatratnag
    if you go to tools->internet options->security and then see preferences, you can see that you have it set up to automatic login. My box nor anyone else's will have permission to that site without a log in and password. The first link is beta.prik with is not requiring windows authentication and has anonymous browsing turned on. If you would like us to view the third link you'll need to give us a login/password or turn on anonymous browsing. I also assume you didn't just download the real site and put it on another box for us to view because that will cause permission problems with IIS.
    OK, try this link: http://beta.prikpagina.nl/list.php?num=446

    That forum on prikpagina.nl isn't mine, and everybody can see it. I cannot change anything on it, because it is located on a server, owned by Startpagina BV in The Netherlands. I am from Denmark, so I have nothing to do with that forum, but I only want to remake it in ASP. If I had the code in PHP, I could simply translate it to ASP, couldn't I?

    I am sure it is not my fault you cannot see that forum, I can, my dad can, my friends can, EVERYBODY can.

    Sovetryne

  6. #6
    Join Date
    Sep 2003
    Location
    Denmark
    Posts
    9
    Originally posted by Sovetryne
    OK, try this link: http://beta.prikpagina.nl/list.php?num=446

    That forum on prikpagina.nl isn't mine, and everybody can see it. I cannot change anything on it, because it is located on a server, owned by Startpagina BV in The Netherlands. I am from Denmark, so I have nothing to do with that forum, but I only want to remake it in ASP. If I had the code in PHP, I could simply translate it to ASP, couldn't I?

    I am sure it is not my fault you cannot see that forum, I can, my dad can, my friends can, EVERYBODY can.

    Sovetryne
    Oh eh.. the idea to remake this forum, is because this is the ONLY forum on the Internet I found, which does NOT require a log on, and THAT is what I want on own forum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •