Skip Navigation

Sticky posts and BB codes

Travel Forums System Talk Sticky posts and BB codes

Page
  • 1
  • 2

Last Post

1. Posted by Hien (Moderator 3906 posts) 11y

Hey Peter,

What do you think of the above two?

We can have "featured posts" for each forum using sticky posts. "Hot" threads (such as TP get-together) will always be at the top of the list. Once the threads have turn "cold", moderators can make it "unsticky" again.

As for the latter, perhaps you can allow the use of certain BB codes for italizing, bolding, and underlining messages.

Cheers,
Hien

2. Posted by Peter (Admin 5789 posts) 11y

Hi Hien,

Funny you should mention that.. I've been working on a form of BBCode (I'll call it SimpleCode since BBCode is trademarked I think) the last couple of days. Looking pretty good. It should allow bold, italic, lists and quotes. It may not come with an editor interface yet, but there will at least be an explanation. Should mean we can allow more characters as well. Stay tuned :)

I like the idea of sticky threads as well - it would definitely make sense.

3. Posted by Hien (Moderator 3906 posts) 11y

Hi Peter,

Good to hear that you're already working on the BBcode.
I'm looking forward to that.

The sticky threads function is pretty simple to do. Just an extra field for the Thread table to identify the status, minor changes to the page, plus some tweaking on the SQL on the threads listing. I believe getting it done should be pretty quick.

Cheers,
Hien

[ Edit: ... ]

4. Posted by Peter (Admin 5789 posts) 11y

Hi Hien,

Just testing this, I guess you won't mind me using this thread :)

Bold Text

Italic Text

  • item1
  • item2
  • item3

Travellerspoint

Quoting Hien

As for the latter, perhaps you can allow the use of certain BB codes for italizing, bolding, and underlining messages.

5. Posted by Hien (Moderator 3906 posts) 11y

Quoting Peter

Just testing this, I guess you won't mind me using this thread :)

Not at all, Peter. :)

Great, it's working now.

Cheers,
Hien

6. Posted by Hien (Moderator 3906 posts) 11y

Testing again...

Let's see what happens if I do not close the tags.

[i]italic
[b]bold
[u]underline

7. Posted by Hien (Moderator 3906 posts) 11y

Now, let's see what happens if I mix up the tag open/close order.

italic[/b]
bold

underline

done...

Wreaking havoc in TP!!! Hope you don't mind, Peter. It's part of a stress test.

Cheers,
Hien

8. Posted by Hien (Moderator 3906 posts) 11y

It's doing well. But, no underline?

Cheers,
Hien

9. Posted by Gelli (Travel Guru 2457 posts) 11y

Well, it might be working well for you, but i just see the code, and none of them work (with the exception of the one you've added "Edit" at the bottom of before the testing).

Sorry

10. Posted by Peter (Admin 5789 posts) 11y

Hi Rich,

It's on a testing site (using the same database though).. Hien knows the address ;) If you want to check it out, let me know and I'll send you a message..

Cheers,
Peter