Jump to content
MakeWebGames

[mccode v2] Items Pic mod


Analog

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 82
  • Created
  • Last Reply

Top Posters In This Topic

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 4 weeks later...

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 ?

Link to comment
Share on other sites

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

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

Link to comment
Share on other sites

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

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:

Link to comment
Share on other sites

Re: [mccode v2] Items Pic mod

Why cant people SEARCH the forums before adding an already created Addon for a script..

Your layout looks clearer than mine though so im going to let you off lol

but you can find the original post here that also adds the itmpics to shops iteminfo and inventory...

http://criminalexistence.com/ceforums/index.php?topic=24996.0

Link to comment
Share on other sites

Re: [mccode v2] Items Pic mod

Why cant people SEARCH the forums before adding an already created Addon for a script..

Your layout looks clearer than mine though so im going to let you off lol

but you can find the original post here that also adds the itmpics to shops iteminfo and inventory...

http://criminalexistence.com/ceforums/index.php?topic=24996.0

Sorry I Did Not Know :)

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