combine MuCORE 1.0.8 & DmN Webshop
Hi Guys how can i combine my MuCore 1.0.8 & DmN Webshop?
MuCore link >>http://forum.ragezone.com/f197/mucor...vices-1002643/
DmN link >> http://forum.ragezone.com/f197/dmn-w...6-free-869445/
i mean if my character make GrandReset the credits go to DmN Webshop?
becoz if i grandreset my character credits added to mucore.
Tnx..
Re: combine MuCORE 1.0.8 & DmN Webshop
What you mean if you make grand reset credits go to DmN Webshop?
you can set where credits should be added while installing dmn webshop with the table/column names.
Re: combine MuCORE 1.0.8 & DmN Webshop
is there any tutorials how to combine mucore & dmn webshop? thnx
Re: combine MuCORE 1.0.8 & DmN Webshop
What means combine them together? you just install Dmn Webshop into seperated link and thats it, to combine them u just need to know how to do it in page modules folder like other pages, not sure how u gonna do that.
Re: combine MuCORE 1.0.8 & DmN Webshop
Quote:
Originally Posted by
KarLi
What means combine them together? you just install Dmn Webshop into seperated link and thats it, to combine them u just need to know how to do it in page modules folder like other pages, not sure how u gonna do that.
can you made a tutorial sir KarLi for us to make DMN webshop working on mucore? we want to make mucore credits reflect to DMN webshop credits.,thank you!
Re: combine MuCORE 1.0.8 & DmN Webshop
Quote:
Originally Posted by
jeffzkie69
can you made a tutorial sir KarLi for us to make DMN webshop working on mucore? we want to make mucore credits reflect to DMN webshop credits.,thank you!
No i am not website coder i dont have an idea mate, dont wanna try it cus it wont be easy.
Re: combine MuCORE 1.0.8 & DmN Webshop
Re: combine MuCORE 1.0.8 & DmN Webshop
@jeffzkie69
open pages_modules/user_cp/grandreset_character.php
find
PHP Code:
$check_for_memb_id = $core_db2->Execute("Select ".MU_COINS_USERID_COLUMN." from ".MU_COINS_TABLE." where ".MU_COINS_USERID_COLUMN."=?",array($user_auth_id));
if($check_for_memb_id->EOF){
$set_credits = $core_db2->Execute("insert into ".MU_COINS_TABLE." (".MU_COINS_USERID_COLUMN.",".MU_COINS_COLUMN.")VALUES(?,?)",array($user_auth_id,$new_bcredits));
}else{
$set_credits = $core_db2->Execute("Update ".MU_COINS_TABLE." set ".MU_COINS_COLUMN."=".MU_COINS_COLUMN."+? where ".MU_COINS_USERID_COLUMN."=?",array($new_bcredits,$user_auth_id));
}
replace with
PHP Code:
$check_for_memb_id = $core_db2->Execute("Select memb___id from DmN_Shop_Credits where memb___id=?",array($user_auth_id));
if($check_for_memb_id->EOF){
$set_credits = $core_db2->Execute("Insert Into DmN_Shop_Credits (memb___id,credits)VALUES(?,?)",array($user_auth_id,$new_bcredits));
}else{
$set_credits = $core_db2->Execute("Update DmN_Shop_Credits set credits=credits+? where memb___id=?",array($new_bcredits,$user_auth_id));
}
& Test.
If you use 2 DB & DmN_Shop_Credits location is MuOnline db, replace $core_db2 with $core_db
if you want to use credits2/credits3 instead of credits -> replace everywhere.
Re: combine MuCORE 1.0.8 & DmN Webshop
Quote:
Originally Posted by
4FUNer
@
jeffzkie69
open pages_modules/user_cp/grandreset_character.php
find
PHP Code:
$check_for_memb_id = $core_db2->Execute("Select ".MU_COINS_USERID_COLUMN." from ".MU_COINS_TABLE." where ".MU_COINS_USERID_COLUMN."=?",array($user_auth_id));
if($check_for_memb_id->EOF){
$set_credits = $core_db2->Execute("insert into ".MU_COINS_TABLE." (".MU_COINS_USERID_COLUMN.",".MU_COINS_COLUMN.")VALUES(?,?)",array($user_auth_id,$new_bcredits));
}else{
$set_credits = $core_db2->Execute("Update ".MU_COINS_TABLE." set ".MU_COINS_COLUMN."=".MU_COINS_COLUMN."+? where ".MU_COINS_USERID_COLUMN."=?",array($new_bcredits,$user_auth_id));
}
replace with
PHP Code:
$check_for_memb_id = $core_db2->Execute("Select memb___id from DmN_Shop_Credits where memb___id=?",array($user_auth_id));
if($check_for_memb_id->EOF){
$set_credits = $core_db2->Execute("Insert Into DmN_Shop_Credits (memb___id,credits)VALUES(?,?)",array($user_auth_id,$new_bcredits));
}else{
$set_credits = $core_db2->Execute("Update DmN_Shop_Credits set credits=credits+? where memb___id=?",array($new_bcredits,$user_auth_id));
}
& Test.
If you use 2 DB & DmN_Shop_Credits location is MuOnline db, replace $core_db2 with $core_db
if you want to use credits2/credits3 instead of credits -> replace everywhere.
tnx for this i need this too :D
Re: combine MuCORE 1.0.8 & DmN Webshop
ok sir 4FuNer i will test im using zteam season 8 ep 2 files hope it will be sucessfull :):
Re: combine MuCORE 1.0.8 & DmN Webshop
thnx 4Funer 100% working thank you!