Hi there, I bought this add-on. I think it's a great feature for my community. But, I'm having a problem: If you visit any of my member pages with a medal awarded, in the "Awarded medals" tab, it's showing an error message.
In the tab URL, when you click on it, it doesn't go to: {url}/members/{member}/medals but instead it goes to {url}/members/medals
How can I fix it?
Thank you...
<li><a href="{{ link('members', $xf.visitor) . '#bdMedal' }}" class="menu-linkRow"><i class="fa fa-trophy" aria-hidden="true"></i> {{ phrase('Manage Awards') }}</a></li>
I am having the same issue as you, it seem it's the Theme that i am using it's intrepid theme it could happen on few numbers of theme i am not sure what happening cause i switch back to xenforo default theme and it was fix there but not on any other theme that i had @xfrocks how do i fix this issue please and thanks youHi there, I bought this add-on. I think it's a great feature for my community. But, I'm having a problem: If you visit any of my member pages with a medal awarded, in the "Awarded medals" tab, it's showing an error message.
In the tab URL, when you click on it, it doesn't go to: {url}/members/{member}/medals but instead it goes to {url}/members/medals
How can I fix it?
Thank you...
In my case, I'm using the default theme, although my forum is in Spanish. Maybe it's something that's got to do with the translation or something. I have no clue...I am having the same issue as you, it seem it's the Theme that i am using it's intrepid theme it could happen on few numbers of theme i am not sure what happening cause i switch back to xenforo default theme and it was fix there but not on any other theme that i had @xfrocks how do i fix this issue please and thanks you
Hi there, I bought this add-on. I think it's a great feature for my community. But, I'm having a problem: If you visit any of my member pages with a medal awarded, in the "Awarded medals" tab, it's showing an error message.
In the tab URL, when you click on it, it doesn't go to: {url}/members/{member}/medals but instead it goes to {url}/members/medals
How can I fix it?
Thank you...
href="{{ link('members/medals') }}"
href="{{ link('members/medals', $user) }}"
This looks like a bug in the add-on, sorry for the trouble. New version is coming out soon and it will fix this. If you have made the template change, please remember to revert the custom change for best compatibility.Hi there, I finally figured it out on my own.
What I did was, in the bdmedal_member_view_macros template, in line 27, replace this line:
Code:href="{{ link('members/medals') }}"
with this one:
Code:href="{{ link('members/medals', $user) }}"
As you can tell, the only thing to modify is by adding ", $user" to it. That's all...
I don't know if this is the right thing to do, I'm no coder, but maybe the add-on creator could light us up on the right answer to this.
Regards to all...
v2.0.4 is now available and it comes with a style property to add this link automatically. Please revert your template change and update the add-on to use it.^ I'm not experiencing this but I have a similar question.
I want to link to the awarded medals member view link via account_visitor_menu. I know how to setup the link but the issue I'm having is I can't figure out how to link to a users profile page or what the URL variable would be to have them link to the profile page and to the awarded medals area.
I wanted to add a "manage awards" link. To take them directly the the award page.
EDIT Nevermind I used this for anyone interested and placed it below the follow/ignore area in account_visitor_menu template:
HTML:<li><a href="{{ link('members', $xf.visitor) . '#bdMedal' }}" class="menu-linkRow"><i class="fa fa-trophy" aria-hidden="true"></i> {{ phrase('Manage Awards') }}</a></li>
Hmm, make sure you uploaded the new _data/templates.xml file overwriting the old one on the server. Also, if you go and edit "bdmedal_member_view_macros" now, it should be (notice the members/medals links):I have just revert the changes and upgrade it, the bug is still there and not fix
<xf:macro name="moderator_menu_actions" arg-user="!">
<xf:if is="$xf.visitor.canAwardMedal({$user})">
<a href="{{ link('medals/award', null, {'username': $user.username}) }}" class="menu-linkRow"
data-xf-click="overlay">
{{ phrase('bdmedal_awarded_add') }}
</a>
</xf:if>
</xf:macro>
<xf:macro name="stat_pair" arg-user="!">
<xf:if is="property('bdMedal_showStatPair')">
<dl class="pairs pairs--rows pairs--rows--centered fauxBlockLink">
<dt>{{ phrase('bdmedal_medal_entities') }}</dt>
<dd>
<a href="{{ link('members/medals', $user) }}" data-xf-click="overlay"
class="fauxBlockLink-linkRow u-concealed">
{$user.medal_count|number}
</a>
</dd>
</dl>
</xf:if>
</xf:macro>
<xf:macro name="tabs" arg-user="!">
<xf:if is="property('bdMedal_showTab') && $user.medal_count > 0">
<a class="tabs-tab"
href="{{ link('members/medals', $user) }}"
id="bdMedal"
rel="nofollow"
role="tab">
{{ phrase('bdmedal_awarded_medals') }}
</a>
</xf:if>
</xf:macro>
<xf:macro name="tab_panes" arg-user="!">
<xf:if is="property('bdMedal_showTab') && $user.medal_count > 0">
<li data-href="{{ link('members/medals', $user) }}" role="tabpanel" aria-labelledby="bdMedal">
<div class="blockMessage">{{ phrase('loading...') }}</div>
</li>
</xf:if>
</xf:macro>
Which link did you click?Just bring me to a page that said this
https://gyazo.com/e71a57fb42180e97d547fc764ab93d82
Basically the first bug about url's
That's weird, is your site public? May I take a look?this is when im logout https://gyazo.com/e1df7cad2ee5dd0f3e0af5a51f372cc5
and this is when im login https://gyazo.com/eb01e37ff2451cc73f557a4ceaf38419
This is my account, please give me some medal for testing? https://forums.moddednetwork.com/members/xfrocks.3426/
We use essential cookies to make this site work, and optional cookies to enhance your experience.