Jump to content
MakeWebGames

Recommended Posts

Posted

ok in itemmarket.php find this line

 

You're unable to view this code.

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

 

and under it put this

 

You're unable to view this code.

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

 

then find

 

You're unable to view this code.

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

 

under it put this

 

You're unable to view this code.

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

 

then find

 

You're unable to view this code.

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

 

next to $link put $del like this

 

You're unable to view this code.

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

 

then find

 

You're unable to view this code.

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

 

on top of it add this

 

You're unable to view this code.

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

 

thats it lol, any problems feel free to post it up here... all it does is add a function for the admins to delete the item from the item market instead of having to go into phpmyadmin (database) and finding the item to delete it.

Posted

Keep a positive mind-set and anything is achievable. If you don't understand something Google it, find out which functions you need to use and find out about them. Work through everything, and at the end of the day you will a nice little modification as well as the nice feeling of learning something.

Posted

try this mate, (ive never tried to code in sprintf... so dont blame me if it doesnt work. this my first attempt... lol)

ive probably edited this post few times to try and get it right lol. (not tested tho)

 

You're unable to view this code.

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

Posted

I got it figured out. It was on my hosts side. They were doing maint when I loaded the script. Below is the only error I get now

 

Fatal error: Call to undefined function item_delete() in /home/church/ml/public/itemmarket.php on line 30

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...