1. Due to issues with external spam filters, QQ is currently unable to send any mail to Microsoft E-mail addresses. This includes any account at live.com, hotmail.com or msn.com. Signing up to the forum with one of these addresses will result in your verification E-mail never arriving. For best results, please use a different E-mail provider for your QQ address.
    Dismiss Notice
  2. For prospective new members, a word of warning: don't use common names like Dennis, Simon, or Kenny if you decide to create an account. Spammers have used them all before you and gotten those names flagged in the anti-spam databases. Your account registration will be rejected because of it.
    Dismiss Notice
  3. Since it has happened MULTIPLE times now, I want to be very clear about this. You do not get to abandon an account and create a new one. You do not get to pass an account to someone else and create a new one. If you do so anyway, you will be banned for creating sockpuppets.
    Dismiss Notice
  4. If you wish to change your username, please ask via conversation to tehelgee instead of asking via my profile. I'd like to not clutter it up with such requests.
    Dismiss Notice
  5. Due to the actions of particularly persistent spammers and trolls, we will be banning disposable email addresses from today onward.
    Dismiss Notice
  6. A note about the current Ukraine situation: Discussion of it is still prohibited as per Rule 8
    Dismiss Notice
  7. The rules regarding NSFW links have been updated. See here for details.
    Dismiss Notice
  8. The testbed for the QQ XF2 transition is now publicly available. Please see more information here.
    Dismiss Notice

BB-Code

Discussion in 'General' started by tehelgee, Nov 27, 2014.

  1. doomlord9

    doomlord9 Experienced.

    Joined:
    Jan 15, 2014
    Messages:
    4,641
    Likes Received:
    28,588
    Removal Testing

    *edit*
    Hmmm....a potential exploit in it, you can edit the dice roll out without notice. I was actually testing if you could remove them at all just in case someone hit the wrong button but I noticed that as well.

    It does prevent you from rolling again in that post though but it doesn't notify that a roll has been done and removed.

    *edit-edit*

    Nevermind, just refresh the page and roll again.

    doomlord9 rolled 3 die of 6 faces, total: 10
    For: Reroll Test
    Rolled on: December-14-2014, 10:28pm
    3
    1
    6
     
    Ddmkm122 likes this.
  2. Valette-Serafina

    Valette-Serafina Shameless Shadow

    Joined:
    Feb 16, 2014
    Messages:
    4,900
    Likes Received:
    27,833
    I'm running a quest that uses the d1000.
    How is the maximum number of faces configurable?

    (I could use three d10, but I'd rather have the right dice.)
     
    Ddmkm122 likes this.
  3. Vanathor

    Vanathor 『Back In Black』

    Joined:
    Feb 19, 2013
    Messages:
    7,844
    Likes Received:
    18,578
    People can easily check here

    http://forum.questionablequesting.com/dice

    So a master page exists that keeps track of all rolls as a result.

    For instance, the dice you removed are here.
    doomlord9 rolled 3 die of 6 faces, total: 9
    For: Removal Testing
    Rolled on: December-14-2014, 10:25pm
    1
    2
    6
     
    Ddmkm122 likes this.
  4. alethiophile

    alethiophile Shadowed Philosopher Administrator

    Joined:
    Apr 26, 2013
    Messages:
    7,569
    Likes Received:
    52,857
    Max dice faces are now 10,000. I figure this is about as much entropy as anyone needs out of a single roll.
    alethiophile rolled 3 die of 2000 faces, total: 4014
    Rolled on: December-14-2014, 10:43pm
    1068
    1521
    1425
     
    Ddmkm122, Walkir and Valette-Serafina like this.
  5. doomlord9

    doomlord9 Experienced.

    Joined:
    Jan 15, 2014
    Messages:
    4,641
    Likes Received:
    28,588
    Well at least that's a thing but it doesn't say where exactly said roll was originally done or give a notice that it needs to be checked at all. More difficult to exploit but still possible. Something like the SMF forum had with a non-removable mark telling that a roll has been removed would be the best way to close it off entirely. Maybe an auto-banner similar to an XF admin/mod warning but a different color if a non-removable message isn't possible in XF?
     
    Ddmkm122 likes this.
  6. Vanathor

    Vanathor 『Back In Black』

    Joined:
    Feb 19, 2013
    Messages:
    7,844
    Likes Received:
    18,578
    Simple one. The User is required to give a specific reason for the roll in individual quests, with any roll not for that particular noted reason being excluded. Thus giving a simple term to parse for to check for cheaters.
     
    Ddmkm122 likes this.
  7. Valette-Serafina

    Valette-Serafina Shameless Shadow

    Joined:
    Feb 16, 2014
    Messages:
    4,900
    Likes Received:
    27,833
    Alternatively, the QM could make the rolls.
    Or trust the players. I know that I would.
     
    Ddmkm122 and Least Devotee like this.
  8. alethiophile

    alethiophile Shadowed Philosopher Administrator

    Joined:
    Apr 26, 2013
    Messages:
    7,569
    Likes Received:
    52,857
    Not, unfortunately, an easy way to do that. Would need some kind of hook on any edit operation, as well as possibly a change to the DB. Since the dice gizmo is just an external addon, not much else to do with it.
     
    Ddmkm122 likes this.
  9. doomlord9

    doomlord9 Experienced.

    Joined:
    Jan 15, 2014
    Messages:
    4,641
    Likes Received:
    28,588
    Oh I know it's simple to fix with effort on the client side, I just prefer to close off even that small loophole for someone to sneak anything through. This wouldn't affect me personally since I pretty much never roll dice or would bother with cheating(too much effort and too easy to be caught for little to no gain), I just naturally see breaks in a system without even looking for them.

    Maybe one more addon to the Dice Master Table linking to the original post that the roll was done in? If it's to much effort for something relatively small I can understand, it's just like sand in my shoe to notice things like that and not have them fixed.

    On a completely unrelated note, since we have upgraded the server specs would it be possible to open up a copy of the SMF forum with no post database and the ability to post anything locked out(little to no server load since there is nothing to browse) but the ability to login to your original account in order to retrieve sent PM data?

    Ack being a major example of why I wanted something like that in the first place since he wasn't even here at the time but I'm sure alot of other people didn't notice the change with how fast it happened and lots of data could be lost in a section the just can't be translated to XF last I was told. It doesn't affect me at all, I already backed them all up but more prolific authors/posters could be affected by it and it's another thing that bothers me simply existing.
     
    Ddmkm122 likes this.
  10. Megaolix

    Megaolix Moderator

    Joined:
    Feb 19, 2013
    Messages:
    29,189
    Likes Received:
    101,924
    Time to test myself.
    Megaolix rolled 1 die of 20 faces, total: 1
    For: Test
    Rolled on: December-15-2014, 01:11am
    1


    Edit: ...
    Megaolix rolled 1 die of 20 faces, total: 7
    For: test 2
    Rolled on: December-15-2014, 01:13am
    7

    Megaolix rolled 3 die of 6 faces, total: 8+2 = 10
    For: 1
    Rolled on: December-17-2014, 05:01am
    2
    2
    4
     
    Last edited: Dec 17, 2014
    Ddmkm122 likes this.
  11. Valette-Serafina

    Valette-Serafina Shameless Shadow

    Joined:
    Feb 16, 2014
    Messages:
    4,900
    Likes Received:
    27,833
    I'd like to think that people wouldn't cheat.
    (Also, none of my quests let the players roll. PBP RP threads might need to worry, but most quests'll be fine.)
     
  12. Ampersandwich

    Ampersandwich Outl&ish Gr& Panj&rum

    Joined:
    Mar 5, 2014
    Messages:
    1,020
    Likes Received:
    2,130
    *cough*
     
    Ddmkm122 and Valette-Serafina like this.
  13. alethiophile

    alethiophile Shadowed Philosopher Administrator

    Joined:
    Apr 26, 2013
    Messages:
    7,569
    Likes Received:
    52,857
    Don't hassle me about the poor coding of the addon. :p
     
    Valette-Serafina and Ddmkm122 like this.
  14. tehelgee

    tehelgee The stern gaze of justice. Administrator

    Joined:
    Feb 12, 2013
    Messages:
    2,910
    Likes Received:
    12,688
    Seriously, those icons are way way too big. Can we not just do a simply line or two of text?
     
    Ddmkm122, Valette-Serafina and Walkir like this.
  15. Vanathor

    Vanathor 『Back In Black』

    Joined:
    Feb 19, 2013
    Messages:
    7,844
    Likes Received:
    18,578
    Reducing it to text I don't believe is a yes. But all aspect of the dice as they appear is all coded in CSS. Which means they can be edited to be smaller in the admin control panel.
     
    Ddmkm122 likes this.
  16. ChandraMagic

    ChandraMagic Just a Bit Ditzy Moderator

    Joined:
    Feb 21, 2014
    Messages:
    4,341
    Likes Received:
    23,251
    Testing dice~
    ChandraMagic rolled 6 die of 10 faces, total: 31
    For: testing~
    Rolled on: December-16-2014, 07:59pm
    6
    3
    9
    6
    1
    6
     
    Ddmkm122 likes this.
  17. ultima333

    ultima333 Happy Sunflower Time Administrator

    Joined:
    Apr 3, 2014
    Messages:
    3,420
    Likes Received:
    17,389
    Hopefully this dice roller won't be as actively malicious as qqbot is to my character....
    ultima333 rolled 10 die of 20 faces, total: 94
    Rolled on: December-15-2014, 01:08am
    4
    7
    16
    19
    3
    11
    8
    7
    8
    11

    Edit: Amazingly sub-par... Why can't we get a dice roller that always rolls the way we want it to?


    Edit: QUESTMASTERS SHOULD WATCH THE DICE PAGE!


    Otherwise a player could theoretically roll the dice several times, and only show the one they wanted to keep.
    Example: Say it's a roll-under system. I could fudge the dice a few times, until I get double 1s on my dice.
    ultima333 rolled 2 die of 6 faces, total: 2
    For: 6
    Rolled on: December-15-2014, 01:11am
    1
    1

    Would be the only one a player could show, when they rolled several times to get that. If a QM watches the dice page, though, players won't be able to cheat like that.

    EditEdit: Tested deleting a dice roll post.

    DICE ROLL POSTS CAN BE DELETED
    Also, they could just change which roll the bbcode is pointing to.
     
    Ddmkm122 likes this.
  18. Captain.Morgan.Gfy

    Captain.Morgan.Gfy Not too sore, are you?

    Joined:
    Oct 3, 2017
    Messages:
    323
    Likes Received:
    1,051
  19. tehelgee

    tehelgee The stern gaze of justice. Administrator

    Joined:
    Feb 12, 2013
    Messages:
    2,910
    Likes Received:
    12,688
    So, I want to highlight a type of BBcode I don't think I've seen anyone use... the slider! And no, it's not a sex joke.

    Let me demonstrate with some Ciel love.



    Here is the BBcode behind this display.

    [slider=1280x720]
    {slide=open}[img]https://i.imgur.com/esaFvJs.jpg[/img]{/slide}
    {slide}[img]https://i.imgur.com/JNeMPIb.jpg[/img]{/slide}
    {slide}[img]https://i.imgur.com/6hfzEjL.jpg[/img]{/slide}
    {slide}[img]https://i.imgur.com/GEorUWL.jpg[/img]{/slide}
    [/slider]

    https://xenforo.com/community/resources/bbcodes-buttons-manager-advanced-bb-codes-pack.1428/

    This includes all the options, though some don't work like the automatic slide changing.

    Also, this bbcode can be used within a spoiler, so hiding a long list of images isn't necessary if this is used.
     
  20. heralding_bubble

    heralding_bubble Liar and Hypocrite

    Joined:
    Sep 26, 2015
    Messages:
    3,909
    Likes Received:
    31,226
    Just a test

    Edit: ah, no XkY dice rolling, got it.
     
  21. MissileTeatime

    MissileTeatime By the power of Vaporware!

    Joined:
    Apr 21, 2017
    Messages:
    1,966
    Likes Received:
    5,832
    That doesn't sound right, I've seen multiple people do "rolled X dice of Y faces" before. But I've never used the die roller system here, and I suppose it's possible that it's set up to only work in some areas.

    Based on the descriptions I've seen others give:
    • First you make a post.
    • Then you come back to the post and look near the bottom.
    • There should be a link labeled "roll dice", in the same way that there would be a "quote" or "edit" link.
    • That should bring something up. Every explanation I've seen has treated that part of the interface as sufficiently obvious to not be worth explaining.
    MissileTeatime rolled 3 die of 6 faces, total: 12
    For: demonstration
    Rolled on: January-05-2022, 12:50pm
    6
    2
    4
     
  22. heralding_bubble

    heralding_bubble Liar and Hypocrite

    Joined:
    Sep 26, 2015
    Messages:
    3,909
    Likes Received:
    31,226
    XkY, not XdY; roll X dice, keep/count Y of them :V
     
  23. MissileTeatime

    MissileTeatime By the power of Vaporware!

    Joined:
    Apr 21, 2017
    Messages:
    1,966
    Likes Received:
    5,832
    Ah, hadn't seen that term before. Yeah, that you'd have to do manually.
     
  24. Yami no Kami

    Yami no Kami Not too sore, are you?

    Joined:
    Mar 2, 2020
    Messages:
    473
    Likes Received:
    1,201
    so, I was scrolling through the BB-CODE section of this site out of curiosity, and I found the ATTACH one but how are we supposed to use it?

    from what I understood, you have to put a number between the code, which will then attach the image with that attachment id to your reply when you post it, but to do that you need the attachment to exist in the first place. is there a way to put attachments on this site to use that code or is it just basically useless? (or used for something I don't know I guess)

    also, going by the link tehelgee posted:
    if you want your images to get correctly sized in the slider you need an attachment id to be input in the BB code (otherwise you have to choose the height of the slider manually and it is the same for every slide independently of the image that is being displayed in them) right? seems kind of weird that you cannot do it any other way though

    thanks in advance
     
  25. GenDex

    GenDex Future is meaningless, but pasta is now.

    Joined:
    Jul 14, 2022
    Messages:
    1,390
    Likes Received:
    14,007
    So, it's been eight years since this was added, and the highlighter was probably created before all the dark themes, and it probably has no adjustable parts, but ... I'm gonna ask anyway.

    The highlighter code lets text inside the tags be adjusted by themes. Dark themes which turn the text light become unreadable against light highlight colors. Is there any way to prevent text within the highlighter from being automatically adjusted by the theme?

    My band-aid solution is to just force all text within the highlighter tags to be a dark color, and that works. I'm just wondering if any actual solutions might be available.
     
  26. gereh

    gereh I trust you know where the happy button is?

    Joined:
    Jun 24, 2021
    Messages:
    647
    Likes Received:
    10,049
    I'm not sure if this is the right sub-forum, but I have some example code that could be useful to other people, basically I created a table that is formatted to look like an online messenger. I set it up to be scaled to 80% of screen width (and 0% of screen heights since this is impossible it will be adjusted automatically to have the right height) to make it look more like it's in a seperate window, if one doesn't like it just delete the 80%x0% from the table start.

    Only issue is that if you save it and come back to it later, the "rich text editor" will fuck up the formatting.
    Code:
    [xtable=80%x0%|bcenter|skin4|cellspacing:8|border:4]
    {tbody}
      {tr}
    	{th=colspan:2|center}[b]Name[/b]
    Last Online: time{/th}
      {/tr}
    
      {tr}
    	{td=colspan:2|border:0|center}<One Week Ago>{/td}
      {/tr}
    
      {tr}
    	{td=50%x0%|border:0}{/td}
    	{td=50%x0%}1st Msg{/td}
      {/tr}
    
      {tr}
    	{td}2nd Msg {/td}
    	{td=border:0}{/td}
      {/tr}
      {tr}
    	{td=colspan:2|border:0|center}<Today>{/td}
      {/tr}
    
      {tr}
    	{td}3rd Msg {/td}
    	{td=border:0}{/td}
      {/tr}
    
      {tr}
    	{td}4th Msg {/td}
    	{td=border:0}{/td}
      {/tr}
    
      {tr}
    	{td=border:0}{/td}
    	{td}5th Msg {/td}
      {/tr}
    {/tbody}
    [/xtable]
    Output:
    Name
    Last Online: time
    <One Week Ago>
     1st Msg
    2nd Msg  
    <Today>
    3rd Msg  
    4th Msg  
     5th Msg