help/trophies

hmm is there any examples anywhere (or an addon as you say?) looks abit silly after I have just renamed all trophies to something else :(
 
Check out Darkimmortal's chat add-on.

He has coded the ability to change the primary route so that will give you some pointers.
 
Unless you're fairly proficient at php, it's not something you'll be able to do easily.

As Mike said, it's not a trivial change.
 
If you want to change trophies to 'achievements' for example:

In library/XenForo/ControllerPublic/Help, replace:
PHP:
public function actionTrophies()
with:
PHP:
public function actionAchievements()

In the template 'navigation', replace:
HTML:
<li><a href="{xen:link help/trophies}">{xen:phrase trophies}</a></li>
with:
HTML:
<li><a href="{xen:link help/achievements}">{xen:phrase trophies}</a></li>

Obviously you'd need to edit the phrase(s) too ;)
 
Also for anyone else doing this. Remmber these templates to

help_index
help_wrapper
member_trophies (two in here)

to replace
PHP:
{xen:link help/trophies}
with
PHP:
{xen:link help/achievements}
 
Back
Top Bottom