Login to your account

Page 1 of 2 12 LastLast
Results 1 to 30 of 33

Thread: BBCode questions

  1. #1

    BBCode questions

    1. Shouldn't the [code] bbcode allow to put bbcode by displaying it as... code? lol (did that make sense?) At least in all other forums it always did.
    I tried to put the bbcode for each banner from my ooc reference thread, and when I replied to Schizo last time about the sig, buuut even putting the bbcode inside [code] tags made it display as a linked image instead as the code itself. Just... inside a code box.

    2. [imgright] and [imgleft] weren't working for me when I tried them, since Neko you'd said they were available? It just displayed as broken code though.

    3. Do we have "strike-through" and "spoiler" codes? (strikethrough would be really useful for IC journals, I tried the usual [s] and [strike] but neither worked lol)

    I think that's it.


    (ooc)

  2. #2
    Administrator Maneki Neko's Avatar
    Join Date
    Mar 2011
    Location
    USA
    Posts
    1,130
    These are the codes the forum supports currently: http://www.wtfrpg.com/forum/misc.php?do=bbcode

    1) Here we use [noparse][/noparse] to display code without it making itself work. xD

    2) Nah - they hadn't been ported over yet. And then our security guy (Insomniac) realized that I'd had them added to dev and nixed them entirely because they presented a security risk for users and the site. :c So we'll never have those, unfortunately. When he realized they were being used on Menewsha, he removed them there as well.

    3) No, not yet, but we will. xD Hopefully in the next few days. As you can see from our homepage, we're sort of mid coding push at the moment. Once that's fixed up they may have been ported over. xD (It's why I have that BBCode link bookmarked, so I can check and see if they made it over yet. xD )
    Maneki Neko
    "To respect the (shark)cat is the beginning of the aesthetic sense."
    - Erasmus Darwin

  3. #3
    Oookay then, thanks! Though tbh I'm interested on why [imgright] and left would be a security vulnerability, so if someone could explain it to me over PM or otherwise I would be very appreciative o_O (Because I own a couple forums and one has that, and I don't have nifty security people, and I feel to see where the security thing could be bad, so yeah XD)


    (ooc)

  4. #4
    Administrator Maneki Neko's Avatar
    Join Date
    Mar 2011
    Location
    USA
    Posts
    1,130
    I'd have to have it explained to me again, but essentially the idea is it doesn't verify the URL it's surrounding and people who know what they're doing can use it for bad things (which were unspecified to me). xD;
    Maneki Neko
    "To respect the (shark)cat is the beginning of the aesthetic sense."
    - Erasmus Darwin

  5. #5
    I see, that makes some sense. Thank you.


    (ooc)

  6. #6
    Administrator Maneki Neko's Avatar
    Join Date
    Mar 2011
    Location
    USA
    Posts
    1,130
    No problem. xD Wish I knew enough to help you out so you could make a decision whether to remove them on your own site/bring it to the attention of those who do that sort of thing. xD;
    Maneki Neko
    "To respect the (shark)cat is the beginning of the aesthetic sense."
    - Erasmus Darwin

  7. #7
    'nother BBCode question... how do the DICE tags work? XD do you put a number in for sides or... ?


    (ooc)

  8. #8
    Administrator Maneki Neko's Avatar
    Join Date
    Mar 2011
    Location
    USA
    Posts
    1,130
    xD No problem:

    [dice=#x]#y[/dice]

    #x is how many dice you wish to roll. #y is how many sides they have.

    So, for example, if you want to roll three 20-sided dice, it looks like this:
    [dice=3]20[/dice]

    And becomes this:
    The 20-sided dice lands on 16
    The 20-sided dice lands on 2
    The 20-sided dice lands on 1
    Maneki Neko
    "To respect the (shark)cat is the beginning of the aesthetic sense."
    - Erasmus Darwin

  9. #9
    AHA! Thank you! XD


    (ooc)

  10. #10
    Legendary Adventurer Brook V's Avatar
    Join Date
    Jun 2011
    Location
    Sweden
    Posts
    872
    That's a intresting feature. ::Tests::
    The 30-sided dice lands on 9


    ---------- Post added at 02:32 AM ---------- Previous post was at 02:32 AM ----------

    Didn't work... I wanted it to roll 5 times.

  11. #11
    Wise Master Aerion's Avatar
    Join Date
    Jun 2011
    Location
    in my own little world
    Posts
    375
    The 30-sided dice lands on 11
    The 30-sided dice lands on 24
    The 30-sided dice lands on 29
    The 30-sided dice lands on 27
    The 30-sided dice lands on 30


    just trying it my self, same as the person before attempting to roll 5 sets of 30s

    changing my dice xp, better rolls?
    Last edited by Aerion; 07-01-2011 at 09:30 PM.

  12. #12
    Administrator Maneki Neko's Avatar
    Join Date
    Mar 2011
    Location
    USA
    Posts
    1,130
    Hmmm... I'm not sure why it didn't work for you, Brook V... Maybe there was a typo in the part where you wanted to roll five times and the code interpreted it as 1 because of the typo?
    Maneki Neko
    "To respect the (shark)cat is the beginning of the aesthetic sense."
    - Erasmus Darwin

  13. #13
    Legendary Adventurer Brook V's Avatar
    Join Date
    Jun 2011
    Location
    Sweden
    Posts
    872
    I think I added the # actually. Will test again.

    The 30-sided dice lands on 19
    The 30-sided dice lands on 8
    The 30-sided dice lands on 23
    The 30-sided dice lands on 25
    The 30-sided dice lands on 22


    ---------- Post added at 03:30 PM ---------- Previous post was at 03:29 PM ----------

    Works now. Btw when you edit or add a reply (that affects your previos reply) the dice result changes.

  14. #14
    Administrator Maneki Neko's Avatar
    Join Date
    Mar 2011
    Location
    USA
    Posts
    1,130
    If you refresh, it should correct itself to the original roll. xD (If it doesn't then I remembered incorrectly. >_> )
    Maneki Neko
    "To respect the (shark)cat is the beginning of the aesthetic sense."
    - Erasmus Darwin

  15. #15
    Wise Master Aerion's Avatar
    Join Date
    Jun 2011
    Location
    in my own little world
    Posts
    375
    on my computer both my self and brook have the exact same answers now, weird, huh?

  16. #16
    Administrator Maneki Neko's Avatar
    Join Date
    Mar 2011
    Location
    USA
    Posts
    1,130
    The 30-sided dice lands on 6
    The 30-sided dice lands on 20
    The 30-sided dice lands on 26
    The 30-sided dice lands on 26
    The 30-sided dice lands on 1


    The 30-sided dice lands on 4
    The 30-sided dice lands on 11
    The 30-sided dice lands on 3
    The 30-sided dice lands on 6
    The 30-sided dice lands on 10


    *test*

    ---------- Post added at 07:54 PM ---------- Previous post was at 07:54 PM ----------

    Grrr...

    The 30-sided dice lands on 9


    ---------- Post added at 07:55 PM ---------- Previous post was at 07:54 PM ----------

    Well, at least it seems to work like normal when you roll single die... Will report the bug with using multiple die rolls. >:P
    Maneki Neko
    "To respect the (shark)cat is the beginning of the aesthetic sense."
    - Erasmus Darwin

  17. #17
    Wise Master Aerion's Avatar
    Join Date
    Jun 2011
    Location
    in my own little world
    Posts
    375
    *looks around with shifty eyes, the sound of creepy music showing up in the distance as giant polar bear pops out of no where, chanting*
    The 30-sided dice lands on 29
    The 30-sided dice lands on 12
    The 30-sided dice lands on 5
    The 30-sided dice lands on 11
    The 30-sided dice lands on 23


    lol LOST moment any one?

  18. #18
    Administrator Maneki Neko's Avatar
    Join Date
    Mar 2011
    Location
    USA
    Posts
    1,130
    LOL.

    Now I'm imagining some people sitting around the gaming table going, "no, watch. look. It does it every time."
    Maneki Neko
    "To respect the (shark)cat is the beginning of the aesthetic sense."
    - Erasmus Darwin

  19. #19
    Administrator RedAxle's Avatar
    Join Date
    Mar 2011
    Posts
    45
    test 1:

    [dice=5]30[/dice]

    The 30-sided dice lands on 20
    The 30-sided dice lands on 11
    The 30-sided dice lands on 11
    The 30-sided dice lands on 11
    The 30-sided dice lands on 14
    will code for cofee

  20. #20
    Administrator RedAxle's Avatar
    Join Date
    Mar 2011
    Posts
    45
    test 2:

    [dice=5]30[/dice]

    The 30-sided dice lands on 2
    The 30-sided dice lands on 29
    The 30-sided dice lands on 24
    The 30-sided dice lands on 18
    The 30-sided dice lands on 21
    will code for cofee

  21. #21
    Administrator RedAxle's Avatar
    Join Date
    Mar 2011
    Posts
    45
    test 3:

    [dice=5]30[/dice]

    The 30-sided dice lands on 1
    The 30-sided dice lands on 11
    The 30-sided dice lands on 5
    The 30-sided dice lands on 28
    The 30-sided dice lands on 20
    will code for cofee

  22. #22
    Administrator RedAxle's Avatar
    Join Date
    Mar 2011
    Posts
    45
    test 4:

    [dice=5]30[/dice]

    The 30-sided dice lands on 18
    The 30-sided dice lands on 18
    The 30-sided dice lands on 19
    The 30-sided dice lands on 3
    The 30-sided dice lands on 11
    will code for cofee

  23. #23
    Administrator Maneki Neko's Avatar
    Join Date
    Mar 2011
    Location
    USA
    Posts
    1,130
    They look different to me. \o/
    Maneki Neko
    "To respect the (shark)cat is the beginning of the aesthetic sense."
    - Erasmus Darwin

  24. #24
    Legendary Adventurer Brook V's Avatar
    Join Date
    Jun 2011
    Location
    Sweden
    Posts
    872
    The 30-sided dice lands on 22
    The 30-sided dice lands on 21
    The 30-sided dice lands on 15
    The 30-sided dice lands on 7
    The 30-sided dice lands on 1


    The 30-sided dice lands on 27
    The 30-sided dice lands on 20
    The 30-sided dice lands on 27
    The 30-sided dice lands on 16
    The 30-sided dice lands on 2


    The 30-sided dice lands on 16
    The 30-sided dice lands on 14
    The 30-sided dice lands on 17
    The 30-sided dice lands on 25
    The 30-sided dice lands on 16


    dshjvfsdasvdvd

    ---------- Post added at 03:01 AM ---------- Previous post was at 03:00 AM ----------

    testing

    It's still changing

  25. #25
    Administrator Maneki Neko's Avatar
    Join Date
    Mar 2011
    Location
    USA
    Posts
    1,130
    Do you mean when you edit your post from the original roll it's different even after you refresh?

    ---------- Post added at 08:17 PM ---------- Previous post was at 08:17 PM ----------

    The 3-sided dice lands on 1
    The 3-sided dice lands on 3
    The 3-sided dice lands on 2


    ...

    ---------- Post added at 08:17 PM ---------- Previous post was at 08:17 PM ----------

    1, 1, 3

    ---------- Post added at 08:18 PM ---------- Previous post was at 08:17 PM ----------

    Hmm so it is.

    *report*

    ---------- Post added at 08:18 PM ---------- Previous post was at 08:18 PM ----------

    Wait, one more test to see if it does the same thing for single rolls.

    The 6-sided dice lands on 2


    ---------- Post added at 08:19 PM ---------- Previous post was at 08:18 PM ----------

    It rolled a 2.
    Maneki Neko
    "To respect the (shark)cat is the beginning of the aesthetic sense."
    - Erasmus Darwin

  26. #26
    Wise Master Aerion's Avatar
    Join Date
    Jun 2011
    Location
    in my own little world
    Posts
    375
    gotta love tweaky dice right?

    The 6-sided dice lands on 5


    ---------- Post added at 09:58 PM ---------- Previous post was at 09:57 PM ----------

    it was a 5 the first time

  27. #27
    Administrator Insomniac's Avatar
    Join Date
    Mar 2011
    Posts
    38
    Alex, you need to make sure you are using the correct seed value. It looks to be changing on edit.

    ---------- Post added at 03:40 AM ---------- Previous post was at 03:34 AM ----------

    Fixed it. Alex, please sync the plugin to dev. Chuck me a message sometime, and I'll explain the issue

  28. #28
    Administrator RedAxle's Avatar
    Join Date
    Mar 2011
    Posts
    45
    @Insominiac: ack! i read your message too late, i pasted in a new one
    will code for cofee

  29. #29
    Administrator RedAxle's Avatar
    Join Date
    Mar 2011
    Posts
    45
    set 2 test 1

    [dice=5]30[/dice]

    The 30-sided dice lands on 22
    The 30-sided dice lands on 27
    The 30-sided dice lands on 12
    The 30-sided dice lands on 3
    The 30-sided dice lands on 10


    edited, before edit the numbers were: 12,26,20,13,8

    edited 2x
    Last edited by RedAxle; 07-04-2011 at 03:53 AM.
    will code for cofee

  30. #30
    Administrator RedAxle's Avatar
    Join Date
    Mar 2011
    Posts
    45
    set 2 test 2: multi dice in single post

    [dice=5]30[/dice]

    dice 1:

    The 30-sided dice lands on 28
    The 30-sided dice lands on 16
    The 30-sided dice lands on 26
    The 30-sided dice lands on 2
    The 30-sided dice lands on 18


    edited, before edit dice 1 was: 2, 21, 19, 19, 16

    edited 3x

    ---------------------------

    dice 2:

    The 30-sided dice lands on 24
    The 30-sided dice lands on 26
    The 30-sided dice lands on 16
    The 30-sided dice lands on 1
    The 30-sided dice lands on 28


    edited, before edit dice 2 was: 17, 19, 2, 6, 7

    edited 3x

    ---------------------------

    dice 3:

    The 30-sided dice lands on 29
    The 30-sided dice lands on 12
    The 30-sided dice lands on 7
    The 30-sided dice lands on 12
    The 30-sided dice lands on 5


    edited, before edit dice 3 was: 18, 23, 19, 29, 2

    edited 3x
    Last edited by RedAxle; 07-04-2011 at 05:06 AM.
    will code for cofee

Posting Permissions

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