admin/modules/users.php changed to? for edlt points mod

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   admin/modules/users.php changed to? for edlt points mod
Horror-Code
CZ Super Newbie
Horror-Code has been a member for over 18 year's 18 Year Member
usa.gif missouri.gif
Gender: Male
Website:
Status: Offline
Joined: Feb 24, 2006
0.01 posts per day
Posts: 72
Points: 1,033
   
for edlt points mod for built ln points for nuke. admin/modules/users.php ls changed to what for 7.6



Back to top Reply with quote
#2   re: admin/modules/users.php changed to? for edlt points mod
Horror-Code
CZ Super Newbie
Horror-Code has been a member for over 18 year's 18 Year Member
usa.gif missouri.gif
Gender: Male
Website:
Status: Offline
Joined: Feb 24, 2006
0.01 posts per day
Posts: 72
Points: 1,033
   
lm guesslng the lnstall was wrong but heres the code.
# Description:    This will allow you to edit a user points through the Edit User admin area. This
##                        is only for the Points that is include in PHPNuke 7.0+ 
##         
##
## Installation Level:   Easy
## Installation Time:   5 Minutes
##
## Files To Edit: 2
##   admin/language/lang_english.php
##           admin/modules/users.php
## Files Included: 0
#################################################################
##
## For support on this mod and tons more come see us at http://codezwiz.com
##
#################################################################

#-----------------[ OPEN FILE ]---------------------------
#
# BE SURE YOU MAKE A BACK UP FIRST

admin/modules/users.php

#
#---------------------[ FIND ]-------------------
#

$result = $db->sql_query("SELECT user_id, username, name, user_website, user_email, femail, user_icq, user_aim, user_yim, user_msnm, user_from, user_occ, user_interests, user_viewemail, user_avatar, user_sig, user_password, newsletter from " . $user_prefix . "_users where user_id='$chng_user' or username='$chng_user'");

#
#---------------[ INLINE FIND ]-------------------------
#

, newsletter

#
#-------------------[ AFTER ADD ]-----------------------
#

, points

#
#-------------[ FIND ]--------------------------
#

$chng_pass = $row['user_password'];


#
#-----------------[ AFTER, ADD]-----------------------
#

$chng_user_points = intval($row['points']);


#
#-----------------[ FIND ]------------------------------
#

       ."<tr><td>" . _INTERESTS . "</td>"
       ."<td><input type=\"text\" name=\"chng_user_intrest\" value=\"$chng_user_intrest\" size=\"25\" maxlength=\"255\"></td></tr>"


#
#-----------------[ AFTER ADD ]------------------------
#

       ."<tr><td>" . _EDITPOINTS . "</td>"
       ."<td><input type=\"text\" name=\"chng_user_points\" value=\"$chng_user_points\" size=\"25\" maxlength=\"25\"></td></tr>"


#
#------------------[ FIND ]-------------------------------
#


function updateUser($chng_uid, $chng_uname, $chng_name, $chng_url, $chng_email, $chng_femail, $chng_user_icq, $chng_user_aim, $chng_user_yim, $chng_user_msnm, $chng_user_from, $chng_user_occ, $chng_user_intrest, $chng_user_viewemail, $chng_avatar, $chng_user_sig, $chng_pass, $chng_pass2, $chng_newsletter, $subscription, $subscription_expire, $reason) {


#
#-------------------[ INLINE FIND ]-------------------------
#

, $chng_newsletter

#
#-------------------[ AFTER ADD ]--------------------------
#

, $chng_user_points

#
#---------------------[ FIND ]------------------------------
#

if ($tmp == 0) {
   $db->sql_query("update " . $user_prefix . "_users set username='$chng_uname', name='$chng_name', user_email='$chng_email', femail='$chng_femail', user_website='$chng_url', user_icq='$chng_user_icq', user_aim='$chng_user_aim', user_yim='$chng_user_yim', user_msnm='$chng_user_msnm', user_from='$chng_user_from', user_occ='$chng_user_occ', user_interests='$chng_user_intrest', user_viewemail='$chng_user_viewemail', user_avatar='$chng_avatar', user_sig='$chng_user_sig', newsletter='$chng_newsletter' where user_id='$chng_uid'")

#
#------------------[ INLINE FIND ]-------------------------
#

, newsletter='$chng_newsletter'

#
#-------------------[ AFTER ADD ]-------------------------
#

, points='$chng_user_points'

#
#------------------[ FIND ]---------------------------------
#

if ($tmp == 1) {
       $cpass = md5($chng_pass);
        $db->sql_query("update " . $user_prefix . "_users set username='$chng_uname', name='$chng_name', user_email='$chng_email', femail='$chng_femail', user_website='$chng_url', user_icq='$chng_user_icq', user_aim='$chng_user_aim', user_yim='$chng_user_yim', user_msnm='$chng_user_msnm', user_from='$chng_user_from', user_occ='$chng_user_occ', user_interests='$chng_user_intrest', user_viewemail='$chng_user_viewemail', user_avatar='$chng_avatar', user_sig='$chng_user_sig', user_password='$cpass', newsletter='$chng_newsletter' where user_id='$chng_uid'");

#
#--------------------[ INLINE FIND ]-----------------------
#

, newsletter='$chng_newsletter'

#
#---------------------[ AFTER ADD ]----------------------
#

, points='$chng_user_points'

#
#--------------------[ FIND ]----------------------------
#

    case "updateUser":
    updateUser($chng_uid, $chng_uname, $chng_name, $chng_url, $chng_email, $chng_femail, $chng_user_icq, $chng_user_aim, $chng_user_yim, $chng_user_msnm, $chng_user_from, $chng_user_occ, $chng_user_intrest, $chng_user_viewemail, $chng_avatar, $chng_user_sig, $chng_pass, $chng_pass2, $chng_newsletter, $subscription, $subscription_expire, $reason);
    break;

#
#---------------------[ INLINE FIND ]------------------
#

, $chng_newsletter

#
#------------------[ AFTER ADD ]-----------------------
#

, $chng_user_points




#
#-----------------[ OPEN FILE ]---------------------------
#
admin/language/lang_english.php


#
#-----[ FIND ]---------------------------------------------
#

?>

#
#-----[ BEFORE ADD ]--------------------------------------
#

define("_EDITPOINTS","Points");
       
#
#-----[ EOM ]---------------------------------------------
#
so what ls the users flle ln there...


Back to top Reply with quote
#3   re: admin/modules/users.php changed to? for edlt points mod
Horror-Code
CZ Super Newbie
Horror-Code has been a member for over 18 year's 18 Year Member
usa.gif missouri.gif
Gender: Male
Website:
Status: Offline
Joined: Feb 24, 2006
0.01 posts per day
Posts: 72
Points: 1,033
   
Any chance the mod can be ported for 7.6?



Back to top Reply with quote
#4   re: admin/modules/users.php changed to? for edlt points mod
craigmack
CZ Active Member
 Codezwiz Site Donator
craigmack has been a member for over 19 year's 19 Year Member
usa.gif michigan.gif
Age: 46
Gender: Male
Fav. Sports Team: Pistons
Status: Offline
Joined: Feb 15, 2005
0.02 posts per day
Posts: 147
Points: 6,072
   
Are you talking about this mod found in the download section on this site

[ Register or login to view links on this board.]



Back to top Reply with quote
#5   
Horror-Code
CZ Super Newbie
Horror-Code has been a member for over 18 year's 18 Year Member
usa.gif missouri.gif
Gender: Male
Website:
Status: Offline
Joined: Feb 24, 2006
0.01 posts per day
Posts: 72
Points: 1,033
   
yes that one.



Back to top Reply with quote
#6   re: admin/modules/users.php changed to? for edlt points mod
craigmack
CZ Active Member
 Codezwiz Site Donator
craigmack has been a member for over 19 year's 19 Year Member
usa.gif michigan.gif
Age: 46
Gender: Male
Fav. Sports Team: Pistons
Status: Offline
Joined: Feb 15, 2005
0.02 posts per day
Posts: 147
Points: 6,072
   
That should work for 7.0+ and already ported



Back to top Reply with quote
#7   
Horror-Code
CZ Super Newbie
Horror-Code has been a member for over 18 year's 18 Year Member
usa.gif missouri.gif
Gender: Male
Website:
Status: Offline
Joined: Feb 24, 2006
0.01 posts per day
Posts: 72
Points: 1,033
   
no not above 7.4. above 7.4 admin/modules/users.php doesnt exlst



Back to top Reply with quote
#8   
Horror-Code
CZ Super Newbie
Horror-Code has been a member for over 18 year's 18 Year Member
usa.gif missouri.gif
Gender: Male
Website:
Status: Offline
Joined: Feb 24, 2006
0.01 posts per day
Posts: 72
Points: 1,033
   
lve been golng crazy over thls lmao and no one anywhere can do anythlng for thls...



Back to top Reply with quote
#9   
craigmack
CZ Active Member
 Codezwiz Site Donator
craigmack has been a member for over 19 year's 19 Year Member
usa.gif michigan.gif
Age: 46
Gender: Male
Fav. Sports Team: Pistons
Status: Offline
Joined: Feb 15, 2005
0.02 posts per day
Posts: 147
Points: 6,072
   
I thought you were asking something else i need some sleep



Back to top Reply with quote
#10   
craigmack
CZ Active Member
 Codezwiz Site Donator
craigmack has been a member for over 19 year's 19 Year Member
usa.gif michigan.gif
Age: 46
Gender: Male
Fav. Sports Team: Pistons
Status: Offline
Joined: Feb 15, 2005
0.02 posts per day
Posts: 147
Points: 6,072
   
I found the code its in modules/Your_Account/admin in the index.php file



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