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)

buro9 10-10-2005 10:00 PM

Friendster Style Profile Fields: clickable, searchable, fun!
 
No longer supported by the author.

buro9 10-11-2005 04:34 AM

Please report any bugs or weirdness... should be fine as it's a straight port, but I don't use multi-select or checkboxes and only performed cursory testing of that... so please let me know of any bugs that you encounter with this hack.

tanyeri24 10-11-2005 04:43 AM

Quote:

Does anyone REALLY need a screenshot of this? It's quite basic and only a small file change.
Yes sir please ;)

buro9 10-11-2005 04:52 AM

Quote:

Originally Posted by tanyeri24
Yes sir please ;)

Pft ;)

Added as a link to the bottom of the hack above... or here:
https://vborg.vbsupport.ru/attachmen...chmentid=16461

tanyeri24 10-11-2005 04:57 AM

A nicely hack dude and thx for the screeny :)
a good hack for a forum with much members thx for sharing ;)

FleaBag 10-11-2005 12:08 PM

I know you probably don't want to hear this... But is it possible without file edits? ;)

buro9 10-11-2005 12:23 PM

Yes :) but then you have to have additional queries... not nice.

The 'searchable' property isn't in the original query and there is no hook at that point.

Sooo... if I did it without file edits, it will add database queries. This isn't something I wanted to do at all :)

But the answer is Yes, it is possible without file edits.

Andreas 10-11-2005 12:25 PM

You might want to suggest @ vbulletin.com to add searchable as a selected field :)

Mr Chad 10-12-2005 02:23 AM

great idea ^^.

Neutral Singh 10-12-2005 04:39 AM

brilliant idea, but if it could avoid dreaded file edits. :)

goodwillstacy 10-12-2005 05:12 AM

Thanks so much for doing this. :D :D :D
stacy

michaelbenson 10-17-2005 05:53 AM

This doesnt appear vB SEO compatable :(

Also when seperating your (for example) interests by a semi-colon the script doesnt realise that this is representive of a new interest and instead just hightlights the whole lot as one big URL.

buro9 10-17-2005 06:52 AM

Quote:

Originally Posted by michaelbenson
This doesnt appear vB SEO compatable :(

Also when seperating your (for example) interests by a semi-colon the script doesnt realise that this is representive of a new interest and instead just hightlights the whole lot as one big URL.

What on earth is vB SEO?

And you could always try changing the explode character from a , to a ; in this bit:
PHP Code:

  $profileLinks explode(','$profilefield['value']);
  
$profileLinks2 explode(','$profilefield['value2']); 

I'm not sure whether that would work off the top of my head, but you could give it a whirl :)

Hacks aren't static published and closed pieces of code... you are very welcome to hack them some more to make them fit your requirements.

trackpads 10-17-2005 08:54 AM

Quote:

Originally Posted by KirbyDE
You might want to suggest @ vbulletin.com to add searchable as a selected field :)

Ditto, it is a good and unique idea that would be great as a standard portion of vb.

michaelbenson 10-17-2005 03:00 PM

Quote:

Originally Posted by buro9
What on earth is vB SEO?

And you could always try changing the explode character from a , to a ; in this bit:

vB SEO is a commerical mod_rewrite product which produces content relevant URLs but for some reason when using vB SEO the script doesnt seem to load any of the correct URLs and loads to the memberlist.php page ... what about if i wanted to keep compliancy for both the , and the ; as the "explode" characters.

buro9 10-17-2005 03:12 PM

Quote:

Originally Posted by michaelbenson
vB SEO is a commerical mod_rewrite product which produces content relevant URLs but for some reason when using vB SEO the script doesnt seem to load any of the correct URLs and loads to the memberlist.php page ... what about if i wanted to keep compliancy for both the , and the ; as the "explode" characters.

It's a commercial mod_rewrite product?

I'm getting more confused by the second... mod_rewrite is a free download and module for apache, how is that commercial?

Is someone selling a set of .htaccess rules for vBulletin? If this is the case, then as you have paid for the product, you should ask them to adjust their rules to account for the hack.

This all sounds a bit crazy... do you actually have information on vB SEO? Is there a demo of it I can get without paying?

michaelbenson 10-17-2005 03:32 PM

Quote:

Originally Posted by buro9
It's a commercial mod_rewrite product?

I'm getting more confused by the second... mod_rewrite is a free download and module for apache, how is that commercial?

Is someone selling a set of .htaccess rules for vBulletin? If this is the case, then as you have paid for the product, you should ask them to adjust their rules to account for the hack.

This all sounds a bit crazy... do you actually have information on vB SEO? Is there a demo of it I can get without paying?

Divulge into this seven page marathon:
https://vborg.vbsupport.ru/showthrea...ighlight=vbseo

buro9 10-17-2005 04:58 PM

Quote:

Originally Posted by michaelbenson
Divulge into this seven page marathon:
https://vborg.vbsupport.ru/showthrea...ighlight=vbseo

Wow, what a cheek... I'm going to be cheeky too... if you want to have my hack supported by vBsEo, then you should raise it in their forums. My hack does the job it's designed to do, and if you want it search engine optimised, then that is his hack, no?

michaelbenson 10-18-2005 02:16 PM

Ok ... well this is abit petty, you asked for information pertaining to vBSEO i felt it was most appropiate to provide you with an internal link for vBSEO which was discovered after performing a search here. I was merely inquiring here first because i assumed since you designed the code you would have a better knowledge of what might be neccessary since an abundance other hacks work seemlessly with vBSEO without any additional modifications needed to be made.

moonclamp 10-29-2005 02:28 AM

I like the idea of this.

Can you tell me if you can for a field to be clickable or not?

For instance ... if I want to have 'dislikes' as a custom field, and searchable on the memberlist ... is it possible to have it as not clickable? Then members can use sentences rather than keywords if they so choose.

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

PennylessZ28 01-03-2006 01:18 AM

Installed it, doesn't do a darn thing :( very disappointed am I missing something here?

SoLo OnE 01-06-2006 01:48 AM

Only works if you have the default memberinfo page setup since it makes a call to the customfields template.

Which makes it pretty pointless for someone who has thier custom fields located in 100000 different places. :ermm:

MiskaTorn 01-12-2006 03:19 PM

Is there a way to set this up so that I can specify which fields will be clickable?

Also this doesn't seem to work on my edited memberinfo template.

buro9 01-19-2006 04:34 AM

Quote:

Originally Posted by MiskaTorn
Is there a way to set this up so that I can specify which fields will be clickable?

Just set the field as unsearchable in your AdminCp
Quote:

Also this doesn't seem to work on my edited memberinfo template.
That would appear to be a bug you've created ;)

buro9 01-19-2006 04:40 AM

Quote:

Originally Posted by michaelbenson
Ok ... well this is abit petty, you asked for information pertaining to vBSEO i felt it was most appropiate to provide you with an internal link for vBSEO which was discovered after performing a search here. I was merely inquiring here first because i assumed since you designed the code you would have a better knowledge of what might be neccessary since an abundance other hacks work seemlessly with vBSEO without any additional modifications needed to be made.


Someone on the vbSEO forum actually pointed out how to fix the hack to work with vbSEO... so I've fixed the hack to now work with vbSEO :)

Vizionz 01-19-2006 09:01 AM

Quote:

Originally Posted by HR3rdGen
Installed it, doesn't do a darn thing :( very disappointed am I missing something here?

same for me

Vizionz 01-19-2006 09:01 AM

Quote:

Originally Posted by SoLo OnE
Only works if you have the default memberinfo page setup since it makes a call to the customfields template.

Which makes it pretty pointless for someone who has thier custom fields located in 100000 different places. :ermm:

not true because i reverted my member info template and it still dont work

Note if only this would work this would be my favorite of all hacks i believe since it would make my profile system actually seam like a myspace friendster xanga site

JaeTea 01-19-2006 08:42 PM

Quote:

Originally Posted by Vizionz
not true because i reverted my member info template and it still dont work

Once I reverted my template back..it worked fine

PennylessZ28 01-21-2006 10:35 PM

worked for reverted template here too, so the question remains, how to make it work with modified template?

Vizionz 01-21-2006 10:37 PM

Quote:

Originally Posted by HR3rdGen
worked for reverted template here too, so the question remains, how to make it work with modified template?

And add it so - can be used as well to seperate the links like , is doing now


All times are GMT. The time now is 04:44 PM.

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.03194 seconds
  • Memory Usage 1,828KB
  • 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
  • (1)bbcode_php_printable
  • (18)bbcode_quote_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
  • (40)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