Help modifying login and logout script of phpnuke 7.6.0.2.9

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Help modifying login and logout script of phpnuke 7.6.0.2.9
klwzscale
CZ Newbie
klwzscale has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 26, 2005
0.00 posts per day
Posts: 5
Points: 130
   
I am running a memberhship software package called aMember on my site along with a phpnuke plugin that ties the paid memberships from aMember to phpnuke. aMember sets the phpnuke cookie for the session.

There is a user interface issue that I would like to modify in phpnuke. I would like to make the phpnuke login link point to a custom full [ Register or login to view links on this board. ] url and not the nuke login module as users need to login to the site with the aMember login script and not phpnuke's.

Login is all controlled by aMember. How can I go about modifying the phpnuke code to make the login link point to a page that contains the aMember login script?

I need the file name / code location / and syntax to show a full [ Register or login to view links on this board. ] url. Not a relative url.

The second and more important side is with the logout. I need to logout through aMembers script as aMember sets the phpnuke cookie. Right now if I logout in phpnuke I get logged back in on the redirect since aMember set the cookie. I need to mod the logout script to point to a specific aMember php page again set as a full [ Register or login to view links on this board. ] not relative.

In addition I do not need a Register link within phpnuke. This link should also point to an aMember php page not a phpnuke page.
Can you help with me with this matter?

phpnuke 7.6.0.2.9 with several NSN scripts and CZUsers V5 .

Thank you,
Keith



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Just setcookie("COOKIE_NAME"); after the logout function in nuke. That will destroy the cookie. (COOKIE_NAME is the name of the cookie amember is setting)




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Help modifying login and logout script of phpnuke 7.6.0.
klwzscale
CZ Newbie
klwzscale has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 26, 2005
0.00 posts per day
Posts: 5
Points: 130
   
what file should I be trying to edit in phpnuke to kill the cookie?

Than you,



Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
The function logout in the modules/Your_Account/index.php




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: Help modifying login and logout script of phpnuke 7.6.0.
klwzscale
CZ Newbie
klwzscale has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 26, 2005
0.00 posts per day
Posts: 5
Points: 130
   
Thank you,

That is the one I though but just wanted to make sure!
Keith



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum