PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
blith
Client


Joined: Jul 18, 2003
Posts: 977

PostPosted: Thu Jun 10, 2004 2:43 pm Reply with quote Back to top

It does not seem to work. Can a field be added to search by author? I think this would be a good addition to the downloads module...
View user's profile Send private message Visit poster's website
blith
Client


Joined: Jul 18, 2003
Posts: 977

PostPosted: Thu Jun 10, 2004 2:57 pm Reply with quote Back to top

please delete I explained better in next post. Thanks


Last edited by blith on Thu Jun 10, 2004 3:03 pm; edited 1 time in total
View user's profile Send private message Visit poster's website
blith
Client


Joined: Jul 18, 2003
Posts: 977

PostPosted: Thu Jun 10, 2004 3:02 pm Reply with quote Back to top

In downloads index find
Code:
$result = $db->sql_query("SELECT lid, cid, title, url, description, date, hits, downloadratingsummary, totalvotes, totalcomments, filesize, version, homepage FROM ".$prefix."_downloads_downloads WHERE title LIKE '%$query%' OR description LIKE '%$query%' ORDER BY $orderby LIMIT $min,$downloadsresults");

and add
Code:
name,
after
Code:
date,

and then add
Code:
OR name LIKE '%$query%'
after
Code:
OR description LIKE '%$query%'


then find
Code:
$fullcountresult = $db->sql_query("SELECT lid, title, description, date, hits, downloadratingsummary, totalvotes, totalcomments FROM ".$prefix."_downloads_downloads WHERE title LIKE '%$query%' OR description LIKE '%$query%' OR name LIKE '%$query%' ");
and add
Code:
OR name LIKE '%$query%'
after
Code:
OR description LIKE '%$query%'
View user's profile Send private message Visit poster's website
SmackDaddy
Involved
Involved


Joined: Jun 02, 2004
Posts: 268
Location: Englewood, OH

PostPosted: Thu Jun 10, 2004 3:15 pm Reply with quote Back to top

Does this work for articles too? I am finding that when I look at a news article written by someone.....and click "read more by" that author, I get a search page, but when I try and search, it always sends me to that empty search page over and over no matter which options I choose..... Sad Question


Last edited by SmackDaddy on Fri Jun 11, 2004 7:50 am; edited 1 time in total
View user's profile Send private message Send e-mail Visit poster's website
blith
Client


Joined: Jul 18, 2003
Posts: 977

PostPosted: Fri Jun 11, 2004 7:43 am Reply with quote Back to top

I am not sure. If you could find those same lines in the articles module then I am sure it would.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum