Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 URL field to a picture with link (button)
cakissimo Offline
Junior Member
**
Posts: 26
Joined: Mar 2014
Post: #1
URL field to a picture with link (button)
Hello,

I'm newbie and i don't speak english very well, sorry for this.

When a member complete the form, I would like the link appears as a clickable button ... it seems stupid but I can not do it, sorry. Biggrin

This button is not an image upload by the member at the thread posting , it's just a "participate" button link (for a forum dedicated to referencing  contests..to win price)

I have try this and lot other things in "display format" but without success:
<a href="{VALUE}"><img src="images/image-perso/participer.png"</a>

See pictures if it was not understandable Tongue


Thank you for this wonderful tool, it's very useful.


Attached File(s) Thumbnail(s)
   
(This post was last modified: 03-18-2014 09:11 AM by cakissimo.)
03-18-2014 09:05 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: URL field to a picture with link (button)
(03-18-2014 09:05 AM)cakissimo Wrote:  I have try this and lot other things in "display format" but without success:
<a href="{VALUE}"><img src="images/image-perso/participer.png"</a>
Your HTML is not valid.
See if you can spot your mistake.

My Blog
(This post was last modified: 03-18-2014 09:18 AM by ZiNgA BuRgA.)
03-18-2014 09:18 AM
Find all posts by this user Quote this message in a reply
cakissimo Offline
Junior Member
**
Posts: 26
Joined: Mar 2014
Post: #3
RE: URL field to a picture with link (button)
Thank for you quick reply, can you give a HTML code examples who work or a solution please or a little thing to help me?
I'm lost and i'm looking for that few hours and i don't find a way...i'm bored:/ i don't understand...

I have try <a href="{VALUE}"><img src="images/image-perso/participer.png"/></a> and few others things, i have try directly code in modified templates but nothing work too.

This trick is really possible with Xthreads ? Erf
(This post was last modified: 03-18-2014 09:52 AM by cakissimo.)
03-18-2014 09:51 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: URL field to a picture with link (button)
(03-18-2014 09:51 AM)cakissimo Wrote:  I have try <a href="{VALUE}"><img src="images/image-perso/participer.png"/></a>
Well, that's valid HTML at least.
So what's the problem with it?

(03-18-2014 09:51 AM)cakissimo Wrote:  and few others things
What other things?

My Blog
03-18-2014 03:41 PM
Find all posts by this user Quote this message in a reply
cakissimo Offline
Junior Member
**
Posts: 26
Joined: Mar 2014
Post: #5
RE: URL field to a picture with link (button)
With
Quote:<a href="{VALUE}"><img src="images/image-perso/participer.png"/></a>
in "display format" the link appears before the button and begin by my "website url" but it's a external website link :
[Image: 1395130352-sans-titre-2.png]

For example, with only {VALUE} in "display format" and :

Code:
[url={$GLOBALS['threadfields']['wwwurl']}][img]http://pro-concours.fr/images/image-perso/participer.png[/img][/url]

Just before

Code:
{$post['message']}

in "postbit_first_classic"
Result is:

[Image: 1395130351-sans-titre-1.png]

03-18-2014 06:16 PM
Find all posts by this user Quote this message in a reply
cakissimo Offline
Junior Member
**
Posts: 26
Joined: Mar 2014
Post: #6
RE: URL field to a picture with link (button)
Fixed...just a "display parsing" option, success with "Mybb Parser" and IMG Mycode check only.
03-19-2014 01:44 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: