For Neopets ONLY discussion.
Topic locked

Userlookup error

Tue Jun 27, 2006 10:06 am

As I'm not the niftiest with coding (re: hopeless) but would still like my userlookup on neopets to be attractive, I decided to have a poke around and use one of the ready-made lookups that this wonderful site provides. Unfortunately when I try and use it, I get an error that looks something like this:

ERROR :
If the explanation below is not enough, there is more help with this error here.




Invalid words or disallowed element names found in your style tags. (Class or ID names must be preceded with a . or #).

object
input
select


Has anyone else had this trouble? And how do I remedy it?

Tue Jun 27, 2006 12:13 pm

This is happening to me when I try and edit my look-up. It went through fine the first time, but now I can't change anything about it at all, without that coming up. Weird.

Tue Jun 27, 2006 12:37 pm

As horrible as it is, I'm glad I'm not the only one! Now if only I could figure out what to do with it!

Tue Jun 27, 2006 3:34 pm

It probably has something to do with the new system that checks your code for formatting and such now. I had the same problem with image tags that didn't have "" and such.

Without seeing the code or a lookup with the code I can't really guess what exactly is wrong and what you'd have to change.

You could always send a quick message to the person whose lookups they are, not necessarily complaining but politely pointing out that the lookups are unuseable for some reason and might need to be edited before any more users will be able to use them.

Thinking, thinking....
If you have an coding similar to this:

I.TOP {
BACKGROUND: url(http://img.photobucket.com/albums/v257/.../....gif); LEFT: 0px; WIDTH: 809px; POSITION: absolute; TOP: 0px; HEIGHT: 300px
}


You might want to check that there is a . between "I" and whatever the other word is, in this case its "TOP".

That's the only thing I can think of because later on the coding requires:

I class="TOP"


So that may be the sort of class they are referring to in the error?

Tue Jun 27, 2006 5:32 pm

The system for the checking of the code was in place last week when I redid my look-up, and it when through fine then.

Now, I'm just trying to change the text I wrote, not the coding, and it won't go through anymore.

Tue Jun 27, 2006 5:40 pm

Invalid words or disallowed element names found in your style tags. (Class or ID names must be preceded with a . or #).

object
input
select


It says right there that either those words are not allowed, or they need to be preceded by a '.' or '#' so you need to try putting either of those before those words, removing those words, etc. You may be able to get away with ditching those bits of the code entirely, test it out.

You know, I think they have fiddled with the filters again. Making only some text changes to a couple of petpages threw up new errors I didn't encounter even after the filters were made permanent. It's possible they have recently disallowed those words. If I remember right, at first they were not letting us use the word 'object' because that was one of the words the CG codes were using.

If you click the help link on the error page, you'll find they have a special submission form just for the filters. They've buried it slightly, probably to avoid people abusing it and writing about having peanutbutter up their nose after a food fight. If you are using CSS that is perfectly valid but won't go through their filter, you need to fill out that form and let them know.

A few days ago I asked if they'd allow the 'indent' code so we can make paragraphs look proper. When they were testing the filters on premium, they had us let them know of any code they needed to add and I'm sure we didn't catch it all.

Tue Jun 27, 2006 6:29 pm

Q wrote:
Invalid words or disallowed element names found in your style tags. (Class or ID names must be preceded with a . or #).

object
input
select


It says right there that either those words are not allowed, or they need to be preceded by a '.' or '#' so you need to try putting either of those before those words, removing those words, etc. You may be able to get away with ditching those bits of the code entirely, test it out.

You know, I think they have fiddled with the filters again. Making only some text changes to a couple of petpages threw up new errors I didn't encounter even after the filters were made permanent. It's possible they have recently disallowed those words. If I remember right, at first they were not letting us use the word 'object' because that was one of the words the CG codes were using.

If you click the help link on the error page, you'll find they have a special submission form just for the filters. They've buried it slightly, probably to avoid people abusing it and writing about having peanutbutter up their nose after a food fight. If you are using CSS that is perfectly valid but won't go through their filter, you need to fill out that form and let them know.

A few days ago I asked if they'd allow the 'indent' code so we can make paragraphs look proper. When they were testing the filters on premium, they had us let them know of any code they needed to add and I'm sure we didn't catch it all.


The only problem is I'm hopeless with coding and I don't dare fiddle with it as I'll probably ruin it beyond all recognition! I've run a search for those words trying to insert ""' s and #'s but they're not in the coding that I can find!

Argh!

Tue Jun 27, 2006 6:32 pm

You can pm me the code and I'll see if I can fix it up :)

Tue Jun 27, 2006 7:04 pm

Q wrote:You can pm me the code and I'll see if I can fix it up :)


Oh thank you! :o

Tue Jun 27, 2006 10:48 pm

I had this problem while editing my gallery, since form is blocked as well. What I did was make a copy of my code in Notepad then removed the 'form' word. It didn't seem to affect that at all, so try putting a backup code in Notepad and remove the words that Neo doesn't allow.
Topic locked