?
Solved

PHPBB3 how to change the profile url?

Posted on 2010-09-09
7
Medium Priority
?
642 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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!

 
LVL 40

Accepted Solution

by:
Richard Quadling earned 500 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

719 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