help/trophies I need to rename that url >.> any idea's how I can do this? Thanks
DarkVodka Formerly Wuebit Mar 13, 2011 #1 Mar 13, 2011 #1 help/trophies I need to rename that url >.> any idea's how I can do this? Thanks
Mike XenForo developer Staff member Mar 13, 2011 #2 Mar 13, 2011 #2 Changing URLs involves add-ons and/or file modifications. It's not generally trivial.
Brogan XenForo moderator Staff member Mar 13, 2011 #3 Mar 13, 2011 #3 You're going to have to delve into the code to do that. Edit: Ninja'ed
DarkVodka Formerly Wuebit Mar 13, 2011 #4 Mar 13, 2011 #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
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 Mar 13, 2011 #5 Mar 13, 2011 #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.
Check out Darkimmortal's chat add-on. He has coded the ability to change the primary route so that will give you some pointers.
DarkVodka Formerly Wuebit Mar 13, 2011 #6 Mar 13, 2011 #6 Brogan said: Check out Darkimmortal's chat add-on. He has coded the ability to change the primary route so that will give you some pointers. Click to expand... I wouldn't know where to even look in it tbh.
Brogan said: Check out Darkimmortal's chat add-on. He has coded the ability to change the primary route so that will give you some pointers. Click to expand... I wouldn't know where to even look in it tbh.
Brogan XenForo moderator Staff member Mar 13, 2011 #7 Mar 13, 2011 #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.
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.
DarkVodka Formerly Wuebit Mar 13, 2011 #8 Mar 13, 2011 #8 Brogan said: 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. Click to expand... What about something like a .htaccess ? I miss vbseo for things like this was soo easy (never thought I would say that)
Brogan said: 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. Click to expand... What about something like a .htaccess ? I miss vbseo for things like this was soo easy (never thought I would say that)
Luke F Well-known member Mar 13, 2011 #9 Mar 13, 2011 #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
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
DarkVodka Formerly Wuebit Mar 13, 2011 #10 Mar 13, 2011 #10 Darkimmortal said: Snip Click to expand... Dam dark your as sexy as ever Thanks very much works great!
Darkimmortal said: Snip Click to expand... Dam dark your as sexy as ever Thanks very much works great!
Brogan XenForo moderator Staff member Mar 13, 2011 #11 Mar 13, 2011 #11 Heh, easier than I imagined (clever sod) Don't forget you'll need to redo that edit every time you upgrade.
Heh, easier than I imagined (clever sod) Don't forget you'll need to redo that edit every time you upgrade.
DarkVodka Formerly Wuebit Mar 13, 2011 #12 Mar 13, 2011 #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}
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}