• [Mod] Add a keyword list to the search form v.2 5 0 5 1
Currently:  

Author Topic: [Mod] Add a keyword list to the search form v.2  (Read 105118 times)

0 Members and 1 Guest are viewing this topic.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
[Mod] Add a keyword jump menu to search form
« Reply #15 on: March 02, 2003, 06:08:05 AM »
Sounds like you deleted it.  The screen shot was taken using the default, and therefore unmodified, search template.

Offline tradertt

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
[Mod] Add a keyword jump menu to search form
« Reply #16 on: March 02, 2003, 06:32:53 AM »


What will be the difference between keywords jump menu and keyword search link? How can I remove the Search Link if it is the same as the jump menu?

Do you think it could be sorted alphabetically? that is when you have time to do it of course :D

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
[Mod] Add a keyword jump menu to search form
« Reply #17 on: March 02, 2003, 02:39:57 PM »
.
« Last Edit: August 09, 2009, 01:08:48 AM by Ernesto Taseffa »

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
[Mod] Add a keyword jump menu to search form
« Reply #18 on: March 02, 2003, 05:46:44 PM »
Quote from: tradertt
What will be the difference between keywords jump menu and keyword search link? How can I remove the Search Link if it is the same as the jump menu?

Do you think it could be sorted alphabetically?

1. One is a drop-down jump menu, the other is a list of text links.
2. yes, they are the same.  If you don't want the text links, just don't put this line in your template
Code: [Select]
<td class="row1"><b>{lang_keyword_links}</b><br>{keyword_links}</td>
3. Try the mod.  The keywords are being sorted alphabetically. No change is needed.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
[Mod] Add a keyword jump menu to search form
« Reply #19 on: March 02, 2003, 05:48:39 PM »
Quote from: seffern
So there must been something changed in that template 4dark which is causing this. If someone can tell me where in the original files it is stored, I could try to copy it into the 4dark template...

Yep.  Those templates were originally designed for 4images 1.5.  You must go back to  the web site where you got that template. There you will find instructions in one of the forums on how to update the templates to work with 1.6 and 1.7.

Offline tradertt

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
[Mod] Add a keyword jump menu to search form
« Reply #20 on: March 02, 2003, 06:21:59 PM »
Quote from: Chris
Quote from: tradertt
What will be the difference between keywords jump menu and keyword search link? How can I remove the Search Link if it is the same as the jump menu?

Do you think it could be sorted alphabetically?

1. One is a drop-down jump menu, the other is a list of text links.
2. yes, they are the same.  If you don't want the text links, just don't put this line in your template
Code: [Select]
<td class="row1"><b>{lang_keyword_links}</b><br>{keyword_links}</td>
3. Try the mod.  The keywords are being sorted alphabetically. No change is needed.


Thanks man. I have installed it already but because I have not up my board thus unable to test. :D

Offline tradertt

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
[Mod] Add a keyword jump menu to search form
« Reply #21 on: March 02, 2003, 06:50:38 PM »
Is there any way I can put this DROP DOWN BOX in my main index.php page just beside the ADVANCE SEARCH button?

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
[Mod] Add a keyword jump menu to search form
« Reply #22 on: March 02, 2003, 07:14:13 PM »
.
« Last Edit: August 09, 2009, 01:08:25 AM by Ernesto Taseffa »

Offline tradertt

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
[Mod] Add a keyword jump menu to search form
« Reply #23 on: March 02, 2003, 07:16:56 PM »
Quote from: seffern
o.k., here we are:

If you use template 4dark, you have to add the following code in the search_form.html of 4dark at the place you want it to appear:

<tr>
            <td valign="top" class="row2"><b>{lang_search_by_username}</b></td>
            <td class="row2" valign="top">
              <input type="text" name="search_user" size="40" value="{search_user}" class="input" />
            </td>
          </tr>


Dirk


Sorry is this post meant for me?

Offline Ernesto Taseffa

  • Full Member
  • ***
  • Posts: 151
    • View Profile
[Mod] Add a keyword jump menu to search form
« Reply #24 on: March 02, 2003, 08:25:14 PM »
.
« Last Edit: August 09, 2009, 01:07:59 AM by Ernesto Taseffa »

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
[Mod] Add a keyword jump menu to search form
« Reply #25 on: March 02, 2003, 08:31:55 PM »
Quote from: tradertt
Is there any way I can put this DROP DOWN BOX in my main index.php page just beside the ADVANCE SEARCH button?

Please read the rest of this thread.  This question has already been asked and I have already answered it.

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Mod] Add a keyword jump menu to search form
« Reply #26 on: May 07, 2005, 12:10:34 PM »
is there a page out to have a look at?

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: [Mod] Add a keyword jump menu to search form
« Reply #27 on: May 07, 2005, 05:36:18 PM »
No there isn't and I had actually completely rewritten this mod and published version 2.0 before the hacker deleted it.  Version 2.0 is way better than the original mod here.  It lets you select multiple keywords to search.

I simply haven't had time to restore that lost mod.  I will try to do it this weekend.

Here is a sneak peak at what the mod does:

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [Mod] Add a keyword jump menu to search form
« Reply #28 on: May 07, 2005, 08:42:37 PM »
Quote
simply haven't had time to restore that lost mod.  I will try to do it this weekend.

I will wait for it :)
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: [Mod] Add a keyword list to the search form v.2
« Reply #29 on: May 08, 2005, 03:26:53 AM »
FYI:

I have reposted version 2.0 of this mod. -  Enjoy !