steam profile mod

118

Fri Oct 29, 2021 4:51 pm
NOOB!!!
34 Posts
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 5:46 pm
Clan Leader
Top Dog
2689 Posts
coRpSE
Online
Most Played:
This week: 69.4hrs.
Total Played: 69hrs.


  
Must be a looser...
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 ©