Master Badge [Paid] [Deleted]

When trying to save changes in the options I get this error:

Code:
Server Error
No entry is registered for key 'tms_style_id'

[LIST=1]
[*]XenForo_Application::get() in TMS/Model/TemplateModification.php at line 18
[*]TMS_Model_TemplateModification->applyTemplateModifications() in XenForo/Model/TemplateModificationAbstract.php at line 152
[*]XenForo_Model_TemplateModificationAbstract->applyModificationsToTemplate() in MasterBadge/DataWriter/Option.php at line 40
[*]MasterBadge_DataWriter_Option->_reparseTemplate() in MasterBadge/DataWriter/Option.php at line 28
[*]MasterBadge_DataWriter_Option->_setOption() in MasterBadge/DataWriter/Option.php at line 16
[*]MasterBadge_DataWriter_Option->_postSaveAfterTransaction() in XenForo/DataWriter.php at line 1423
[*]XenForo_DataWriter->save() in XenForo/Model/Option.php at line 572
[*]XenForo_Model_Option->updateOptions() in XenForo/ControllerAdmin/Option.php at line 179
[*]XenForo_ControllerAdmin_Option->actionSave() in XenForo/FrontController.php at line 347
[*]XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
[*]XenForo_FrontController->run() in /home/leaguepe/public_html/admin.php at line 13
[/LIST]
 
Last edited:
You can use template modification to add this snippet to Message Elements

{xen:helper userLevelHtml, $user}
Alright sweet, thanks. Now, how about the first question.

When trying to save changes in the options I get this error:

Code:
Server Error
No entry is registered for key 'tms_style_id'

[LIST=1]
[*]XenForo_Application::get() in TMS/Model/TemplateModification.php at line 18
[*]TMS_Model_TemplateModification->applyTemplateModifications() in XenForo/Model/TemplateModificationAbstract.php at line 152
[*]XenForo_Model_TemplateModificationAbstract->applyModificationsToTemplate() in MasterBadge/DataWriter/Option.php at line 40
[*]MasterBadge_DataWriter_Option->_reparseTemplate() in MasterBadge/DataWriter/Option.php at line 28
[*]MasterBadge_DataWriter_Option->_setOption() in MasterBadge/DataWriter/Option.php at line 16
[*]MasterBadge_DataWriter_Option->_postSaveAfterTransaction() in XenForo/DataWriter.php at line 1423
[*]XenForo_DataWriter->save() in XenForo/Model/Option.php at line 572
[*]XenForo_Model_Option->updateOptions() in XenForo/ControllerAdmin/Option.php at line 179
[*]XenForo_ControllerAdmin_Option->actionSave() in XenForo/FrontController.php at line 347
[*]XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
[*]XenForo_FrontController->run() in /home/leaguepe/public_html/admin.php at line 13
[/LIST]

@Milano you were online and completely ignored this :/
 
It seems that you are using TMS add-on instead of XF build in TMS. This add-on doesn't support the old TMS add-on.

Template modification had been part of XF core since 1.2, hence the minimum compatible version of this add-on is 1.3. If you're still using TMS add-on, then you should ask the creator to update the code.
 
@Milano Okay, one more thing.

upload_2015-9-24_18-26-23.webp

upload_2015-9-27_8-32-52.webp

Why does GH$ have it's own rank when it can fit right next to events?


___________________________

Also, is it possible to put the level next to the avatar on the message elements like the online is?

sugg-2.webp
(But make it bigger than the picture shown, it's just a mockup photoshop edit)
 
Last edited:
@Milano Okay, one more thing.

View attachment 117682

View attachment 117859

Why does GH$ have it's own rank when it can fit right next to events?


Could you give me your site url so I can workaround with this.

Also, is it possible to put the level next to the avatar on the message elements like the online is?

View attachment 117711
(But make it bigger than the picture shown, it's just a mockup photoshop edit)

It's possible but you need to do it by yourself.
 
Alerts links to wrong page.

1.png


Links to: /members/user.22/trophies/
Should link to /members/user.22/badges/X

This's default XenForo link that open the list awarded trophies which was replaced by featured badges chooser

Still having this issue. The URL links to /members/solidus.56/trophies/42/ which opens an overlay stating the requested page could not be found.
It should be opening /members/solidus.56/badges/2/#trophy-42
Where can I edit this manually? I want to change that.
 
Still having this issue. The URL links to /members/solidus.56/trophies/42/ which opens an overlay stating the requested page could not be found.
It should be opening /members/solidus.56/badges/2/#trophy-42
Where can I edit this manually? I want to change that.

You can disable it by edit the file MasterBadge/ControllerPublic/Trophy, comment lines 34 - 37

PHP:
if ($this->_noRedirect())
        {
            return $this->responseReroute('XenForo_ControllerPublic_Member', 'trophies');
        }

Another thing, why does my /badges page have just 1 block and yours has 3? https://wweforums.net/badges
Being able to select "Latest Awarded" as the default tab would be nice too.

You need to create more Public/Visible badges then add trophies to them.

@Milano hows the fix coming along?

Badges   GameHandout Community.webp

It looks fine for me, for the avatar icon, you can use the helper to generate the level icon then uses CSS to modify it.
 
@Milano For some reason my badges are not showing in the postbits, so what am I missing?

Looking at the profile I have the following badge

upload_2015-10-18_16-50-38.webp

Looking at the postbits nothing showing

upload_2015-10-18_16-51-27.webp

I have also checked this on the XF default Style same thing

It seems that the auto feature option is not working, if I use the manual option the badge shows in my postbits

upload_2015-10-18_17-56-41.webp

Like this

upload_2015-10-18_17-57-39.webp
 
Last edited:
not sure if answered, but ever since installing this...clicking on someone points to go members trophies page return

The requested page could not be found.

not all trophies have badges, and i would like members to be able to see all trophies available..how to fix this @Milano ?
 
Back
Top Bottom