Solved

PHPBB3 how to change the profile url?

Posted on 2010-09-09
7
633 Views
Last Modified: 2013-11-11
Hello,

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

Thanks
0
Comment
Question by:gb874554
  • 4
  • 3
7 Comments
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 33642842
What have you currently got? And what do you want it to be?
0
 

Author Comment

by:gb874554
ID: 33670781
Editing the base URL in functions_content.php will work. While i was looking at a better way of doing this.
0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 33670999
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 40

Accepted Solution

by:
Richard Quadling earned 250 total points
ID: 33671029
0
 

Author Closing Comment

by:gb874554
ID: 33671162
Thanks
0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 33671252
'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
 

Author Comment

by:gb874554
ID: 33671440
Sorry clicked the worng box, was ment to be B. Will try and change this.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question