Current time: 07-29-2014, 08:53 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Announcement MyCode
09-14-2009, 02:31 PM
Post: #1
Announcement MyCode
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]

My Test Forum
Visit this user's website Find all posts by this user
Quote this message in a reply
09-17-2009, 01:21 AM
Post: #2
RE: Announcement MyCode
Yay! Nice plugin.

Do you design websites for Wordpress and Joomla? Looking to make some spare cash this summer? Please PM me.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-20-2009, 01:07 PM
Post: #3
RE: Announcement MyCode
(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.
Find all posts by this user
Quote this message in a reply
09-20-2009, 07:03 PM
Post: #4
RE: Announcement MyCode
Nice, thanks for this Smile
Find all posts by this user
Quote this message in a reply
09-21-2009, 08:27 PM
Post: #5
RE: Announcement MyCode
I use this and I have changed the color to blue and it work perfectly with the default MyBB style.

[Image: 468x602b.png]
Find all posts by this user
Quote this message in a reply
09-24-2009, 11:54 PM
Post: #6
RE: Announcement MyCode
Nice, is a beautiful MyCode Smile

Thanks Big Grin
Visit this user's website Find all posts by this user
Quote this message in a reply
10-03-2009, 08:20 PM
Post: #7
RE: Announcement MyCode
hmm great. You could even use this as a warning bar etc

www.teamscorpio.net
www.caraudio-deals.co.uk
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication