The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBBuddies Details »» | |||||||||||||||||||||||||
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 |
#42
|
||||
|
||||
Sorry I can't say, I havn't tested it in 3.0.3 or had time to however I don't see why it wouldn't work.
|
#43
|
||||
|
||||
Well done. I'll take a look at the script.
|
#44
|
||||
|
||||
I see the difference - the main difference is that you can't see all the people who link to you and all the people who you link to - that's where the query saving mostly is.
|
#45
|
||||
|
||||
Yeah since I didn't need that for my site I took it out. Only needed a system to show who are your true buddies. Also Cloud-Warrior told me he was going to release a new version of his hack so I didn't bother adding the whole link to/from system. However I do come a accross query problems when and if I want to count each members true buddy count. Don't know how to fix the problem so I can't add that feature to this hack.
|
#46
|
||||
|
||||
Just some minor template edit so that it works in vB 3.0.7 (at least on my forums).
In modifyoptions, Find: HTML Code:
<if condition="$vboptions['allowvbcodebuttons']">
HTML Code:
<!-- Start Buddies List User Options --> <fieldset class="fieldset"> <legend>$vbphrase[buddies_publicoptionsstatus]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td>$vbphrase[buddies_publicoptionsdecs]</td> </tr> <tr> <td><input type="checkbox" name="buddiesliststatus" value="1" <if condition="$bbuserinfo[buddiesliststatus] == 1">checked</if>>$vbphrase[buddies_publicoptionsenable]</td> </tr> </table> </fieldset> <!-- End Buddies List User Options --> Also, for some reason, the BUDDIES template doesn't work for me, so I'm rewriting it. The whole format is wrong. Otherwise, good job! |
#47
|
||||
|
||||
With modifyoptions, I don't see to have any problems with the table in 3.0.7 however I did forget to add the code so it can be collapsable. I'll fix that in the next release. Does anyone else get any problems?
|
#48
|
||||
|
||||
I figured out the BUDDIES template - it's fine, it was a conflict with one of my custom templates.
|
#49
|
||||
|
||||
Quote:
|
#50
|
||||
|
||||
Okay I'll take a look at the code when I get home from work. If you see anything else that needs work please do let me know. I'll most likly, if I have time, will finish the updates for version 1.0.2 today.
|
#51
|
||||
|
||||
Also, you forgot to make use of $userinfo['buddiesliststatus']. You've got the data, might as well use it.
In MEMBERINFO, find: HTML Code:
<if condition="$vboptions['buddieslist_active']">
HTML Code:
<if condition="$vboptions['buddieslist_active'] AND $userinfo['buddiesliststatus']">
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|