2018-02-06, 05:13 AM
2018-02-06, 06:28 AM
member_profile template consists of {$modoptions}
member_profile_modoptions template contains {$ipaddress}
related template => member_profile_modoptions_ipaddress
member_profile_modoptions template contains {$ipaddress}
related template => member_profile_modoptions_ipaddress
<tr>
<td class="trow1">
<strong>{$lang->registration_ip}</strong> {$memprofile['regip']}<br />
<strong>{$lang->last_known_ip}</strong> {$memprofile['lastip']}
</td>
</tr>
2018-02-06, 05:35 PM
interested in this as well and decided to try it since i have the required code in front of me now.
i tried this and cannot get this working. I had to add a member_profile_modoptions_ipaddress because none existed, nor did a variable {$ipaddress} in the member_profile_modoptions template. And nothing shows up at all.
And if i just stick the content in modoptions template i get non-ascii character jargon.
i tried this and cannot get this working. I had to add a member_profile_modoptions_ipaddress because none existed, nor did a variable {$ipaddress} in the member_profile_modoptions template. And nothing shows up at all.
And if i just stick the content in modoptions template i get non-ascii character jargon.
2018-02-06, 06:00 PM
^ which version of MyBB you are using ?
registration IP & last visit IP were added to profile in a recent version of MyBB [may be 1.8.12]
registration IP & last visit IP were added to profile in a recent version of MyBB [may be 1.8.12]
2018-02-06, 06:20 PM
(2018-02-06, 06:00 PM).m. Wrote: [ -> ]^ which version of MyBB you are using ?
registration IP & last visit IP were added to profile in a recent version of MyBB [may be 1.8.12]
I thought it was added in 2009ish? I saw recent threads dating back relating to the same variables
2018-02-06, 07:47 PM
1.8.7 for me. I guess that would make sense then for me.
2018-02-07, 01:47 AM
(2018-02-06, 07:47 PM)metulburr Wrote: [ -> ]1.8.7 for me. I guess that would make sense then for me.
Which template do you have it in, and what variables
2018-02-07, 03:07 AM
i have a member_profile_modoptions
but not an ipaddress variable in it, and i do not have a member_profile_modoptions_ipaddress tempalte
I put the variable in member_profile_modoptions and it doesnt show properly, and i created a member_profile_modoptions_ipaddress and put it in there, and added an ipaddress varaible to member_profile_modoptions but nothing shows at all
but not an ipaddress variable in it, and i do not have a member_profile_modoptions_ipaddress tempalte
I put the variable in member_profile_modoptions and it doesnt show properly, and i created a member_profile_modoptions_ipaddress and put it in there, and added an ipaddress varaible to member_profile_modoptions but nothing shows at all
2018-02-07, 03:29 AM
^ well, member.php file consists of the functionality to show those IP addresses by evaluating the templates