Solved

PHPBB3 how to change the profile url?

Posted on 2010-09-09
7
629 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:RQuadling
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:RQuadling
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 40

Accepted Solution

by:
RQuadling earned 250 total points
ID: 33671029
0
 

Author Closing Comment

by:gb874554
ID: 33671162
Thanks
0
 
LVL 40

Expert Comment

by:RQuadling
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

929 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now