07-29-2025, 07:24 PM
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
HTML / CSS using DIV, SPAN etc. tags
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.
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 1this 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">
