Author Topic: Max lenght of keywords  (Read 6273 times)

0 Members and 1 Guest are viewing this topic.

Offline MrAndrew

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
    • Aviation PhotoBase
Max lenght of keywords
« on: March 14, 2010, 02:47:43 PM »
Good Day

When i use words "Cologne Bonn (Konrad Adenauer Wahn) (CGN/EDDK)" in upload field, it`s very long and search result can`t find it.

How can i add more long keyword lenght to the field or do it searchable?

Thanks for helps!

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Max lenght of keywords
« Reply #1 on: March 14, 2010, 04:09:20 PM »
... in includes/constants.php find ...

define
('MAX_SEARCH_KEYWORD_LENGTH'25);

... and change the number for length to your needs ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Rembrandt

  • Guest
Re: Max lenght of keywords
« Reply #2 on: March 14, 2010, 07:39:43 PM »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Max lenght of keywords
« Reply #3 on: March 14, 2010, 09:51:47 PM »
also unless you've modified your 4images somehow, you can't use spaces in the keywords, 4images uses space to split the keywords.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline MrAndrew

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
    • Aviation PhotoBase
Re: Max lenght of keywords
« Reply #4 on: March 14, 2010, 10:54:29 PM »
Thanks so much! Spaces and lenghts works done! Wounderful! Hacked!  :D Many thanks, Guys!

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Max length of image name??
« Reply #5 on: March 15, 2010, 10:19:49 PM »
Hi -

As long as we are on the subject of max length, does anyone know if there is a setting for the length of the image name?

If the names get too long, the template expands way too wide for our website.

Thanks,

Brian