Resource icon

XenMoods 1.1.3

No permission to download
When a user gets downgraded or moved from one usergroup to another and is allowed to see moods but not have them, they're keeping the last mood they had.
Although they can't now change it, it still remains visible on their user MessageBlock/userText area.
I see this being a problem after paid upgrades expire.

So, is there a workaround so that their mood is not shown when dropping out of a "Premium" Usergroup to a Member Group - but they can still see other member's moods?
 
That's a terrific suggestion.

Would be nice to reset their mood (perhaps via a cron), and just allow them to see others' moods. I currently only allow premium members, and staff to choose them.
 
Whoa! Only just started to happen in Chrome :(

mood_chooser_chrome.webp

EDIT: Style issue, affects the DXF style v1.0.1 in Chrome 11.0.696.60
So, heads up! Some readjustment is needed here...to get rid of the overlay, press ESCAPE or simply select a (visible) mood.
 
Question, I would love to use this but the template edits on the first page do not work...have this been updated to the newest version of XF? If so how do you get around the edits? I've read thru the entire thread and it's never completely answered or I am blind as a bat, LOL.

Liz
 
Question, I would love to use this but the template edits on the first page do not work...have this been updated to the newest version of XF? If so how do you get around the edits? I've read thru the entire thread and it's never completely answered or I am blind as a bat, LOL.

Liz
The edits are working fine on my site. If you are not seeing the moods it is most likely due to either:

- the edits were made in a different style then you are using
- you have not set the permissions for users to view moods
 
Question, I would love to use this but the template edits on the first page do not work...have this been updated to the newest version of XF? If so how do you get around the edits? I've read thru the entire thread and it's never completely answered or I am blind as a bat, LOL.

Liz

You may want to venture in this thread liz. more than likely the issue your having can be resolved reading through this thread. http://xenforo.com/community/threads/xenmood-guide.9773/
 
The edits are working fine on my site. If you are not seeing the moods it is most likely due to either:

- the edits were made in a different style then you are using
- you have not set the permissions for users to view moods

Okay, I have two styles and uploaded the files to both styles not just the default.
When I go to do the template edit for the sidebar_visitor_panel I get this error message:

The following error occurred:
The following templates contained errors and were not saved: sidebar_visitor_panel: 1) Line 16: Invalid condition expression
Setting permissions hasn't even come into play yet as I can't get past the template edit to worry about permissions.

You may want to venture in this thread liz. more than likely the issue your having can be resolved reading through this thread. http://xenforo.com/community/threads/xenmood-guide.9773/
Thanks, Shelley, unfortunately it didn't have my error.

Liz
 
Okay, I have two styles and uploaded the files to both styles not just the default.
When I go to do the template edit for the sidebar_visitor_panel I get this error message:

Setting permissions hasn't even come into play yet as I can't get past the template edit to worry about permissions.

Thanks, Shelley, unfortunately it didn't have my error.

Liz
Hi Liz :)

Remember that the template edit goes immediately after the closing Xen hook thus:
Code:
            <xen:hook name="sidebar_visitor_panel_stats">
                <dl class="pairsJustified"><dt>{xen:phrase messages}:</dt> <dd>{xen:number $visitor.message_count}</dd></dl>
                <dl class="pairsJustified"><dt>{xen:phrase likes}:</dt> <dd>{xen:number $visitor.like_count}</dd></dl>
                <dl class="pairsJustified"><dt>{xen:phrase points}:</dt> <dd>{xen:number $visitor.trophy_points}</dd></dl>
            </div>
            </xen:hook>
<xen:if is="@sidebarShowMood">
    <xen:include template="mood_display">
        <xen:map from="$visitor" to="$user" />
    </xen:include>
</xen:if>

The code on the 1st page of this thread doesn't take into account the hook added to the most recent version of XF.
 
Hi Liz :)

Remember that the template edit goes immediately after the closing Xen hook thus:
Code:
            <xen:hook name="sidebar_visitor_panel_stats">
                <dl class="pairsJustified"><dt>{xen:phrase messages}:</dt> <dd>{xen:number $visitor.message_count}</dd></dl>
                <dl class="pairsJustified"><dt>{xen:phrase likes}:</dt> <dd>{xen:number $visitor.like_count}</dd></dl>
                <dl class="pairsJustified"><dt>{xen:phrase points}:</dt> <dd>{xen:number $visitor.trophy_points}</dd></dl>
            </div>
            </xen:hook>
<xen:if is="@sidebarShowMood">
    <xen:include template="mood_display">
        <xen:map from="$visitor" to="$user" />
    </xen:include>
</xen:if>

The code on the 1st page of this thread doesn't take into account the hook added to the most recent version of XF.
THANK you....since I had been otherwise occupied most of the last 4 months, I'd missed that in the newer versions.

Liz
 
I'm still unable to add it....it won't let me edit the template even putting it under the hook closing tag.
 
I'm still unable to add it....it won't let me edit the template even putting it under the hook closing tag.
Liz, here's my entire template.
Code:
<xen:if is="{$visitor.user_id}">

<div class="section visitorPanel">
    <div class="secondaryContent">
    
        <xen:avatar user="$visitor" size="m" img="true" />
        
        <div class="visitorText">
            <h2>{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper username, $visitor, 'NoOverlay'}'}</h2>        
            <div class="stats">
            <xen:hook name="sidebar_visitor_panel_stats">
                <dl class="pairsJustified"><dt>{xen:phrase messages}:</dt> <dd>{xen:number $visitor.message_count}</dd></dl>
                <dl class="pairsJustified"><dt>{xen:phrase likes}:</dt> <dd>{xen:number $visitor.like_count}</dd></dl>
                <dl class="pairsJustified"><dt>{xen:phrase points}:</dt> <dd>{xen:number $visitor.trophy_points}</dd></dl>
            </div>
            </xen:hook>
<xen:if is="@sidebarShowMood">
    <xen:include template="mood_display">
        <xen:map from="$visitor" to="$user" />
    </xen:include>
</xen:if>
        </div>
        
    </div>
</div>

<xen:else />

<div class="section loginButton">        
    <div class="secondaryContent">
        <label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label>
    </div>
</div>

</xen:if>

<xen:include template="ad_sidebar_below_visitor_panel" />

So: revert yours and copy and paste this one *fingers crossed* :)
 
If there was a contest for best XenForo mod I would vote for this one. I have had a overwhelming positive response on my forum after adding this mod. Everyone who logged in today likes this mod. :LOL:
 
Moods is superb, no doubt. :)
More and more people are moving to mobile device platforms (Tapatalk and Forum Runner, a quick two).
To see this mod have a tweak, however unlikely, as it stands, to get a button thrown onto these platforms would be superb.
I don't even know how to begin to ask how this can be done, <-- but there's a start anyway. ;)
 
is there a chance to have this as an add-on without any template-edits ?

I am now on the latest XF-version and wondering which files I need to use and which templates I need to edit in order to get this to work ?
Are all of you guys charging your users to be allowed using moods ?
 
Back
Top Bottom