News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Moderator and Administrator Comment Tags

Started by Arantor, September 01, 2009, 06:26:49 AM

Previous topic - Next topic

linette97

I read through all the posts, But I'm stuck on how to change the Border.. It says your "CSS file for your forum - style.css in your theme."
But where do I edit this??? I'm looking through my theme & cannot find "style.css" Using Curve Default, Please tell me step by step where do I need to go to edit this for change of border color.
Thanks all!
Watch Documentaries Online!


Yesterday is history,
Tomorrow is a mystery,
Today is a gift,
That's why it's called the Present.

Arantor

Holder of controversial views, all of which my own.


linette97

Quote from: Arantor on February 23, 2010, 08:11:58 PM
Use your theme's index.css instead.
Ok, Looking REALLY hard I see /httpdocs/Themes/default/style.css.. Is that where I edit? If so How? Because I can not find the codes mentioned in the earlier post? Or do I have to just add them? Sorry, I'm usually pretty decent in all this code stuff but this one has got me stuck. Thanks for the quick response! Please if you can just tell me exactly what I need to do again.. I would really appreciate it
Watch Documentaries Online!


Yesterday is history,
Tomorrow is a mystery,
Today is a gift,
That's why it's called the Present.

Nick Whetstone

#303
Hey,

A link to your forum would really help so I could see for myself exactly what file you need to make the edits in. Also, exact desired definitions on the new border (color, width, and whether it will be dashed or dotted) you are seeking could allow me to write the CSS for you.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

linette97

#304
Quote from: Ha² on February 23, 2010, 08:53:06 PM
Hey,

A link to your forum would really help so I could see for myself exactly what file you need to make the edits in. Also, exact desired definitions on the new border (color, width, and whether it will be dashed or dotted) you are seeking could allow me to write the CSS for you.

Ok here is my site

I made you a member since guest do not have full access

Oh & I just want to make the border red
Watch Documentaries Online!


Yesterday is history,
Tomorrow is a mystery,
Today is a gift,
That's why it's called the Present.

Nick Whetstone

Try opening /Themes/default/css/index.css and adding this to the end of it:
.mod_comment, .gmod_comment, .admin_comment
{
border-color: red;
}


You may have to clear your browser's cache.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

linette97

It worked!! Thank you so much!!


But what if in the future, I wanted to make a background color inside the box, can that be done?
Watch Documentaries Online!


Yesterday is history,
Tomorrow is a mystery,
Today is a gift,
That's why it's called the Present.

Nick Whetstone

Sure can... Try replacing the code I posted above with:
.mod_comment, .gmod_comment, .admin_comment
{
   border-color: red;
   background: yourcolorhere; /* Replace "yourcolorhere" with your desired background color ;) */
}
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

linette97

Watch Documentaries Online!


Yesterday is history,
Tomorrow is a mystery,
Today is a gift,
That's why it's called the Present.

Nick Whetstone

No problem at all. :) If you've got more questions, feel free to ask.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Wiejeben

Can someone tell my if this is SMF 2.0 RC3 compatible ?

Arantor

I don't see any reason why it shouldn't be barring a change of version tag.

Suggestion: backup forum then use the version emulate tool (Admin > Packages > Browse Packages > Advanced > enter SMF 2.0 RC2)

As far as I know it should work without any changes.
Holder of controversial views, all of which my own.


Nick Whetstone

* Ha² updates the Mod for RC3.

Updated for RC3.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

KensonPlays

Thanks Ha! When I upgrade, I will do this!

Owner of Mesozoic Haven

Pegasys

I installed this today on  RC3 (default curve theme)... and the permissions seem to be ignored. Even guests can see all 3 comment boxes.

* Set the permissions for globalmods and mods... and made sure the permission where not set for guests or regular members.

Anyone else having this issue or am I missing something?   

Thanks.



Nick Whetstone

Quote from: Pegasys on March 12, 2010, 04:04:21 PM
I installed this today on  RC3 (default curve theme)... and the permissions seem to be ignored. Even guests can see all 3 comment boxes.

* Set the permissions for globalmods and mods... and made sure the permission where not set for guests or regular members.

Anyone else having this issue or am I missing something?   

Thanks.




Are you saying that the guest can see the box, or that the guest can post the box? The permissions only prevent people from posting the box (using the [mod]/[gmod]/[admin] BBC), not from viewing it. :)
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Pegasys

Quote from: Ha² on March 12, 2010, 04:14:15 PM
Are you saying that the guest can see the box, or that the guest can post the box? The permissions only prevent people from posting the box (using the [mod]/[gmod]/[admin] BBC), not from viewing it. :)


Hehehe... my misconception.  I misunderstood what the purpose of the comment blocks was for. The buttons are indeed hidden from those not authorized to use them.

Thanks. 




Arantor

Yeah, the idea is a big warning that makes the comments from admin/gmod/mod stand out more and makes it more 'official'.
Holder of controversial views, all of which my own.


Autumn13

Hi there, I love this mod! I was wondering if someone could help me on putting the buttons on Quick Reply as well? I have custom themes, so if you could just tell me where in the code I should look, that would be a big help:)

Arantor

Autumn13: What version of SMF?

Do you already have a mod that puts buttons in the Quick Reply area, if so which one?
Holder of controversial views, all of which my own.


Advertisement: