Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Announcement MyCode
#1
Title: Announcement MyCode
Description: This will show a graphic announcement in your post
Regular Expression:
Code:
\[announce\](.*?)\[/announce\]
Replacement:
Code:
<div style="border: 2px dashed rgb(204, 51, 68); margin: 2ex; padding: 2ex; color: black; background-color: rgb(255, 228, 233); align: center;"><div style="float: left; width: 2ex; font-size: 2em; color: red;"><strong>!!</strong></div><b style="text-decoration: underline;">Announcement</b><br/><div style="padding-left: 6ex;">$1</div></div>

Usage:
Code:
[announce]Text Here[/announce]

Example:
[Image: announce.jpg]
Reply
#2
Yay! Nice plugin.
You know what's weird? Me.
Reply
#3
(09-14-2009, 02:31 PM)Gordie Wrote:  Title: Announcement MyCode
Description: This will show a graphic announcement in your post
Regular Expression:
Code:
\[announce\](.*?)\[/announce\]
Replacement:
Code:
<div style="border: 2px dashed rgb(204, 51, 68); margin: 2ex; padding: 2ex; color: black; background-color: rgb(255, 228, 233); align: center;"><div style="float: left; width: 2ex; font-size: 2em; color: red;"><strong>!!</strong></div><b style="text-decoration: underline;">Announcement</b><br/><div style="padding-left: 6ex;">$1</div></div>

Usage:
Code:
[announce]Text Here[/announce]

Example:
[Image: announce.jpg]

Nice! I like it. It's very useful when you want to catch someone's attention.
Reply
#4
Nice, thanks for this Smile
Reply
#5
I use this and I have changed the color to blue and it work perfectly with the default MyBB style.
[Image: 468x602b.png]
Reply
#6
Nice, is a beautiful MyCode Smile

Thanks Big Grin
Reply
#7
hmm great. You could even use this as a warning bar etc
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)