Jump to the post that solved this thread.
Solved: 7 Years, 3 Months, 3 Weeks ago [How To?] Pull user's location using php
#5
Solved: 7 Years, 3 Months, 3 Weeks ago
(2015-06-01, 04:35 AM).m. Wrote: where you want to put the location ?
if you want to use it on posts then {$post['fid1']} gives location of the user.
on member profile, you can use {$userfields['fid1']}

see also adding profile fields to postbit & this reply

I was trying to modify a plugin to pull the user's location when [location] is put in a post. 

$mybb->user['fid1'] seems to have done the trick. thanks!
Reply
Jump to the post that solved this thread.


Messages In This Thread
Pull user's location using php - by Testmena - 2015-06-01, 12:16 AM
RE: Pull user's location using php - by .m. - 2015-06-01, 03:02 AM
RE: Pull user's location using php - by Testmena - 2015-06-01, 03:22 AM
RE: Pull user's location using php - by .m. - 2015-06-01, 04:35 AM
RE: Pull user's location using php - by Testmena - 2015-06-01, 05:28 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)