The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Moderator and Administrator Messages?

View previous topic View next topic Go down

Solved Moderator and Administrator Messages?

Post by Kaon on May 14th 2013, 4:31 am

Is there a Code available for phpBB2 that creates Moderator Messages or Administrator messages?

So something like:



So you'll need to go [mgmt]Message Here[/mgmt] or something and it comes up kinda like a quote...


Last edited by Jophy on May 14th 2013, 9:14 am; edited 4 times in total (Reason for editing : Topic unmarked)

Kaon
New Member

Male Posts : 18
Reputation : 1
Language : English

Back to top Go down

Solved Re: Moderator and Administrator Messages?

Post by SLGray on May 14th 2013, 4:37 am



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36697
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Moderator and Administrator Messages?

Post by Kaon on May 14th 2013, 4:47 am

Anyway to make the box round?

Kaon
New Member

Male Posts : 18
Reputation : 1
Language : English

Back to top Go down

Solved Re: Moderator and Administrator Messages?

Post by Jophy on May 14th 2013, 7:27 am

Hello, the topic is marked solved, is your topic solved? Smile

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Moderator and Administrator Messages?

Post by Kaon on May 14th 2013, 7:50 am

@Jophy wrote:Hello, the topic is marked solved, is your topic solved? Smile

Not really... When I went to edit it so that it isn't solved, i couldn't change it...

Kaon
New Member

Male Posts : 18
Reputation : 1
Language : English

Back to top Go down

Solved Re: Moderator and Administrator Messages?

Post by Ultron's Vision on May 14th 2013, 8:03 am

Hello,

You can round your tables with the border-radius feature of CSS.
An example below:

Code:
<table style="border-top-right-radius: 10px; border-top-left-radius: 8px;"><tr><td>...</tr></td></table>

If you implement that additionally to the CSS given in the link above, your table corners will be round! Wink

Available properties are: border-top-left-radius, border-bottom-left-radius, border-top-right-radius, border-bottom-right-radius and the shortcut border-radius which all take one number followed by px, like 10px, 36px or even 0.8px.
If you need further help with this, reply to this topic and I'll be able to help you.

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Solved Re: Moderator and Administrator Messages?

Post by Kaon on May 14th 2013, 8:46 am

@Ultron's Vision wrote:Hello,

You can round your tables with the border-radius feature of CSS.
An example below:

Code:
<table style="border-top-right-radius: 10px; border-top-left-radius: 8px;"><tr><td>...</tr></td></table>

If you implement that additionally to the CSS given in the link above, your table corners will be round! Wink

Available properties are: border-top-left-radius, border-bottom-left-radius, border-top-right-radius, border-bottom-right-radius and the shortcut border-radius which all take one number followed by px, like 10px, 36px or even 0.8px.
If you need further help with this, reply to this topic and I'll be able to help you.

Doesn't work. Says
CSS updated successfully.
Note :
Html tags generate errors in style sheets.
A correction has been made to delete html tags that you typed in the style sheet.

So it deleted like all of the coding u told me to put in ;/

Kaon
New Member

Male Posts : 18
Reputation : 1
Language : English

Back to top Go down

Solved Re: Moderator and Administrator Messages?

Post by Ultron's Vision on May 14th 2013, 8:54 am

Ah, sorry, I was a bit unclear there...

My example was an inline style sheet, used within posts.

Assume you have a class in your CSS stylesheet, named "modmessage".

Code:
.modmessage { ... }

In that you can add some properties, so if we add the code from above to it...

Code:
.modmessage {
border: solid 1px purple;
border-radius: 5px;
}

That would make the class have a purple, rounded border.

Add the border-radius to the code given to you in the link SLGray posted Wink

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Solved Re: Moderator and Administrator Messages?

Post by Jophy on May 14th 2013, 8:56 am

Use this CSS code instead(replace the code from the tutorial):
Code:
.cpinfo {
border: 1px solid;
margin: 10px 0px;
padding:15px 10px 15px 50px;
background-repeat: no-repeat;
background-position: 10px center;
border-radius: 15px;
-moz-border-radius: 15px;
-htm-border-radius: 15px;
-webkit-border-radius: 15px;
-o-border-radius: 15px;
}
.cpinfo {
color: #00529B;
background-color: #BDE5F8;
background-image: url('http://i.imgur.com/BZ17N.png');
border-radius: 15px;
-moz-border-radius: 15px;
-htm-border-radius: 15px;
-webkit-border-radius: 15px;
-o-border-radius: 15px;
}

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Moderator and Administrator Messages?

Post by Kaon on May 14th 2013, 9:14 am

Thanks! All sorted.

Kaon
New Member

Male Posts : 18
Reputation : 1
Language : English

Back to top Go down

Solved Re: Moderator and Administrator Messages?

Post by Jophy on May 14th 2013, 9:15 am

Topic Solved & Locked

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum