Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Friendster Style Profile Fields: clickable, searchable, fun! Details »»
Friendster Style Profile Fields: clickable, searchable, fun!
Version: 3, by buro9 buro9 is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.5.3 Rating:
Released: 10-10-2005 Last Update: Never Installs: 22
Code Changes  
No support by the author.

No longer supported by the author.

Show Your Support

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

Comments
  #42  
Old 01-27-2006, 06:17 PM
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Location: North America
Posts: 737
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bumpdigity.

Anything new with this? I might look the code over so I'm gonna download it now.
Reply With Quote
  #43  
Old 03-22-2006, 03:38 AM
woofytalk woofytalk is offline
 
Join Date: Feb 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This question may be ridiculous. How can i remove the underline from the newly created links after implementing this hack?
Reply With Quote
  #44  
Old 03-22-2006, 11:23 AM
pcoskat pcoskat is offline
 
Join Date: Apr 2002
Location: atlanta
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What a brilliant hack! Brilliant, brilliant! My members will LOVE this.
Reply With Quote
  #45  
Old 03-23-2006, 03:27 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so does this work now?
Reply With Quote
  #46  
Old 03-29-2006, 05:57 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack and works perfectly! Thanks for sharing.

A few notes:

1- It even works in vb 3.0.x as it is. All you need to do is change

PHP Code:
$vbulletin->options 
as

PHP Code:
$vboptions 
in the hack code. (there are 2 instances, change both!) No other changes required.

2- If you can't make the hack work (in 3.0.x OR in 3.5.x), remember to set some of your user profiles fields as "searchable" in your admin cp. (admin cp/profile field manager/click profile field name/set "Field Searchable on Members List" as yes.
Reply With Quote
  #47  
Old 04-04-2006, 08:42 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another note:

I added this section:

PHP Code:
 elseif ($profilefield['type'] == 'radio' OR $profilefield['type'] == 'select')
{
 
 
$data unserialize($profilefield['data']);
foreach (
$data AS $key => $val)
{
$key++;
if (
$val== $profileLinks[$ii])
{
$radiovalue $key;
break;
}
}
 
if (
$profilefield['optional'] AND $radiovalue == '')
{
$radiovalue $profileLinks[$ii];
}
$profileLinks[$ii] = " <a href='".$vboptions['bburl']."/memberlist.php?".$vbulletin->session->vars['sessionurl']."do=getall&amp;".$profilefieldname."=".urlencode(trim($radiovalue))."'>".trim($profileLinks[$ii])."</a> ";

before
PHP Code:
 else 
{
$profileLinks[$ii] = " <a href='".$vboptions['bburl']."/memberlist.php?".$vbulletin->session->vars['sessionurl']."do=getall&amp;".$profilefieldname."=".urlencode(trim($profileLinks[$ii]))."'>".trim($profileLinks[$ii])."</a> ";

and it fixed a bug with radio and select profile fields.

This is for 3.0.x, NOT 3.5 though but I believe same fix should apply to 3.5 versions (but I did NOT test it!). However $vboptions parts in the code above should be $vbulletin->options. Obviously buro9 can advise better.
Reply With Quote
  #48  
Old 04-04-2006, 10:34 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would that work with the custom profile? or only the vb default?
Reply With Quote
  #49  
Old 05-21-2006, 10:14 AM
noonespecial noonespecial is offline
 
Join Date: Nov 2002
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work right with radio buttons.

I also pull out a few of my custom fields via $user[fieldx] - and doing this means they're not parsed with this code. Any way to fix this?
Reply With Quote
  #50  
Old 06-28-2006, 02:00 PM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah, i would love for this to work. i'm running 3.5.4 with a customized memberinfo template. i get this error, can anyone advise?

Parse error: parse error, unexpected $ in /home/usedhiph/public_html/member.php on line 681
Reply With Quote
  #51  
Old 06-29-2006, 05:01 PM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HR3rdGen
worked for reverted template here too, so the question remains, how to make it work with modified template?
has anyone came up with a solution to this? i actually got it to work on 3.5.4 on original templates, but not modified templates :cross-eyed:
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 07:53 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.04811 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
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_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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