Alla clone zone items list

Got a problem or suggestion?
User avatar
Kiowa
Posts: 131

Re: Alla clone zone items list

Post#11 » Tue Sep 01, 2009 7:40 am

do a erg_replace() function to replace ' in the search field with \'\ to escape it. course my knowledge of php is like 7 years old and havent really looked at it in a long time.

User avatar
Shin Noir
Posts: 380

Re: Alla clone zone items list

Post#12 » Tue Sep 01, 2009 7:55 am

pretty much what i was going to do. But I have to go in the files and look for each instance of a search query and ensure it works afterwords etc, hence will be on todo. :P

Also does the "main generic search" text box on the top left work for anyone? I press enter and it doesn't submit my query. Guess I should fix that too eventually here.

Note to self: Also make a pretty custom logo/picture for top header of our alla clone so it is more customized.
ImageImage

User avatar
Topsy
Posts: 517
Contact:

Re: Alla clone zone items list

Post#13 » Wed Sep 02, 2009 3:09 am

Here is how to add the slot field...

on line 84 change of zone.php

Code: Select all

    $query="SELECT $tbitems.id,$tbitems.name,$tbitems.itemtype,$tbitems.bagslots,$tbitems.augtype


to

Code: Select all

    $query="SELECT $tbitems.id,$tbitems.name,$tbitems.itemtype,$tbitems.bagslots,$tbitems.augtype,$tbitems.slots


on line 102 after

Code: Select all

 else { $itemtypes[$res["id"]]=$dbitypes[$res["itemtype"]]; }
      }

add

Code: Select all

     //added by Topsy
     if($res["slots"]>0) {
      $slots[$res["id"]] = strtoupper(getslots($res["slots"]));
      } else {
      $slots[$res["id"]]="NONE";
      }


on line 114 after

Code: Select all

         <td class=tab_title><a href=$PHP_SELF?name=$name&mode=items&order=itemtype>Item type</a></td>

add

Code: Select all

       <td class=tab_title>Slot</td>


on line 132 after

Code: Select all

           <td>".$itemtypes[$id]."</td>

add

Code: Select all

         <td>".$slots[$id]."</td>

User avatar
Shin Noir
Posts: 380

Re: Alla clone zone items list

Post#14 » Wed Sep 02, 2009 4:37 am

I threw this up REALLY quick but, if you replace images/header.gif with this file, you can have the title as shown :)

Image

Right click image, save as.. header.gif

It is of course open to be tweaked as you want. :P Original Alla logo had more yellow to it.
ImageImage

User avatar
Topsy
Posts: 517
Contact:

Re: Alla clone zone items list

Post#15 » Wed Sep 02, 2009 6:28 am

nice shin... makes we wanna load up photoshop again :)
style=' border-width: 3px;
border-spacing: 2px;
border-style: double;
border-color: rgb(255, 204, 51);
border-collapse: collapse;'/>




*~{ Topsy Crits }~*



User avatar
Lillu
Posts: 11301
Contact:

Re: Alla clone zone items list

Post#16 » Wed Sep 02, 2009 3:20 pm

Thanks, everyone feel free to contriute with any logo/design we can use for THF :)

User avatar
Lillu
Posts: 11301
Contact:

Re: Alla clone zone items list

Post#17 » Wed Sep 02, 2009 9:02 pm

Slot field updated too, thanks Topsy

User avatar
Tyler
Posts: 4365

Re: Alla clone zone items list

Post#18 » Wed Sep 02, 2009 9:13 pm

what's with the nodrop selection fix?
Item Change -> Reload needed
Spell Change -> Reload AND new Spellfile needed

User avatar
Lillu
Posts: 11301
Contact:

Re: Alla clone zone items list

Post#19 » Wed Sep 02, 2009 9:27 pm

?

User avatar
Tyler
Posts: 4365

Re: Alla clone zone items list

Post#20 » Wed Sep 02, 2009 9:39 pm

Item Change -> Reload needed
Spell Change -> Reload AND new Spellfile needed

Return to “Website”

Who is online

Users browsing this forum: No registered users and 1 guest