The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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 Show Your Support
|
Comments |
#12
|
|||
|
|||
![]()
i mean when one click on a member profile there shud be a link whereit says "View Member Buddies".
|
#13
|
|||
|
|||
![]()
how are the queries? less than vbfriends?
|
#14
|
||||
|
||||
![]()
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. |
#15
|
|||
|
|||
![]()
very nice thanks
|
#16
|
|||
|
|||
![]() Quote:
![]() |
#17
|
||||
|
||||
![]()
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 |
#18
|
||||
|
||||
![]()
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. |
#19
|
|||
|
|||
![]()
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. |
#20
|
|||
|
|||
![]()
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:
$DB_site->query("INSERT INTO " . TABLE_PREFIX . "pm (pmtextid, userid) values (" . $pmid . ", '" . $userinfo['userid'] . "')"); $DB_site->shutdown_query("UPDATE ".TABLE_PREFIX."user SET pmtotal = pmtotal + 1, pmunread = pmunread + 1, pmpopup = " . $userinfo['pmpopup'] . " WHERE userid = '" . $userinfo['userid'] . "'"); } // ##################################### End Buddies Script #################################### ========================================================================================= if (empty($_REQUEST['do'])) { $_REQUEST['do'] = 'editprofile'; } if (!($permissions['forumpermissions'] & CANVIEW)) |
#21
|
||||
|
||||
![]()
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:
================================================================================ ========= |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|