2012-12-03, 06:31 AM
2012-12-03, 09:45 AM
You wouldn't need a plugin for this, it can be done through the templates.
Open the postbit_auth_user template, inside the Postbit template set.
Add to the end of the template:
This should work, assuming you haven't changed the custom user fields inside the ACP. If you have, just replace the '1' in the snippet above to whichever ID is connected to your location field (which can be found in ACP > Configuration > Custom Profile Fields).
Also not sure if you meant the location they provided as info or their current location on the board.
Open the postbit_auth_user template, inside the Postbit template set.
Add to the end of the template:
<br />Location: {$post['fid1']}
This should work, assuming you haven't changed the custom user fields inside the ACP. If you have, just replace the '1' in the snippet above to whichever ID is connected to your location field (which can be found in ACP > Configuration > Custom Profile Fields).
Also not sure if you meant the location they provided as info or their current location on the board.
2012-12-03, 06:04 PM
Thanks. This should be helpful
2012-12-05, 08:56 AM
(2012-12-03, 09:45 AM)Beardy Wrote: [ -> ]You wouldn't need a plugin for this, it can be done through the templates.
Open the postbit_auth_user template, inside the Postbit template set.
Add to the end of the template:
<br />Location: {$post['fid1']}
This should work, assuming you haven't changed the custom user fields inside the ACP. If you have, just replace the '1' in the snippet above to whichever ID is connected to your location field (which can be found in ACP > Configuration > Custom Profile Fields).
Also not sure if you meant the location they provided as info or their current location on the board.
I did mean the location they provided as info. Thanks for the help.
Edit: Did not work. Here is how it looks.
{$lang->postbit_posts} {$post['postnum']}<br />
%%TYL_NUMTHANKEDLIKED%%<br /><!-- CountThreads -->{$lang->postbit_threads} {$post['threadnum']}<br /><!-- /CountThreads -->
{$lang->postbit_joined} {$post['userregdate']}
{$post['replink']}{$post['warninglevel']}
<br />Location: {$post['fid1']}
2012-12-05, 09:30 AM
Not sure why it hasn't worked. Have you checked the ACP to make sure that 'location' is ID 1? (ACP > Configuration > Custom Profile Fields)
2012-12-05, 02:31 PM
I did. Location ID is 1.
Okay, got it to work. I would like it to appear like the other boxes but this will work for now. Thanks.
[attachment=27935]
Okay, got it to work. I would like it to appear like the other boxes but this will work for now. Thanks.
[attachment=27935]