2008-04-08, 05:18 AM
Hy.
I need help please.
This is 3 small plugins for my own forum which give me possibility to align text with this 3 bbcodes:
[left]text align to left[/left]
[right]text align to left[/right]
[center]text align to left[/center]
But I want to make just ONE plugin for all and I don't know how...
I think is not so hard...
Can you help me, please ?
Here is "plugins":
[attachment=9006][attachment=9005][attachment=9004]
How to include 3 lines like this:
I need help please.
This is 3 small plugins for my own forum which give me possibility to align text with this 3 bbcodes:
[left]text align to left[/left]
[right]text align to left[/right]
[center]text align to left[/center]
But I want to make just ONE plugin for all and I don't know how...
I think is not so hard...
Can you help me, please ?
Here is "plugins":
[attachment=9006][attachment=9005][attachment=9004]
How to include 3 lines like this:
return preg_replace('#\[right\](.*?)\[/right\]#i', "<P ALIGN=\"right\">$1</P>", $message);
in the same function ?