Hi to all and sorry if this is the wrong location for this topic,
I seem to have made an error on my site which is proving hard to find? well at least to me
I have check my postbit for errors against the stsandard default one but can not see what is causing the below problem:
Quote:
Join Date: Feb 2006
Location: In a beautiful country
Age: 26
Posts: 66
Location: In a beautiful country
Thanks: 0
Thanked 1 Time in 1 Post
Country:
|
The above is only shown on some users post? Others are shown as below:
Quote:
Join Date: Dec 2005
Posts: 36
Thanks: 15
Thanked 7 Times in 7 Posts
Country:
|
First I thought it was something to do with their join date but users both newer and older seem to suffer this double posting of Location while some do not show it at ALL?
Areas I changed were SHOWTHREAD, postbit, postbit_legacy, navbar, modifyprofile, memberslist_search, forumhome_logedinuser, FORUMHOME & FORUMDISPLAY before I noticed this error. Now while I could default it all and start a fresh I would sooner try to find were I may have gone wrong.
Anyone able to offer an insight as to where I should look other than postbit or postbit_legacy then I am all up for suggestions.
Here is what I have currently:
Quote:
</div>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
</td>
<td width="100%"> </td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
<!-- Start Post Thank You Hack -->
<if condition="$post[userid]">
<br />
$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount]
<br />
<if condition="$post[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts_on] == 1">
<phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
<!-- End Post Thank You Hack -->
</div>
<div>
Country: <img src="images/flags/$post[field5].gif" title="$post[field5]" align="center">
</div> <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]$post[gticon] $post[xfireicon] $post[skypeicon]</div>
</div>
</td>
</tr>
</table>
|
So only one
Quote:
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
|
which I think is what I should be looking for?
Many thanks for all and any help you can offer me.
Ok just noticed I had the Hack "Show Profile fields in Postbits" which had "field2" set to be shown so once I removed this the double Location post is now gone
Also found why some users still do not have it showing within their post!
So all sorted

Only taken me 6 days to work it out and it was so SIMPLE!!! Could shoot myself if I had a gun talk about wasting untold number of hours.
Anyway subject closed.
Can't forgive myself for not seeing the Show Profile fields in Postbits hack within my adminCP. Feel stupid now
Cheers.