The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Um... I just pasted your <a> tag in there without looking at it. You can't have the img src stuff in there - it's invalid html. Put in some valid html and it should show up:
HTML Code:
<vb:if condition="$post['field6']"><a href="{vb:raw post.field6}"><img src="button.png" alt="" /></a></vb:if> |
#12
|
|||
|
|||
Sorry...
Shouldn't this work? Code:
<vb:if condition="$post['userid']"> <div class="userinfo_extra"> <vb:if condition="$post['field6']"><a href="{vb:raw post.field6}"><img src="profilebutton.png" alt="Profile Button" /></vb:if> <dl class="userstats"> <vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if> <vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> <vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if> <dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd> BTW, am a silly to keep saying this source code statement? If it was being activated at all then shouldn't it be showing up there? |
#13
|
||||
|
||||
Quote:
Code:
<a href="http://website.com/users-profile" target="slideshow" onclick="window.open(this.getAttribute('href'), this.getAttribute('target'), 'width=770,height=800,scrollbars=yes,resizable=yes').focus(); return false;"></a> Code:
<vb:if condition="$post['field6']"><a href="http://website.com/{vb:raw post.field6}"><img src="profilebutton.png" alt="Profile Button" /></vb:if> Quote:
Code:
http://website.com/users-profile Code:
http://website.com/{vb:raw post.field6} |
#14
|
|||
|
|||
I didn't realize that I put the 1st code like that. The url is actually
Code:
http://mysite.com/category/name-of-business-city.php Code:
<div class="userinfo_extra"> <vb:if condition="$post['field6']"><a href="http://mysite.com/{vb:raw post.field6}.php"><img src="profilebutton.png" alt="Profile Button" /></vb:if> <dl class="userstats"> <vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if> category/name-of-business-city but nothing again Could I have the wrong profile field? Should it be a "radio" field or something rather then a normal text one? I'm sorry, I'm getting extremely embarrassed about my stupidity with this. Really been a humbling experience that's for sure. --------------- Added [DATE]1294021155[/DATE] at [TIME]1294021155[/TIME] --------------- and do I have this inserted into the correct location of the template? |
#15
|
||||
|
||||
Quote:
Code:
<div class="userinfo_extra"> <vb:if condition="$post['field6']"><a href="http://mysite.com/category/{vb:raw post.field6}.php"><img src="profilebutton.png" alt="Profile Button" /></a></vb:if> <dl class="userstats"> <vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if> Edit: Also if your not good w/ knowing paths simply use the FULL URL to the image, the img src="profilebutton.png" will not work however http://www.yoursite.com/images/profilebutton.png OR images/profilebutton.png would. |
#16
|
|||
|
|||
I PM'd you exactly what I have and with screenshots so hopefully we can nail this as it's not working.
Feel free to reply here or via PM just change my site details if you reply here. I know you guys don't want PM's for help but I thought it was necessary to give you exactly what I'm doing code/screenshot wise... Thanks! |
#17
|
||||
|
||||
You are forgetting the </a> in your code.
But, try just doing this to see if you get anything: HTML Code:
<vb:if condition="$post['field6']">{vb:raw post.field6}</vb:if> |
#18
|
|||
|
|||
I did try that and PM'd LastSuperman exactly what I have now with screenshots including that. Would you like the details as well?
|
#19
|
||||
|
||||
Quote:
Code:
http://yoursite.com/photographers/belly-beautiful-maternity-sa |
#20
|
|||
|
|||
sorry but sent you another PM |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|