MyBB Community Forums
[RELEASE] Topic Closed - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: MyCodes (https://community.mybb.com/forum-117.html)
+--- Thread: [RELEASE] Topic Closed (/thread-96181.html)

Pages: 1 2


[RELEASE] Topic Closed - Laughynose - 2011-06-09

Hello everyone, this is my first MyCode that I've made myself from nothing and It brings me great pleasure to release it here, now you've seen a moderator warning but I've never seen a closed thread one. Now hey I'm not the best MyCode maker but it's quite a nice idea from my point of view.

Preview: http://pspcheats.us/showthread.php?tid=16&pid=19#pid19

Title:
Topic Closed

Short Description:
This is a MyCode to act like a warning when you close threads.

Regular Expression:
\[close\](.*?)\[/close\]
Replacement:
<style> .code{font-family: Lucida Console; color: #00FFFF; background-color: #E42217; padding: 2px; width:70%; margin: 0px auto 0px auto; /*overflow: auto; height: 200px;*/} </style> <table width="55%" cellspacing="1" cellpadding="3" border="0" align="center"> <tr> <td><span class="smallfont"><strong><font color="#00FFFF"></font></span></td> </tr> <tr> <td class="code"><centre></centre><font color="#00FFFF">Sorry this topic has been closed, the topic could of been closed for a various of reasons, please consult a member of the team if you think this is a mistake.</font></td> <tr> </table>

Enabled:
Yes

I hope this helps you.

To show support please post below on some more suggestions or improvements.



RE: [RELEASE] Topic Closed - kadhafi - 2011-06-09

thanks man..[close][/close] just like that?


RE: [RELEASE] Topic Closed - Omar G. - 2011-06-09

To much code IMO


RE: [RELEASE] Topic Closed - Laughynose - 2011-06-09

(2011-06-09, 10:32 PM)kadhafi Wrote: thanks man..[close][/close] just like that?

Yes, no information is needed for it to work since it's a pre-recorded message.


(2011-06-09, 10:46 PM)Sama34 Wrote: To much code IMO

Totally agree with you Smile




RE: [RELEASE] Topic Closed - Omar G. - 2011-06-10

(2011-06-09, 10:53 PM)Laughynose Wrote:
(2011-06-09, 10:32 PM)kadhafi Wrote: thanks man..[close][/close] just like that?

Yes, no information is needed for it to work since it's a pre-recorded message.


(2011-06-09, 10:46 PM)Sama34 Wrote: To much code IMO

Totally agree with you Smile

Then you can use just \[close\] instead of \[close\](.*?)\[/close\]

Then why not making it a little less of code? Wink


RE: [RELEASE] Topic Closed - Laughynose - 2011-06-10

Like I said on another forum, I cannot be asked, if you want to go for you're life, I just think it's easier to do that in later releases. Smile


RE: [RELEASE] Topic Closed - n1tr0b - 2011-06-10

To much to type. better go with Sama


RE: [RELEASE] Topic Closed - Aries-Belgium - 2011-06-10

What about this:

/close

[EDIT]
Sorry Laughynose, but another thing you can do, is create a custom moderation tool to close the thread and post a new message automatically.


RE: [RELEASE] Topic Closed - Omar G. - 2011-06-10

^That could be better on some ways, any user can use [close][/close].


RE: [RELEASE] Topic Closed - Laughynose - 2011-06-11

(2011-06-10, 12:42 PM)Aries-Belgium Wrote: What about this:

/close

[EDIT]
Sorry Laughynose, but another thing you can do, is create a custom moderation tool to close the thread and post a new message automatically.
At the moment I'm learning to code plugins but I'll defiantly give it a try.
(2011-06-10, 09:55 PM)Sama34 Wrote: ^That could be better on some ways, any user can use [close][/close].

As I've said, you're free to do this Smile