vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Private Messages Enhancements - Friendster Style Profile Fields: clickable, searchable, fun! (https://vborg.vbsupport.ru/showthread.php?t=98109)

noonespecial 11-11-2005 06:18 AM

I love this hack, only thing is on my profiles I pull some of the customfields out ($userinfo[field6]) to make the layout look better; and on those that I pull out - this hack doesn't work for -- other than that, nicely done.

krvaricp 11-11-2005 10:29 AM

Thx anyway but can you give people a text or zip file please ?

Andreas 12-01-2005 11:37 AM

Another nice hack :)
But it has a slight problem: The URL misses the sessionhash.

buro9 12-01-2005 11:47 AM

Quote:

Originally Posted by Andreas
Another nice hack :)
But it has a slight problem: The URL misses the sessionhash.


Are you on a short tour of all hacks to raise standards and correct bugs? Or are you stalking me? ;)

I think I've just added it... please cast your eye over it as I haven't yet tested the small change I just made... which was to add $vbulletin->session->vars['sessionurl'] to the generated URL's (they get generated in the PHP file and not the template, so I don't use the shorter $session['sessionurl']).

Andreas 12-01-2005 11:50 AM

Erm, none of both - I am just working on the next Version of my board :)

buro9 12-01-2005 11:58 AM

Quote:

Originally Posted by Andreas
Erm, none of both - I am just working on the next Version of my board :)

Cool.

I did much the same for mine.

The only thing I'm still missing is a good version of Who Quoted Me, but I think we'll be hearing about that later today.

And I've yet to get off my backside and create an AJAX based tagging system... something I actually really need.

Anyhow... did the session thing like right to you? As I said... haven't tested it, just looks right.

TundraSoul 12-01-2005 04:18 PM

This is a very good idea for a hack. Whenever you create associations between members, you improve the forum experience. Extra queries or not, I'd use it if it was a plug-in. Hint-hint

nexus851 12-02-2005 06:45 AM

i already implemented this however whats the code change if a user clicks on a link in the profile and shows that word not just only in that field, but in all fields... for example... lets say, field 13 was "What's your favorite food?", then when someone clicks on field 13 answer which is "anything good", it wont just look for the same answer in field 13, but in all field tables from 1 thru the field tables u have to see if any answer was "anything good" ....

I need this functionality on my website because of the profile i want to create.

buro9 12-02-2005 07:39 AM

Quote:

Originally Posted by Andreas
Another nice hack :)
But it has a slight problem: The URL misses the sessionhash.

Andreas, how could I go about requesting that the 'searchable' column gets added to the vBulletin query that I modify above?

I'd like to do the plugin version so that this is a no brainer, but I'm a performance freak and don't want to add the additional query it would require without modifying that query.

joeychgo 12-05-2005 04:55 AM

I like this hack - Im going to install it on vb webmaster


All times are GMT. The time now is 06:16 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.01161 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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