[OzzModz] Profile Fields Popup

[OzzModz] Profile Fields Popup 2.3.0 Patch Level 1

No permission to download
@Mr. Jinx Everything works well, but I cannot get the arrow to show any longer. I unchecked the arrow to see what it would look like, but when I checked it again, it no longer displays the arrow.
 
Just to be sure, did you change the style property in the right style? Sometimes another style is selected, happens to me every now and then.
Could also be a caching delay because this is a style property. It can be cached on server or client side.
 
I deleted 2.0.6 and installed 2.0.5 and I could see the arrow again. Then I upgraded to 2.0.6 and the arrow disappears. I hope that helps.
 
Last edited:
Slightly different hover area to prevent unwanted popups when moving the mouse

I liked the way you had it before so I changed it in the template. It would be nice if you had an option for this.

Thanks again for a great app. First class!
 
Mr. Jinx updated Profile Fields Popup with a new update entry:

[2.0.8] Feature update

  • Now you can select which default profile fields you want to add to the popup, so not only custom profile fields! (thanks @Sunka for your suggestion)
  • Added an option to define the hover area for the popup (arrow only or text+arrow) (thanks @Gator for your suggestion)
Please note: all options for this add-on are now moved to Appearance > Style properties > Messages

Read the rest of this update entry...
 
The free version will not be updated anymore :(. I decided to only offer and maintain the paid version because of the many hours I spend on this add-on.

For all of you using the free version, I have a special upgrade deal!
If you purchase this add-on, you can get a 50% discount by using this special coupon: XFUPGRADEFROMFREE (valid before 31-05-2019)
This will give you another 12 months of upgrades (y)
 
Nevermind, found your email. Just updated to XF2.1 and updated the addon but I've noticed that I've two arrow for popup :-)

Where you see Altre info. As you see there are two of them...

201870
 
I've discovered that I've put the code to display the popup in the template so I've removed it. Problem is that I'd like to have the popup string appear before the image but I'm not confident to touch che code so I put it here the code Involved (there is some code I've added to show the ranking images) if you can help :)

Code:
                                        <xf:if is="$user.canViewIdentities()">
                                            <xf:macro template="custom_fields_macros" name="custom_fields_view"
                                                arg-type="users"
                                                arg-group="contact"
                                                arg-set="{$user.Profile.custom_fields}"
                                                arg-additionalFilters="{{ ['message'] }}"
                                                arg-valueClass="pairs pairs--justified"
                                            />
                                        </xf:if>
<!-- this adds the Rank Badge Count-->
                    <xf:if is="$user.message_count >= 20000">
                    <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r20000.png"></div>
                         <xf:elseif is="$user.message_count >= 15000"/>
                    <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r15000.png"></div>
                         <xf:elseif is="$user.message_count >= 10000"/>
                    <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r10000.png"></div>
                         <xf:elseif is="$user.message_count >= 8000"/>
                    <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r8000.png"></div>
                         <xf:elseif is="$user.message_count >= 6000"/>
                    <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r6000.png"></div>
                         <xf:elseif is="$user.message_count >= 5000"/>
                        <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r5000.png"></div>
                         <xf:elseif is="$user.message_count >= 4000"/>
                        <br>
                         <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r4000.png"></div>
                        <xf:elseif is ="$user.message_count >= 3000"/>
                         <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r3000.png"></div>
                        <xf:elseif is ="$user.message_count >= 2000"/>
                         <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r2000.png"></div>   
                        <xf:elseif is ="$user.message_count >= 1500"/>
                         <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r1500.png"></div>
                        <xf:elseif is ="$user.message_count >= 1000"/>
                         <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r1000.png"></div>   
                        <xf:elseif is ="$user.message_count >= 750"/>
                         <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r750.png"></div>
                        <xf:elseif is ="$user.message_count >= 500"/>
                         <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r500.png"></div>
                        <xf:elseif is ="$user.message_count >= 250"/>
                         <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r250.png"></div>   
                        <xf:elseif is ="$user.message_count >= 100"/>
                         <br>
                        <div class="rank-image" align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r100.png"></div>
                        <xf:elseif is ="$user.message_count >= 50"/>
                         <br>
                        <div align="center"><img src="https://1098343149.rsc.cdn77.org/forum/rank/r50.png"></div>   
                    </xf:if>
                    <!-- this adds the Rank Badge Count-->
                                    

                                    </xf:if>
                                </xf:contentcheck>
                            </div>
                        <xf:if is="property('uix_collapseExtraInfo')">
                            </div>
                            <div class="thThreads__userExtra--toggle">
                                <span class="thThreads__userExtra--trigger" data-xf-click="ththreads-userextra-trigger"></span>
                            </div>
                        </xf:if>
                </xf:if>
            </xf:if>
        </div>
        <span class="message-userArrow"></span>
    </section>
</xf:macro>

<xf:macro name="user_info_simple" arg-user="!" arg-fallbackName="">
    <header itemscope itemtype="https://schema.org/Person" class="message-user">
        <meta itemprop="name" content="{{ $user.username ?: $fallbackName }}">
        <div class="message-avatar">
            <div class="message-avatar-wrapper">
                <xf:avatar user="$user" size="s" defaultname="{$fallbackName}" itemprop="image" />
            </div>
        </div>
        <span class="message-userArrow"></span>
    </header>
</xf:macro>
 
You can try this:

find:
Code:
                                        </xf:if>
<!-- this adds the Rank Badge Count-->
                    <xf:if is="$user.message_count >= 20000">

replace with:
Code:
                                        </xf:if>
<xf:include template="mrjinx_profilefieldspopup" />
<!-- this adds the Rank Badge Count-->
                    <xf:if is="$user.message_count >= 20000">


ps: I think it would be better if you move the whole '<!-- this adds the Rank Badge Count-->' block one line below, so it sits between "</xf:if> and </xf:contentcheck>" like this:
Code:
                                    </xf:if>
                                 <xf:include template="mrjinx_profilefieldspopup" />
                                 <!-- this adds the Rank Badge Count-->
                                 ...
                                 <!-- this adds the Rank Badge Count--
                                </xf:contentcheck>

... and disable Template Modifiactions > [Mr. Jinx] Profile fields popup > message_macros (2x)[/code]
 
Thanks, done it but now it appear before the ranking and after the ranking but I'm really not able to understand where too look at to remove the second profile field... Is maybe added automatically by the addon?
 
In the smallest mobile view, it won't be displayed. I was thinking about this too.
Should be possible I guess.
 
Back
Top Bottom