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

Reply
 
Thread Tools
Details »»

Version: , by Hiroshimator Hiroshimator is offline
Developer Last Online: Jan 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-15-2001 Last Update: Never Installs: 5
 
No support by the author.

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-

Show Your Support

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

Comments
  #2  
Old 12-16-2001, 07:15 AM
Hiroshimator Hiroshimator is offline
 
Join Date: Nov 2001
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i forgot the attachment
Reply With Quote
  #3  
Old 01-05-2002, 08:53 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, now can you give a description on what it does so I can decide if I want to install it? Thanks.
Reply With Quote
  #4  
Old 01-08-2002, 01:29 PM
Hiroshimator Hiroshimator is offline
 
Join Date: Nov 2001
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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-
Reply With Quote
  #5  
Old 01-08-2002, 02:11 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

huh?
isnt this a standard feature?
Reply With Quote
  #6  
Old 01-08-2002, 08:05 PM
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by nuno
huh?
isnt this a standard feature?
Reply With Quote
  #7  
Old 01-18-2002, 04:14 PM
Scrooge Scrooge is offline
 
Join Date: Nov 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 01-18-2002, 04:23 PM
Scrooge Scrooge is offline
 
Join Date: Nov 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 01-18-2002, 09:11 PM
Shenlong's Avatar
Shenlong Shenlong is offline
 
Join Date: Nov 2001
Location: Manhattan, New York
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyway

you left the code tags in, so I removed them and the attachment is below
Reply With Quote
  #10  
Old 01-18-2002, 09:18 PM
Shenlong's Avatar
Shenlong Shenlong is offline
 
Join Date: Nov 2001
Location: Manhattan, New York
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 11:32 AM.


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.04865 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete