Discussion Thread Order

8 replies [Last post]
Tech
Joined: Oct 17 2000
Posts: 21
Discussion Thread Order

It could be by design, but the order of the posts in discussion seems to be in reverse order.  What I would expect is similar to what Zuggsoft (and most other places) has, ie chronological order.

Original Post
1st Response
2nd Response
...
Nth Response


Instead what I'm seeing is the following:

Original Post
Nth Response
Nth Minus One Response
...
1st Response

Asati di tempari!
Tech
Joined: Oct 17 2000
Posts: 21
Additionally much the text is supposed to be in a code block (kb_block), and it displays that way when editing, but not when being viewed.
Asati di tempari!
Zugg
Zugg's picture
Joined: Jan 1 1999
Posts: 178

Not sure what you mean.  In the example of this post, I see your original post at the top and then your reply next, with my reply after that.  Can you give me a link to a post that isn't working this way.

For the code block, are you using the code tag, or using the code block listed in the Styles drop down menu in the editor?

Testing code tag here:

This is code
This is another line

Testing code block style here:

This is code
This is another line

Let's see what happens.

Zugg
Zugg's picture
Joined: Jan 1 1999
Posts: 178

Hmm, ok, now I see what you mean.

Well, working on these forums is on my to-do list as soon as the TeSSH Public Version is released this week or next.  All I've got here right now is the standard Drupal Advanced Forum module.  Looks like there are definitely problems. 

I can see now that my replies are going to the top instead of the bottom.  And I can see that the Code Block Style doesn't work and the code tag isn't handling line breaks properly.

I'll add all of this to my to-do and bug list for the new web site.  Thanks for the report.

Zugg
Zugg's picture
Joined: Jan 1 1999
Posts: 178
Both the reply order and the code tag issues are now fixed.
Tech
Joined: Oct 17 2000
Posts: 21
#ECHO I love the @fact that syntax highlight works too


#LUA {print("Will it do Lua too?")}

#SHOW I had to try that // I won't be evil
Great work as always Zugg.  I like the editor.

I noticed the highlighting worked when I previewed but not while I was editing.  I didn't see the box for the code block while editing either, but see it in the final.

All in all, great stuff.
Asati di tempari!
Zugg
Zugg's picture
Joined: Jan 1 1999
Posts: 178
Highlighting will not work while editing, nor is it formatted with the border around it.  That won't change.

I plan to add a Lua syntax file in the future.  Keep in mind that to use a language other than zScript, you need to click the Code button in the Editor and select the language from the drop-down list.  The syntax highlighter is not smart enough to code multiple languages at once, so it will never be able to support Lua highlighting while in zScript mode (like in your #LUA example above).
Tech
Joined: Oct 17 2000
Posts: 21
I figured Lua wouldn't highlight, that's why I called it being evil.  devil
Asati di tempari!
Zugg
Zugg's picture
Joined: Jan 1 1999
Posts: 178
print("Will it do Lua too?");
Lua added to list of available languages.