PumpinIron
Well-known member
Change the URL within template crispin_usermap_navigation_member
I beat you to it by about 20 seconds! Just made that change and it works the way I want it to now.
Change the URL within template crispin_usermap_navigation_member
Looks like that's the issue. It hasn't been applied to my style. How do I go about adding it to my style?
This'll most likely get undone with the next update or the update won't apply the any new mods to that template because it's been updated outside of the update.I beat you to it by about 20 seconds! Just made that change and it works the way I want it to now.
If you go to the home page in ACP is there a yellow banner warning you that you have outdated templates? When you install it XF should update all the templates or at least warn you if there
This'll most likely get undone with the next update or the update won't apply the any new mods to that template because it's been updated outside of the update.
If you don't want to zoom in on the user clicking the member link then rather go ACP and change "Zoom in when viewing self" to 2 or 3.
Server Error Log
Error Info
XenForo_Exception: Response from API call was HTTP:0. - library/Crispin/UserMap/Model/UserMaps.php:402
Generated By: Shomi, 18 minutes ago
Stack Trace
#0 /home/nginx/domains/pijanitvor.com/public/library/Crispin/UserMap/DataWriter/User.php(25): Crispin_UserMap_Model_UserMaps->getGeoLocationFromLocation(2054, '44.774139, 20.4...')
#1 /home/nginx/domains/pijanitvor.com/public/library/DigitalPointBetterAnalytics/DataWriter/User.php(12): Crispin_UserMap_DataWriter_User->_postSave()
#2 /home/nginx/domains/pijanitvor.com/public/library/XenForo/DataWriter.php(1423): DigitalPointBetterAnalytics_DataWriter_User->_postSave()
#3 /home/nginx/domains/pijanitvor.com/public/library/DigitalPointBetterAnalytics/Listener/ControllerPreDispatch.php(43): XenForo_DataWriter->save()
#4 /home/nginx/domains/pijanitvor.com/public/library/XenForo/CodeEvent.php(58): DigitalPointBetterAnalytics_Listener_ControllerPreDispatch::loadControllerListener(Object(SV_ReportImprovements_XenForo_ControllerPublic_Member), 'Index', 'XenForo_Control...')
#5 /home/nginx/domains/pijanitvor.com/public/library/XenForo/Controller.php(313): XenForo_CodeEvent::fire('controller_pre_...', Array, 'XenForo_Control...')
#6 /home/nginx/domains/pijanitvor.com/public/library/XenForo/FrontController.php(350): XenForo_Controller->preDispatch('Index', 'XenForo_Control...')
#7 /home/nginx/domains/pijanitvor.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/nginx/domains/pijanitvor.com/public/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
["url"] => string(35) "https://www.pijanitvor.com/members/"
["_GET"] => array(1) {
["/members/"] => string(0) ""
}
["_POST"] => array(0) {
}
}
sure -
Dumb question - what is and how do I get this style?![]()
You're using UI.X itself, or one of the styles based from it?@CrispinP could you please have a look into the Map Link in the User Message Info Block for the UI.X Style? In that style it does not show up (not rendered in HTML at all). I guess it is a template / template mod conflict.
I use a custom sub style of UI.X but it is not working with UI.X main either.You're using UI.X itself, or one of the styles based from it?
When I look at crispin_usermap_mmessage_user_info template modification, I can see that it's applied to my UI.X style, but not being applied to my Xenith (based on UI.X) style.
I had to make a simple formatting change to template message_user_info to ensure that crispin_usermap_mmessage_user_info template modification was applied to it.
had to make a simple formatting change to template message_user_info
Down near the bottom ....Can you post the formatting changes here please?![]()
<xen:if is="@messageShowCustomFields AND {$user.customFields}">
<xen:hook name="message_user_info_custom_fields" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
<xen:foreach loop="$userFieldsInfo" key="$fieldId" value="$fieldInfo">
<xen:if is="{$fieldInfo.viewable_message} AND ({$fieldInfo.display_group} != 'contact' OR {$user.allow_view_identities} == 'everyone' OR ({$user.allow_view_identities} == 'members' AND {$visitor.user_id}))">
<xen:if hascontent="true">
<dl class="pairsJustified userField_{$fieldId}">
<dt>{xen:helper userFieldTitle, $fieldId}:</dt>
<dd><xen:contentcheck>{xen:helper userFieldValue, $fieldInfo, $user, {$user.customFields.{$fieldId}}}</xen:contentcheck></dd>
</dl>
</xen:if>
</xen:if>
</xen:foreach>
</xen:hook>
</xen:if>
Thanks. Next add-on to compliment this one is almost readyJust wanted to say that this is a truly fantastic plugin. Keep up the good work @CrispinP, my forum members are finding it to be very beneficial, and it's a great "premium feature" to offer to "paid" forum members.
Down near the bottom ....
My Xenith style didn't have the empty lines. Added them, and the crispin_usermap_mmessage_user_info template modification then applied.Code:<xen:if is="@messageShowCustomFields AND {$user.customFields}"> <xen:hook name="message_user_info_custom_fields" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}"> <xen:foreach loop="$userFieldsInfo" key="$fieldId" value="$fieldInfo"> <xen:if is="{$fieldInfo.viewable_message} AND ({$fieldInfo.display_group} != 'contact' OR {$user.allow_view_identities} == 'everyone' OR ({$user.allow_view_identities} == 'members' AND {$visitor.user_id}))"> <xen:if hascontent="true"> <dl class="pairsJustified userField_{$fieldId}"> <dt>{xen:helper userFieldTitle, $fieldId}:</dt> <dd><xen:contentcheck>{xen:helper userFieldValue, $fieldInfo, $user, {$user.customFields.{$fieldId}}}</xen:contentcheck></dd> </dl> </xen:if> </xen:if> </xen:foreach> </xen:hook> </xen:if>
If the template modification isn't being applied then it cannot be -exactly-, otherwise the regex test wouldn't fail.Hey I checked the template and it is exactly like the code you posted. So unfortunately it does not help.
We use essential cookies to make this site work, and optional cookies to enhance your experience.