SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 25, 2012, 06:35:16 am

Login with username, password and session length
Members
Total Members: 10073
Latest: makablue
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 81
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 61
Total: 61
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Two requests  (Read 1828 times)
TWD
Newbie
*
Offline Offline

Posts: 6


View Profile
« on: March 09, 2007, 03:15:59 pm »

Actually, one of them (#2) might be a bug of sorts.

#1 - The keywords feature is AWESOME.  Thank you for including it.  On my football site, I'm able to use the players' last names as keywords and their mommies and daddies don't have to bother looking at anybody other than their son.  Wink  However, I'd like it if those keywords somehow formed a sort of "virtual category" when they're used.  As it is, if I click on the keyword "Ray," I'll get all of the thumbnails of Ray.  So I click on one of them and look at the picture.  But the previous | next buttons don't go to the p|n picture of Ray.  The go to the p|n picture in the category/subcategory that Ray's picture happened to be in.  Hope you know what I'm saying.  Could this be accomplished by making the keyword query dump image numbers into an array or something?

#2 - Also with keywords.  I just noticed that the return set isn't limited to the keyword itself, but to any word that contains the keyword.  Again using "Ray" as I keyword, if I click on it I'll get thumbnails of Ray....and of Bray, and of Gray and of Monterray, etc.  Is there a quick fix for this?

Thanks.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #1 on: March 09, 2007, 03:40:29 pm »

#2
Have a fix for
Code:

if($searchkeywords)
{
if($s1 == 1 || $s2 == 1)
$searchquery .= " OR p.keywords LIKE '%$searchfor%'";
else
$searchquery = "p.keywords LIKE '%$searchfor%'";
}
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 24, 2012, 08:02:50 am]

[May 24, 2012, 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.699 seconds with 21 queries.