Replies

Oct 29, 2017 8 years ago
Zay
made a huge mistake
User Avatar
Riza

Yep I'm using Opera and getting the x and close thing in the upper left-hand corner on pet pages.


Proud Gamer | My best friend is

Oct 29, 2017 8 years ago
Luck
is unlucky
User Avatar
Bella

I'm on firefox and I see the weird X and close on all pet pages. I assume it appeared due to all the layout changes but I have no idea what it's for.

he/him / 31 / EST



My best friend is



Nov 10, 2017 8 years ago
Raggy
has some fries to go with that shake
User Avatar

ignore this, its altered whilst I was typing!

Sorry if Im not around as much, my computer is playing up.Raggys CW Wishlist

Nov 18, 2017 8 years ago
HADES
has a bad feeling about this
User Avatar
Cosmic

Several of my pet profiles have doubled like Vee. All the profiles are by someone who is not active on the site so I cannot ask them about it. Is this going to be fixed as I am thinking it happened after an update?

Art by & !

Nov 18, 2017 8 years ago
Paddy
howls at the moon
User Avatar
Night

In the line that starts with body {background: url, you should just need to add in background-repeat:no-repeat!important; to stop the image repeating lower down....

so for Vee, that'd make that line of coding look like this: body {background: url(http://img.photobucket.com/albums/v226/boogleloo/subeta/pet_profiles/custom/2013/cerberus/004.png); width: 1000px; height: 575px; color: ; font-size: 10px; background-repeat:no-repeat!important; }

[font=verdana]
My CW shop ~ forumset by
[/font]

Nov 18, 2017 8 years ago
HADES
has a bad feeling about this
User Avatar
Cosmic

I appreciate your help! unforfunately, when I added that it is still repeating >:

<style type="text/css"> body {background: url(http://img.photobucket.com/albums/v226/boogleloo/subeta/pet_profiles/custom/2013/cerberus/004.png); width: 1000px; height: 575px; color: ; font-size: 10px;}background-repeat:no-repeat!important;

Is what I have. It is at the top of the coding.

Art by & !

Nov 18, 2017 8 years ago
Paddy
howls at the moon
User Avatar
Night

you need to put that before the } (that tells the page that bit of coding has finished) so the whole link would be: body {background: url(http://img.photobucket.com/albums/v226/boogleloo/subeta/pet_profiles/custom/2013/cerberus/004.png); width: 1000px; height: 575px; color: ; font-size: 10px;background-repeat:no-repeat!important;} :)

[font=verdana]
My CW shop ~ forumset by
[/font]

Nov 18, 2017 8 years ago
HADES
has a bad feeling about this
User Avatar
Cosmic

Thanks a bunch for helping me Q__Q I know next to nothing with coding for the most part... So I got it so that it no longer doubles but now a good chunk of the page is white where before it fit the full frame. Did I enter something off? It is as appears in your code post.

Art by & !

Nov 18, 2017 8 years ago
Frost
is frosty
User Avatar

Pets with an apostrophe in the name are kinda weird and broken.

I have Aza'zel (picked him up from the pound a while ago).

  • Site displays the pet's name as Aza'zel on my pets.php page.
  • Use/play/feed options on items also display "Play with Aza'zel", but they all work because they go by ID and not by petname.
  • Using/reading to him gives a message with the slash: "Book of Demons I has been read to Aza'zel! Aza'zel says, "A true classic!""
  • When I try to go to his profile from the dropdown on the pet.pho page, I get this page: https://subeta.net/pets/Aza/'zel.
  • Removing the slash (https://subeta.net/pets/Aza'zel) and trying again gives me a "No such pet" page even though I own the pet with that exact name.

This is not a recent bug, it's been around for a while.

I remember you looking into and fixing the issues with backslashes and apostrophes around the site. Is this possible to fix? Or is it tied to the whole weird mess where pets with special characters and apostrophes were allowed to be created up until a certain point where Keith drew the line because it was messing with something on the back-end.

Nov 18, 2017 8 years ago Official
Bug
User Avatar
Segfault

The pet name is not valid (by current naming rules) and will need to be changed.

From the Adopt a Pet page:

Quote
The following characters are allowed when naming your new pet:
alphanumeric characters (abc123), periods(.), spaces( ), dashes(-), and underscores (_)!

The pet naming rules have changed over time, which means it's possible to adopt an old pet with a now-invalid name - just as you did. The best course of action in this case is to make a ticket to have your pet's name changed to a valid name.

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

Nov 18, 2017 8 years ago
Frost
is frosty
User Avatar

Aw, bummer. No chance of keeping this pet's name as it is, then? :/

Nov 18, 2017 8 years ago Official
Bug
User Avatar
Segfault

I mean, I guess you can keep it, but you'll have to just put up with anything that's broken as a result of the invalid name. It's not officially supported.

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

Nov 18, 2017 8 years ago
Frost
is frosty
User Avatar

Ah, I get it now! I'll see about filling a ticket once I find a good replacement name. Thank you for explaining!

Nov 18, 2017 8 years ago
Paddy
howls at the moon
User Avatar
Night

it's the next line down that's messing it up.... You have html {background: url(http://img.photobucket.com/albums/v226/boogleloo/subeta/pet_profiles/custom/2013/cerberus/004_bkgd.png) b {color: ;} repeat-x;}

You need to change that to: html {background: url(http://img.photobucket.com/albums/v226/boogleloo/subeta/pet_profiles/custom/2013/cerberus/004_bkgd.png) repeat-x;} b {color: ;}

and it should work fine :)

(basically the b {color: ;} is lurking in the middle of another line of coding, instead of being on it's own line)

[font=verdana]
My CW shop ~ forumset by
[/font]

Nov 18, 2017 8 years ago
Tucker
is a biter
User Avatar

Please excuse me here as your issue made me realize something with my pet.

This is weird. It seems like the only issue I have with the pet I adopted that has an apostrophe is I don't get confirmation popups when I feed/read/play with it. I don't get the backslashes at all.

The only difference I can see is my pet is from 2009 while your's is 2012. Something changed between the dates? But then why does my pet name not mess up?

https://subeta.net/pets/Veo'viis <--works https://subeta.net/pets/Veo%27viis <--what I get using search subeta https://subeta.net/petinfo.php?petid=737723 <--normal id link


"Just because I don't care doesn't mean I don't feel Just because I don't feel doesn't mean I don't understand" IAMX- The Unified Field ....... "Plastic people don't got nothing to say They're judging me, I'm judging you We ain't got nothing else to do" Palaye Royale - No Love In LA | | |

Nov 18, 2017 8 years ago
Frost
is frosty
User Avatar

@ Shay See, that is super weird because I went to test it with Aza'zel now - I definitely do get the popup confirmation for reading a book to him.

I thought it might be because there are two different kinds of apostrophes ( ’ or ' ), but both of them show up identical on our pet pages. :/ So that can't be the issue.

Something is odd here, and I'm tempted to ping Bug again, but I don't wanna bug him more. :'| ... Pun intended.

[edit] Edited for clarity because I am a derp today.

[edit]# 2 This oddity has been chewing away at my brain for the past few days. ._. I'm curious and confused.

reported something interesting involving another pet with an apostrophe in the name, and I don't know if you've been lurking the topic or not. If you have seen their post already, sorry for the ping!

If there's an issue with apostrophes in petnames not being allowed, shouldn't any bugs (like the ones I've reported) be affecting all pets with apostrophes in petnames and not just some of them? It does appear to be the same kind of apostrophe in both our petnames, the only difference is the creation date of the pet.

Nov 18, 2017 8 years ago
HADES
has a bad feeling about this
User Avatar
Cosmic

Yey, thanks so much for your help ;~; seems to be working now so I'll be able to use this knowledge on my others. <3

Art by & !

Nov 21, 2017 8 years ago
Bug
User Avatar
Segfault

There is an explanation and it really doesn't matter because, like I said, we don't support either name so this issue isn't something we wish to waste time on (to put it frankly). I can appreciate curiosity, but I just want to make it clear that it's not something we're going to fix or otherwise address. I'm only answering cuz I too know that feel of wanting to know the why behind things :P

so anyway here's your explanation Basically, it's because of what is actually stored as the name string. 's pet is much older and came from a time when names were stored into the database exactly as they are. The pet's name consists of letters, an apostrophe, and more letters.

The code for the confirmation pop-ups is broken because the apostrophe breaks the code for it. It just becomes invalid javascript code instead.

Because apostrophes can interfere with code like this, there is a way to mark apostrophes in text as just plain apostrophes. That is by putting a back-slash in front of it. By putting the back-slash, it prevents the apostrophe from interfering with the code around it. This is called "escaping" the apostrophe.

Subeta started escaping its inputs, realizing that if you don't escape them, they can interfere with code around it (like how it breaks the confirmation pop-up). That is why your confirmation pop-ups work. Your pet's apostrophe actually has a back-slash in front of it, because it is a much younger pet. It was created after Subeta started to escape pet names.

This also explains the pet profile URL. 's works because the pet's name is exactly that. But yours doesn't work because your pet's name isn't actually Aza'zel, it's actually got a backslash in front of it, so going to the URL with Aza'zel gives you "no such pet".

That's also why it shows up with the back-slash in front of it in so many places. This is interesting because it indicates older pages/older code. After Subeta began to escape things, it needs to explicitly then remove those extra backslashes before displaying the text. So pages that don't remove the backslashes are from an older era, back before there were backslashes to remove.

So there you have it. It's an interesting little artifact of Subeta's growth over the years. :)

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

Nov 21, 2017 8 years ago
Frost
is frosty
User Avatar

Ah, so that's what's causing it! It threw me for a loop because both pets had apostrophes, but one had backslashes and the other only had issues with popup confirmations.

I remember Subeta being really popular among petsite users years and years ago because it was possible to make petnames with spaces, apostrophes and literally everything that Neo never let you do. x) Looks like Neo got at least a fraction of their naming rules right, haha.

Thank you so much for taking the time to explain! ❤

explained what's up with Veo'viis and Aza'zel above!

Nov 21, 2017 8 years ago
Bug
User Avatar
Segfault

Well I think that was a really sweet thought to begin with, but eventually Subeta learned that some rules and limitations exist for a good reason haha.

Subeta is still better than Neo though, regardless. :P

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

Please log in to reply to this topic.