Version: 1.00, by Cloud-Warrior
Developer Last Online: Apr 2010
Version: 3.0.3
Rating:
Released: 06-22-2004
Last Update: Never
Installs: 40
No support by the author.
As with vBFOAF, I've just released this mod. (There are no modications needed really, so it's more of an add-on.)
Please note that your buddy list becomes public (to other registered users) with vBFriends, so you will have to notify people of the small change in policy.
Put the attached file in your vbulletin folder, and call with the u=1 parameter, e.g.
You can surf your social network (similar to orkut), and view connections you have made to others and that others have made to you (similar to FOAF, or as illustrated with plink.org).
Screenshot attached.
The code contains some hardcoded HTML to avoid the use of templates (for now), but it uses standard vB3 CSS classes such as tcat, thead, smallfont, alt1 and alt2 - so should be fine with most styles.
Changelog:
PHP Code:
// 0.1 - 2004-06-23 - First version
// 0.2 - 2004-06-24 - Added missing trailing slash
// 0.3 - 2004-06-28 - Added missing TABLE_PREFIX to tables
// 0.4 - 2004-07-01 - Added functionality for enemies
// 1.0 - 2004-07-21 - No comment
// 1.1 - 2004-09-09 - Added mutual percentage, in and out counts, link and unlink options for own account
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I have been testing this for a while, it is great just installed it on my live forum.
I added a link in my forums navbar (also a conditional so guests will not see the link), so when each member clicks the link it will bring up vBFriends with their userID.
Just a note - this hack is not well-optimized - each "friend" adds a query - so if a member has 50 friends, that is 57 or 59 queries when you run the script.
Something to bear in mind. I'll see if I can optimize it.
Something that would be nice is if it were to use a template instead of the HTML outputs in the file itself. I know how to use if conditionals in the templates, but cannot seem to grasp how to utilize them through the friends.php file itself. The code won't work, and I'm not that great with PHP, so if you could maybe allow it to use a template instead, that would be great!
Just a note - this hack is not well-optimized - each "friend" adds a query - so if a member has 50 friends, that is 57 or 59 queries when you run the script. Something to bear in mind. I'll see if I can optimize it.
Thanks Erwin - that would be great. What had you in mind?
I have a new version here too that I'm about to upload with a few more small changes (adds link / unlink things when viewing your own friends, calculates mutuality percentage, in and out counts).
Thanks Erwin - that would be great. What had you in mind?
I have a new version here too that I'm about to upload with a few more small changes (adds link / unlink things when viewing your own friends, calculates mutuality percentage, in and out counts).
Cloud-Warrior, will this have the mods that Erwin has in mind, if it will that will kill 2 birds with 1 stone as the saying goes. My members will appriciate it. Thanks
Quote:
Originally Posted by Erwin
Just a note - this hack is not well-optimized - each "friend" adds a query - so if a member has 50 friends, that is 57 or 59 queries when you run the script.
Something to bear in mind. I'll see if I can optimize it.
That would be nice Erwin as my members love this feature, thanks in advance.
Quick Question - If as an Admin, I add every member in my friends list then will all of these friends be displayed on One Page? or is a Pagination possible?