![]() |
Friendster style hyperlinked profile fields
No longer supported by the author.
|
A screenshot has been request, so find it attached.
Note that this is a logic only hack and does not use any phrases or languages stuff... thus it is suitable for all languages. The screenshot shows each of the items in the profile fields as a hyperlink, and one of which is being hovered over... and you can see that the link generated is a search on the user profile fields. |
This is excellent... Will definitely take a look at this when I switch to vB3, which shouldn't be too far away finally lol.
|
Not bad. What are the future plans?
|
Quote:
It's not going to evolve into anything out there or major. It's just a small simple improvement that encourages users to bond a bit more. If you can think of anything you want to add to it though... just say :) Or add it and I'll modify the first post and give credit. |
Quote:
|
Quote:
The links it creates are just what the form would create if submitted via GET. I notice that you can't search by those fields on your forum via the Advanced Member Search page on your site... have you set the fields to be searchable? This is under Admin CP > User Profile Fields > User Profile Field Manager /forums/admincp/profilefield.php?do=modify If the field isn't searchable, then what you describe would happen. Let me just test this and see what improvement I could make :) |
Quote:
|
Quote:
|
I wouldn't mind that. Installing this right now. :)
|
seems like a great hack i'll be adding this later tonight.
|
You should make it so things via the Search Panel can be done like this. Like sometimes I remember a persons instant messenger, and not the thread. So it takes forever to search it. It would be handy to be able to search their messenger and other profile information like DOB and anything applicable into the search part. And if something was added it would automatically add it into the search box. That part would be a little complicated though lol.
|
I just did this to my 3.0.1 forum and it did not do any thing. The entered text is not a link at all.
Any thoughts? Thanks. |
Quote:
If you've done all of the above, then send me an e-mail with the file attached and I'll look into why it didn't work: d a v i d @ b u r o 9 . c o m Cheers David K |
Yep, did both parts and uploaded the file. Not sure why it's not working. I also set all the profile fields to searchable in the User Profile Fields options via the Admin CP. I'll email you the file that I have.
Thanks for the help. |
i third this 301
|
Quote:
You need your entire custom profile fields block to be exactly this: PHP Code:
|
Quote:
I uploaded your version of the file and it worked perfectly on my forum. Which means that it's a setting. Are members allowed to perform advanced searches on your boards for other members? Also, in the Admin Control Panel at this point: User Profile Fields > User Profile Field Manager Are the fields that you want hyperlinking defined as being 'Searchable'? If users do not have permission to do an advanced search, and/or the field isn't searchable... then it won't create the hyperlinks for you. The hack is working though, your file worked perfectly on my forum, so it's definately a setting rather than a code fault. |
buro9, I never got the email from you so I'm glad you posted this here as well. I do have all the feilds set to searchable, but I'm not sure about the advanced search. Where do I find that. Sorry I'm a noob at VB3!!
Thanks gain. |
Quote:
vBulletin Options > User Listing & Profile Viewing > Allow Advanced Searches = Yes I think that might do it, if the fields are searchable already then this is the only option I can think of that might impact it. Let me know how you get on... if you have trouble I'll look into it some more :) |
Okay, I just check to see if I had advanced searching enabled, and I did. So all fields are searchable and my users are allowed to search, but I'm still not getting any link :(
Thanks for all the help man! |
Error:
There is a problem when the field that you want to search by is a list/menu drop down box. Instead of searching by the name of the field you need to search by the value (usually 0,1,2,3,4,etc...). Can this be fixed? |
Has anyone worked with this hack enough to get it to use the $key values foro multiple boxes etc?
If nobody has it already, I will do it in a few days, but I don't want to learn that part of it unless I have to :) |
what's the server load like?
|
I added some things to my profile after this hack was added, but what I added did not become links. hmmm.
|
Well, this hack screwed up the post per day count.
|
Did anyone else's polls and post per day count mess up after installing this?
|
Quote:
There is no disk I/O, no database reads or writes... it's pure CPU work within the current PHP thread. And if you have a performance optimiser installed such as mmcache, then even with thousands of users doing this simultaneously you're not going to see a difference. It uses all existing vBulletin code, simply does a whip through the string and creates links out of them. The only side effect at all is increased HTML in the member profile page... but that doesn't count either, as if you're gzip'ing output... the repeated URL text would be compressed to very little indeed. Server load is neglible to non-existant. |
Quote:
The fields will only be searchable and therefore linkable if you permit users to search those fields already and have granted the advanced search permission to the usergroup. Note that this hack cannot affect your post counts... it doesn't touch them! It's very small and just affects the display of a small piece of HTML on the member profile page and nowhere else... so another hack must've broken those for you. If your post counts are out, you should update counters in your admin control panel. |
Thanks.
It seems as if decimal points have been removed. The post counts are fine. It's the average per day. Instead of 3.96 posts per day it says 396. And for the polls, instead of 17.00% it says 1700%. I didn't notice this until I added this hack, but I'll guess I'll go through and look at everything. |
I'm trying to install this hack, but unfortunetly I have another hack that seems to be clashing with the code. Where your code says "iif(!can_moderate(), " mine says "iif(!($permissions['genericpermissions'] & CANSEEHIDDENCUSTOMFIELDS)," - I've tried overwriting and including it in the code, but I get a parse error. I'm using 303 so maybe its just that and not my code? >_>
|
Quote:
|
Oooh, we have to start a petition to get it for 303!! :D :D
|
Quote:
Dead computer prevented me from responding sooner :) And they way to get it is to ask as KTBleeding did ;) |
Quote:
|
Tsk people.
I've updated it for you... but really... you could have done that yourself ;) It was only a one word change! Anyhow... it's now 3.0.3 supported... the mod has been edited to reflect this. |
Works just as well as before. Thanks again buro.
|
Thank yoooooouuu ^___^ Works great!
|
Took the code and hacked it so it should be able to search checkboxes etc...
Let me know if any problems... Code:
|
Quote:
Thx btw... this is how I like vb.org to work... that anyone feels that they can improve or extend hacks I make and feed those changes back in :) |
All times are GMT. The time now is 03:51 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|