PBCforum
-
Posts
26 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by PBCforum
-
-
Thanks !
You would need to modify the SQL query to fetch your custom field, you would then need to pass it into the template bit with the other data.
Thanks for the idea stoo - got it working :D<php> $avatar = IPSMember::buildAvatar( $memberData ); $mem = $this->DB->buildAndFetch( array( 'select' => 'field_18', 'from' => 'pfields_content', 'where' => 'member_id= ' . $memberData['member_id'] ) ); </php> <div class='left def'>{$avatar}</div><div class='mapka'><h3><a href='{parse url="showuser={$memberData['member_id']}" template="showuser" seotitle="{$memberData['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$memberData['members_display_name']}</a><span class='ieHide'>{parse template="user_popup" group="global" params="$memberData['member_id'], $memberData['members_seo_name']"}</span></h3><p>{$memberData['prefix']}{$memberData['g_title']}{$memberData['suffix']}</p><p>Tel. {$mem['field_18']}</p><if test="($this->memberData['member_id'] && $member['member_id'] == $this->memberData['member_id']) || $this->memberData['g_is_supmod'] == 1"><p class='remMarker'><a href='{parse url="module=membermap&action=removeMarker&do={$memberData['member_id']}" base="publicWithApp" template="removeMarker" seotitle="false"}' title='{$this->lang->words['modRemoveMarker']}'>{parse replacement="rep_down"} {$this->lang->words['modRemoveMarker']}</a></p></if></div><br clear='all'/>
where field_18 could be any field from extra profile field content
(thanks to DawPi from forum.invisionize.pl)
Once again - it's a great mod - keep it up!! -
Thanks !
You would need to modify the SQL query to fetch your custom field, you would then need to pass it into the template bit with the other data.
Sounds logic, but the problem is "how" because I'm not a programmer...
Many thanks anyway! -
what a great mod!!!
For me is just perfect like it is now :)
Maybe when I could add a custom field value after a gruop name of a member to this "cloud" after clicking a marker on the map:
After modifying the mapInfoBox :<php> $avatar = IPSMember::buildAvatar( $memberData ); </php><div class='left def'>{$avatar}</div><div class='mapka'><h3><a href='{parse url="showuser={$memberData['member_id']}" template="showuser" seotitle="{$memberData['members_seo_name']}" base="public"}' title='{$this->lang->words['view_profile']}'>{$memberData['members_display_name']}</a><span class='ieHide'>{parse template="user_popup" group="global" params="$memberData['member_id'], $memberData['members_seo_name']"}</span></h3><p>{$memberData['prefix']}{$memberData['g_title']}{$memberData['suffix']}</p><p>{$memberData['prefix']}{$memberData['telefon']}{$memberData['suffix']}</p><if test="($this->memberData['member_id'] && $member['member_id'] == $this->memberData['member_id']) || $this->memberData['g_is_supmod'] == 1"><p class='remMarker'><a href='{parse url="module=membermap&action=removeMarker&do={$memberData['member_id']}" base="publicWithApp" template="removeMarker" seotitle="false"}' title='{$this->lang->words['modRemoveMarker']}'>{parse replacement="rep_down"} {$this->lang->words['modRemoveMarker']}</a></p></if></div><br clear='all'/>
I got also an ip_address and it works perfectly, but how to add a field with the value from this query:
SELECT field_18 FROM pfields_content where member_id=5 (it's the custom profile field - member's telephone number)
Any ideas ?
Thanks in advance,
Jack
Collections Support Topic
in Marketplace
Posted
Hi I have problem when I'm trying check reported content from Collections in ModeratorCP: