Forum search funk

Status
Not open for further replies.

Monty

New User
Monty
Part of the photopost random block installation seems to have somehow creeped into the forum search function. Open the "advanced search" page and take a look at the Key Words box. The $query that is used for the random photo block (in /pp/inc-features.php) is entered as default text there (that search template also uses the variable $query):

SELECT p.id,p.user,p.userid,p.cat,p.bigimage,p.height,p.width,c.catname,c.photos,c.posts
FROM pp_photos p
LEFT JOIN pp_categories c ON c.id = p.cat
ORDER BY RAND()

Something ain't quite right... :BangHead:
 
Status
Not open for further replies.

Premier Sponsor

Our Sponsors

LATEST FOR SALE LISTINGS

Top