REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MOD MyCode
#1
Just wondering if you could make a simple MyCode

I haven't suceeded so I wonder if you can Tongue



Something like below:

Mod enters [mod] blah blah [/mod]


I would like it to have a background then a darker border,,

i found the following code but I couldnt get it working :@
PHP Code:
TitleMod BB Code
BB Code Tag
: [mod]
Replacement: <div style="border: 1px dashed #da0202; padding: 5px; height: 150px; width: 90%;">
<
img src="images/alert.png" align="left" /><span class="color: #da0202;><strong>Mod Alert:</strong></span>{param}</div> 

Tyy Smile
Reply
#2
What's {param}?? Also <span class="color: #da0202;> makes no sense, a class is just a name, you mean <span style="...."

Regular Expression:

Code:
\[mod\](.*?)\[/mod\]

Replacement:

Code:
<div style="border: 1px dashed #da0202; padding: 5px; height: 150px; width: 90%;">
<img src="images/alert.png" align="left" /><span style="color: #da0202;"><strong>Mod Alert:</strong></span>$1</div>
Reply
#3
Have you looked at http://www.mybbcentral.com/thread-1720.html

It allows you to use
Code:
[warn]
and will display a message you enter into one of the .php files. It is also restricted to those that can access the mod CP.
Reply
#4
(Oct 04, 2009, 09:05 AM)Jacob Wrote: Just wondering if you could make a simple MyCode

I haven't suceeded so I wonder if you can Tongue



Something like below:

Mod enters [mod] blah blah [/mod]

I would like it to have a background then a darker border,,

i found the following code but I couldnt get it working :@
PHP Code:
TitleMod BB Code
BB Code Tag
: [mod]
Replacement: <div style="border: 1px dashed #da0202; padding: 5px; height: 150px; width: 90%;">
<
img src="images/alert.png" align="left" /><span class="color: #da0202;><strong>Mod Alert:</strong></span>{param}</div> 

Tyy Smile

Thats for vBulletin it was posted on Clubhabbo forum TBH

also that plugin how can i change my alert style and the tags? i want the tags to be [mod] and the text to be inside a box any help guys?
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  User support mod Jake6177 2 1,385 Sep 13, 2012, 06:12 PM
Last Post: Jake6177
  A mod that disallows guests to view threads spinning 3 2,447 May 09, 2010, 08:24 PM
Last Post: CometJack
  [Scan] MyCode 88power88 0 1,021 Jan 12, 2010, 07:02 PM
Last Post: 88power88
  Admin Post Editing Mod Variation Needed netjockey 0 1,027 Dec 23, 2009, 02:14 PM
Last Post: netjockey
  $20.00 for MYPS Mod & (Attachment Mod $10.00) + Collapseable Default $5.00 Biohazard 16 7,324 Oct 16, 2009, 05:22 PM
Last Post: kdog2fast

Forum Jump:


Users browsing this thread: 1 Guest(s)