Replies

Mar 13, 2017 9 years ago
Masquerade
is a mirage
User Avatar
Sigurd

Hi All, I've been looking for code to disable news notifications on my pet profiles. I have the Hustler one already and wanted to make sure that the profiles were consistant.

Thanks in advance.

[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]

Mar 14, 2017 9 years ago
Bug
User Avatar
Segfault

Try this:

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;}

And to hide the little text that says "Remove this Ad!" for non-gold members, try this:

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

The !important may not be necessary, but it'll make sure that nothing else overrides it.

Also, for the code that hides the new news, I went to the news page by accident so I don't really have a way to test it on a pet profile right now :x But, let me know if it works, it should work as long as the CSS isn't filtered by Subeta.

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

Mar 14, 2017 9 years ago
nene
User Avatar
Angora

i got you covered !! someone had asked a while back so i still have the thing haha. for the "New News", try this: div:first-child[style^='width:50%'] {display:none !important;}

Mar 15, 2017 9 years ago
Masquerade
is a mirage
User Avatar
Sigurd

thanks, now I need to test when I have those events up =)

[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]

Mar 15, 2017 9 years ago
Bug
User Avatar
Segfault

Hehe your code for the new news is definitely preferable, it's much shorter :)

Also it reminded me of something important-

In the code I posted, I used double-quotes everywhere, but please change those to single quotes actually! I just remembered that pet profiles do not like double-quotes in CSS - it plays poorly with the filter. But they are interchangeable with single-quotes, luckily.

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

Mar 15, 2017 9 years ago
Masquerade
is a mirage
User Avatar
Sigurd

awesome thanks, can confirm that the new news is definately not popping up =)

[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.