![]() |
vBBuddies
During the development of my gaming site I was in the need of a hack that would display the buddies list publicly and I found one that I thought would work well for my needs called vBFriends. However I also found that it was in need of additional features to work more for what I needed it for so I modified this hack. Now with the permission of Cloud-Warrior (John Breslin) I?ve decided to release this little hack to anyone else who might find this useful called vBBuddies.
vBBuddies is similar to vBFriends however instead of showing all the members links (linked from, linked to, etc), vBBuddies simply displays all the members buddies only. Buddies that are of course linked back to the member. So for example a member named ?Bob? added a member named ?John? to his buddy list but ?John? didn?t add ?Bob? to his list. Now if that is the case, when looking at either ?Bobs? or ?Johns? public buddy lists you won?t see their names on there. However if both members add each others names to their buddy lists it will then classify that they are true buddies and put them on the list. Hope that makes sense. That?s pretty well what this little hack does. In addition to the change above, I?ve noticed that there were two main features lacking from vBFriends that members have noted as well I needed done which was more optimized queries, templates and the option for multi paged system. So I?ve added those to this hack, I just hope that I was able to lower the queries down, think at this moment its at 10 total. Anyway enjoy the hack, hope someone else can find this useful. There are 8 screenshots included for you to see what this little hack can do. :nervous: Now this isn't the greatest coded hack so I'm sure there are bugs. Please do let me know if there are problems with it and I'll try to find the problem if I have then time to do so. Also if you like the hack make sure hit the install button! Enjoy guys! ;) vBBuddies Information Current Version Number: 1.0.3 vBulletin Test Version(s): 3.0.7 + Queries to run: 1 File Edits: 8 New Phrases: 28 New Templates: 6 Template Edits: 4 Last Edited: June 12, 2005 Edited By: Lucas Pawelczyk Install Time: 30 minutes Difficulty: Moderate Current Features
Donations Welcome lucas@gamitopia.com Addons Addon # 1 (Usercp basic addon): https://vborg.vbsupport.ru/showpost....8&postcount=53 Addon # 2 (Profile advanced addon): https://vborg.vbsupport.ru/showpost....1&postcount=73 |
not badly, nice like hack, cheer in any case :)
|
Will install this now, well done :nod:
|
Thanks. Hope you guys found it useful. :)
|
I like! I'll remove the old one and add this one tomorrow!
|
What's the word? Is it working ok? I got vbfriends now but if this is on point I will go with this.
|
anyone installed it? can we see some test URL
|
How does this work? I installed it but how do I see the page with everyone's buddy photos? I have everything installed correctly according to the directions but it seems something in missing. Is there more than just the one template modification. Theres no link in the users profile, should there be another template modification. This looks cool, has anyone else gotten it to work.
Here is the error when I try accessing the buddies.php page. No User specified. If you followed a valid link, please notify the webmaster |
Yeah need to input the user id you wish to view. For example:
http://www.sitename.org/buddies.php?u=1 That should bring up the information, works like the member.php where it will load up a persons profile or vBFriends if you used that before. Forgot to meantion that lol. Now remember that you will need to setup how you would like to access this. If you would like to have it viewable from a persons profile add the following code whereever you would like the link to show: PHP Code:
|
i have installed it, and i can view by entering buddies.php?u=x and so on.
but why cant i see buddy option in member profile of a user? or a buddy link in general so once ppl click they can see members and their buddies. i dont really get it. |
i mean when one click on a member profile there shud be a link whereit says "View Member Buddies".
|
how are the queries? less than vbfriends?
|
Selene: Yeah there should be a link. I forgot to add the step in the install to add "View Members Buddies" if thats what you would like. This is just an addon, you can see in screenhshot 6 in what I did with my site with this addon, so its up to you in what and how you want to use this hack. Next version will have that corrected. You can add this simply by pasting the code I meantioned already into the profile template.
T3MEDIA: There are about 10 queries in total, doesn't matter if you have 5 or 50 members showing per page while vbfriends will change depending on how many members you have displayed. |
very nice thanks
|
Quote:
|
bold: Your welcome.
Selene: Well I just released the next version of the hack so you can download that and re-install it. There are a few new additions like adding the link to the profile page which I forgot to add in the first release lol. Heres a screenshot in how it would look: https://vborg.vbsupport.ru/attachmen...chmentid=25365 |
Heres just a quick release note of the new added features in version 1.0.1.
Version 1.0.1
https://vborg.vbsupport.ru/attachmen...chmentid=25366 https://vborg.vbsupport.ru/attachmen...chmentid=25367 The other option is adding a new link in ones members profile as I forgot that some people would like a have it linked from there. You may see the following screenshot about that: https://vborg.vbsupport.ru/attachmen...chmentid=25365 Hope those additions work. Enjoy. |
ok upgraded to 1.01 seems to be working fine :)
just a request for 1.02 can u come up with something so that if someone views /forums/buddies.php they can see some random members and their buddies or something so that buddies.php can be used as a kind of buddies page, where the admin can write a paragraph about it and how to use it fx. so that the page has a paragraph of txt and then under it u see latest buddies or something. that wud be gr8, cuz thats the only thing this VBBuddies is missing. |
when i try to add someone or someone tries to add a buddy following error comes:
Parse error: parse error, unexpected T_IS_IDENTICAL in /profile.php on line 145 this is what i have from 140 - 150 lines Code:
|
Selene: Your welcome. Now with the buddies.php showing a random buddy I'll
have to think about that and see if anyone else would like something like that. Ah ... now to explain on how it works with your members you could add some text to the page explaining how it, something like I did with my gaming site, when I get home I'll post a screenshot in what I mean. After you see the screenshot and if thats something you want I'll put that little change in the next version. With the error you are having I think you need to take this out: Code:
================================================================================ ========= |
ok SS i fixed it
its working fine now. i jus cut some of the ### lines and it worked. |
LOL i fixed it as u were replying :)
now its working good so far, just a buddy page which shows some info about it will be gr8 now like u have on ur site. |
Lol :)
Ah with the info for the buddy page, I'll think of what might be the best way of doing it. Might have time to post something up later today. |
oky cool thx , i will wait for that, and maybe for a future update u can add the following where it says the info under nick...
Join Date: Nov 2001 Posts: 48 Real name: Lucas Pawelczyk Location: Canada there u can add a field maybe called Current Buddies: xx (where xx it the nr of buddies one has) |
Thanks for the ideas, I'll see if I can add those additional options into the system in the next release. Didn't think anyone would like those features since its just a list of buddies but guess I was wrong hehe. :)
|
look really nice, thanks SS :)
|
wooooo this hack is sweet *installs*
|
im getting a
Quote:
|
Polo: Thanks.
Benj: vBBuddies comes with permission options, you just forgot to do a step in the install. What you need to do is go to Usergroup Manager in your ADMINCP and change each group that you want to be able to use this under 'General Permissions'. There should be an option called 'Can View User Buddies List'. Simply select 'Yes' to be able to use this. Hope that helps. |
ta sorry must have missed that :P hahahaha nice one.. i was woundering my users have large avatars how would i down scale them ?? or does it already do it ?? do i need to edit the template if so whichone ???
|
benj: With the avatars it would depend on how you have set up your forums so it will use the avatars at whatever size it is setup at. With mine they are all set to be the same size 56 by 56. Now as a quick fix for you to have it limited on your buddies.php I would edit the template 'buddies_listbit'.
Find the following code: PHP Code:
PHP Code:
|
cheers :D
|
good to see the Version 1.0.2 update.
Ability to display information text about feature with members. <-- that shud be coool. plus a common buddies page which every member can visit for general info about vBBuddies...so that one can have vBBuddies as menu item :) |
I don't know about having common buddies page, don't think I'll add it. Ah I could maybe add an faq option to explain it if really needed if the display information text isn't what people need.
|
how is this modification going for big forums? I would like to know.. not that my website is that big, but i'm just curious...
|
What do you mean? Like performance wise?
|
yeah performance wise and query wise... i remember some people having problems with vbfriends... specially those who had big forums... it looks really nice now and it seems like it was totally rewritten... I have it installed in my site now :) .. great job...
*related posts to what i'm talking about... https://vborg.vbsupport.ru/showpost....6&postcount=54 https://vborg.vbsupport.ru/showpost....6&postcount=62 |
Well I think performance and query wise are pretty good with vbbuddies. Its like 10 queries in total now so it doesn't matter if you have 5 or 50 members showing per page while vbfriends will change depending on how many members you have displayed. And if you want to lighten the load of buddies displayed the scriipt comes with buddies per page feature so you can show only 10 per page if you wanted to. I tried to fix the problems that were in vbfriends. :)
|
that is good to hear, and again this is an excellent mod ss9267547 :) thanks for sharing it with the community...
|
I´m working on a version 303. Do you think this would work with it if installed?
-Mika |
All times are GMT. The time now is 01:25 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:
|