The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Postbit help
Hi guys. In the postbit area where you see posts, Location, Joined Date I've added Gamertag, Timezone and Main Games for my clan community. I've made it so the Information put in is default and white and the main text bold and red as you can see on the first screenshot.
But for some reason on registered members and another member of my Mods group are coming up like this why? There is a guy on our mods group that's getting the bold and red on both text like the bottom screenshot but I have other people in the same group and it's fine like the first screenshot. Why is this and can it be fixed? |
#2
|
|||
|
|||
I took a look around your forum and I am guessing you disabled the things causing the issue for now because I was un able to find anywhere with a messed up postbit.
I'm guessing you used custom user profile fields. Then edited the postbit template. Make sure the if statements are accurate to what you are trying to do and that all of your variables are the same per item you want to add. There is a guide here with more information: here |
#3
|
||||
|
||||
The theme what I'm using is a child theme of our main theme and it's only viewable to me. As I'm making changes without people seeing them.
|
#4
|
||||
|
||||
Hey killerford, it looks like an unclosed HTML tag after Gamertag (maybe /strong or /b or /style or /font)? Either way, the difference starts at the colon, not the actual content of the Gamertag info. Is there a conditional for certain users or usergroups?
Can you paste the postbit code here? |
#5
|
||||
|
||||
I've done this..
Code:
<span style="color:#BE1A1A"><b><vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt></b></b></span> <dd>{vb:raw post.joindate}</dd></vb:if> <span style="color:#BE1A1A"><b><vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt></b></b></span> <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> <vb:if condition="$post['field6']"><dt><span style="color:#BE1A1A"><b>Gamertag</b></span></dt> <dd>{vb:raw post.field6}</dd></vb:if> <vb:if condition="$post['field10']"><dt><span style="color:#BE1A1A"><b>Main Games</b></span></dt> <dd>{vb:raw post.field10}</dd></vb:if> <vb:if condition="$post['field9']"><dt><span style="color:#BE1A1A"><b>Timezone</b></span></dt> <dd>{vb:raw post.field9}</dd></vb:if> |
#6
|
||||
|
||||
This is incorrect:
HTML Code:
<span style="color:#BE1A1A"><b><vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt></b></b></span> <dd>{vb:raw post.joindate}</dd></vb:if> <span style="color:#BE1A1A"><b><vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt></b></b></span> <dd>{vb:raw post.field2}</dd></vb:if> HTML Code:
<vb:if condition="$post['joindate']"><dt><span style="color:#BE1A1A"><b>{vb:rawphrase join_date}</b></span></dt> <dd>{vb:raw post.joindate}</dd></vb:if> <vb:if condition="$post['field2']"><dt><span style="color:#BE1A1A"><b>{vb:rawphrase location_perm}</b></span></dt> <dd>{vb:raw post.field2}</dd></vb:if> |
#7
|
||||
|
||||
That same for the others to?
|
#8
|
||||
|
||||
Anyone that you want to look that way. The last three were done correctly, I'm not sure why the first ones weren't done the same way.
|
#9
|
||||
|
||||
So that's causing the the registered groups and odd staff members to have error's? Such as all being bold. As most of the groups on the forums are correct.
|
#10
|
||||
|
||||
Yes, that is causing the issues you see. You are starting the <span> (color) and <b> tags outside of the condition.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|