Forum codes..

Posted by Shadowfyr on Thu 14 Nov 2002 09:24 PM — 9 posts, 30,238 views.

USA #0
These need fixing.. Ok I can live with the extra space is adds before [code] and the extra 3 it adds after [/code], but take a look at my post in Suggestions: Calendar which 'tries' to display an example of the layout I thougt of for a world linked window.

It fails to correctly unbold in several places (including needing to add an extra to the end to keep everything up to the [code] section from also being bold). Also, I had to add charage returns in the text block after the [/code] part, since it was adding the extra spacing I expected, but failed to reset the formating to normal paragraphs. I was also afraid of the effects of adding another [/code] to try to see if that fixed it. I can live with it for now, but it would be nice if some time along the road you beat the people that designed it over the head until it gets fixed to work right. ;) lol
Australia Forum Administrator #1
Not really, you simply had bugs in your codes. :P

Here is what you had ... you missed a [/code] and a [/b]. I have changed it since ...


[code]
[b]|-------------------------------------------------------|
|[/b]|----------|[b]|------|[/b]|-------------|[b]                    |
Missing [/b] here 

[b]|[/b]| Calendar |[b]| Chat |[/b]| Other Stuff |[b]                    |
||-----------------------------------------------------||
|| Fred tells you: Hi!                                 ||
|| You tell Fred: Hello!                               ||
||-----------------------------------------------------||
|| Send: tell Fred Havng a nice day?_                  ||
||-----------------------------------------------------||
|-------------------------------------------------------|[/b][/b]

Missing [/code] here 

You could then window.show or window.hide for all things connected to that world file. The in the case above the
chat bit would be something like:

Chat.frm >
[code]RichTextBox {
  Name = "Chat"
  ...
  Stretch = True
  Text = "\[blue\]Fred tells you: Hi!
\[green\]You tell Fred: Hello!"
}
InputBox {
  Name = "SendBox"
  ...
  Sendto = "world"
}[/code]
USA #2
Oops.. lol Actually it may be more accurate to say I forgot to delete a [b] and I forgot I used the other [code] statement. It still adds extra lines that create an annoying effect after the [/code] tag, which is less of a problem, but still... Thanks for fixing my buggy tags, I did part of the message, then decided to go back and change something, etc. makes for some definite goofs when you do that. ;)
Canada #3
Heh... I thought Nick wrote this forum software himself... :)

One thing I might suggest, is graduated forum posting privedges, such as:
  • Longer message limits.
  • Use of [url] and [/url].
  • Ability to post graphics.
  • Other stuff available for moderator only.

For example, after 25 posts, you might get 25% more length limit. After 50 posts, URL approval, etc. Of course, Nick or other moderators would have the ability to revoke priveledges if they were abused.

Also, clickable URL's in sig. lines. (Did you know the more URL's you have pointing to your site, the higher your ranking in search engines?)
Amended on Fri 15 Nov 2002 07:55 PM by Magnum
Australia Forum Administrator #4
Quote:

but it would be nice if some time along the road you beat the people that designed it over the head until it gets fixed to work right.


and ...

Quote:

Heh... I thought Nick wrote this forum software himself.


Well, I was hoping to not have to beat myself over the head! ;)

Those are nice ideas, Magnum. You may have noticed that a couple of users (such as you) can already make longer posts, as I made the post length a user-based option.

For doing URLs I currently have a HTML option which I use for my posts with links in them. Unfortunately it then means the whole post has to be in HTML, however I am used to it, so it doesn't take too long.

I can turn that on for trusted posters who can make a case for needing to do fancier posts.
Canada #5
Ahh, a rare invasion on the mud just now... gave you time to respond. :)
Quote:

You may have noticed that a couple of users (such as you) can already make longer posts, as I made the post length a user-based option.

Yup. That's really when I thought about graduated priveldges here.

I didn't realize the HTML factor though. I've seen on UBB boards, and others, that the additional options were also special [] codes.

I personally haven't felt the need for additional access too often, though I have on occasion. Specifically, if I need to quote mud output in colour.

...and just twice I would have posted graphics if I had the option. One concern about that, though, is that I would probably need to host it myself, and I doubt I would keep it hosted for the lifetime of the forum posting. For those very rare occasions, I can just mail to you and ask you to insert, as I have before. :)

I guess, in conculusion, the only suggestion I would maintain is a [url] code. Functioning the same as it does on UBB boards (and usable in sigs).
Amended on Fri 15 Nov 2002 08:08 PM by Magnum
Australia Forum Administrator #6
I could probably make the URL you provide as part of your profile a clickable link without too much trouble.

As for the [url] link, I almost did that once, but discovered that if you forgot to put on [/url] it made a big mess. Still, I suppose if you were responsible you'd fix it.
USA #7
You could always make the board reject the posting and give a message reminding you to close your url tag, before it would allow you to post.
Australia Forum Administrator #8
The problem is, these codes have to be interpreted every time the page is displayed, so I am doing something simple, namely a "replace all" in each case.


eg. replace "[b]" by "<b>" and so on

This doesn't really detect if things are in the right order. Carefully interpreting the syntax would be quite time-consuming in an interpreted language. I suppose it could be more carefully checked when you make the posting as a once-off.

At present it doesn't really matter if you have things out of order because they are inside a table, and it seems to reset when the table finishes.