The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Thats because you've posted as though asking for help with vb3 and that postbit is from vb4!
Here's the line you want HTML Code:
<dt>{vb:rawphrase posts}</dt><dd>{vb:raw post.posts}</dd> HTML Code:
<vb:if condition="$post['userid'] == '6'"><dt>{vb:rawphrase posts}</dt><dd>??</dd><vb:else /><dt>{vb:rawphrase posts}</dt><dd>{vb:raw post.posts}</dd><vb:/if> |
2 благодарности(ей) от: | ||
dlewisr, Max Taxable |
#12
|
|||
|
|||
Oops I didn't notice that bloomer! I just found this in my search and didn't realise it was a different version. Thanks for that Simon.
Back to business now. I don't know what you mean by wrap. I've tried changing <dt>{vb:rawphrase posts}</dt><dd>{vb:raw post.posts}</dd> to <vb:if condition="$post['userid'] == '6'"><dt>{vb:rawphrase posts}</dt><dd>??</dd><vb:else /><dt>{vb:rawphrase posts}</dt><dd>{vb:raw post.posts}</dd><vb:/if> but obviously that's wrong as it doesn't work. I don't do many edit templates.... which may be a good thing. Could you please tell me in a little more detail? Cheers for your help. (I envy you coders!) |
#13
|
||||
|
||||
In what respect didn't it work, what were ther results?
--------------- Added [DATE]1338741664[/DATE] at [TIME]1338741664[/TIME] --------------- Errrrm, sorry my bad, it's a typo with the </vb:if>, it should look like this HTML Code:
<vb:if condition="$post['userid'] == '6'"><dt>{vb:rawphrase posts}</dt><dd>??</dd><vb:else /><dt>{vb:rawphrase posts}</dt><dd>{vb:raw post.posts}</dd></vb:if> |
Благодарность от: | ||
dlewisr |
#14
|
|||
|
|||
It said there was an error with no closing tag with the original changes.
I've changed that now to the code you posted above and it's worked............. but it now says 'Posts ??' and I wanted that line out all together no posts or ??. Is that possible. Not a major problem if that isn't possible and thanks for your help, I've been trying to do this for months now! |
#15
|
||||
|
||||
yep, just remove the ?? from the code, you can put whatever text you want there
|
#16
|
|||
|
|||
How dumb am I? (rolls eyes). That solution is so obvious haha.
Thank you very much. I've just removed them, perfect. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|