Current time: 04-20-2014, 08:14 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 8 Votes - 3.13 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating Custom MyCode
09-15-2006, 01:32 PM (This post was last modified: 09-15-2006 01:33 PM by shrek.)
Post: #21
RE: Creating Custom MyCode
i cannot make this work
example :

Code:
[url="http://www.narutochaos.com"]NarutoChaos - sume episod ader kat cni[/url]

code

\[a\ href=(.*?)] title=(.*?)\](.*?)\[/a\]

rep
<a href="$1" title="$2">$3</a>

i even try the one in first post. it didnt work. it stayed like the above example
Find all posts by this user
Quote this message in a reply
09-15-2006, 02:54 PM
Post: #22
RE: Creating Custom MyCode
try this:

Code:
\[a\ href=(.*?)] title=(.*?)\](.*?)\[\/a\]
Visit this user's website Find all posts by this user
Quote this message in a reply
09-15-2006, 04:02 PM (This post was last modified: 09-15-2006 04:51 PM by shrek.)
Post: #23
RE: Creating Custom MyCode
nope. that didn't work either

is this wrong too ?

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

<center>$1</center>

coz this doesn't work either..
Find all posts by this user
Quote this message in a reply
09-15-2006, 10:49 PM
Post: #24
RE: Creating Custom MyCode
try this:

Code:
\[a href=(.*?) title=(.*?)\](.*?)\[\/a\]

shrek Wrote:nope. that didn't work either

is this wrong too ?

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

<center>$1</center>

coz this doesn't work either..

and...

Code:
\[center\](.*?)\[\/center\]
Visit this user's website Find all posts by this user
Quote this message in a reply
09-15-2006, 10:58 PM (This post was last modified: 09-15-2006 11:00 PM by Martin M..)
Post: #25
RE: Creating Custom MyCode
You shouldn't use \ infront of /, you shouldn't need to as / is not an modifier in regexp. Only if it is used as an delimiter.

Code:
\[center\](.*?)\[/center\]
Works fine for me.
Find all posts by this user
Quote this message in a reply
09-16-2006, 03:49 AM
Post: #26
RE: Creating Custom MyCode
all does not work. i have make sure that mycode is activated. and forum do allow mycode.
Find all posts by this user
Quote this message in a reply
09-16-2006, 04:03 AM
Post: #27
RE: Creating Custom MyCode
And you're certain that you type [center]Message here[/center] in your message? Does it do nothing? Does it show up like [center]Message here[/center] in the post or what?
Find all posts by this user
Quote this message in a reply
09-16-2006, 04:14 AM
Post: #28
RE: Creating Custom MyCode
yes. here's a pic.


[Image: uhbi5.jpg]
Find all posts by this user
Quote this message in a reply
09-16-2006, 04:27 AM (This post was last modified: 09-16-2006 04:27 AM by Martin M..)
Post: #29
RE: Creating Custom MyCode
You're center should work.
You're url is written wrong.
There is already an url tag in MyBB though Confused
[url=<site here>]Description[/url] without the quotes you have.
Find all posts by this user
Quote this message in a reply
09-16-2006, 04:31 AM
Post: #30
RE: Creating Custom MyCode
well that url came from bbcode of vbulletin. there's thousand of em in my forum.
and that center really didn't work. what should i do ?
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