Log in

View Full Version : simple help im sure...


Grafix Ink.
08-01-2010, 09:20 PM
i have changed the attributes of the profile field 'location' however in the user info when posted it still says location vs what ive changed it to which is 'club'

where can i change that to say what ive renamed it to?

Lynne
08-02-2010, 02:02 AM
What do you mean you changed the "attributes"? Where? And where is it not changed - what exact page?

Grafix Ink.
08-02-2010, 02:53 PM
What do you mean you changed the "attributes"? Where? And where is it not changed - what exact page?
the profile field i renamed to 'club' however when a user posts etc its still listed as 'location' how do i change that

Lynne
08-03-2010, 03:41 AM
That's because if you look in the code where the variable is spit out (such as the postbit), they use a phrase for the word Location which you have probably not changed. So, you will have to either modify the phrase (which may change it in other places you may or may not want it changed) or replace the phrase with the word Club wherever it appears.

Grafix Ink.
08-03-2010, 02:52 PM
no matter what i do it doesnt change it from location to club

im pretty sure this is the block of code... but no matter what i change it to it doesnt change

<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>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>

Lynne
08-03-2010, 02:57 PM
So your changed all the phrases? You then tried changing the templates? If you did all that an it still won't change, then you are either editing the wrong phrases (tell us the names of the ones you've edited), editing the wrong templates (tell us which ones and give us the before/after changes), or editing the wrong style.

Grafix Ink.
08-03-2010, 03:06 PM
rawphrase location_perm - im guessing thats it?

im changing info int the postbit template in the correct style

Lynne
08-03-2010, 03:11 PM
And what did you change location_perm to?

And if you are changing the info in the postbit (not the postbit_legacy?) template in the correct style, it should work. I asked you to post your code so we can see what is going on.

Grafix Ink.
08-03-2010, 03:22 PM
ive figured it out.. thanks