PDA

View Full Version : Member Search on Search Drop Down


Exitilus
09-27-2006, 10:00 PM
What is This?

This Product / Mod will add a Member Search Drop Down (And Link to Advanced Member Search) to the Navbar Search Dropdown

Installation

Just Import / Install the Product :D

vbAdvanced Setup(Thanks to TheMilkCarton)

Portal Output Global Variables:

member_searchform

Exitilus
09-28-2006, 02:36 AM
For the curious, here's a Image.

Comalies
09-28-2006, 11:10 AM
This could be really useful...

Quarterbore
09-28-2006, 06:41 PM
What is in the "Advanced" member search?

SCRIPT3R
09-28-2006, 07:25 PM
What is in the "Advanced" member search?
it appears to be the default Member Search page.

Exitilus
09-28-2006, 08:47 PM
Yup. It's the page where you can specify what you want to search for instead of just username.

ztempuser
10-02-2006, 04:51 AM
great fast edit
handy, and small:)

AzH
10-21-2006, 03:41 PM
Which template please?

Muellmann
10-21-2006, 08:06 PM
Which template please?
navbar

but it brings a blank screen for every search
I just needed to modify it that it works so I can't click install yet

Exitilus
10-23-2006, 11:00 PM
Should just work out of the box unless there has been customizations already done to the search function (or something in Navbar Template interferring)

sunnycher
11-26-2006, 01:32 PM
I love this but it throws my borders off :(

Exitilus
11-26-2006, 03:01 PM
how does it throw them off ?

sunnycher
11-26-2006, 03:16 PM
If you look at my site, www.lgpphotographers.com,
the nav bar? When I installed this, it made the nav bar wider than the rest of the forum, through the borders, kwim?
I'd like to keep it within the borders, as wide as the rest of the forums/header.

Exitilus
11-26-2006, 03:54 PM
would you happen to have a temporary log in I could use? Doesn't have the search option.

I'm also working on making this a product as well. (Which would include how it works) But I'd still like to see what it does to your site :)

Exitilus
11-26-2006, 10:29 PM
I've updated this as a product. Hopefully it'll work better. It seems to be working 100% on my site so hopefully ... *lol*

thepub
11-27-2006, 01:01 AM
installed and looks great!

Trana
11-27-2006, 02:48 AM
Nice, but it doesn't show up on my navbar in my CMPS index page, only things below /forum/.

Also, the columns don't span properly so there is a little bit of extra space.

Exitilus
11-27-2006, 03:06 AM
Nice, but it doesn't show up on my navbar in my CMPS index page, only things below /forum/.

Also, the columns don't span properly so there is a little bit of extra space.

Hmm works fine with my CMPS.

As for the columns. It could be due to the fact there is differences between the versions and the Input Search Size. In some I see it's 20 in others 25. What you can do is check in your navbar Template and see what the size is for. (See below)


<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>

katholic
11-28-2006, 12:28 PM
I am receiving this.. Uncached templates: member_searchform (1) ... Is there a fix for this?

Exitilus
11-28-2006, 03:36 PM
Verify that the template exists :)

katholic
11-28-2006, 04:02 PM
The template is there yes with this script...

<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Member Search</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="memberlist.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="getall" />
<div><input type="text" class="bginput" name="ausername" size="25" value="$ltr" title="$vbphrase[username]" />&nbsp;$gobutton</div>
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="memberlist.php?do=search$session[sessionurl_q]" accesskey="4" rel="nofollow">Advanced Member Search</a></td>
</tr>
</table>

Exitilus
11-28-2006, 05:15 PM
Try this Katholic. I'd suggest no one else try this until further notice. But this is a updated version that i think should cache the template

Edit: hmmm I'll look into the issue further

katholic
11-28-2006, 08:35 PM
Still doing it.

katholic
11-29-2006, 09:12 AM
That fixed it... Thanks!

Exitilus
11-29-2006, 04:13 PM
no problem. Thanks for being my guinea pig *lol* .. I'll release this version later on with some possible updates. When I do you may wanna update as well :)

katholic
11-29-2006, 10:47 PM
Anytime... I installed the upgrade and no problems to report =)

Exitilus
11-30-2006, 05:19 AM
Good to hear :)

Saulie
11-30-2006, 03:12 PM
I just installed the updated version and everything is fine however I am having the same problem as the person before, the member search doesn't display on my CMPS just the forum.

Also the background strip doesn't repeat to the end of the window like the forum search background does. It's hard to explain so I have added the image as an attachment.

Exitilus
11-30-2006, 07:41 PM
I just installed the updated version and everything is fine however I am having the same problem as the person before, the member search doesn't display on my CMPS just the forum.

Also the background strip doesn't repeat to the end of the window like the forum search background does. It's hard to explain so I have added the image as an attachment.

What CMPS do you use? I use vbAdvanced and it works fine. :)

Hmmm That's quite interesting .... What style are you using ?

Saulie
12-01-2006, 10:15 AM
What CMPS do you use? I use vbAdvanced and it works fine. :)

Hmmm That's quite interesting .... What style are you using ?

I am using vbAdvanced v2.2.1, if you want to have a look my site is www.emoth.com (http://emoith.com), don't see why it wouldn't work for it.

Trana
12-02-2006, 04:53 PM
I am using vbAdvanced v2.2.1, if you want to have a look my site is www.emoth.com (http://emoith.com), don't see why it wouldn't work for it.

Just as a side note, the diagonal line backgrounds and gradients makes it very difficult to view this page.

sunnycher
12-02-2006, 06:27 PM
LOVE IT! Thank you!! Works great now :) I appreciate the fix very much!

Saulie
12-05-2006, 04:05 PM
Just as a side note, the diagonal line backgrounds and gradients makes it very difficult to view this page.

I know, everyone has been telling me the same thing, even my mum =P. I am going to add an easy to read skin soon for those who might find it hard to read the titles and headigns on the site.

WtwSkippy
12-06-2006, 02:38 PM
Installed, this is going to be very useful on my site. Thanks for the mod!

grecostimpy
12-15-2006, 06:22 PM
Hmmm...mine does not work on the CMPS as well. Otherwise, great hack.

TheMilkCarton
02-11-2007, 06:36 PM
Anyone know how to make this work in vBadvanced? It only shows up in the dropdown on pages under /forums/.

I also have the width issue like Saulie, but it only appears in Safari, I believe.

Otherwise, great hack!

EDIT:

I figured it out. I wasn't sure what all variables are needed, so to be safe I added them all.

In vBa CMPS Default Settings add:

navbar_member_search
navbar_advanced_search
member_searchform

to the Portal Output Global Variables.

Exitilus: I'd recommend adding these instructions in the first post. :)

Edit #2:

Something's not working quite right on mine.. it doesn't redirect to /forums/ like it should when searching from your CMPS. Maybe it's just mine? Let me know.

Exitilus
02-11-2007, 07:01 PM
Lemme take a look :) I'll edit this post once I'm done.

Fixed :) Setting the Update

TheMilkCarton
02-11-2007, 07:37 PM
Awesome! Thank you for the credit. :)

It works like a charm now.

Edit:

I tested it out with just the "member_searchform" in the CMPS Global Variables, and it still works, so it looks like the other two variables aren't needed. You should test it out too to make sure. :)

Exitilus
02-11-2007, 07:54 PM
Makes sense since that is the Variable used. I was never really too concerned about getting it to work with vba heh ....

adwade
02-13-2007, 01:28 PM
Forgive me if this question is out of place here, but I was wondering if it would be possible to have this MOD search on an Additional Profile Field rather than a member name?

On our board (http://www.recumbentriders.org/forums/) we try and group users by State or Country, so it would be a GREAT MOD for us if we could get it to default search the STATE Profile Field each user has.

Is that something that's relatively simple, or pretty much impossible??

Exitilus
02-14-2007, 02:17 AM
I think it would be fairly easy to do by changing the search part of the form. The hard part is finding out the search syntax you would need.

phreak2010
03-28-2007, 08:09 AM
clicked install :-)

hkvic
07-02-2007, 01:41 PM
Many thanks. A really useful addition to my site. Installed.

dackdigital
07-02-2007, 03:56 PM
gracias istalado.

Alfa1
07-02-2007, 09:47 PM
Very nice. But how can I make the 'member search' block less wide? It's now wider than the 'search forums' block. And it looks out of place like this.

Exitilus
07-08-2007, 09:21 PM
Edit the search_memberform and locate

<div><input type="text" class="bginput" name="ausername" size="25" value="$ltr" title="$vbphrase[username]" />$gobutton</div>


Change the size to match what the Search Size is.

Alfa1
07-11-2007, 03:40 PM
That makes it much better, but does not solve it. The search boxes are now at the same size. There is no space between the box and the 'go' button. There should be 0.5 between them.

sunnycher
09-17-2007, 11:32 PM
I can't get this to work on my new style or my CMPS portal pages. I've done the suggested, any other fixes?

Alfa1
09-18-2007, 12:46 AM
Yes, vbadvanced handles the navbar in a different way than vbulletin. This is a bit annoying at times, but overall the vba team are very willing to find solutions. Please create a thread about this on www.vbadvanced.com/forum and post the link here. It might take some time before they respond.
I do not know about your new style, but it may be the same problem.

Alfa1
01-11-2009, 03:36 AM
This works well on vb 3.7 and 3.8
Still does not work on vbadvanced.

Alfa1
06-24-2010, 07:59 PM
Doenst seem to work on vb 3.8.5 anymore.

Alfa1
06-29-2010, 03:37 PM
Does anyone know how to fix this for vb 3.8.5?

ricardoNJ
08-03-2010, 10:19 PM
is the any version for 3.8.4?