• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

help/trophies

Wuebit

Well-known member
#4
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 :(
 

Brogan

XenForo moderator
Staff member
#5
Check out Darkimmortal's chat add-on.

He has coded the ability to change the primary route so that will give you some pointers.
 

Brogan

XenForo moderator
Staff member
#7
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.
 

Wuebit

Well-known member
#8
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.
What about something like a .htaccess ?
I miss vbseo for things like this was soo easy :coffee: (never thought I would say that)
 

Luke F

Well-known member
#9
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 ;)
 

Wuebit

Well-known member
#12
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}