MyBB Community Forums

Full Version: Thread closed button not showing to moderators
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
This should work:

<a href="newreply.php?tid={$tid}" class="button new_reply_button st_{$thread['closed']}"><span>{$lang->new_reply}</span></a>&nbsp;

and add the below class in the bottom of global.css

a.button.new_reply_button.st_1 {
background:red;
}
a.button.new_reply_button.st_1 span {
background-position: 0 -380px;
}
(2015-01-02, 10:33 PM)Leefish Wrote: [ -> ]This should work:


<a href="newreply.php?tid={$tid}" class="button new_reply_button st_{$thread['closed']}"><span>{$lang->new_reply}</span></a>&nbsp;

and add the below class in the bottom of global.css


a.button new_reply_button .st_1 {
background:red;
}
a.button new_reply_button .st_1 span {
background-position: 0 -380px;
}

Nope sorry no change for me.
Have you left the change in place? That way its a lot easier for me to do the css. Please make the change to the showthread new_reply template.
Here we go - no gap between classes Smile

a.button.new_reply_button.st_1 {
background:red;
}
a.button.new_reply_button.st_1 span {
background-position: 0 -380px;
}
(2015-01-02, 11:00 PM)Leefish Wrote: [ -> ]Have you left the change in place? That way its a lot easier for me to do the css. Please make the change to the showthread new_reply template.


Here we go - no gap between classes Smile



a.button.new_reply_button.st_1 {
background:red;
}
a.button.new_reply_button.st_1 span {
background-position: 0 -380px;
}

Leefish  I think we are in the same time zone, and I'm happy to leave you with Mod access for now but I need to find my bed. (It's called getting old)

I've left the changes you suggested above if you do want to continue looking, but for now I will say thank you for trying and goodnight.

Please don't put yourself out over it later will be fine.

Thank you.
I merged two posts - you may not have seen it - new css Smile
Hello Leefish sorry for delay in getting back to you.

OK I have this in showthread_newreply
<a href="newreply.php?tid={$tid}" class="button new_reply_button st_{$thread['closed']}"><span>{$lang->new_reply}</span></a>&nbsp;


And this at the bottom of global.css
a.button.new_reply_button.st_1 {
background:red;
}
a.button.new_reply_button.st_1 span {
background-position: 0 -380px;
}

But it's not changed.

Leefish apologies it is working, I cleared my cache and the button is now showing red to moderators when it's locked.

Thank you very much for your patience and help I appreciate it.
Awesome Smile Did you notice I also changed the image to a lock? Because THATS HOW WE ROLL .......
(2015-01-03, 03:52 PM)Leefish Wrote: [ -> ]Awesome Smile  Did you notice I also changed the image to a lock? Because THATS HOW WE ROLL .......

I have to admit I didn't, I just took it for granted. Blush

Looks great now thank you.
This is great, thank you.
Pages: 1 2 3