Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced Search w/Member Conditions Details »»
Advanced Search w/Member Conditions
Version: 1.00, by Velocd Velocd is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 02-27-2004 Last Update: Never Installs: 9
 
No support by the author.

This hack was requested by Bill Thebert, originally in the service forum, but I've decided to release it no-charge on vBulletin.org.

The idea is simple, and quite unique. From the AdminCP, currently you can set certain member profile fields to be used as conditions via the member list search page.

Well, that's good if you are looking for members. What if you want to find posts by members who have those profile fields?

This hack will allow you to search for exactly that.

A new option via the edit profile fields page in your AdminCP will allow you to set a field to "Searchable via Advanced Forum Search," and then that field will be open as an optional condition on the advance forum search.

For more clarification, see the screenshots attached.

It's very easy and quick to install. :up:

Notes
  • Caching is not enabled (the process of retreiving/storing searches in the database), because profile field conditions are almost limitless, there isn't much a need. Only when one provides values for the profile fields, is caching disabled.
  • Read these instructions carefully! There are many steps, and you don't want to mix them up. When it says above, place above! When it says below, place below! And for replacing, be sure to replace!

Enjoy the modification.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-28-2004, 11:15 PM
Giveit2u43 Giveit2u43 is offline
 
Join Date: Jun 2003
Location: Liverpool
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Looking/Working Hack, congratulations for releasing it for free in a world when increasingly it seems to be "all about the money"..
Reply With Quote
  #3  
Old 02-29-2004, 01:48 AM
azher azher is offline
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A great hack, I'll definitely be installing this one.

Shouldn't this be under VB3 full releases instead of VB2?
Reply With Quote
  #4  
Old 02-29-2004, 04:44 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:|

I must have been tired, or something. (I thought vB2 hacks weren't supported now, anyhow)

Ah well.
Reply With Quote
  #5  
Old 02-29-2004, 03:38 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll move it for you
Reply With Quote
  #6  
Old 03-02-2004, 04:18 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope it's not too hard coded, how much it takes to install?
Reply With Quote
  #7  
Old 03-02-2004, 06:00 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gmarik
I hope it's not too hard coded, how much it takes to install?
It's not hard to install at all.

Try it on a test board, and see for yourself.

The majority of the file edits are in search.php. When you upgrade your forum and replace files, just redo the file-edits for this hack.
Reply With Quote
  #8  
Old 03-14-2004, 09:44 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Small add-on.

If you would like to search for unlimited posts from specific members by providing nothing in the subject keyword field, then do the following.

In search.php, find:

PHP Code:
    if (empty($query) AND empty($searchuser) AND empty($replyless))
    {
        eval(
print_standard_error('searchspecifyterms'));
    } 
And move it under the following:
PHP Code:
if ($condition == "1=1")

Save, and you're done.
Reply With Quote
  #9  
Old 05-25-2004, 04:51 AM
Balthazar's Avatar
Balthazar Balthazar is offline
 
Join Date: May 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello,

i am wondering if it is possible for this hack if you could search by member id# ? search just using the members id, for example search for user id 1 , then that would bring up the first user that signed up or the admin of the forum, is this possible? or does this hack have this already? thank you!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05423 seconds
  • Memory Usage 2,281KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete