Jump to content
MakeWebGames

Recommended Posts

Posted

It's been a while since i made a mod so i done one.

All i have done is made a simple change to the shops to show an item pic.

This is only for mccodes lite but you could covert.

 

Replace shops.php with this.

You're unable to view this code.

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

 

 

Add in PhpMyAdmin [mysql]ALTER TABLE `items` ADD `itmpic` TEXT NOT NULL[/mysql]

If you use the create item tool you will have to add the item pic add but i would just use PhpMyAdmin.

Posted

Good work but Argh!?!? Why sql?

You could just do this...

 

You're unable to view this code.

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

 

and name the image the item id and put them in a itmpics folder.

But else, good work. :)

Posted

A good start, But I encourage people to take the GRPG pop up window with the Item Definition upon "clicking it" and convert that to mccodes as well.

One of the few features I liked with GRPG i adapted a long while back.

 

I.E you have a shop, with item images, click on an item, a small javascript pop up box appears with a full tabled out item index of the particular item

 

Just looked nice, little fancy and free.

Convert some of GRPG mods into mccodes, it's a blasty blast :P

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