Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Forum codes..

Forum codes..

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Shadowfyr   USA  (1,791 posts)  Bio
Date Thu 14 Nov 2002 09:24 PM (UTC)
Message
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
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 14 Nov 2002 11:27 PM (UTC)
Message
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]

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Shadowfyr   USA  (1,791 posts)  Bio
Date Reply #2 on Fri 15 Nov 2002 02:24 AM (UTC)
Message
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. ;)
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #3 on Fri 15 Nov 2002 06:49 PM (UTC)

Amended on Fri 15 Nov 2002 07:55 PM (UTC) by Magnum

Message
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?)

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #4 on Fri 15 Nov 2002 07:17 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #5 on Fri 15 Nov 2002 08:06 PM (UTC)

Amended on Fri 15 Nov 2002 08:08 PM (UTC) by Magnum

Message
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).

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #6 on Fri 15 Nov 2002 08:53 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #7 on Sat 16 Nov 2002 08:25 AM (UTC)
Message
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.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #8 on Sat 16 Nov 2002 09:03 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


23,179 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.