Solved

PHPBB3 how to change the profile url?

Posted on 2010-09-09
7
635 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

828 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