Originally posted by karma99
Originally posted by tahl
Originally posted by DaRealest
Originally posted by Serenity
Anyone know how to expand the box with the ignore script for people whose usernames take up 2 lines?
I think you just have to find
allPosts.setAttribute('style','min-height:45px'
and change the 45px to a higher number. Try that and see if it works.
edit: It's easiest by just opening your editor and doing a search for
'style','min-height:45px'
I know about this too, tried to fix it before but can't seem to work it out either. I've changed it to random numbers going as high as 200px, but it doesn't seem to change the actual box thread size. Just to be sure I'm in the right area here is the area I'm adjusting set to 75:
-
if(alreadyIgnored)
{
allPosts.setAttribute('style','min-height:75px');
-
Now that I'm looking at it, I think the attribute does need to be somewhere else. It's the ones that are not being ignored that are the problem.
Replace this:
if (getElementsByClassName('post_user',allPosts[i ])[0].innerHTML.indexOf('<b>Admin</b>') > 0 ||
getElementsByClassName('post_user',allPosts[i ])[0].innerHTML.indexOf('<b>Moderator</b>') > 0)
{getElementsByClassName('post_user',allPosts[i ])[0].setAttribute('style','min-height:150px');}
with this:
if (getElementsByClassName('post_user',allPosts[i ])[0].innerHTML.indexOf('<b>Admin</b>') > 0 ||
getElementsByClassName('post_user',allPosts[i ])[0].innerHTML.indexOf('<b>Moderator</b>') > 0)
{getElementsByClassName('post_user',allPosts[i ])[0].setAttribute('style','min-height:175px');}
else
{getElementsByClassName('post_user',allPosts[i ])[0].setAttribute('style','min-height:150px');}
Remove the spaces in [i ]

Works thanks
No idea why I have this script since I have to see annoying posts but meh

Originally posted by tahl
Originally posted by DaRealest
Originally posted by Serenity
Anyone know how to expand the box with the ignore script for people whose usernames take up 2 lines?
I think you just have to find
allPosts.setAttribute('style','min-height:45px'
and change the 45px to a higher number. Try that and see if it works.
edit: It's easiest by just opening your editor and doing a search for
'style','min-height:45px'
I know about this too, tried to fix it before but can't seem to work it out either. I've changed it to random numbers going as high as 200px, but it doesn't seem to change the actual box thread size. Just to be sure I'm in the right area here is the area I'm adjusting set to 75:
-
if(alreadyIgnored)
{
allPosts.setAttribute('style','min-height:75px');
-
Now that I'm looking at it, I think the attribute does need to be somewhere else. It's the ones that are not being ignored that are the problem.
Replace this:
if (getElementsByClassName('post_user',allPosts[i ])[0].innerHTML.indexOf('<b>Admin</b>') > 0 ||
getElementsByClassName('post_user',allPosts[i ])[0].innerHTML.indexOf('<b>Moderator</b>') > 0)
{getElementsByClassName('post_user',allPosts[i ])[0].setAttribute('style','min-height:150px');}
with this:
if (getElementsByClassName('post_user',allPosts[i ])[0].innerHTML.indexOf('<b>Admin</b>') > 0 ||
getElementsByClassName('post_user',allPosts[i ])[0].innerHTML.indexOf('<b>Moderator</b>') > 0)
{getElementsByClassName('post_user',allPosts[i ])[0].setAttribute('style','min-height:175px');}
else
{getElementsByClassName('post_user',allPosts[i ])[0].setAttribute('style','min-height:150px');}
Remove the spaces in [i ]

Works thanks

No idea why I have this script since I have to see annoying posts but meh




























