Hi Folks!
Where a user has entered their location in their profile, is it possible to have the location displayed in the "postbit" area under their avatar?
Idf so - how do I do it?
Cheers
Bugsley
Yes possible with a Plugin. I'll write one asap if nothing found on mods site.
I think he meant to have a similar Online Location on postbit as we can see in User's profile.
I'll clarify!
Where it currently says "posts" "joined" "Reputation" under the avatar, I want to add a fourth item "Location" - which will display the location the user has added in their Profile.
For this;
ACP >> Templates & Style >> Templates >> yourtheme >> Post Bit Templates >> postbit_author_user > and add the following code at the end of all code;
Location: {$post['fidX']}
Replace X with the location Custom Profile Field ID
(2011-05-23, 09:56 AM)Yaldaram Wrote: [ -> ]For this;
ACP >> Templates & Style >> Templates >> yourtheme >> Post Bit Templates >> postbit_author_user > and add the following code at the end of all code;
Location: {$post['fidX']}
Replace X with the location Custom Profile Field ID
Thanks for that - I'm not sure what is meant by the "location Custom Profile Field ID" - can you explain where I get this from??
Cheers
Bugsley
(2011-05-23, 10:09 AM)bugsley Wrote: [ -> ]I'm not sure what is meant by the "location Custom Profile Field ID" - can you explain where I get this from??
In AdminCP > Configuration > Custom Profile Fields. You will see a field called "Location". The ID is also mentioned in that table.
Go to: ACP > Configurations > Custom Profile Fields > and hover your mouse over the "Location" (Custom Profile Field) link and see the ID # on status bar =)
In ACP just hover your mouse over the custom profile link, at the end of it you have the FID
It looks like this:
mybb/admin/index.php?module=config-profile_fields&action=edit&fid=1