PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
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: Waco, TX

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

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
View user's profile Send private message Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14916
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: Waco, TX

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

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?
View user's profile Send private message Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14916
Location: Kansas

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

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: Waco, TX

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

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
View user's profile Send private message Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum