Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 643
  • Last Modified:

PHPBB3 how to change the profile url?

Hello,

I would like to know in PHPBB3 how to change the profile url?

Thanks
0
gb874554
Asked:
gb874554
  • 4
  • 3
1 Solution
 
Richard QuadlingSenior Software DeverloperCommented:
What have you currently got? And what do you want it to be?
0
 
gb874554Author Commented:
Editing the base URL in functions_content.php will work. While i was looking at a better way of doing this.
0
 
Richard QuadlingSenior Software DeverloperCommented:
In functions_content.php, there is a function get_username_string().

This has an optional 6th parameter which allows you to set the alternative profile url.

To use this option, you are going to have to patch all the places where the url is used and not patch those where an alternative is already provided.

The function get_username_string() is called 209 times in 31 files. Some with the additional parameters.

If you had a mod, it would simply be altering the code anyway, so do it and create a patch, allowing you to upgrade and reapply the patch when you need to.

Also, a lot of places call memberlist directly. 69 mentions in 31 files (may not be 100% accurate).

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Richard QuadlingSenior Software DeverloperCommented:
0
 
gb874554Author Commented:
Thanks
0
 
Richard QuadlingSenior Software DeverloperCommented:
'C'! A 'C'???

I think that's my first C in 10 years.

Normally, you reply with something and then we improve it to get you to a point where you are really happy.

Considering your question was a 1 liner, there wasn't much to go on.

0
 
gb874554Author Commented:
Sorry clicked the worng box, was ment to be B. Will try and change this.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now