Announcement

Collapse
No announcement yet.

What feature would you like on EQTC.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Originally posted by KyrosKrane
    On the reverse recipe search (the page you get to when clicking "Find recipes that use this item"), would it be possible to add a title above the search results saying something like "Recipes that use Foobar"? This would be useful if a person bookmarks the page then forgets why they did it. Right now, the only way to figure out specifically what item is being searched on is to scan the ingredients list and try to figure it out manually. Making the name link back to the item itself would be gravy.
    I like it. This one is on my list.

    [/quote]On a related note (and I don't know if this is possible, given the way paging currently works), would it be possible to add a "page X of Y" thing to the "next 25" and "previous 25" buttons on that page?
    [/QUOTE]
    posible. it adds another hit to the db to do that though so... I am a bit leary.
    Ngreth Thergn

    Ngreth nice Ogre. Ngreth not eat you. Well.... Ngreth not eat you if you still wiggle!
    Grandmaster Smith 250
    Master Tailor 200
    Ogres not dumb - we not lose entire city to froggies

    Comment


    • Originally posted by Ngreth Thergn
      posible. it adds another hit to the db to do that though so... I am a bit leary.
      The reason I mention this is that oftentimes, I remember a partial name for an item, but not the full name. (This is particularly true with the new OoW augs. Previously, I had the same problem when searching through multiple recipes in a family like Heraldic or dyed Fine Plate.) I do a search and get a large number of matches. I remember the name is in the second half of the alphabet, but I can't just jump to halfway through the listings -- I have to go page by page. So in a way, adding the page X of Y thing might help reduce page hits.

      (thinks a bit)

      Urk. Just thought it through. You would then need links to the individual pages of search results, if it were to reduce the number of pages I'd scan in that situation.
      Sir KyrosKrane Sylvanblade
      Master Artisan (300 + GM Trophy in all) of Luclin (Veeshan)
      Master Fisherman (200) and possibly Drunk (2xx + 20%), not sober enough to tell!
      Lightbringer, Redeemer, and Valiant servant of Erollisi Marr

      Comment


      • Originally posted by KyrosKrane
        The reason I mention this is that oftentimes, I remember a partial name for an item, but not the full name. (This is particularly true with the new OoW augs. Previously, I had the same problem when searching through multiple recipes in a family like Heraldic or dyed Fine Plate.) I do a search and get a large number of matches. I remember the name is in the second half of the alphabet, but I can't just jump to halfway through the listings -- I have to go page by page. So in a way, adding the page X of Y thing might help reduce page hits.

        (thinks a bit)

        Urk. Just thought it through. You would then need links to the individual pages of search results, if it were to reduce the number of pages I'd scan in that situation.
        And that bit of coding wizardry, while I am sure is posible... would tax my pooor little brain I can think of it for a future change, but it would be low priority
        Ngreth Thergn

        Ngreth nice Ogre. Ngreth not eat you. Well.... Ngreth not eat you if you still wiggle!
        Grandmaster Smith 250
        Master Tailor 200
        Ogres not dumb - we not lose entire city to froggies

        Comment


        • Hum ... pagination schemes for database results are a very common item. I'm sure you can find some pre-written code that would be adapted easily to what you have.

          (thinks a bit and browses the site some)

          Actually, I think you already have all the info you need to add pagination. The fact that the result pages are already in 25-result chunks tells me you've already done the hard work. All you need is one additional variable to store the total number of pages. Then you just use a loop to constuct the links directly.

          Here's an example. I'll walk you through how I derived the info.

          Go to the main search page, and search for 'heraldic'. You will get back a list of 108 items, and the first 25 are on that page. Here's the link for the 'next 25' link (items 26-50) as it exists now:

          http://www.eqtraders.com/search/sear...r=035000000000

          The fact you can generate that link tells me you have the following info:
          • 'data[item]' stores the search term
          • 'min' stores the first item index to display, with the first result having index 0. So, page one has results 0-24, page 2 has 25-49, and so on.
          • 'hits' stores the total number of results.


          You already know how many results you have. Here's the code you would need to generate links to each result page. I've tried to debug it, but I'm not a PHP pro, so this may be a bit buggy.

          PHP Code:
          $NumPagesNeeded = ceil($hits / 25.0);
          
          for ($Counter = 0; $Counter < $NumPagesNeeded ; $Counter++)
          {
              if ($Counter > 0) 
              {
                  // Adds a divider between page links.  
                  // Only prints if we're creating the link for the second page or later in the results.
                  echo ' - ';
              } // end if
          
              // Create the link to the search page.
              $Link = 'http://www.eqtraders.com/search/search.php?data[item]=' . $SearchTerm . '&min=' . $Counter * 25 . '&hits=' . $hits . '&menustr=' . $MenuString;
          
              // Print the link
              echo '<a href="' . $Link + '">Page ' . ($Counter + 1) . "</a>";
          
          } // end for 
          
          The code for the reverse recipe search would be essentially identical; you just need to change the "$Link =" line to point to the reverse search page and include the extra info that page needs. Here's what the $Link line would look like for the reverse recipe search:

          PHP Code:
          $Link = 'http://www.eqtraders.com/search/reverse_recipe_search.php?item=' . $ItemCode . '&sb=' . $SearchBy . '&min=' . $Counter * 25 . '&hits=' . $hits . '&menustr=' . $MenuString; 
          
          Hope this helps.
          Sir KyrosKrane Sylvanblade
          Master Artisan (300 + GM Trophy in all) of Luclin (Veeshan)
          Master Fisherman (200) and possibly Drunk (2xx + 20%), not sober enough to tell!
          Lightbringer, Redeemer, and Valiant servant of Erollisi Marr

          Comment


          • It does. I just don't do that extra DB hit yet on the reverse recipe yet, but that is no big deal, just one more db hit. Thanks for the code. I do have to spend some time this week on EQ2 traders corner and getting it up and running, then I can worry more about aditional stuff for this site
            Ngreth Thergn

            Ngreth nice Ogre. Ngreth not eat you. Well.... Ngreth not eat you if you still wiggle!
            Grandmaster Smith 250
            Master Tailor 200
            Ogres not dumb - we not lose entire city to froggies

            Comment


            • Actually, you do have the query on the reverse recipe page too. You just don't display it visibly. When you do a reverse recipe search, the link for "Next 25" includes the "&hits=XX" parameter, so you already have the info. =)

              Good luck on the EQ2 site. =)
              Sir KyrosKrane Sylvanblade
              Master Artisan (300 + GM Trophy in all) of Luclin (Veeshan)
              Master Fisherman (200) and possibly Drunk (2xx + 20%), not sober enough to tell!
              Lightbringer, Redeemer, and Valiant servant of Erollisi Marr

              Comment


              • Ah cool. I did not hit the code and check... oops

                Insert tab A also known as "foot" into slot B also known as "mouth"
                Ngreth Thergn

                Ngreth nice Ogre. Ngreth not eat you. Well.... Ngreth not eat you if you still wiggle!
                Grandmaster Smith 250
                Master Tailor 200
                Ogres not dumb - we not lose entire city to froggies

                Comment


                • Originally posted by Cujoy
                  I know a very simple request and would be awesome for the rabid tradeskiller! How about a Firefox search engine plug in? I know someone has made one for Lucy and AllaKhazam's.
                  I made one for EQTrader. Ordinarily I loathe "extras" in a browser. One of firefox's bigger appeals to me is its lack of fluff. But that little search tab gets constant use from me.

                  There's one for lucy, allakhazam and illia here made by Stathol.

                  I chopped it up and took the EQTC small logo and shrunk it. Since it's all derivative work I'd feel uncomfortable presenting it as something I made so maybe one of the web gurus here can finesse or redo it.

                  Attached is a 2k zip file. Within are two files:
                  eqtrader.src: flatfile that defines the search (can open it in notepad or anything to peek)
                  eqtrader.png: .png graphic file of the logo

                  Extract those two files in your c:\program files\mozilla firefox\searchplugins directory. Close any open browser windows. That's it.

                  For those without firefox wondering what it does: In the upper right of a firefox browser is a drop-down list of search engines. I have Google, Illia's Beastiary, m-w.com, etc and now EQ Traders. Instead of going to the site and doing a search at one of them, you pick which search you want with the drop-down, enter the text and it goes straight to search results. The engine you last picked remains so it's often a matter of just going up and entering new text without going to eqtraders' home first.

                  Obviously this bypasses the main page since it goes straight to search results. If it's an issue for folks to bypass the home page it may not be welcome and you're free to nuke the attachment or whatever.
                  Attached Files

                  Comment


                  • Nope it is fine. My Caveat is.

                    Download at your own risk. EQTC is not responsible for the content of the download or any damage that may be done as a result of the download.
                    Ngreth Thergn

                    Ngreth nice Ogre. Ngreth not eat you. Well.... Ngreth not eat you if you still wiggle!
                    Grandmaster Smith 250
                    Master Tailor 200
                    Ogres not dumb - we not lose entire city to froggies

                    Comment


                    • Ok, THAT is cool. And by cool I mean "uberspiffy wonderful awesome pwnage I love it."

                      Buyer Beware caveats are of course good common sense... but honestly, this needs promotion to the EQTC community. ^_^. Firefox is THE best way to browse through a site like EQTC -- it is very common for me to have at LEAST 8 tabs open at once -- and having a search function for it is... is... spiffy beyond words.

                      /dance Gello.

                      -- Sanna
                      Mistress Tinkbang Tankboom - Ak'Anon, Tarew Marr
                      Gneehugging Chantaranga of the 66th Mez Break - AA:59
                      Assisted by Nakigoe Sennamida, Druidess of 65 Foraged Steamfont Springwaters - AA:8
                      Quartic, Darkie Wizzy of 52 Self-Snares - Best Crit: 1680.
                      [BK-210 // BR-250 // BS-203 // FL-200 // JC-240 // PT-200 // TL-200 ]---[ TK-179 // RS-182 // FS-165 ]-- Points: 1503/1750 -- Shawl: EIGHT and wearing it ^_^.
                      Icon by Kenshingentatsu

                      Comment


                      • I've notice the OoW fletched arrows indicate which grove size they're made from in their names. This is really handy. It would be nice if other items with the same name also had their names augmented with a clue as to which one it was. While working on pottery, I'd do a search for "unfired idol" and get about 15 items retuned all called "unfired idol". I'd have to click on each of them to find the particular diety I was looking for. Where this would be useful would be in items that are imbued, fletched arrows and bows, and enchanted/unenchanted jewelry.
                        -- Mewkus: 2100 dings on the server formerly known as Solusek Ro
                        try: Inventory/Flags/Spells tracker program - (sample output)

                        Comment


                        • seesing a tinkering section on the tradeskills would be awsome
                          I knew i shouldnt have lit that match....

                          Comment


                          • Originally posted by mewkus
                            I've notice the OoW fletched arrows indicate which grove size they're made from in their names. This is really handy. It would be nice if other items with the same name also had their names augmented with a clue as to which one it was. While working on pottery, I'd do a search for "unfired idol" and get about 15 items retuned all called "unfired idol". I'd have to click on each of them to find the particular diety I was looking for. Where this would be useful would be in items that are imbued, fletched arrows and bows, and enchanted/unenchanted jewelry.
                            That is an DB Admin's choice, no code changes needed on my side
                            Ngreth Thergn

                            Ngreth nice Ogre. Ngreth not eat you. Well.... Ngreth not eat you if you still wiggle!
                            Grandmaster Smith 250
                            Master Tailor 200
                            Ogres not dumb - we not lose entire city to froggies

                            Comment


                            • Originally posted by perryslots
                              seesing a tinkering section on the tradeskills would be awsome
                              huh?

                              http://www.eqtraders.com/recipes/rec...r=080120000000
                              Ngreth Thergn

                              Ngreth nice Ogre. Ngreth not eat you. Well.... Ngreth not eat you if you still wiggle!
                              Grandmaster Smith 250
                              Master Tailor 200
                              Ogres not dumb - we not lose entire city to froggies

                              Comment


                              • thanks for that link Ngreth, but i was looking for a guide like the ones the other tradeskills like smithing have

                                the lnk has good info-i just dont know where to start lvling my tinkering with a low budget and thats what i like about the guides

                                thanks for responding
                                I knew i shouldnt have lit that match....

                                Comment

                                Working...
                                X