Cronwerks MCCode/MCCodes Forums

Please login or register.

Login with username, password and session length

News:

Have you purchased a mod and lost your copy? Just file a support ticket through your "My Mods" page.


This forum is now closed and has moved to a new location! Click here to find out why.

AuthorTopic: Add remove item from shop  (Read 395 times)

FrankWiccan

  • Basic Member
  • *
  • Reputation Power: 25
  • FrankWiccan has no influence.
  • Offline Offline
  • Posts: 40
    • View Profile
Add remove item from shop
« on: October 31, 2009, 10:36:38 PM »
several time while adding an item into a shop in the wee hours of the morning I would accidentaly add an item twice
this would cause the item to be listed twice and I would have to delete the item and then remake it and re add it to put it back in (only this time once)
would be nice if they would add a Remove item from shop option in the admin shop menu :)
perhaps in ver 3 :D
Logged

gambino

  • Active Member
  • **
  • Reputation Power: 0
  • gambino is looked down upon.gambino is looked down upon.gambino is looked down upon.
  • Offline Offline
  • Posts: 113
    • View Profile
Re: Add remove item from shop
« Reply #1 on: October 31, 2009, 10:45:56 PM »
without just deleting the item and recreating, that is actually flooding your database. web owners have an option on removing it from the shop by accessing phpmyadmin panel. go into your database where all information is stored and find the tab called shopitems. at this time, you will find the shop ID, and item ID. you will find the same item in the same shop 2 times so just click on the X and it will be gone out of there. this would also not give you internal errors.

by doing the way you are now, you will create an over load in the server and cause a 503 internal error. it's not that bad but it can lock you out of the server till the server does a restart or just buffers a little bit more so it is back online.

if you want someone to code it, I can code it for you but for a price.
Logged
 


This forum is now closed and has moved to a new location! Click here to find out why.