The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
Thanks i found the right one its this one
Code:
<div>$vbphrase[images]: <a href="$ppg_options[gallery_url]/browseimages.php?$vbsession[sessionurl]do=member&imageuser=$post[userid]">$post[ppicount]</a></div> |
#12
|
||||
|
||||
![]()
Great!
|
#13
|
|||
|
|||
![]()
This one starts with <div> how would i add the <if condition= and class="postinfo"
Am not after you to do i am realy trying to work this out and learn so i dont have to ask all the time Code:
<if condition=$vbphrase[images]: <class="postinfo" a href="$ppg_options[gallery_url]/browseimages.php?$vbsession[sessionurl]do=member&imageuser=$post[userid]">$post[ppicount]</a> Thanks again Lynne for the help |
#14
|
||||
|
||||
![]()
Why are you adding a condition in there? You literally just add class="postinfo" into the div tag:
was: HTML Code:
<div>$vbphrase[images] etc...
HTML Code:
<div class="postinfo">$vbphrase[images] etc...
|
#15
|
|||
|
|||
![]()
Sorry am trying here
![]() Ahh i see "got there in the end thanks" So the condition one <if condition=" The code dont have a <if> to add this is this on its own like Code:
<if condition> Code:
</if> Code:
<if condition><div class="postinfo">$vbphrase[images]: <a href="$ppg_options[gallery_url]/browseimages.php?$vbsession[sessionurl]do=member&imageuser=$post[userid]">$post[ppicount]</a></div></if> |
#16
|
||||
|
||||
![]()
Do not add a condition. There is no reason to.... unless there is something you didn't mention about it? The condition has absolutely nothing to do with whether there is a box around the info or not.
If you are trying to show that template_hook only if $post[ppicount] is greater than 0, then you should only eval the template_hook if that condtion exists. You should do it in the php code. You should ask in the modification thread for help with that. |
#17
|
|||
|
|||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|