| Author |
Message |
CurtisH Life Cycles Becoming CPU Cycles

Joined: Mar 15, 2004 Posts: 638 Location: Waco, TX
|
Posted:
Wed Jul 28, 2004 8:02 pm |
|
I always seem to be begging for help... I was hoping that someone could help point me in the right direction.
I would like to do away with the phpbb forum profile, as well as the option to edit user info in phpbb. I want both functions handled by the Your Account module. I have found only how to do just the opposite. Everywhere that I found this particular request, well, no one has answered it in any way so I am not even sure where to begin. *LOL*
I want to modify my setup so that ANYWHERE there is a link to a user's profile, the link will take them to the Your Account version. If this is a massive undertaking, another option I would be perfectly fine with would be changing the link in the forum for "edit profile" to point to the Your Account function, and add a link at the end of the forum profile that says "Detailed Info" pointing to the Your Account profile.
I am using a modified version of Your Account that has features I need for my members, the forum profile/edit profile do not have these features and for the most part merely cause confusion for them.
If I have left out any needed info please let me know, and thank you for your time. I hope someone can offer a solution. If so I know of about 24 forums that I will be posting the solution on. *LOL*
Thanks everyone!
Curt |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 14916 Location: Kansas
|
Posted:
Wed Jul 28, 2004 8:18 pm |
|
A quick one to try would be to modify Forums/profile.php and add a header redirect like | Code: | <?
header("Location: http://your_domain.com.com/modules.php?name=Your_Account&op=edituser");
?> |
|
|
|
|
 |
CurtisH Life Cycles Becoming CPU Cycles

Joined: Mar 15, 2004 Posts: 638 Location: Waco, TX
|
Posted:
Wed Jul 28, 2004 8:36 pm |
|
Ok, that workes absolutely great for the user. Now how can I make it work when viewing other members profiles as well? It points to my profile, even when clicking on another member's name. Is there a variable that can be used in conjunction with the
userinfo-USERNAME.html
in place of the above code you mentioned? |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 14916 Location: Kansas
|
Posted:
Wed Jul 28, 2004 8:44 pm |
|
You will probably need to make a similar modifcation to the viewprofile.php file. As I said, that was just a quick "hope this solves it". The methodology is probably correct but not the details  |
|
|
|
 |
CurtisH Life Cycles Becoming CPU Cycles

Joined: Mar 15, 2004 Posts: 638 Location: Waco, TX
|
Posted:
Wed Jul 28, 2004 8:51 pm |
|
What would be the correct command. The original command you gave works for editing the user, so if I were to place a redirect in the viewprofile.php, what would it need to say so that it calls the username that you are clicking on instead of your own profile? That is where I am confused. I am assuming that there must be a variable that follows the command so that the browser knows which user info to rewuest from the database. Sorry to be so bothersome tonight. Just trying to nail this down if I can.  |
|
|
|
 |
|
|
|
|