User map [Deleted]

Looks like that's the issue. It hasn't been applied to my style. How do I go about adding it to my style?

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

I beat you to it by about 20 seconds! Just made that change and it works the way I want it to now.
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.
 
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

That's the odd thing, I had no banner at all warning me of outdated templates.

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.

Okay, will do!
 
Just this show up.
Any thoughts?

Code:
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) {
  }
}
 
"Response from API call was HTTP:0."

This happens when the call to google fails to connect. Could be transient problem, could be they blocking your IP (dunno if they do?) or other failure.

Each time this happens to me and others (once or twice) it clears itself up.

Does it continue?
 
@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.
 
@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.
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.
 
urm, dunno. Will see what my style is based on. If you say it is then... :)

What was the change? Might it be better for me to incorporate it in the add-on? i.e. is it a bug in the add-on I should have catered for?


C
 
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.
I use a custom sub style of UI.X but it is not working with UI.X main either.

Can you post the formatting changes here please? :)
 
had to make a simple formatting change to template message_user_info
Can you post the formatting changes here please? :)
Down near the bottom ....
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>
My Xenith style didn't have the empty lines. Added them, and the crispin_usermap_mmessage_user_info template modification then applied.
 
Just 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.
 
Thanks. Next add-on to compliment this one is almost ready :D

C.P.%2BGiddy.gif
 
Down near the bottom ....
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>
My Xenith style didn't have the empty lines. Added them, and the crispin_usermap_mmessage_user_info template modification then applied.

Hey I checked the template and it is exactly like the code you posted. So unfortunately it does not help.
 
Hey I checked the template and it is exactly like the code you posted. So unfortunately it does not help.
If the template modification isn't being applied then it cannot be -exactly-, otherwise the regex test wouldn't fail.
 
Back
Top Bottom