Skip to content
TORNLIFE More

Code Question Profile Signature

Started by LiliumLycoris [3234196] on in Questions & Answers.

7 replies · 166 views · thread synced · 4 days ago · View on torn.com
About this thread

Posts archived: 8 / 8 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
8
Discussion span
→
People posting
6
Likes on archived posts
5
Authority score
58 / 100
Historical score
22 / 100
Story score
29 / 100
Engagement score
50 / 100
LiliumLycoris [3234196]
does anyone know what type of code the profile signature uses these days? if anyone could tell me that'd be great, thanks. I tried html and bbcode but I don't think it worked. was told bbcode worked on forum sigs but when I tried it on the profile sig it didnt seem to do anything. I also don't think I've tried bbcode before, so I just copied/pasted what was on a guide. I think I did it right, but I'm not really sure.

for example, I tried this small[/small] as is and then even changed the bracket thingies to <size=small>small</small>. I also tried a bit of html, since I do believe it was used a year or so ago when I knew pretty much nothing of html. just wondering. any helpful advice would be appreciated.

edit: I deleted my previous account around a year or so ago and am just now returning with a new one.
edit two: I can't wrap my brain around js. if there's beginner advice around that, please do let me know. I am also getting used to css, though i was also profile signature didn't use css and it definitely didn't after I tried it.
Kwack [2190604]
It currently uses HTML, you have to use inline styles for any css. No JS support at all, and this is intentional (XSS). This is a recent change, as a year ago it was still using BBCode.

Many inline styles / html attributes will be removed for various security reasons or otherwise. You'll have to play around to try and figure out what works.
Flak [2091491]
GPT 4 had a crack too and i went for a more specific request :)



HTML for Profile Signatures


HTML (HyperText Markup Language) is the standard markup language used to create web pages. In the context of forum profile signatures, HTML allows you to structure your signature content using various tags. Since JavaScript is not supported and all CSS must be inline, focusing on HTML and inline CSS styling is key.


Basic HTML Tags and Their Uses in Signatures


<div>
: Used to create a container for your signature elements. Inline CSS can be applied for styling, such as background colors, padding, or margins.

<div>Your Signature Content</div>



<span>
: Ideal for styling smaller chunks of text or elements within a line. Allows you to apply different colors, font weights, or font styles to parts of your text.

<span>Important</span>



<img>
: Embeds an image in your signature. Remember to use the [background color=var(--bbc-body-bg-color)]attribute for accessibility and width and height attr[/background]ibutes to control the image size.

<img src="URL_TO_YOUR_IMAGE" alt="Description">



<a>
: Creates hyperlinks. You can link to your website, social media profiles, or any other relevant link. Ensure to use the
target="_blank"
attribute to open links in a new tab/window.

<a href="YOUR_URL" target="_blank">Visit My Website</a>



<p>
: Defines a paragraph. Useful for structuring your signature text into clear, separated blocks. Inline CSS can be applied for text color, font size, etc.

<p>This is a paragraph in your signature.</p>



<br>
: Inserts a line break. Use this sparingly to add space between elements without creating a new paragraph.


<ul> 
and <li>: Creates a list. Useful for organizing items or points clearly.

<ul>  <li>Item 1</li>  <li>Item 2</li></ul>
Flak [2091491]
BBCode in this editor really doesn't like some of the other symbols here. tried to fix it best i could but it may have errors i didn't notice
Mr_Mestopheles [2048355]
Their (OP) first line is, "does anyone know what type of code the profile signature uses these days?"

That sounds like they have seen it before and enquiring if it has changed. This is not what a zero day old player would say.
Maybe a restart or something more sinister.
DieselBlade [1701621] Wiki Contributor
Haha is that copilot? It doesn't answer the OP question. It suggests that they familiarise themselves with the specific guidelines, which is what they're trying to do by asking the question.