Replies

Jan 14, 2018 8 years ago Official
Bug
User Avatar
Segfault

Troubleshooting Broken Profiles

The new sCode processor is a lot stricter about enforcing the rules of both sCode and HTML. It also has a few quirks of its own. Here are some common issues to look for if your code has stopped working. Please give this a read and make a post if nothing here solves your issue.

Spoiler titles When using the spoiler= sCode, you can no longer include sCode within the title; it must be plaintext. If you need a fancier title, you can use this workaround for now: [spoilertitle]
Fancy title
[/spoilertitle][spoilercontent]Hello world![/spoilercontent]
Which will look like this: [spoilertitle]
Fancy title
[/spoilertitle][spoilercontent]Hello world![/spoilercontent]

If you are targeting spoilers with CSS, use the classes .spoiler-click for the title and .spoiler-text for the content.

Style tag and quotes When including CSS in a profile, make sure your style tag is opened by one of the following: (Preferred) <style type="text/css"> <style> Examples of things that won't work: <style type=text/css>

<style type='text/css'>
Order of closed tags Make sure that nested tags are closed in the correct order. For example: Hellowill result in an error. The correct order would be: Hello
Extra line breaks due to br tag In some places, if you use both a br tag AND a line break (via the enter key), it will interpret each of those as a line break and will give you double line breaks as a result. For example: hello
world
Will give you two line breaks. But this will give you just one line break in between the lines: hello world This will also only give you one line break: hello
world
Square brackets inside CSS If you have something like this inside style tags, it will break: div[style^='width:50%'] { display:none; } This is because of the square brackets within the code. This is unintentional, and will be fixed, but is mentioned here because it could be causing your code to break.
Make sure you check for other HTML syntax errors as well, such as: missing quotation marks, missing closing tags, unclosed divs, etc Still having issues? Please paste your code somewhere (we recommend Pastebin.org) and include a link to this paste and the profile in question when asking for help. You may post on this topic where I (and hopefully other users!) will try to help you. There is no need to ping me as I will be checking on this topic regularly to respond. Please see this topic to read more about the sCode update itself: Update: New sCode Processor

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Jan 14, 2018 8 years ago
Luck
is unlucky
User Avatar
Bella

I had a weird problem that was due to the fact that I write my profiles in a word document and the word document was using weird curved quotation marks. “ ” these kinds of quotes are not tolerated in the coding I think, luckily they're easily replaceable with .. not weird quotes like these. " "

I think this was a problem, but I'm not sure. I think that wherever those weird curved quotes were used they simply disappeared which resulted in some broken things. I'm not 100% sure, and I could be just going crazy. Anyway I got it fixed but I thought I would write it here in case someone else has a word document that did the same thing, look for weird shaped quotes.

he/him / 31 / EST



My best friend is



Jan 14, 2018 8 years ago
Spotlight Champion
Destiny
User Avatar
Dexter

fixed! thanks bug :D

Dexter by

Jan 14, 2018 8 years ago
Bug
User Avatar
Segfault

I think your issue may be due to unclosed divs. You have a lot of these:

However you have to close them with this wherever you want the divs to end :)
Hope this helps!

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Jan 14, 2018 8 years ago
Kitten_410
is FIERCE
User Avatar
Help

Hiya, I'm having some issues with random invisible bars like this and bars that I can't identify like this

Most notedly my pet

Cliff that is waiting win the spotlight has the invisible bar issue.

edit: Sorry I missed the part about not pinging you

Jan 16, 2018 8 years ago
dalice
with a cherry on top
User Avatar
August

Hi, I received a ticket to try the above and post here; here's the pastebin for Howel's profile.

Quote
Here are the issues with yours: The TC/content are slightly off from each other and the top of the TC is covering the bottom of the story/content.
I've been having trouble fixing this (see below re: weird laptop zoom).

[sub](my laptop is weird and has this stupid magnified zoom bg looks fine here so i have to use my browser at 80% to see what everyone else sees it's messed up here.. and if i make it good in one zoom it's not in another, this is the worst tbh)[/sub]

Jan 16, 2018 8 years ago
Bug
User Avatar
Segfault

You have an unclosed div tag in your story, and at the end you have an extra style tag that doesn't match anything.

Despite being on the latest Chrome on Windows, I haven't been able to see the invisible bars - your profiles all work perfectly for me so it has me a little stumped. When you do see the invisible bar, are you able to select it with Inspect Element at all? Are you able to change how/where the invisible bar shows up, like by resizing the window or changing your zoom %, does any of that affect it?

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Jan 16, 2018 8 years ago
dalice
with a cherry on top
User Avatar
August

Fixed, thank you!

Jan 16, 2018 8 years ago
Kitten_410
is FIERCE
User Avatar
Help

You didn't see it when you scrolled all the way down? No nothing in the element. My pets

Rig and
Nibbles
also have the same issue. Chrome auto updates, so mine is also the most updated version.

Jan 16, 2018 8 years ago
Bug
User Avatar
Segfault

Yup, that's why it has me stumped. Your profiles work perfectly for me. Are you able to answer the questions in my last post? Those might help us get to the bottom of this.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Jan 16, 2018 8 years ago
Hongske
is lost in space
User Avatar

It's because of the way you set up your profile. The bars are caused by the background-color of your body element coming through, so if you set your body background-color to transparent it should be fixed :)

Jan 16, 2018 8 years ago
Kitten_410
is FIERCE
User Avatar
Help

Amazing! That totally did the trick! Thank you so much!

managed to get me a solution :D

Jan 16, 2018 8 years ago
Hongske
is lost in space
User Avatar
Jan 16, 2018 8 years ago
Bug
User Avatar
Segfault

Awesome!

Thanks for helping out!! I was hoping you'd be lurking around :)

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Jan 16, 2018 8 years ago
Hongske
is lost in space
User Avatar
Jan 16, 2018 8 years ago
Bug
User Avatar
Segfault

Seriously though... I was thinking of even asking you to help but I was afraid of bothering you. But I really appreciate that you've been helping people here especially since the sCode updates happened, as it not only helps people fix their profile faster, but takes a bit of the load off my shoulders too. I really mean it when I say thank you for volunteering your time and effort here <3

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Jan 16, 2018 8 years ago
Hongske
is lost in space
User Avatar

And you're seriously welcome, I'm glad to be of service! Feel free to contact me if I can help with anything else! ❤

Jan 17, 2018 8 years ago
Masquerade
is a mirage
User Avatar
Sigurd

looks like the update to the coding has broken the old(er) hide the hustler tab at the top of the page. I don't think the entirety of the below is required but I do know that it breaks profiles, for example if I add the below as is to Imogen's profile it makes it look like Ishidoro's current profile which isn't correct. For reference Ishidoro's profile should look like Ryoma's.

/remove hustler banner/ .hustler {display:none;}

div[style='width:50%;background-color:;border:1px solid ;padding:1px;margin:1px; margin-right: auto; margin-left: auto; padding: 5px; text-align: center']{display:none !important;}

a[href='/cashshop.php?act=gold']{display:none !important;}

div:first-child[style^='width:50%'] {display:none !important;}

[font=Verdana] menagerie | ps support | style file | cw sale

If I have claimed a Dance from you and do not immediately Dance I will get back to you.

Always Buying:

[/font]

Jan 17, 2018 8 years ago Official
Bug
User Avatar
Segfault

Please read the first post! This is already mentioned (under the spoiler "Square Brackets in CSS") and it's also mentioned there's no need to ping me personally here.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Jan 17, 2018 8 years ago
Masquerade
is a mirage
User Avatar
Sigurd

Sorry Bug I read through the codes up top and it didn't occur to me that square brackets was the problem. A coder I am not. Also I apparently don't read well when looking for a fix :X

[font=Verdana] menagerie | ps support | style file | cw sale

If I have claimed a Dance from you and do not immediately Dance I will get back to you.

Always Buying:

[/font]

Please log in to reply to this topic.