Ability to eliminate “any weblog” from advance search
Posted: 20 June 2004 08:32 PM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  109
Joined  03-26-2002

In the advance search form, the select box displays “any weblog” as a search option by default. This is inconsistent with the ability to restrict the search via the weblog tag as it returns results from all weblogs rather than those desired.

Profile
 
 
Posted: 21 June 2004 10:00 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  271
Joined  05-14-2004

I’d like to second this! Having a way to completly seperate weblogs in all regards, search, referrer etc ...

I didn’t realise that the Any Weblog option would allow it to search all weblogs, even if I’ve removed one from the list ... I have a private blog I’d like to stay private.

 Signature 

Blogroll.org

Profile
 
 
Posted: 17 August 2004 01:36 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  598
Joined  04-12-2003

is there any update on this?  are there plans to fix this in the next release? 

 Signature 

burp.

Profile
 
 
Posted: 17 August 2004 01:42 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

I don’t know how to remove “any weblog” but if you exclude a weblog from the search entries from that search will _not_ show up when searching with any weblog selected.

I just tested this to be sure. =)

 Signature 
Profile
MSG
 
 
Posted: 17 August 2004 01:43 PM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

entries from the excluded weblog will not show up, that is. =)

 Signature 
Profile
MSG
 
 
Posted: 17 August 2004 04:23 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  598
Joined  04-12-2003

True, but I’d just as soon not have the “any weblog” option.  I’d also like to be able to get rid of the “any category”, because I might have a site with only 1 category, or no categories at all.

What I’d ultimately like to see is the ability to customize the search page like you can the weblog publish page, by showing or hiding its sections via the control panel. 

AFTER the photogallery module is finished, that is.  smile

 Signature 

burp.

Profile
 
 
Posted: 17 August 2004 04:25 PM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

I’m so happy you said that last line. *grins*

 Signature 
Profile
MSG
 
 
Posted: 17 August 2004 04:34 PM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  598
Joined  04-12-2003

Yeah, I’m pretty anxious for that one.  My hobby is photoshop contests, and I’m dying to use EE to archive all my contest entries. 

 Signature 

burp.

Profile
 
 
Posted: 17 August 2004 11:42 PM   [ Ignore ]   [ # 8 ]  
Lab Assistant
RankRank
Total Posts:  109
Joined  03-26-2002

Hey, I’m sure you guys meant ...

AFTER the community blog module is finished, didn’t you?

Profile
 
 
Posted: 18 August 2004 10:05 AM   [ Ignore ]   [ # 9 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  271
Joined  05-14-2004

In my 1.1 install the search and advanced search pages (even when “Any weblog” is specified) no longer return entries from a blog I had hidden with a NOT= switch.

Which is absolutely fantastic news, as I had removed the entire search feature until then.

 Signature 

Blogroll.org

Profile
 
 
Posted: 18 August 2004 10:10 AM   [ Ignore ]   [ # 10 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  598
Joined  04-12-2003

i’m glad that works, but i’d still like the option to eliminate the “any weblog” and “any category”,  or eliminate the weblog and category selectors from the page altogether. 

 Signature 

burp.

Profile
 
 
Posted: 18 August 2004 03:43 PM   [ Ignore ]   [ # 11 ]  
Lab Assistant
RankRank
Total Posts:  109
Joined  03-26-2002

I agree. Especially since my “categories” are NOT “weblogs” (often a derogatory term in commercial design ... as has been well discussed on this forum).

Profile
 
 
Posted: 18 August 2004 04:22 PM   [ Ignore ]   [ # 12 ]  
Grad Student
Rank
Total Posts:  31
Joined  12-08-2002

If you know php and html, you could try to modify a few lines of code.  BIG CAVEAT: my server is down right now, have not tested!  (Of course, back up files first ...). 

The search code appears to be isolated to mod.search.php in the search module file.  If you open mod.search.php, search for the phrase “search_any_weblog” and you’ll see the code.

If you want to eliminate “any weblogs” for all you EE sites, you can modify the module code and comment out the line that outputs that html line, and initalize the string ($weblog_names) to “”.  You may also want to set another option as default, and check that there is at least one weblog when building the list. 

If you don’t want to eliminate the “any weblogs” you could put at the bottom of the select list (and select another option as default).

You can also change the wording of “any weblogs” in the language array (or whatever it’s called).  Check out lang.search.php in the language directory for the variable “search_any_weblog”.

I seem to be limited on how much “code” I can post, so these are just rough directions.


M.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64535 Total Logged-in Users: 25
Total Topics: 81113 Total Anonymous Users: 22
Total Replies: 436433 Total Guests: 202
Total Posts: 517546    
Members ( View Memberlist )
Newest Members:  marlusbluespotmusicvolandspinhirnetheminiokostiamasterjeMBossbchaleyalvonsius