PDA

View Full Version : Member Search on Search Drop Down


Exitilus
28 Sep 2006, 03:29
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
28 Sep 2006, 03:36
For the curious, here's a Image.

Comalies
28 Sep 2006, 12:10
This could be really useful...

Quarterbore
28 Sep 2006, 19:41
What is in the "Advanced" member search?

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

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

ztempuser
02 Oct 2006, 05:51
great fast edit
handy, and small:)

AzH
21 Oct 2006, 16:41
Which template please?

Muellmann
21 Oct 2006, 21:06
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
24 Oct 2006, 00:00
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
26 Nov 2006, 14:32
I love this but it throws my borders off :(

Exitilus
26 Nov 2006, 16:01
how does it throw them off ?

sunnycher
26 Nov 2006, 16:16
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
26 Nov 2006, 16:54
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
26 Nov 2006, 23:29
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
27 Nov 2006, 02:01
installed and looks great!

Trana
27 Nov 2006, 03:48
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
27 Nov 2006, 04:06
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
28 Nov 2006, 13:28
I am receiving this.. Uncached templates: member_searchform (1) ... Is there a fix for this?

Exitilus
28 Nov 2006, 16:36
Verify that the template exists :)

katholic
28 Nov 2006, 17:02
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
28 Nov 2006, 18:15
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
28 Nov 2006, 21:35
Still doing it.

katholic
29 Nov 2006, 10:12
That fixed it... Thanks!

Exitilus
29 Nov 2006, 17:13
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
29 Nov 2006, 23:47
Anytime... I installed the upgrade and no problems to report =)

Exitilus
30 Nov 2006, 06:19
Good to hear :)

Saulie
30 Nov 2006, 16:12
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
30 Nov 2006, 20:41
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
01 Dec 2006, 11:15
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
02 Dec 2006, 17:53
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
02 Dec 2006, 19:27
LOVE IT! Thank you!! Works great now :) I appreciate the fix very much!

Saulie
05 Dec 2006, 17:05
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
06 Dec 2006, 15:38
Installed, this is going to be very useful on my site. Thanks for the mod!

grecostimpy
15 Dec 2006, 19:22
Hmmm...mine does not work on the CMPS as well. Otherwise, great hack.

TheMilkCarton
11 Feb 2007, 19:36
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
11 Feb 2007, 20:01
Lemme take a look :) I'll edit this post once I'm done.

Fixed :) Setting the Update

TheMilkCarton
11 Feb 2007, 20:37
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
11 Feb 2007, 20:54
Makes sense since that is the Variable used. I was never really too concerned about getting it to work with vba heh ....

adwade
13 Feb 2007, 14:28
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
14 Feb 2007, 03:17
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
28 Mar 2007, 09:09
clicked install :-)

hkvic
02 Jul 2007, 14:41
Many thanks. A really useful addition to my site. Installed.

dackdigital
02 Jul 2007, 16:56
gracias istalado.

Alfa1
02 Jul 2007, 22:47
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
08 Jul 2007, 22:21
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
11 Jul 2007, 16:40
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
18 Sep 2007, 00:32
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
18 Sep 2007, 01:46
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
11 Jan 2009, 04:36
This works well on vb 3.7 and 3.8
Still does not work on vbadvanced.

Alfa1
24 Jun 2010, 20:59
Doenst seem to work on vb 3.8.5 anymore.

Alfa1
29 Jun 2010, 16:37
Does anyone know how to fix this for vb 3.8.5?

ricardoNJ
03 Aug 2010, 23:19
is the any version for 3.8.4?