Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.1
Poll
If you had to choose only one account module for your site, which would you pick?
NSN Your Account/CNB Your Account
50%
 50%  [ 1 ]
Standard PHP-Nuke Your Account
50%
 50%  [ 1 ]
phpbb Profile/edit user functions
0%
 0%  [ 0 ]
Total Votes : 2


Author Message
CurtisH
Life Cycles Becoming CPU Cycles



Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Wed Jul 28, 2004 8:02 pm Reply with quote

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

_________________
Those who dream by day are cognizant of many things which escape those who dream only by night. ~Poe 
View user's profile Send private message Visit poster's website Yahoo Messenger
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Jul 28, 2004 8:18 pm Reply with quote

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");
?>
 
View user's profile Send private message
CurtisH







PostPosted: Wed Jul 28, 2004 8:36 pm Reply with quote

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

modules.php?name=Your_Account&op=userinfo&username=USERNAME

in place of the above code you mentioned?
 
Raven







PostPosted: Wed Jul 28, 2004 8:44 pm Reply with quote

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 Smack
 
CurtisH







PostPosted: Wed Jul 28, 2004 8:51 pm Reply with quote

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. Smile
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.1

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©