User Title Ladder by Waindigo [Deleted]

Heya @Waindigo i'm desperate trying to get this block working with Widget Sidebar, there is a problem that is...
This appears on EVERY page with a sidebar at the very top of it. I tried to use the advanced render to template and pointed the template "waindigo_trophy_progress_trophyprogress" and the sidebar shows but without any content:
98critS.png


This usually works with other addons, why not this one? Any help would be appreciated. :)
 
This doenst work for me, I install it on a new xenforo installation I can see the progress bar at 0% but it never updates it always stuck at 0% I tried all the settings but still nothing, am I missing anything or is there a issue Im missing out?
 
This doenst work for me, I install it on a new xenforo installation I can see the progress bar at 0% but it never updates it always stuck at 0% I tried all the settings but still nothing, am I missing anything or is there a issue Im missing out?
This sounds like normal behaviour to me. It will always stay at 0% until you have some trophy points. Also, you need to make sure you have some trophy user titles set up.
 
This sounds like normal behaviour to me. It will always stay at 0% until you have some trophy points. Also, you need to make sure you have some trophy user titles set up.

Thanks for the reply, I took a another look and I noticed I can't earn trophies ( im trying to get the first post trophy from the presets ) so it's probably not this mod issue ^^
 
Well thank you @Waindigo
U4trLG9.png


:)
Would you mind sharing how you did this?

Heya @Waindigo i'm desperate trying to get this block working with Widget Sidebar, there is a problem that is...
This appears on EVERY page with a sidebar at the very top of it. I tried to use the advanced render to template and pointed the template "waindigo_trophy_progress_trophyprogress" and the sidebar shows but without any content:
98critS.png


This usually works with other addons, why not this one? Any help would be appreciated. :)

Did you find out how to make it work?
 
Would you mind sharing how you did this?
Did you find out how to make it work?
Code:
    <div class="section">
        <div class="secondaryContent">
            <h3>{xen:phrase waindigo_progress_to_next_level_trophyprogress} {$nextTrophyTitle}</h3>
            You are currently <b>{$currentTrophyTitle}</b>          
            <span class="TrophyProgressMeter"><span class="TrophyProgressGraphic" style="width: {$levelProgress}%">&nbsp;</span><span class="TrophyProgressCounter">{$levelProgress}%</span></span>
                        <img border="0" src="img/minicon.png" width="11" height="11"><a href="/">How to level up?</a>
                    </div>
    </div>

About it to work with framework, that tottally depends of @Waindigo as addon devs need to tweak something to make the widget "template" to work without any issues, something with cache i believe. For now it's annoying how this sidebar block gets on the top of the sidebar everywhere.
 
Hi @Motobaka @mauzao9,

This add-on uses a template hook - ad_sidebar_below_visitor_panel and also checks that the user isn't a guest. The data is also calculated using the code event listener FrontControllerPreView and the checks in there are instanceof XenForo_ViewRenderer_HtmlPublic and XenForo_ControllerResponse_View. If any of these checks are false or the template is called where the data doesn't exist it will show 0%.

Hope this helps.
 
Code:
    <div class="section">
        <div class="secondaryContent">
            <h3>{xen:phrase waindigo_progress_to_next_level_trophyprogress} {$nextTrophyTitle}</h3>
            You are currently <b>{$currentTrophyTitle}</b>         
            <span class="TrophyProgressMeter"><span class="TrophyProgressGraphic" style="width: {$levelProgress}%">&nbsp;</span><span class="TrophyProgressCounter">{$levelProgress}%</span></span>
                        <img border="0" src="img/minicon.png" width="11" height="11"><a href="/">How to level up?</a>
                    </div>
    </div>

About it to work with framework, that tottally depends of @Waindigo as addon devs need to tweak something to make the widget "template" to work without any issues, something with cache i believe. For now it's annoying how this sidebar block gets on the top of the sidebar everywhere.

Thank you!

Hi @Motobaka @mauzao9,

This add-on uses a template hook - ad_sidebar_below_visitor_panel and also checks that the user isn't a guest. The data is also calculated using the code event listener FrontControllerPreView and the checks in there are instanceof XenForo_ViewRenderer_HtmlPublic and XenForo_ControllerResponse_View. If any of these checks are false or the template is called where the data doesn't exist it will show 0%.

Hope this helps.

Thanks for the info. I will give it a try but honestly this is completely beyond my understanding :)
 
Hi @Waindigo ,

Any chance of putting in an option to change/customize the text of what is above the progress bar? When I put this in our forum, some of our members were confused as there were possibly several things it represented.

Thanks!
 
Hi @Waindigo ,

Any chance of putting in an option to change/customize the text of what is above the progress bar? When I put this in our forum, some of our members were confused as there were possibly several things it represented.

Thanks!
You can edit the template waindigo_trophy_progress_trophyprogress to show whatever information you want to explain what is displayed to your members.
 
Does this show the current trophy and the next level trophy anywhere? Just a progress bar could be confusing on what it actually does.
 
Does this show the current trophy and the next level trophy anywhere? Just a progress bar could be confusing on what it actually does.
It doesn't show them, but the variables available are : $currentTrophyTitle; $nextTrophyTitle; $levelProgress; $nextLevelProgress; $totalPointsForNextLevel;
 
I love this addon but it is out of control, every addon i have with a sidebar, it shows the trophy progress. Is there any way to force it to display on specific places?
 
So how does the user know what to do to reach the next level?
For example: if the next trophy needs the user to like 100 posts or start 20 threads. Then how does the user know?

Its nice that it tells the user how close they are, so the user will be motivated to reach the next level. But without some instructions, the user cant do much.
 
I love this addon but it is out of control, every addon i have with a sidebar, it shows the trophy progress. Is there any way to force it to display on specific places?
This trophy progress bar will be added where the hook 'ad_sidebar_below_visitor_panel' is present, I'm guessing if it is occurring more than once on a page then some add-ons are adding this in, I would look in the corresponding templates and see if you can remove the duplicates.

So how does the user know what to do to reach the next level?
For example: if the next trophy needs the user to like 100 posts or start 20 threads. Then how does the user know?

Its nice that it tells the user how close they are, so the user will be motivated to reach the next level. But without some instructions, the user cant do much.
Currently the instruction side of this would be down to you, perhaps an addition on the help page or in your FAQ forum/thread?
 
Top Bottom