Jump to content
MakeWebGames

[mccode v2] CashCard. Send Cash Via Credit Card + Admin Xfer Logs


Uridium

Recommended Posts

I found Extermination™ Creditcard addition an Awesome Addon for the game...

I havent done much to this one Except give Users the abilty to Send Cash to each other Via their CreditCards. Admin and staff can also keep a close eye on all Cash sent between players with the credicard transfer logs...

So here Goes.. By the way this has Been tested bymyself quite a few time to make sure its bug free..

Firstly send this SQl to your phpmyadmin..

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now save this file as sendcredit.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Place a link for that file anywhere you want usually its placed in the viewuser.php but it doesnt matter where you place it....

Now open up your staff_logs.php

If you havent altered anything from the staff_logs.php before, now then i can associate the line number easily..

Online 8 or case 'cashlogs': view_cash_logs(); break;

add this underneath it..

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now on line 22 or case 'clear8': clear_logs8(); break;

add this underneath it.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Find this line 41 or Delete Staff Logs <font color=red>HERE</font>

Add this line underneath it

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now on line 127 or )

Add this underneath it..

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Now on line 365 or )

Add this line beneath it.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

And thats it for the Staff_log.php file

Final Part is to open smenu.php

Find >>> > Cash Xfer Logs

Underneath Add

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

And thats it.

EDITED MYSQL thanks to HALO :)

Link to comment
Share on other sites

Re: [MOD] CashCard. Send Cash Via Credit Card + Admin Xfer Logs

Doesn't:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Have to be:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

You spelled creditxferlogs wrong and what I can see within the mod it inserts the data into creditxferlogs.

Link to comment
Share on other sites

Re: [MOD] CashCard. Send Cash Via Credit Card + Admin Xfer Logs

Quick Update.....

Open up your Viewuser.php look for this line

print "[Bank Xfer]

and overwrite it with this one

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

This will let your users send money via their Profile page...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...