● steam profile mod

Fri Oct 29, 2021 5:51 pm
NOOB!!!
34 Posts
Reputation: 21.8
half through doing the edits, something id like to check..

Code: [ Select all ]

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

$db->sql_query("UPDATE ".$prefix."_evolution SET evo_value='".$ximg_viewer."' WHERE evo_field='img_viewer'");


Code: [ Select all ]

#
#-----[ NEW LINE, AFTER, ADD ]------------------------------------------
#

$db->sql_query("UPDATE ".$prefix."_evolution SET evo_value='".$steam_api_key."' WHERE evo_field='steam_api_key'");
$db->sql_query("UPDATE ".$prefix."_evolution SET evo_value='".$steam_caption."' WHERE evo_field='steam_caption'");
$db->sql_query("UPDATE ".$prefix."_evolution SET evo_value='".$steam_pside."' WHERE evo_field='steam_pside'");



closest i can find is:

Code: [ Select all ]

$db->sql_query("UPDATE "._EVOCONFIG_TABLE." SET evo_value='".$ximg_viewer."' WHERE evo_field='img_viewer'");
Fri Oct 29, 2021 6:46 pm
Clan Leader
Top Dog
Nuke Dev / Coder
2817 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 21.2hrs.
Total Played: 2,100hrs.


  
Taking a break from work!
Reputation: 7013.2
votes: 6
Yes, that is the right line.

You can see from the one in the instructions, is says

UPDATE ".$prefix."_evolution

Well,  "._EVOCONFIG_TABLE." has replaced that, so even what you can replace that with can be change to:

Code: [ Select all ]

$db->sql_query("UPDATE "._EVOCONFIG_TABLE." SET evo_value='".$steam_api_key."' WHERE evo_field='steam_api_key'");
$db->sql_query("UPDATE "._EVOCONFIG_TABLE." SET evo_value='".$steam_caption."' WHERE evo_field='steam_caption'");
$db->sql_query("UPDATE "._EVOCONFIG_TABLE." SET evo_value='".$steam_pside."' WHERE evo_field='steam_pside'");
Forums ©