vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   members>adv search>user has homepage (https://vborg.vbsupport.ru/showthread.php?t=33251)

Hiroshimator 12-15-2001 10:00 PM

one of my members asked for this and I couldn't find it here so I thought I'd add it to the board. If it already exist: my bad :)

I searched for homepage and nothing came up.

in the memberlistsearch template add

Code:

<!-- addition_start: member has homepage -->
<tr>
        <td bgcolor="#1C5780"><normalfont><b>and member has a homepage: </b></normalfont></td>
        <td bgcolor="#1C5780"><normalfont><input type="checkbox" value="0" class="bginput" name="hashomepage" ></normalfont></td>
</tr>
<!-- addition_end: member has homepage -->

right before
Code:

<tr>
        <td bgcolor="#1D6AA0" colspan="2"><normalfont color="#EEEEFF"><b>Options</b></normalfont></td>
</tr>
<tr>

(you may have to change the color to keep them alternating :) )


and in the file memberlist.php add
Code:

if ($hashomepage!="")
        {
        $condition.=" AND LENGTH(user.homepage) > 7";
        }

right under
Code:

if ($usememberlistadvsearch) {
it's little and a bit stupid, I know but just in case anybody needs this... :zzz:

thx

-H-

Hiroshimator 12-16-2001 07:15 AM

i forgot the attachment :o

Gutspiller 01-05-2002 08:53 PM

OK, now can you give a description on what it does so I can decide if I want to install it? Thanks. :)

Hiroshimator 01-08-2002 01:29 PM

it just adds a little checkbox to the search, so that members can search on members that have a homepage. (my members are all programmers, they use it to watch each other pages :) )

sorry for the late reply

-H-

nuno 01-08-2002 02:11 PM

huh?
isnt this a standard feature? :confused:

Mystics 01-08-2002 08:05 PM

[QUOTE]Originally posted by nuno
huh?
isnt this a standard feature? :confused:

Scrooge 01-18-2002 04:14 PM

I wasn't sure this hack was what I was looking for until I installed it, but it is :) This hack adds a box in your member search to only include members with webpages. I was looking for something like this so I could just put up a link to it and call it Member Sites or something like that.

The post works with one problem. If the search covers more than one page it stops working. The first page returns only members with webpages, but when you go to the next page it stops working.

Scrooge 01-18-2002 04:23 PM

As I said above I wanted to make a link on my site to the results of this page. I thought it would be as easy as linking to a regular search result, but it isn't. How do I link to a result for a memberlist.php search? I want to link to the results of a search of "member has homepage" = yes and "number of records per page" = 500.

Shenlong 01-18-2002 09:11 PM

anyway

you left the code tags in, so I removed them and the attachment is below

Shenlong 01-18-2002 09:18 PM

Anyway, your settings to add to memberlist_search I edited, because they were your settings, I added the variables the user chooses, it is attached below, The only things I edited was taking the code tags out and also adding the variables as I mentioned above, so below is the version I reccomend:

have fun and goodluck installing


All times are GMT. The time now is 12:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01110 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete