Jump to content
MakeWebGames

Recommended Posts

Posted

This was requested for version 2, changes to 2 files...staff_items.php, iteminfo.php....

If you would like others, reply and I'll add them when time allows

--------------------------------

BACKUP YOUR FILES BEFORE MAKING ANY CHANGES

--------------------------------

Create a new directory (folder) in your root, name it itmpics

Run this sql:

You're unable to view this code.

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

 

Open staff_items.php

Find:

You're unable to view this code.

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

 

After add:

You're unable to view this code.

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

 

Find:

You're unable to view this code.

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

 

Replace with:

You're unable to view this code.

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

 

Save staff_items.php

Open iteminfo.php

Find:

You're unable to view this code.

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

 

Replace with:

You're unable to view this code.

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

 

Save iteminfo.php

Upload files.

Thats all Folks!

--------------------------------

Usage notes:

1. All item pic files must be uploaded to the itmpics directory

2. When inputing the item pic info in the create item form only use the filename.ext...IE...img.jpg, pic.gif, etc...

  • Replies 82
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Re: Items Pic mod [v2]

To add to edit item...

Must have already done the first part of this mod

Open staff_items.php

Find:

You're unable to view this code.

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

 

After Add:

You're unable to view this code.

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

 

Find:

You're unable to view this code.

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

 

Replace with:

You're unable to view this code.

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

 

Save staff_items.php

Upload to server

 

 

To be used for future file mods

Posted

Re: Items Pic mod [v2]

i'm having trouble getting this to work, i was wondering if someone would mind uploading their "staff_items.php" "iteminfo.php" for me

Posted

Re: Items Pic mod [v2]

 

i'm having trouble getting this to work, i was wondering if someone would mind uploading their "staff_items.php" "iteminfo.php" for me

Sorry, this code is not open source and should not be uploaded. The instructions are simple and tell you exactly where to place everything. Follow them from top to bottom and there shouldn't be any problems.

Posted

Re: Items Pic mod [v2]

lol ..

Aside from the folder for the images ...

Thats exactly how I put this in on my game 2 weeks ago !!

Still I understand that when you want to do something .. chances are .. the changes you make .. are going to look just the same as someone else's ...

I personally put the item pics on the inventory too ..

Posted

Re: Items Pic mod [v2]

 

lol ..

Aside from the folder for the images ...

Thats exactly how I put this in on my game 2 weeks ago !!

Still I understand that when you want to do something .. chances are .. the changes you make .. are going to look just the same as someone else's ...

I personally put the item pics on the inventory too ..

I've seen it with pics in several different places. I don't even use this, someone had asked me too convert a similar mod from v1 to v2...

  • 4 weeks later...
Posted

Re: Items Pic mod [v2]

Hi just wondering does this mod work for the image on any page that has an item... ?

I followed your coding to the letter T and its acknowlidging the pics fine when i call for them in the itmspic folder. But they just dont seem to be appearing in the weapons, Armory shot list. They only appear if i Buy the item and click on the Info in my Inventory list...

How do i make it so its visible in all locations that has the weapons or items ?

Posted

Re: Items Pic mod [v2]

 

This was requested for version 2, changes to 2 files...staff_items.php, iteminfo.php....

If you would like others, reply and I'll add them when time allows

--------------------------------

BACKUP YOUR FILES BEFORE MAKING ANY CHANGES

--------------------------------

Create a new directory (folder) in your root, name it itmpics

Run this sql:

You're unable to view this code.

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

 

Open staff_items.php

Find:

You're unable to view this code.

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

 

After add:

You're unable to view this code.

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

 

Find:

You're unable to view this code.

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

 

Replace with:

You're unable to view this code.

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

 

Save staff_items.php

Open iteminfo.php

Find:

You're unable to view this code.

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

 

Replace with:

You're unable to view this code.

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

 

Save iteminfo.php

Upload files.

Thats all Folks!

--------------------------------

Usage notes:

1. All item pic files must be uploaded to the itmpics directory

2. When inputing the item pic info in the create item form only use the filename.ext...IE...img.jpg, pic.gif, etc...

Very very great mod, But the cost unfortunately now a day's to hire a good designer can be quite costly per image. Especially if your talking about getting item images like www.torncity.com from is0lation.

However, If I had the money I would defiantly be using this modification.

+1 for the idea!

-------------- ********* --------------

Visit my online game @ criminalcombat.com

-------------- *********---------------

  • 2 months later...
Posted

Re: Items Pic mod [v2]

why not just learn to make picture at you self ;)

but anyway can i get showet the picture on my inventory site ??

Posted

Re: Items Pic mod [v2]

i had problems with gettin the picture to show at all if your having that try this in iteminfo.php

You're unable to view this code.

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

Posted

Re: Items Pic mod [v2]

 

it worked fine for me :P

but i cant get it to show in inventory

yes thats my next step.. if i find a way i will post it for you BUT only if you have a afro like this guy >> :mrgreen:

  • 2 months later...
  • 4 weeks later...
Posted

Re: [mccode v2] Items Pic mod

Hi, nice mod!

I thought I could lend a hand with the item pics in inventory.

find in inventory

You're unable to view this code.

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

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

replace with this

You're unable to view this code.

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

save and upload

:wink:

Posted

add the same pic to shop

Thanks, and i have modify some by my own

u can also add the same pic to the shop, so ppl can see the item picture before they buy it

shops.php

You're unable to view this code.

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

 

:-)

replace the code with shops.php

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