x4rl Well-known member 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 Changing URLs involves add-ons and/or file modifications. It's not generally trivial. Upvote 0 Downvote
Paul B XenForo moderator Staff member Mar 13, 2011 #3 You're going to have to delve into the code to do that. Edit: Ninja'ed Upvote 0 Downvote
x4rl Well-known member 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 Upvote 0 Downvote
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
Paul B XenForo moderator Staff member 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. Upvote 0 Downvote
Check out Darkimmortal's chat add-on. He has coded the ability to change the primary route so that will give you some pointers.
x4rl Well-known member 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. Upvote 0 Downvote
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.
Paul B XenForo moderator Staff member 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. Upvote 0 Downvote
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.
x4rl Well-known member 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) Upvote 0 Downvote
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 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 Upvote 0 Downvote
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
x4rl Well-known member Mar 13, 2011 #10 Darkimmortal said: Snip Click to expand... Dam dark your as sexy as ever Thanks very much works great! Upvote 0 Downvote
Darkimmortal said: Snip Click to expand... Dam dark your as sexy as ever Thanks very much works great!
Paul B XenForo moderator Staff member 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. Upvote 0 Downvote
Heh, easier than I imagined (clever sod) Don't forget you'll need to redo that edit every time you upgrade.
x4rl Well-known member 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} Upvote 0 Downvote
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}