Thread Rating, Code Tag URLS & MyCode
ZiNgA BuRgA Online
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #21
RE: Thread Rating, Code Tag URLS & MyCode
I cannot comprehend what you're saying.

Images work perfectly fine here.

My Blog
12-16-2010 10:44 AM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #22
RE: Thread Rating, Code Tag URLS & MyCode
can you please use these details while creating a mycode and use them in a post?

First mycode:
title: image1
regular expression: \[image1\](.*)$
replacement: <span style=”padding: 3px 0px 3px 0px;”><img src=”http://s3.tinypic.com/24nobqe_th.jpg“ alt="" /></span>
enabled: yes

-----------------
second mycode:
title: image2
regular expression: \[image2\](.*)$
replacement: <span style=”padding: 3px 0px 3px 0px;”><img src=”http://s3.tinypic.com/t6z6a1_th.jpg“ alt="" /></span>
enabled: yes

-------------------

now just post multiple instances of those mycodes in a post.

[image1]
[image2]
[image2]
[image1]

try it and check please
12-16-2010 05:11 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Online
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #23
RE: Thread Rating, Code Tag URLS & MyCode
Obviously it won't work cause your tags are eating up the whole post.
For one, you're not even using the matching pattern (.*) - you should remove that.

My Blog
12-16-2010 05:57 PM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #24
RE: Thread Rating, Code Tag URLS & MyCode
now, i removed the (.*)

\[info\]$

where it is directly displaying the mycode text as [info] directly when we post [info]
12-16-2010 06:14 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Online
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #25
RE: Thread Rating, Code Tag URLS & MyCode
Urgh, can you please stop trying to be confusing?

In a few posts back, you're talking about [image1], now you're on about [info]

What is it exactly?

My Blog
12-16-2010 07:53 PM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #26
RE: Thread Rating, Code Tag URLS & MyCode
i think its not the matter of info  or image, you can see that when we place any regular expression it must replace it with the replacement in the post#22 which is a image.

i'm referring to it and you said to remove the (.*) in regular expression and i done it and tested.

title: image1
regular expression: \[image1\]$
replacement: <span style=”padding: 3px 0px 3px 0px;”><img src=”http://s3.tinypic.com/24nobqe_th.jpg“ alt="" /></span>
enabled: yes
12-17-2010 02:42 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Online
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #27
RE: Thread Rating, Code Tag URLS & MyCode
...so what about it?

My Blog
12-17-2010 02:48 PM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #28
RE: Thread Rating, Code Tag URLS & MyCode
it is displaying the reg exp code directly without replacing it with the image.

[image]        <--- Just [image], no replacement with the required image <img src=”http://s3.tinypic.com/24nobqe_th.jpg“ alt="" />
12-17-2010 03:49 PM
Find all posts by this user Quote this message in a reply
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #29
RE: Thread Rating, Code Tag URLS & MyCode
all fixed. thanks
12-23-2010 10:35 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: