REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help in creating own MyCodes
In not good in php so i need to ask u guyz if u can help me out with this request.

after the spoiler-myCode by labrocca i just edited some myCodes to test them; i could even use JavaScripts Big Grin
But now i'd like to know more about the strings i can put into my myCodes.

<a href="#" class="spoiler">Spoiler: <span>$1</span></a>
the $1 is the string givin from the myCode:

Now, what i have to do if i want to implement more strings?
Like this example here:
and now the replacement:
<font color=text1 face=text2 size=text3> text4 </font>

what i have to do here?
which function does have the " (.*?) " in this syntax?

further more i want to ask one more thing:
i want to check if one or more expressions like the $1,2,3,... ones are existing or not?
This is because i want to add one more expression to my ticker-code, if im writing:
[ticker=(.*?)](.*?) ....
it works fine, i just write [ticker=300]my text[/ticker]
and the output is a ticker with 300px width.
But when i delete the "=300" ([ticker]mytext[/ticker]) it wont work....

so i need to check if this value exists, and when not, i have to write some other text... Big Grin

Possibly Related Threads...
Thread Author Replies Views Last Post
  Creating Placeholder Posts? Oliver Evans 0 622 May 03, 2012, 02:01 PM
Last Post: Oliver Evans
  Plugins Help - Creating My Own RyanDiamond 3 1,334 Feb 11, 2011, 04:26 PM
Last Post: RyanDiamond
  Creating Theme MyBBâ„¢ 7 2,883 May 13, 2010, 05:24 PM
Last Post: 88power88
  Plugin Creating Templates tnt996 2 1,435 Feb 11, 2010, 02:10 AM
Last Post: Riverthief
  Need some help with creating a plug in. that_guy 5 2,330 Jun 10, 2009, 01:42 PM
Last Post: that_guy

Forum Jump:

Users browsing this thread: 1 Guest(s)