Help with Edit Points script

  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 with Edit Points script
dkwds
CZ Active Member
dkwds has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 38
Gender: Male
Website:
Status: Offline
Joined: Jul 29, 2004
0.04 posts per day
Posts: 282
Points: 12,713
   
I downloaded the Edit Points script from here. I think i'm going blind cause i can't seem to find the lines i'm supposed to.

Line i couldn't find: $chng_pass = $row['user_password'];
therefore i couldn't add the other line. I use PHP-Nuke (7.2)

Am i just blind or is there some part that is actually missing or needs to be changed?
Please help. icon_sad.gif



Attached Files
users.txt (19.88 KB, Downloaded: 5245 Time(s))


Back to top Reply with quote
#2   re: Help with Add ons
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,440
   
Its just differant then the version I wrote it for. Try this one.



Attached Files
fixed_edit_points.txt (20.63 KB, Downloaded: 5254 Time(s))



_________________
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 with Add ons
dkwds
CZ Active Member
dkwds has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 38
Gender: Male
Website:
Status: Offline
Joined: Jul 29, 2004
0.04 posts per day
Posts: 282
Points: 12,713
   
Thankyou very much Telli. Works very well icon_smile.gif Your help was really appreciated. icon_smile.gif



Back to top Reply with quote
#4   re: Help with Add ons
dkwds
CZ Active Member
dkwds has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 38
Gender: Male
Website:
Status: Offline
Joined: Jul 29, 2004
0.04 posts per day
Posts: 282
Points: 12,713
   
Actually hold on it dosen't. The points field is there but when i change the points in edit user and save changes the points go down to 0 and the points that i actually entered go into the Interests box and therefore the points are displayed displayed as 0 when i haven't entered 0. Now i'm really confused. Help please. icon_sad.gif .



Back to top Reply with quote
#5   re: Help with Add ons
dkwds
CZ Active Member
dkwds has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 38
Gender: Male
Website:
Status: Offline
Joined: Jul 29, 2004
0.04 posts per day
Posts: 282
Points: 12,713
   
I have kinda figured it out, well the problem not the solution.
Say i want to change a user's points from 100 to 80, i go to the edit users page and bring up this person's information. If i change the points from 100 to 80 in the points box, on updating the info the user's points change to 0 and the information that was entered in the points box is displayed in the user's interests box (deletes all the info that was stored in the box). However when i enter say 80 into the user's interests box and update the info. The user's points get updated but on viewing the user's profile i see his points in his interests field. Had i learnt or had experience with php i might have been able to make the changes to make it work but since i don't Telli can you please fix this code for me.

Also another problem, this is with phpNuke. For some reason the software is giving the users points just for viewing pages although i have set the points for per page view to 0. Any help on this too is very much appreciated.

icon_smile.gif

Now i sit and wait. icon_rolleyes.gif



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