CUSTOM CODES
#1

okay, it occurs to me as I am working on putting in the hack for TikTok embeds, that I should probably list a few things in the background that I've jammed into the forum to do random things.


CUSTOM MYBB CODES
  • a spoiler tag, puts text behind a gray screen overlay
    Code:
    [hide] ... [/hide]
  • allows for embed of a TikTok video
    Code:
    [tiktok] ID# of a tiktok video here [/tiktok]

HTML / CSS using DIV, SPAN etc. tags
  • makes very small text, useful for signatures and for song lyrics in the MUSIC INSPO thread
    Code:
    <div class="smalltext"></div>

    this is an example of smalltext

  • allows for a 2 column grid box
    Code:
    <div class="grid-two-auto"><div>one</div><div>two</div></div>
    this is column 1
    this is column 2

  • a flexible grid, currently spans up to 4 images across in a post (let me know if this needs to be adjusted)
    Code:
    <div class="gallery"> all your image links here </div>

GENERAL HACK

if using HTML (img or div) codes to insert images from an outside source, adding WIDTH="100%" to the img tag will force the image to fit completely within the message post body, useful if the image is oversized. You can set the percentage smaller if you don't want to blast anybody's eyeballs with Rafyael's hot towel look.

Code:
<img width="100%" src="url here">


#2

The grid image gallery is a very sexy idea. I will support you from the side and occasionally add to the burden of things you have to check in the forum by randomly asking for features that I happen to see online


[Image: abyssw-alker-v0-wx0feo9sd3yod500x100.jpg]
Time goes by but memories rewind
#3

okay, added in the code for the GALLERY flexbox that will stack images in series as needed, code to be tweaked as necessary during actual usage.


#4

Beautiful. I'll play with it later in the gallery


[Image: abyssw-alker-v0-wx0feo9sd3yod500x100.jpg]
Time goes by but memories rewind


Forum Jump: