PDA

View Full Version : vBBuddies


SS9267547
04-01-2005, 10:00 PM
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


Option to activate or disable public buddy list globally.
Option for user to activate or disable public buddy list.
Give permissions to whatever usergroup you want to be able to access this.
Option for maximum number of members you would like to display per line.
Option for maximum number of members to be displayed per page.
Ability to have buddy tool menu to add or remove a member to your buddy list.
Option to activate or disable private message notification of new buddy.
Ability to view buddy links via member profile.
Ability to activate or disable online status display option, avatars display option, user title display option, posts display option, birthday display option, age display option, join date display option and last active display option from admincp.
Ability to display information text about feature with members.
Option to activate or disable buddy indicator from memberslist.


Donations Welcome
lucas@gamitopia.com

Addons

Addon # 1 (Usercp basic addon):
https://vborg.vbsupport.ru/showpost.php?p=637168&postcount=53

Addon # 2 (Profile advanced addon):
https://vborg.vbsupport.ru/showpost.php?p=638141&postcount=73

Allan
04-02-2005, 05:57 AM
not badly, nice like hack, cheer in any case :)

Dark Aura
04-02-2005, 07:20 AM
Will install this now, well done :nod:

SS9267547
04-02-2005, 10:27 AM
Thanks. Hope you guys found it useful. :)

FleaBag
04-02-2005, 01:32 PM
I like! I'll remove the old one and add this one tomorrow!

T3MEDIA
04-02-2005, 01:42 PM
What's the word? Is it working ok? I got vbfriends now but if this is on point I will go with this.

Selene
04-03-2005, 02:10 AM
anyone installed it? can we see some test URL

skorzguy
04-03-2005, 06:18 AM
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

SS9267547
04-03-2005, 07:14 AM
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:

<a href="buddies.php?$session[sessionurl]u=$userinfo[userid]">View Buddies</a>

Let me know if that works for yeah.

Selene
04-03-2005, 09:35 PM
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.

Selene
04-03-2005, 09:38 PM
i mean when one click on a member profile there shud be a link whereit says "View Member Buddies".

T3MEDIA
04-04-2005, 02:57 AM
how are the queries? less than vbfriends?

SS9267547
04-04-2005, 03:27 AM
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.

bold
04-04-2005, 05:50 AM
very nice thanks

Selene
04-04-2005, 09:56 AM
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.

well then how i can install that addon :) cuz other wise its not very useful til i have sorted out the buddies page, or a link in general.

SS9267547
04-04-2005, 11:27 AM
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/attachment.php?attachmentid=25365

SS9267547
04-04-2005, 11:58 AM
Heres just a quick release note of the new added features in version 1.0.1.

Version 1.0.1

Option to activate or disbale private message notification of new buddy.
Ability to view buddy links via member profile.

With the new pm feature it will allow your members to auto send a little pm message to a new added buddy that they were added to their buddy list. It will work either from the add / remove feature and when one enters a members name manually from the main buddy list in ones user control panel. You may see the following screenshots:

https://vborg.vbsupport.ru/attachment.php?attachmentid=25366
https://vborg.vbsupport.ru/attachment.php?attachmentid=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/attachment.php?attachmentid=25365

Hope those additions work. Enjoy.

Selene
04-04-2005, 12:07 PM
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.

Selene
04-04-2005, 12:09 PM
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


$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))

SS9267547
04-04-2005, 12:25 PM
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:

================================================== ============================== =========
Looks like you posted my dividers between codes/steps from the install.txt. Think I'll have to make a cleaner install script?

Selene
04-04-2005, 12:27 PM
ok SS i fixed it

its working fine now.

i jus cut some of the ### lines and it worked.

Selene
04-04-2005, 12:29 PM
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.

SS9267547
04-04-2005, 12:33 PM
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.

Selene
04-04-2005, 12:41 PM
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)

SS9267547
04-04-2005, 01:10 PM
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. :)

Polo
04-04-2005, 01:18 PM
look really nice, thanks SS :)

Benj
04-04-2005, 03:42 PM
wooooo this hack is sweet *installs*

Benj
04-04-2005, 05:06 PM
im getting a Benj, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
message onthe buddies.php file why might this be

SS9267547
04-04-2005, 05:14 PM
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.

Benj
04-04-2005, 05:32 PM
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 ???

SS9267547
04-04-2005, 06:24 PM
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:

<img src="$avatarurl" alt="$inuser[username] Avatar" border="0" />
Change to the following code:

<img src="$avatarurl" width="56" height="56" alt="$inuser[username] Avatar" border="0" />
I set it up as the same size as I have it with my site. If you want them to be bigger change '56' in the width and height to whatever size you want your avatars to be.

Benj
04-04-2005, 06:41 PM
cheers :D

Selene
04-04-2005, 08:50 PM
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 :)

SS9267547
04-04-2005, 09:55 PM
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.

Polo
04-05-2005, 08:13 PM
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...

SS9267547
04-05-2005, 09:17 PM
What do you mean? Like performance wise?

Polo
04-05-2005, 11:10 PM
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.php?p=555456&postcount=54
https://vborg.vbsupport.ru/showpost.php?p=559036&postcount=62

SS9267547
04-05-2005, 11:16 PM
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. :)

Polo
04-05-2005, 11:20 PM
that is good to hear, and again this is an excellent mod ss9267547 :) thanks for sharing it with the community...

MikaK
04-06-2005, 05:06 AM
I´m working on a version 303. Do you think this would work with it if installed?

-Mika

SS9267547
04-06-2005, 11:03 AM
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.

Erwin
04-06-2005, 11:09 AM
Well done. :) I'll take a look at the script.

Erwin
04-06-2005, 11:12 AM
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. :)

SS9267547
04-06-2005, 11:30 AM
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.

Erwin
04-06-2005, 11:54 AM
Just some minor template edit so that it works in vB 3.0.7 (at least on my forums).

In modifyoptions,

Find:


<if condition="$vboptions['allowvbcodebuttons']">


Add ABOVE, I REPEAT ABOVE:


<!-- 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 -->


Otherwise the whole table is off, and the window won't collapse.



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! :)

SS9267547
04-06-2005, 12:00 PM
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?

Erwin
04-06-2005, 12:09 PM
I figured out the BUDDIES template - it's fine, it was a conflict with one of my custom templates. :)

Erwin
04-06-2005, 12:09 PM
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?
Just refer to my post and try that - it will put it in the right place.

SS9267547
04-06-2005, 12:20 PM
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.

Erwin
04-06-2005, 12:47 PM
Also, you forgot to make use of $userinfo['buddiesliststatus']. :) You've got the data, might as well use it.

In MEMBERINFO, find:


<if condition="$vboptions['buddieslist_active']">


REPLACE with:


<if condition="$vboptions['buddieslist_active'] AND $userinfo['buddiesliststatus']">


This way, even if global options is switch on, if the user in his own options switch it off, it will not show.

SS9267547
04-06-2005, 01:31 PM
Ah thanks Erwin. Forgot to add that. I'll get that fixed. :)

Benj
04-07-2005, 11:05 AM
Hi SS9267547, you know the code and template you added to the profile ??? how would i go about adding the same to my usercp template ? i want to add the

Total Buddies: 1
View Member Buddies


thanks your a legend !

SS9267547
04-07-2005, 11:47 AM
Here you go benj, this addon will create a little table with the buddy information. Hope it works. Enjoy.

Benj
04-07-2005, 12:41 PM
legend ta :D

SS9267547
04-07-2005, 11:12 PM
Heres just a quick release note of the new added features in version 1.0.2.

Version 1.0.2


Ability to activate or disable online status display option, avatars display option, user title display option, posts display option, birthday display option, age display option, join date display option and last active display option from admincp.
Ability to display information text about feature with members.
Option to activate or disable buddy indicator from memberslist.


With the first new feature, it will allow you to display the information you want to be displayed by the username. You can see the following screenshot of how it looks in admincp:

https://vborg.vbsupport.ru/attachment.php?attachmentid=25487

The next feature is where you'll be able to see a little text note for you to enter whatever you may want to share with your members or not, up to you. You can see this feature in the screenshot, above all the members listed:

https://vborg.vbsupport.ru/attachment.php?attachmentid=25486

The last feature adds the option for you to show what I call the buddy indicator. It basically will display a little icon by a members name showing you if the member is or isn't on your buddy list. By clicking on the icon it will go to the members buddies listing. You may see the following screenshot for this feature:

https://vborg.vbsupport.ru/attachment.php?attachmentid=25485

Hope those additions work well and you all like them, if not to bad lol ;)

Enjoy.

Erwin
04-07-2005, 11:52 PM
Good job mate. :)

Selene
04-08-2005, 09:16 AM
cool jus got email that u updated the hack. Me gna try now :)

Selene
04-08-2005, 09:17 AM
can i give u some more ideas for ur upcoming updates

SS9267547
04-08-2005, 10:11 AM
Erwin: Thanks.

Selene: Sure you can give me some more ideas but not sure if I'll have time to add them. Nevertheless post them up :)

T3MEDIA
04-08-2005, 01:36 PM
SS9267547 Step 7 and step 1 are the same. Just so you know.

SS9267547
04-08-2005, 01:53 PM
Ah thanks, I didn't see that. Fixed it and uploaded changed zip.

T3MEDIA
04-08-2005, 02:17 PM
small small typo buddy_infotextmemberview & buddy_infotextuserview

their is spelled wrong. This is HOT btw.
Straight up HOT. NICE ACTION

T3MEDIA
04-08-2005, 02:45 PM
<if condition="$userinfo[userid] == $bbuserinfo[userid]"> I think is better in your template (BUDDIES)
wasnt working for me.
again. Awsome.

SS9267547
04-08-2005, 03:02 PM
Happy to hear you like the hack. :)

SS9267547
04-08-2005, 03:09 PM
With the typo, what do you mean? What should it be? I'm not getting it lol.

Now '<if condition="$userinfo[userid] == $bbuserinfo[userid]">' where are you getting this? Do you mean '<if condition="$bbuserinfo[username] == $userinfo[musername]">' in the BUDDIES template?

KTBleeding
04-08-2005, 03:49 PM
How would one go about having the buddies display on the profile page itself? With then a link to "more buddies" or something similar rather than just a link to them originally?

Is this possible?

SS9267547
04-08-2005, 04:18 PM
So you mean like listing the first three buddies on the profile the having a link say something like view more? Its possiable however it will then add extra queries to your profile, well then again maybe not. Do you want something like that? I can make an addon for it if I find it works.

KTBleeding
04-08-2005, 08:08 PM
It would be pretty cool, I think.. Maybe more like the 6 newest buddies or something. 2 rows, 3 colums. If that's possible, I think it would be a little better than just a link because it would stand out more.

SS9267547
04-08-2005, 08:22 PM
Well I'm not sure about the newest added buddies since that would require alot of work unless this is what alot of people would like. I'd have to think about that. But adding a list of the frist 6 buddies would be easier. Also would it be better to have just a list or the way it is displayed right now?

KTBleeding
04-08-2005, 08:25 PM
Oh, the way the layout is now is perfect. The first 6 added is cool, or maybe even randomly drawn from the database?

SS9267547
04-08-2005, 08:29 PM
Okay I'll see when I get back home from work what would be best preformance wise and work wise. See with the newest added way there would need to be alot or extra editing in a number of files so it would record the time they added their buddy. Maybe a random way, ah I'll see and let you know this weekend. :)

KTBleeding
04-08-2005, 09:08 PM
Cool. Thanks man.

SS9267547
04-09-2005, 03:48 AM
Here you go KTBleeding. This addon will hopfully create what you wanted.

Addon Features


Ability to activate or disable online status display option, avatars display option, user title display option, posts display option, birthday display option, age display option, join date display option and last active display option from admincp.
Option to activate or disable profile buddies list display.
Option for maximum number of members you would like to display per line on the profile page.
Option for maximum number of members to be displayed on the profile page.
Randomly displays members.


I've included two screenshots of the addon. Enjoy. ;)

Update: Zip has been updated with latest fixes.

KTBleeding
04-09-2005, 10:24 AM
That is seriously awesome. I will install this when I get home from work. Thanks!

SS9267547
04-09-2005, 12:41 PM
Your welcome, let me know if there are any problems with it.

KTBleeding
04-09-2005, 12:52 PM
Will do, I get off in about 7 hours so it won't be until later this afternoon.
One quick question, does this still display the "No buddies/member has decided not to display buddies" messages in the profile?

SS9267547
04-09-2005, 12:55 PM
If they don't have any buddies it will ddisplay a no buddy message and if they choose not to display their buddies the list won't show in the profile at all or at least it shouldn't lol.

T3MEDIA
04-09-2005, 01:52 PM
With the typo, what do you mean? What should it be? I'm not getting it lol.

Now '<if condition="$userinfo[userid] == $bbuserinfo[userid]">' where are you getting this? Do you mean '<if condition="$bbuserinfo[username] == $userinfo[musername]">' in the BUDDIES template?ok in your phrases there was a spelling mistake. Look at what I said and in the template it wouldnt show the correct intro. (Ya know welcome this is so and so's page.) the if condit I used is better. The profile thing you did is 100% sick. Can you make a branch off hack?
I know this is for friends but your just hucking this up man.

Can you have row that would show random users? I have made a search on a site take a look.... http://www.bpcompanion.com/forums/view.php?pg=basic_search

I would love it to look like this...
http://browse.myspace.com/index.cfm?fuseaction=browse&run=1&Mytoken=20050409075029

Just random users (neat like how you have it for friends)
I could add it to my template after... Again that profile thing you did is HOT.

T3MEDIA
04-09-2005, 02:03 PM
in your addon... there is a place that says...

find:
'bbcode_code',
'bbcode_html',
'bbcode_php',
'bbcode_quote',
In my member.php that doesnt exist.... around what area is that at?

SS9267547
04-09-2005, 02:10 PM
You've made changes to the orginal, so instead look for:


// pre-cache templates used by all actions
$globaltemplates = array(
'MEMBERINFO',

SS9267547
04-09-2005, 02:12 PM
What do you mean by branch off hack? I mean vBBuddies dosn't use vBFriends, this is a hack on its own. With the row of random users, if you mean having the profile buddies list be random, it already is. But I think you mean having random users displayed on your search form? If thats the case it wouldn't be related to vBBuddies since it displays the buddies a user has not all members on the site. Is that what your looking for? Random users on the search form?

T3MEDIA
04-09-2005, 02:14 PM
What do you mean by branch off hack? I mean vBBuddies dosn't use vBFriends, this is a hack on its own. With the row of random users, if you mean having the profile buddies list be random, it already is. But I think you mean having random users displayed on your search form? If thats the case it wouldn't be related to vBBuddies since it displays the buddies a user has not all members on the site. Is that what your looking for? Random users on the search form?Sorry yes that is what I meant. I thought the term branch off hack would suit. I saw this idea and thought imagine this idea was on the search but just random users period.

yeah that is what I meant.

SS9267547
04-09-2005, 02:18 PM
I really don't see the point of randomly showing users on the search form, I mean there is already a main list where it shows all the users. Perhaps a better ideea would be to show like 3-6 random members at the top of the memberslist page but not sure how that would be performance wise.

T3MEDIA
04-09-2005, 02:28 PM
You've made changes to the orginal, so instead look for:


// pre-cache templates used by all actions
$globaltemplates = array(
'MEMBERINFO',
Thanks. Did I say it was hot? Wow. NICE.

T3MEDIA
04-09-2005, 02:31 PM
I really don't see the point of randomly showing users on the search form, I mean there is already a main list where it shows all the users. Perhaps a better ideea would be to show like 3-6 random members at the top of the memberslist page but not sure how that would be performance wise.Well belive me it works. The point of having random users on a search pages make 100% sense. The whole point a user is there is to look for people. and wah-la there are a few. The link I sent you is a huge site. a few million and that is how they get the traffic.

3-6 is good how can you do that I would dump the HTML into my template. (or a new hack or something) becuase this is the best I seen right now.

SS9267547
04-09-2005, 02:40 PM
Okay well if this is for the search or the top of the memberslist I can do a listing of a few random members like 3-9 maybe but if theres more then that I still don't see the point.

SS9267547
04-09-2005, 02:45 PM
There is a small problem in addon # 2 I just noticed. Find the following in the member.php file:


eval('$buddylist .= "' . fetch_template('buddies_empty') . '";');


Replace with:


eval('$profilebuddylist .= "' . fetch_template('buddies_empty') . '";');


Note: The install zip has been updated.

General_
04-09-2005, 03:30 PM
Hello

Here is the German Translation.
The only thing you have to do is, import the XML File in your AdminPanel.

SS9267547
04-09-2005, 03:33 PM
Thanks for posting it! ;)

KTBleeding
04-09-2005, 04:11 PM
Got off work a little early and installed. Works wonderfully.
I just have one more small request. Where can I edit what is sent to the member via PM when they are added to the buddylist? I'd like to add a link that says something like, "Approve this buddy list request" or "Add this member to your buddylist".

SS9267547
04-09-2005, 04:19 PM
Edit the phrase 'buddies_autopmrequest' in your admincp to whatever you would like it to say when the pm is sent.

KTBleeding
04-09-2005, 04:30 PM
Doh, I should have known that...

I have found an error message, actually. When viewing certain member profiles I seem to get this message:

Fatal error: Call to undefined function: bitwise() in /home/keepthem/public_html/forums/member.php on line 562

Lines 558 - 574 is this chunk of code:

// ##################################### Start Buddies List ##################################
// ================================================== =========================================
// Check and see what information is to be shown for each member listed . (Edit by: Lucas)
// ================================================== =========================================

$show['display_birthday'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 1);
$show['display_age'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 2);
$show['display_joindate'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 4);
$show['display_postcount'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 8);
$show['display_usertitle'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 16);
$show['display_lastvisit'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 32);
$show['display_avatar'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 64);
$show['display_onlinestatus'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 128);

// ================================================== =========================================
// Start main buddy list. (Edit by: Lucas)
// ================================================== =========================================

It only happens on some profiles though.

SS9267547
04-09-2005, 04:35 PM
What users groups do those members belong to? Can you post me more information about the member having problems?

KTBleeding
04-09-2005, 04:37 PM
Both the ones that give me errors, and the ones that don't give me errors are in the Registered Members group.

SS9267547
04-09-2005, 04:41 PM
Try this for me, cut this out:


// ##################################### Start Buddies List ##################################
// ================================================== =========================================
// Check and see what information is to be shown for each member listed . (Edit by: Lucas)
// ================================================== =========================================

$show['display_birthday'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 1);
$show['display_age'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 2);
$show['display_joindate'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 4);
$show['display_postcount'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 8);
$show['display_usertitle'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 16);
$show['display_lastvisit'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 32);
$show['display_avatar'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 64);
$show['display_onlinestatus'] = bitwise($vboptions['buddieslist_profiledisplayoptions'], 128);



And paste it after this:


if ($bbuserinfo['userid'])
{

KTBleeding
04-09-2005, 04:45 PM
Same error. So far it has only happened on two user accounts, but I've only tried about eight of them.

Obviously, the error line has moved down to 565 now.

SS9267547
04-09-2005, 04:45 PM
I didn't think that would work lol. Anyway try doing this instead, find:


// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_showthread.php');
require_once('./includes/functions_user.php');


After that insert the following:


require_once('./includes/functions_misc.php');


I think I forgot to add that. Let me know if that fixes the problem.

Update: Zip file has been updated.

T3MEDIA
04-09-2005, 05:00 PM
There is a small problem in addon # 2 I just noticed. Find the following in the member.php file:


eval('$buddylist .= "' . fetch_template('buddies_empty') . '";');


Replace with:


eval('$profilebuddylist .= "' . fetch_template('buddies_empty') . '";');


Note: The install zip has been updated.Hey does this fix a avatar issue? If not I find now in the profile pages that users who do not have an avatar get a x.
curious indeed. (example (http://www.sprnch.com/forums/member.php?u=22441) here.)

SS9267547
04-09-2005, 05:05 PM
No it doesn't, that fixes the problem when members don't have buddies by adding a table that says they have no buddies at this time, just a typo that I made.

I can't see the link since I don't have permisssion too.

With members that don't have a avatar they are give a defualt one, now remember that you will need to upload one to /images/misc/ to have it work.

KTBleeding
04-09-2005, 05:20 PM
I didn't think that would work lol. Anyway try doing this instead, find:


I think I forgot to add that. Let me know if that fixes the problem.
That appears to have done the job! Thanks again for this hack and the awesome support.. I think I smell HOTM. ;)

T3MEDIA
04-09-2005, 05:25 PM
Okay well if this is for the search or the top of the memberslist I can do a listing of a few random members like 3-9 maybe but if theres more then that I still don't see the point.Yeah that's cool!
I fixed my bug. I have no idea why it started BUT if someone else gets it (the profile's avatar gets a x if they have no avatar selected.) I did this....
in MEMBERINFO template under:
<if condition="$show['avatar']">
I added:
<if condition="$userinfo[avatarurl] != ''">

Then of course you have to close the if statement... the next imediate </if> I added a next </if>

SS9267547
04-09-2005, 05:28 PM
KTBleeding: Your welcome just hope fixed everything lol :nervous:

T3MEDIA: Hmm I wondering why your avatar wasn't working and if anyone else seems to have this issue? As for the random members, I'll see if I can find some time for this (which one? search or memberslist?), a bit busy working on my site, heh keep side tracking to support the hack. But need the bugs out of it so I can use it for my site lol :D

T3MEDIA
04-09-2005, 05:34 PM
Got off work a little early and installed. Works wonderfully.
I just have one more small request. Where can I edit what is sent to the member via PM when they are added to the buddylist? I'd like to add a link that says something like, "Approve this buddy list request" or "Add this member to your buddylist".I did that... looked good to but I ran into a loop.
If I added you a response came. then you added me... then your response came. so I couldnt figure out how to do a if statment so I reverted back. BTW it uses BB code so I made it a bit neater.

T3MEDIA
04-09-2005, 05:36 PM
KTBleeding: Your welcome just hope fixed everything lol :nervous:

T3MEDIA: Hmm I wondering why your avatar wasn't working and if anyone else seems to have this issue? As for the random members, I'll see if I can find some time for this (which one? search or memberslist?), a bit busy working on my site, heh keep side tracking to support the hack. But need the bugs out of it so I can use it for my site lol :DWell I am going to drop it below my simple search. No idea why that avatar thing happened. its gone now anyway.

SS9267547
04-09-2005, 05:38 PM
Yes see I did wanted to get the pm system to work so you can get "Approved" or what not and added to the list automatically but I couldn't figure out a way to get it to work without to much editing to the whole vbulletin buddy system, to much work for me to spend so much time on, need to the rest of my site you know hehe. So I just many it send a "added" to pm instead, short cut lol.

bold
04-09-2005, 10:36 PM
I didn't think that would work lol. Anyway try doing this instead, find:


// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_showthread.php');
require_once('./includes/functions_user.php');


After that insert the following:


require_once('./includes/functions_misc.php');


I think I forgot to add that. Let me know if that fixes the problem.

Update: Zip file has been updated.
thanks for the fix

Benj
04-12-2005, 10:36 AM
SS9267547 your the man added your usercp addon (screen shot below) edited it a bit.... Theres only one minor thing (i dont like :devious: But could live with if its to much work :lick: ) lol If Benj adds john to his buddy list john get a PM (ye?) if john then adds benj Benj gets the same Pm .. is there a way to turn this off or maybe change it to

{username} has accepted your buddy request congrats your now buddies :D


lol

Only a little thing like just i think it would be a worthwhile feature :D

Benj
04-12-2005, 11:15 AM
another bummy question lol sorry i added the hack over at https://vborg.vbsupport.ru/showthread.php?t=78477 automattically add referer to buddy list i tested it out by signing up and puttting Benj as the referer! Although the hack worked (w00t) it didnt send benj a Pm saying the new user had added him to his buddy list down can i make so it does ??

Benj
04-12-2005, 05:30 PM
w00t 3 posts in a row :D I just upgraded from 1.0.1 to 1.0.2 thing is now options.php in the admincp folder shows up as a white page... Ive tried reuploading options.php doesnt work ! any ideas ? lol

edit: i reuploaded the 3.0.7 packaged admincp/option.php it seems to work :s scary however it doesnt save the options you set

KTBleeding
04-12-2005, 06:06 PM
w00t 3 posts in a row :D I just upgraded from 1.0.1 to 1.0.2 thing is now options.php in the admincp folder shows up as a white page... Ive tried reuploading options.php doesnt work ! any ideas ? lol
Did you reinstall the templates since the upgrade?

Benj
04-13-2005, 07:37 AM
i did what template controls this page ??????? at the moment ive got the unhacked version of option.php the vbuddies table shows up with all the options but the options arent savable !

T3MEDIA
04-13-2005, 06:27 PM
another bummy question lol sorry i added the hack over at https://vborg.vbsupport.ru/showthread.php?t=78477 automattically add referer to buddy list i tested it out by signing up and puttting Benj as the referer! Although the hack worked (w00t) it didnt send benj a Pm saying the new user had added him to his buddy list down can i make so it does ??That isnt because of this hack that is because of the auto add hack. I was the one that asked for that hack.

I am hoping that the guy that did it for my request will make it one sided so that way this hack can make it work seamless. If it works one way. Auto add referrer as your buddy. the referrer will get a notice you added them... then they can opt to add you or not.

D|ver
04-14-2005, 10:40 AM
Here you go KTBleeding. This addon will hopfully create what you wanted.

Addon Features


Ability to activate or disable online status display option, avatars display option, user title display option, posts display option, birthday display option, age display option, join date display option and last active display option from admincp.
Option to activate or disable profile buddies list display.
Option for maximum number of members you would like to display per line on the profile page.
Option for maximum number of members to be displayed on the profile page.
Randomly displays members.


I've included two screenshots of the addon. Enjoy. ;)

Update: Zip has been updated with latest fixes.
great addon :)

but is it possible to only show the buddies in the profile without installing the whole hack?

altsounds
04-16-2005, 03:24 AM
This hack is awesome BTW. One thing that I have noticed that is an issue. I have added a link in the default e-mail to ask that user back if you accept the buddy request. That way you can easily add a buddy a la myspace.

Problem with that is. When the user clicks the add back button it sends an e-mail back to the originator and that keeps going on and on forever. Is there anyway that we can set something up so that it does a check to see if the user is added on the buddylist (one way) and if so not to send the PM??

Let me know.

Chris

Wasim
04-16-2005, 06:06 AM
Can you only view your buddies in the UCP? Or does it show up on the forumhome page as well? I am really looking for a buddy list feature where I can have the buddies listed in a verticle box on the forum home page, kind of like the buddy list on vBportal.

Anyone know?

SS9267547
04-16-2005, 04:16 PM
benj: Yeah I want to change the buddy PM system to do that however I found it that it would be to much work at this time since I have to many projects to do on my site as it is. Maybe in the future when ever I figure out how to do it lol.

With the problem in the options.php make sure you edit correctly as well make ssure you do not use dreamweaver to edit that file with. The file won't work then.

As for amykhar's hack benj, check out addon release # 3. It will help you install the PM feature for the hack.

altsounds: Yes that is an issue with the hack, I'm just not sure where to start with it since I would most likly have to change how the whole buddy system works in vB so it would be able to check users and whatnot without going around in circles. The way how things are set up was just a quick solution, perhaps in time I'll change it.

D|ver: Yeah you can, just follow the steps for the profile changes. You'll need to edit out some parts of it tho so it dosn't check the forums vBBuddies settings. Now if you just want a simple list of buddies I think there are a few hacks out there that already do that.

Wasim: This hack shows the buddies publicly (or not, up to you) in ones profile. As for showing a buddies list on forumhome I think there is something like that out there.

SS9267547
04-16-2005, 04:20 PM
Here you go benj. This addon will hopfully send a pm for amykhar's hack:

https://vborg.vbsupport.ru/showthread.php?t=78477

Addon Features


Simply sends a PM automatically to referrer when a new member signs up to the site.


I've included one screenshot of the addon. Enjoy. ;)

Benj
04-16-2005, 05:20 PM
SS9267547 cheers man :D

thanks for creating this hack good luck with your project :D

altsounds
04-17-2005, 10:10 PM
This is a brilliant hack. Any chance we can get a User CP addon much like the profile add on so that when you go to your Control Panel you will see a list of your buddies in random that you can control from the options as a seperate entity.

Let me know how hard this would be to achieve.

Thanks again. This is an amazing hack!!

altsounds
04-18-2005, 05:16 AM
I played around with the original vbulletin buddies system and there is no checking going on at all thats what the problem is with the looping. Someone that is already your buddy you can add them again and again and it won't give any errors.

Could the writer of the script help us all out here with this?? Your obviously an excellent coder and could do a much better job than all of us. If you need it I can donate you some money to get this all working as I think it is VERY important because users will get pissed off with the forum ASAP if they keep getting pms back from people they have asked to be added as a buddy too FOREVER!!!!

Let me know whether anyone could do this. As I said, $$ in it for whoever wants to take it on.

Thanks

Chris

SS9267547
04-18-2005, 09:54 AM
altsounds: Basically with the User CP you want it to look like the addon for the profile addon? I can do that for you. As for vBulletins buddies system I know there isn't a checking system. I havn't worked on fixing this since it's quite a bit of work for me. I'll see what I can come up with.

Anyway with the whole checking issue, what is the system to check anyway? I mean it already checks a few things like if your on the ignore list, if you add yourself, etc. Like I know it will keep sending pm each time a user removes and adds them to their list but thats how it all works.

T3MEDIA
04-18-2005, 10:53 AM
any chance on that random user code?

SS9267547
04-18-2005, 10:58 AM
On your search section?

T3MEDIA
04-18-2005, 10:59 AM
Yes see I did wanted to get the pm system to work so you can get "Approved" or what not and added to the list automatically but I couldn't figure out a way to get it to work without to much editing to the whole vbulletin buddy system, to much work for me to spend so much time on, need to the rest of my site you know hehe. So I just many it send a "added" to pm instead, short cut lol.couldnt a simple conditional work? If you are a buddy Dont sent the PM. If your not and the user just added you print the accept PM.

or that would be very intensive?

Benj
04-18-2005, 11:16 AM
SS9267547 could i ask for one last lil addon! ;) just wanted a bit of code for register.php so that all new sign ups are automatically added to my list and im added to theres :D cant have members with more buddies than me ;) my user id is "1" hence being the admin :D

nice one

T3MEDIA
04-18-2005, 11:24 AM
On your search section?yes SIR!

SS9267547
04-18-2005, 11:50 AM
benj: Well thats a bit odd addon, I guess if it isn't to hard I'll give it a try lol. Perhaps you can just have your name typed in the referred name automatically? lol

T3MEDIA: I'll PM you about that search request.

altsounds
04-18-2005, 04:00 PM
benj: Well thats a bit odd addon, I guess if it isn't to hard I'll give it a try lol. Perhaps you can just have your name typed in the referred name automatically? lol

T3MEDIA: I'll PM you about that search request.

I was just coming here to request the same thing!!! I think adding the admin as an automaic buddy is a very good way to show users who the main point of contact on the site is.

I would love to have this feature too.

altsounds
04-18-2005, 04:05 PM
altsounds: Basically with the User CP you want it to look like the addon for the profile addon? I can do that for you. As for vBulletins buddies system I know there isn't a checking system. I havn't worked on fixing this since it's quite a bit of work for me. I'll see what I can come up with.

Anyway with the whole checking issue, what is the system to check anyway? I mean it already checks a few things like if your on the ignore list, if you add yourself, etc. Like I know it will keep sending pm each time a user removes and adds them to their list but thats how it all works.


Yep i would like it to be exactly as it is with the profile but to have sepearate options in the control panel, to control how many rows etc for the buddy list view in the User CP. The profile one is already random so just figuring out what to add to the usercp.php file would be all you would need to do (I think :D).

As far as the checking goes for the buddy lists. I think your missing the problem. If you request to add me I get sent a PM. Well in order for your buddy system to work, you need to add me and I need to add you for us to be buddies. So I follow the link in the e-mail to add you as a buddy. Now you receive a PM from me saying I have requested to be added as your buddy and this could potentially go on and on forever and get very annoying.

All you would need to check was before sending the PM, to see if the user the PM is going to is already added (non reciprocal). If so, then the script would add that user to my buddy list too but would bypass the PM feature. Thats pretty much all it would need to do in theory to work. However, I am crap at coding so am looking for your expertise as to how this could be implemented.

You have an amazing hack here, which if all these requests get implemented will be a VERY used hack be everyone as it makes the whole buddy portion of vbulletin MUCH MUCH better.

Thanks and I look forward to your reply.

KTBleeding
04-18-2005, 07:30 PM
I was just coming here to request the same thing!!! I think adding the admin as an automaic buddy is a very good way to show users who the main point of contact on the site is.

I would love to have this feature too.
And I was going to request it a few days ago. Haha.

SS9267547
04-19-2005, 01:53 AM
Okay sometime this week I will release two new addons for vBBuddies, one for the User CP and the other with the register.php that was requested.

altsounds: With the request PM, the PM that gets sent out at this time isn't a request really, it just lets a user know that that member had added them to there list. Did that since making it as a request it wouldn't work with the system. However, to make it as a request a buddy system it would then need to be worked out so it wouldn't send out a PM each time a member adds them. I don't think I'm making sense there lol. Anyway I'll look into the when I have time and if I can get this to work then it would be inculded in the next release.

altsounds
04-19-2005, 02:06 AM
Okay sometime this week I will release two new addons for vBBuddies, one for the User CP and the other with the register.php that was requested.

altsounds: With the request PM, the PM that gets sent out at this time isn't a request really, it just lets a user know that that member had added them to there list. Did that since making it as a request it wouldn't work with the system. However, to make it as a request a buddy system it would then need to be worked out so it wouldn't send out a PM each time a member adds them. I don't think I'm making sense there lol. Anyway I'll look into the when I have time and if I can get this to work then it would be inculded in the next release.


That would be seriously freaking awesome. You have an amazing hack here and with your open-ness it could develop into a fantastic tool. Just make sure you try and code in the ability to either approve or disapprove the friend request.

Another thing! As this is basically going to be replacing everyones buddy list eventually :D could you code in an if statement so that if I am looking at my own profile it will have "remove" links so that I can easily remove a user right from the buddy list. The buddy list could be called from the Control Panel using a link to your own full buddy list. However if I am browsing someone elses buddy list the remove link will not appear. Make sense??

Thanks so much and I look forward to seeing these updates soon.

You're awesome!!

Benj
04-19-2005, 06:38 AM
SS9267547 hahaha sweet man ta :D Looks like theres gonna be a lot of myspace.com vbulletin rip offs :D

KTBleeding
04-19-2005, 07:06 AM
SS9267547 hahaha sweet man ta :D Looks like theres gonna be a lot of myspace.com vbulletin rip offs :D
Please god no! Myspace is bad enough. ;)

altsounds
04-19-2005, 12:05 PM
SS9267547.

You obiously know what is needed to be able to do this as you have it working in your vbbuddies user profile hack.

Could you let us dumb ones know how we could add the check to see if a user is online in any page we want too.

E.g. I would like for my online now logo to show up if a user is online in memberlist, private messages plus anywhere else that might be cool (its a cool way to know if someone is online). I am asking you as I like the way you utilized the online check from the postbit. This is a genius idea as it means all your online nows will be pulled from the same place.

Let me know what steps are needed with any file so that you can add the Online now capabilities.

Thanks

SS9267547
04-19-2005, 12:48 PM
altsounds: With the online/offline feature, I don't think it would work with every page, not 100% sure about that since I used other ways on my other pages to add the online/offline feature like in memberslist and havn't tested it. However the following code is what I use now and should work. Add the following code when the main displaying part of the script starts and replace $inuser to whatever the script uses to get it's data, so it could be $userinfo or $user, whatever it is lol.


// =================================
// Begin online/offline hack. (Edit by: Lucas)
// =================================

require_once('./includes/functions_bigthree.php');
fetch_online_status($inuser, true);

With the approve or disapprove the friend request and remove link, I think what I might do is replace the current buddy list in control panel totally so it would only display what you have and not just list / add whoever you want on the list like it is now. I'll have to see what I can do since I don't know what I'm doing myself lol.

Benj
04-19-2005, 12:51 PM
i think this hack might take over the world !!!

altsounds
04-19-2005, 12:54 PM
Also I am using profilepics as opposed to avatars. However, what I have noticed when testing is that if I upload a new profile picture the picture gets updated in the members profile but not on the buddylist. When investigation I noticed that in my MEMBERINFO template at the end of the image call there is a $userinfo[profilepicdateline] field which is making sure that in the profile it has the most up to date profile pic.

I am still getting to grips with coding and vbulletin. Any ideas how I can set it up to include the dateline in my profile pic call from the buddies file?? I tried the same as was in my profile but that didn't work.

Any help is much appreciated.

altsounds
04-19-2005, 01:05 PM
altsounds: With the online/offline feature, I don't think it would work with every page, not 100% sure about that since I used other ways on my other pages to add the online/offline feature like in memberslist and havn't tested it. However the following code is what I use now and should work. Add the following code when the main displaying part of the script starts and replace $inuser to whatever the script uses to get it's data, so it could be $userinfo or $user, whatever it is lol.


// =================================
// Begin online/offline hack. (Edit by: Lucas)
// =================================

require_once('./includes/functions_bigthree.php');
fetch_online_status($inuser, true);

With the approve or disapprove the friend request and remove link, I think what I might do is replace the current buddy list in control panel totally so it would only display what you have and not just list / add whoever you want on the list like it is now. I'll have to see what I can do since I don't know what I'm doing myself lol.


So put this in the PHP file I want to check online status in right?? E.g. I am trying to do this right no in private.php. I looked through the file and from what I can tell they are using $user so i changed that as appropriate. Now, How do I call this in the Vbulletin template to show the online user logo if a user is online or not.

Sorry for all these questions. I understand most of this but there's a few things I'm still not too good on.

Thanks so much for all your help

SS9267547
04-19-2005, 01:38 PM
Ah with the profile picture, I’m not sure, if I have time I’ll look into when I get home from work and if I have the time. With the online status, yes paste the code when it starts displaying the results. Now to test it you would use $inuser[onlinestatus] or in this case $user[onlinestatus] in the template. Paste that where you want it to show it.

altsounds
04-19-2005, 02:19 PM
Hate to sound really dumb here but how do I know in the PHP file where to paste the code. You say paste the code where it starts displaying the results. How do we know where that is?

SS9267547
04-19-2005, 04:03 PM
Ah I can't say I don't have the files with me. Look for thing like this in the files. Just any example.


while ($users = $DB_site->fetch_array($user))
{


After that you can post the online / offline code or anything else that needs to fetch from the $user database. I don't know I make any sense lol.

altsounds
04-20-2005, 03:13 PM
Nah it doesn't work :(. Also, how hard would it be to use your buddies file to check permissions?? I.e. I have the Profile Web Page and Comments hack installed on my user profiles. I would love it if when someone tried to leave a comment it would check to see if they were a buddy first otherwise give an error message.

There is already some kind of error checking ovolved with it because it check that the user is logged in before they can leave a comment.

Let me know if you have any suggestions.

Thanks

Polo
04-26-2005, 03:25 PM
Got version 1.0.2 working on a vbulletin 3.0.7! The Buddies system looks great SS9267547! Congratulations and thank you.

Cheertobi
04-28-2005, 08:22 AM
Hi,

just installed this hack, with addon 2 and found out that all birthdays have the same year at the "random buddies" block!

Does anyone have the same issue and how can I fix this?

Regards,

Tobi

T3MEDIA
04-28-2005, 01:29 PM
awsome hack and thank you for the extra time you put in.

Very nice person indeed.

T3MEDIA
05-03-2005, 12:15 PM
At the moment this shows banned buddies... how can I make it so this blocks or restricts any buddies that are on the banned list.

This hack is so incorporated into my site it isnt even funny anymore lol!

altsounds
05-12-2005, 01:05 PM
Any way to make this so that the buddy request pm sent is not from the main admin account but from the actual user making the buddy request?? Would be cool if when you open your mail you could see who sent the buddy request as opposed to having admin showing up everywhere.

Let me know

Benj
05-24-2005, 05:29 PM
Parse error: parse error, unexpected ']' in /home/benj/public_html/admincp/options.php on line 116

how do i fix this cant remember

altsounds
05-24-2005, 08:32 PM
Remove the ']' from line 116. :D

altsounds
05-24-2005, 08:35 PM
any chance on that random user code?

To make something random is easy. Just look in the PHP code for the database query and look for either ASC or DESC and then change it to RAND.

Thats it done. You can also limit this by doing ' limit 5' after the rand too if you want (I Believe).

Benj
05-25-2005, 07:14 AM
havnt changed that line tho so cant see why i would need to

illPhever
06-09-2005, 04:54 PM
Nice Hack!

i have a question, though. would anyone know how to add a Custom Field display option? i have a custom user profile field (single-selection menu) and i would like the value of that field to be displayed in the vbbuddy list for each member listed.

...so i would like to add that custom user profle field to the Members & Profile Display Options in the Buddy List settings.

any help would be much appreciated. thanks!

dsboyce8624
06-10-2005, 04:17 AM
Okay, this is great, but I have a couple issues. They are all my fault, but I could use a little help anyway.

Let me say first that I have a custom style. It always makes this harder.

First, the table in UserCP showing buddies, near subscriptions, doesn't showup (the one on profile does, but it messed up the footer and I know how to fix that.)

Second, on memberlist the header on the top column is a buddylist icon, like the conditional ran for the header row.

And lastly, is there a way to make this just show all of your buddies, not just the reciprocal ones?

Thanks,

Dennis

dsboyce8624
06-10-2005, 05:32 PM
Okay, I removed this hack, man that was fun, and all of the addins.

Now the only problem I have is on my memberinfo page where it shows the birthday.

I beleive the phrase was accidentally removed, but I could be wrong.

Instead of "Whatever it said here, like Birthday" : April 12, 1968

I just get the ": April 12, 1968" Not the heading or title of the field.

Any help with restoring this would be appreciated.

EDIT: Okay, searched the install XML for vB and found the phrase, restored. All is well. One of the uninstall scripts removed it, that should get fixed.

Dennis

dsboyce8624
06-11-2005, 04:25 AM
Well, now the Add to Buddy List and Add to Ignore list items are missing from my users profile pages.

Off to check reverted files and templates, wee haw.

EDIT: Okay, that was removed phrases too, can somebody tell me which of these phrases I can remove and not impact my forums?

$phrase['buddy_tools']['text'] = 'Buddy Options';
$phrase['buddy_tools']['phrasetypeid'] = 1;

$phrase['buddy_info']['text'] = 'Buddies Information';
$phrase['buddy_info']['phrasetypeid'] = 1;

$phrase['birthday']['text'] = 'Birthday';
$phrase['birthday']['phrasetypeid'] = 1;

$phrase['last_visit']['text'] = 'Last Visit';
$phrase['last_visit']['phrasetypeid'] = 1;

$phrase['online_status']['text'] = 'Online Status';
$phrase['online_status']['phrasetypeid'] = 11;

$phrase['buddy_currentbuddies']['text'] = 'Current Buddies';
$phrase['buddy_currentbuddies']['phrasetypeid'] = 1;

$phrase['buddy_onbuddylist']['text'] = 'User on your buddy list';
$phrase['buddy_onbuddylist']['phrasetypeid'] = 1;

$phrase['buddy_onignorelist']['text'] = 'User on your ignore list';
$phrase['buddy_onignorelist']['phrasetypeid'] = 1;

$phrase['buddy_notonanylist']['text'] = 'User not on any of your lists';
$phrase['buddy_notonanylist']['phrasetypeid'] = 1;

$phrase['autosystemmessage']['text'] = 'Automated System Message';
$phrase['autosystemmessage']['phrasetypeid'] = 1;

$phrase['viewmemberbuddies']['text'] = 'View Member Buddies';
$phrase['viewmemberbuddies']['phrasetypeid'] = 1;

$phrase['totalbuddies']['text'] = 'Total Buddies';
$phrase['totalbuddies']['phrasetypeid'] = 1;

$phrase['chooseoptionbelow']['text'] = 'Choose Option Below';
$phrase['chooseoptionbelow']['phrasetypeid'] = 1;

$phrase['buddies']['text'] = 'Buddies';
$phrase['buddies']['phrasetypeid'] = 1;

$phrase['add_x_to_ignore_list']['text'] = 'Add {1} to Your Ignore List';
$phrase['add_x_to_ignore_list']['phrasetypeid'] = 1;

$phrase['add_x_to_buddy_list']['text'] = 'Add {1} to Your Buddy List';
$phrase['add_x_to_buddy_list']['phrasetypeid'] = 1;

$phrase['remove_x_from_your_buddylist']['text'] = 'Remove {1} from your Buddy List';
$phrase['remove_x_from_your_buddylist']['phrasetypeid'] = 1;

$phrase['remove_x_from_your_ignorelist']['text'] = 'Remove {1} from your Ignore List';
$phrase['remove_x_from_your_ignorelist']['phrasetypeid'] = 1;

$phrase['can_viewbuddieslist']['text'] = 'Can View User Buddies List';
$phrase['can_viewbuddieslist']['phrasetypeid'] = 3;

Sorry to be a putz, but an unistall should not have done this damage.

Dennis

T3MEDIA
06-11-2005, 11:02 AM
Okay, this is great, but I have a couple issues. They are all my fault, but I could use a little help anyway.

Let me say first that I have a custom style. It always makes this harder.

First, the table in UserCP showing buddies, near subscriptions, doesn't showup (the one on profile does, but it messed up the footer and I know how to fix that.)

Second, on memberlist the header on the top column is a buddylist icon, like the conditional ran for the header row.

And lastly, is there a way to make this just show all of your buddies, not just the reciprocal ones?

Thanks,

DennisAhhh on your memberlist top I have that as well. I figured it is because I completely changed the layout.

Good point.

dsboyce8624
06-11-2005, 06:09 PM
Well, if you uninstall, you need to watch your phrases, it removes several stock phrases.

SS9267547
06-12-2005, 01:24 PM
I don't have much time but here is a small update version 1.0.3. This should fix the problem with the stock phrases at least I hope it will, something I missed. Here is a list of stock phrases that you might have problems with when uninstalling with the old installer or installing with the new installer:


add_x_to_ignore_list
add_x_to_buddy_list
remove_x_from_your_buddylist
remove_x_from_your_ignorelist
online_status
last_visit
birthday


The installer has been update, just in case the pharses are still needed if someone installs the hack they are still in the install script. Hope that helps those that need to uninstall. Enjoy.

Lionel
06-12-2005, 06:57 PM
If you are upgrading to version 1.0.1 from 1.0.0 you will need to first run the old install script and uninstall this hack from the system. Next upload the new installer to your server and run the install script again. Then follow the steps below to add the new features.




Where can I find the old install script? I need to upgrade.

SS9267547
06-12-2005, 08:50 PM
Lionel the install script is almost the same, the only differance is those pharses I meantioned. So if you need them just take out the "//" that is infront of them.

Lionel
06-12-2005, 08:51 PM
thanks. I will uninstall completely and reinstall from scratch.

brendanlim
06-12-2005, 09:46 PM
Got it all installed but having one minor problem with mine. I attatched a picture to show you guys what I'm talking about.

If I have someone added to my list ... and I view my own list and choose the Buddy Options menu, it is BLANK. But it properly shows "Add Budy ...." when I am viewing someone else's list that is not on my buddy list. Hopefully that made sense ....

Any help would be greatly appreciated!

Lionel
06-12-2005, 10:06 PM
in memberlist, should both templates have the same code:
<!-- Start vBBuddies -->
<if condition="$vboptions['buddieslist_activebuddyindicator']"><td class="alt1" width="16">$buddyicon</td></if>
<!-- End vBBuddies -->

SS9267547
06-13-2005, 09:39 PM
brendanlim: Did you just install with the new install? If so I think I know what the problem is which is with the phrases, go into the install and find the where all the phrases are and remove "// from infront of the following...


add_x_to_ignore_list
add_x_to_buddy_list
remove_x_from_your_buddylist
remove_x_from_your_ignorelist


The upload the install and run the install part for the phrases or you can add them manually if you wish. Let me know if this is the problem.

Lionel: Ah I think it should have been in there only once. Check for me be removing one of them. I think one is in there by mistake, most likly I have it in the table header which should be there but instead of "$buddyicon" there should be a space. Let me know.

Lionel
06-13-2005, 10:23 PM
only once. I simply made the second one as non breaking space &nbsp;

SS9267547
06-14-2005, 01:53 AM
Okay I thought that was it, thanks. Okay I'll have to chnage that in the next update.

Lionel
06-14-2005, 01:56 AM
I do have a strange issue with the profile addon. All birthyear show the same ...

altsounds
06-21-2005, 06:27 PM
Any way to make it so unregistered users can see the profile addon??

SS9267547
06-21-2005, 07:04 PM
Well you can try two things in the memberinfo template. One remove the following code.

AND $userinfo['buddiesliststatus']
If that doesn't work try taking out the whole if statment.

<if condition="$vboptions['buddieslist_profileactive'] AND $vboptions['buddieslist_active'] AND $userinfo['buddiesliststatus']">
Remember if you remove the if statment remove "</if>" at the end as well.

Khent
07-07-2005, 12:07 AM
Do you plan on porting this to vB3.5?

Lord Brar
07-07-2005, 01:54 PM
If only I could come and hug you releasing it to the community! THis is just what I was desparately longing for :p

SS9267547
07-08-2005, 03:54 AM
Khent: At this time I'll have to say no since this was designed for use on my site and I don't have any plans on moving to 3.5 becuase that would mean doing a dozen other scripts that I'm working on. But then again you never know.

Lord Brar: Your welcome!

Lord Brar
07-08-2005, 04:19 AM
Khent: At this time I'll have to say no since this was designed for use on my site and I don't have any plans on moving to 3.5 becuase that would mean doing a dozen other scripts that I'm working on. But then again you never know.

You mean that you won't upgrade when 3.5 gold comes out? :p

SS9267547
07-08-2005, 04:21 AM
Lol yes unless I'm in the mood or there is a high demand on it hehe.

illPhever
07-09-2005, 04:40 PM
what determines who the automated private message notification come from when someone is added to your buddy list?

right now mine come from an Administrator, userid=1, but i wanted them to come from another Admin.

SS9267547
07-09-2005, 04:50 PM
illPhever open up your profile.php, find the buddies pm function and look for this line:

$DB_site->query("INSERT INTO " . TABLE_PREFIX . "pmtext (fromuserid, fromusername, title, message, touserarray, iconid, dateline, showsignature, allowsmilie) values ('1', '" . addslashes($vbphrase['autosystemmessage']) . "', '" . addslashes($subject) . "', '" . addslashes($message) . "', '".addslashes($serializedinfo)."', '4', '" . TIMENOW ."', '1', '1')");[/
Now say you want to have the message be by userid '22' well then you would replace that line so it looks like this:

$DB_site->query("INSERT INTO " . TABLE_PREFIX . "pmtext (fromuserid, fromusername, title, message, touserarray, iconid, dateline, showsignature, allowsmilie) values ('22', '" . addslashes($vbphrase['autosystemmessage']) . "', '" . addslashes($subject) . "', '" . addslashes($message) . "', '".addslashes($serializedinfo)."', '4', '" . TIMENOW ."', '1', '1')");

Hope that help and works for you!

illPhever
07-10-2005, 01:47 AM
SS9267547, thanks, that took care of it...and thanks again for the hack :classic:

T3MEDIA
07-10-2005, 12:32 PM
Khent: At this time I'll have to say no since this was designed for use on my site and I don't have any plans on moving to 3.5 becuase that would mean doing a dozen other scripts that I'm working on. But then again you never know.

Lord Brar: Your welcome!Did you get my messages SS9267547???
Any luck on the banned members?
Please and thank you

SS9267547
07-10-2005, 12:39 PM
illPhever: Your welcome!

T3MEDIA: I thought I emailed you it like two days ago? Think to your hotmail account. I'll email you it again.

Kagami Kyoji
07-11-2005, 08:21 AM
For some reason I get the error listed below whenever I try and add someone as a buddy through my usercp. I have set "send private message" to on as you can obviously see, yet I can't seem to find the problem. Any suggestions? :ermm:






Fatal error: Call to undefined function: sendprivatemessage() in /home/content/L/9/I/L9IAnime/html/forums/profile.php on line 503

if ($userid = $DB_site->query_first("
SELECT userid, username, usergroupid, membergroupids
FROM " . TABLE_PREFIX . "user AS user
WHERE username = '$val'
"))
{
$useridcache["$val"] = $userid;
// Start vBBuddies (Edit by: Lucas)
if($vboptions['buddieslist_enablepmrequest'])
{
$frombuddyname = $bbuserinfo['username'];
$frombuddyid = $bbuserinfo['userid'];
$tobuddyname = $userid['username'];
$tobuddyid = $userid['userid'];
eval(fetch_email_phrases('buddies_autopmrequest', iif(isset($newpost_lang["$toemail"]), $newpost_lang["$toemail"], 0)));
$message = convert_url_to_bbcode($message);
sendprivatemessage ($userid, $message, $subject);
}
// End vBBuddies (Edit by: Lucas)
}
}

And also is there anyway for the "View Buddies" to automatically grab up the users profile rather than having to type it in?

SS9267547
07-11-2005, 10:51 AM
You just missed a step. You need to add the 'sendprivatemessage' function to your profile.php file. That should get it working! :)

As for the other question I don't know what you mean by type it in? :nervous:

Kagami Kyoji
07-11-2005, 07:56 PM
Thanks a lot for that =P I was getting confused ><

As for the other thing...

When I added the code you provided to show a "View Buddies" link wherever you want it. I added it to the navbar and it goes to

http://www.l9ianime.com/forums/buddies.php?u=

But for instance to get to my profile it would have to be set to

http://www.l9ianime.com/forums/buddies.php?u=1

However, I cannot get the script to automatically detect and add the user which is clicking on that link so if member number 39 were to click the link it would take him here

http://www.l9ianime.com/forums/buddies.php?u=

But, I would like for it to take him here

http://www.l9ianime.com/forums/buddies.php?u=39

Basically, making it such that the person who wants to view thier buddies list does not have to type in thier member number every time.

akanevsky
07-11-2005, 08:04 PM
Nice hack, however...
"hello ... this is to let you know that ... has added you to their buddies"
.. is kind of not good towards peoples privacy.

illPhever
07-11-2005, 09:08 PM
Nice hack, however...
"hello ... this is to let you know that ... has added you to their buddies"
.. is kind of not good towards peoples privacy.


that's true, but this hack kinda changes the usage of the buddy system...and for those that don't want to "participate", there is an option to keep your buddy list private in the UserCP. look at #2 on the list of features for the hack:

Current Features

2. Option for user to activate or disable public buddy list.


...i do think it's important for people using this hack on their site to notify their users of the change, though, so no one is caught off guard. (i think that was mentioned somewhere in this thread or in the original hack vBFriends thread.)

illPhever
07-11-2005, 09:13 PM
:ermm: ...hmm, just checked and Disabling Public Buddies List doesn't prevent that PM from going out. i see what you mean Dark Visor.

that would be a good addition for the hack.

akanevsky
07-11-2005, 09:38 PM
...hmm, just checked and Disabling Public Buddies List doesn't prevent that PM from going out. i see what you mean Dark Visor.

that would be a good addition for the hack.

Yep :) If the author fixes that, it will be nice. That should be easy, just a simple conditional around the sendpm code.

* akanevsky clicks install

akanevsky
07-11-2005, 09:46 PM
Here goes the fix...

DESCRIPTION:

Will disable the PM buddy list add notification, if a person wants to keep his/her buddy list private.

FIND: (TWICE)

// Start vBBuddies (Edit by: Lucas)
if($vboptions['buddieslist_enablepmrequest'])

REPLACE WITH: (TWICE)

// Start vBBuddies (Edit by: Lucas)
if($vboptions['buddieslist_enablepmrequest'] AND $bbuserinfo[buddiesliststatus] == 1)

SS9267547
07-11-2005, 10:35 PM
Kagami Kyoji: With the 'View Buddies', where are you trying to view the link from? If its from the profile.php or member.php, whatever lol can't think right now, check to see that you did all the steps, sounds like to missed something.

Dark Visor: Yes its something it looks like I've missed, this software just got released without alot of public beta testing so no one has really come up with any big issues. Anyway thanks for the code, will add in whenever there is a next release. Also if there are other issues please do share.

akanevsky
07-11-2005, 10:39 PM
Dark Visor: Yes its something it looks like I've missed, this software just got released without alot of public beta testing so no one has really come up with any big issues. Anyway thanks for the code, will add in whenever there is a next release. Also if there are other issues please do share.

No, I did not notice any issues yet. But I will share. While you did not make a release, you should add a link to my post to your hack's top post.

Kagami Kyoji
07-12-2005, 01:41 AM
Kagami Kyoji: With the 'View Buddies', where are you trying to view the link from? If its from the profile.php or member.php, whatever lol can't think right now, check to see that you did all the steps, sounds like to missed something.

Dark Visor: Yes its something it looks like I've missed, this software just got released without alot of public beta testing so no one has really come up with any big issues. Anyway thanks for the code, will add in whenever there is a next release. Also if there are other issues please do share.

I mean putting a link into the NAV template which says "View Buddies" and takes you to your buddies list.

Or basically the http://www.l9ianime.com/forums/buddies.php?u=1...where is this part found in the install script? I cant find it? I have it working once I enter a number or a member number but, I cannot get it to automatically go to my buddies list without moving up to the address bar and typing in 1 after the u=.

Kagami Kyoji
07-12-2005, 02:40 AM
Ah! Nevermind I simply added

<td class="vbmenu_control"><a href="buddies.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[viewmemberbuddies]</a></td>

in the navbar template =P

illPhever
07-12-2005, 12:56 PM
Here goes the fix...

DESCRIPTION:

Will disable the PM buddy list add notification, if a person wants to keep his/her buddy list private.


thanks Dark Visor.

SS9267547, also on the subject of Private Messaging...i have noticed that even if a user has "Receive Email Notification of New Private Messages" checked in their UserCP, they do not receive email notifications for the VBBuddies automatic notification PM's.

can anyone help on a little more fine-tuning to address this?

illPhever
07-15-2005, 06:43 PM
okay, i think i've found the vb code that sends on the email pm notification, but i'm not sure how to use it in the vbbuddies hack.

in private.php is:

if ($user['emailonpm'] AND $user['usergroupid'] != 3 AND $user['usergroupid'] != 4)
{
$touserinfo = &$user;
eval(fetch_email_phrases('pmreceived', $touserinfo['langageid'], '', 'email'));
vbmail($touserinfo['email'], $emailsubject, $emailmessage);
}


and in the vbbuddies hack is code for the sendprivatemessage function in these 3 places of profile.php:

function sendprivatemessage ($userinfo, $message, $subject)
{
global $DB_site, $vbphrase;

$userarray["$userinfo[userid]"] = $userinfo['username'];
$serializedinfo = serialize($userarray);
$DB_site->query("INSERT INTO " . TABLE_PREFIX . "pmtext (fromuserid, fromusername, title, message, touserarray, iconid, dateline, showsignature, allowsmilie) values ('1', '" . addslashes($vbphrase['autosystemmessage']) . "', '" . addslashes($subject) . "', '" . addslashes($message) . "', '".addslashes($serializedinfo)."', '4', '" . TIMENOW ."', '1', '1')");
$pmid = $DB_site->insert_id();
$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 vBBuddies Functions ################################


// Start vBBuddies (Edit by: Lucas)
if($vboptions['buddieslist_enablepmrequest'])
{
$frombuddyname = $bbuserinfo['username'];
$frombuddyid = $bbuserinfo['userid'];
$tobuddyname = $userid['username'];
$tobuddyid = $userid['userid'];
eval(fetch_email_phrases('buddies_autopmrequest', iif(isset($newpost_lang["$toemail"]), $newpost_lang["$toemail"], 0)));
$message = convert_url_to_bbcode($message);
sendprivatemessage ($userid, $message, $subject);
}
// End vBBuddies (Edit by: Lucas)



// Start vBBuddies (Edit by: Lucas)
if($vboptions['buddieslist_enablepmrequest'])
{
if ($var == 'buddylist')
{
$frombuddyname = $bbuserinfo['username'];
$frombuddyid = $bbuserinfo['userid'];
$tobuddyname = $userinfo['username'];
$tobuddyid = $userinfo['userid'];
eval(fetch_email_phrases('buddies_autopmrequest', iif(isset($newpost_lang["$toemail"]), $newpost_lang["$toemail"], 0)));
$message = convert_url_to_bbcode($message);
sendprivatemessage ($userinfo, $message, $subject);
}
}
// End vBBuddies (Edit by: Lucas)



i think the private.php code can be changed and inserted after the sendprivatemessage function to work for the vbbuddies hack, too, but i don't know how. can anyone assist in altering the private.php code to send out the email pm notification for the vbbuddies hack, too?

commTRU
07-18-2005, 06:26 PM
Thanks very much for the great hack.. Now I just need people to join the forum other than me to test it ;)

jrofosho
07-31-2005, 05:20 AM
i get the following database error when i attempt to change usergroup settings.

Database error in vBulletin 3.0.7:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Registered Users',
description = '',
usertitle = 'Member',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
uttstore_discount = '0',
canviewbuddieslist = '1',
nexia_specific_random = '1',
attachlimit = '0',
avatarmaxwidth = '120',
avatarmaxheight = '120',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
forumpermissions = '127487',
pmpermissions = '3',
calendarpermissions = '19',
wolpermissions = '1',
adminpermissions = '0',
genericpermissions = '4044511',
genericoptions = '30',
feedbackpermissions = '239',
arcadepermissions = '19'
WHERE usergroupid=2
mysql error: Unknown column 'canviewbuddieslist' in 'field list'

mysql error number: 1054

Any help?

T3MEDIA
08-06-2005, 02:34 PM
I messed up for some reason the avatars do not show up on the profile pages anymore. just the avatars (colum and rows) it shows the amounts.

What part handles this so I can look to see where I messed up.
Thanks.
Anyone that knows please advise.

commTRU
08-13-2005, 03:35 PM
You know the Buddy/Ignore list that is linked in the User CP? Is there a way to integrate vBBuddies with this just to spruce it up a little bit? :)

commTRU
08-15-2005, 01:18 PM
Actually, in relation to the above, is there a way of putting the public display option from the Option section of the user cp into the Buddy/Ignore template?

yoyoyoyo
08-21-2005, 02:30 PM
Typos found on buddies.php:Remember that both members need to have each others names added to thier lists to offically be listed here as buddies.

Also...what is the phrase that is supposed to be next to the checkbox that is checked with no writing?

https://vborg.vbsupport.ru/

zquestz
09-16-2005, 09:29 AM
Any hope that this hack is going to be updated for vbulletin 3.5?

b00k
09-19-2005, 11:59 PM
Typos found on buddies.php:

Also...what is the phrase that is supposed to be next to the checkbox that is checked with no writing?

http://img357.imageshack.us/img357/8439/buddiesscreen4pm.jpg

i hvae this issue as well..

i also have no AVATARS showing up in the user profile even though there is a buddy there.. thoughts?

Benj
10-07-2005, 11:19 PM
Any hope that this hack is going to be updated for vbulletin 3.5?

me 2 please pretty please :D

drumsy
10-11-2005, 12:39 PM
This looks like a better option for my website. I'd love to get a port as well! :D

hotwheels
10-16-2005, 04:54 AM
I installed this hack today too.......It got rid of my buddies list link in my navbar and it damaged my members list badly,.....i will post up some pic's tomorrow......and as far as avatar's, it really hurt....they appear for a while, then bam, gone.......

hotwheels
10-16-2005, 09:09 AM
*unistall's*

defi
10-26-2005, 04:49 AM
...any word on a possible port to 3.5 as mentioned above?

Benj
10-26-2005, 03:28 PM
...any word on a possible port to 3.5 as mentioned above?

he told me he has no plans to port it :( sorry

T3MEDIA
11-01-2005, 05:03 PM
I know this is a dead horse but anyone out there has an idea how to do this? See attached.

It is an enhanced request to add as a buddy.

Cheertobi
11-03-2005, 06:14 PM
Hi,

my user asked for this! Has maybe someone plans to port this over for 3.5?

Regards,

Tobi

waza
11-06-2005, 12:07 PM
As I also need this, I plan to port this, actually, I'm already started, but I'll first have to ask permissions to the creator of this hack.

Benj
11-06-2005, 01:21 PM
sweet man ... i asked SS9267547 about him portin it and he said he didnt have any plans to but im sure he wouldnt mind you portin it.. keep us posted. also might be cool waza if you could fix the annoyin continuous friend pm

waza
11-06-2005, 03:52 PM
I 'll try to do that, btw, I plan to make some wannabee section in it.
So you can easily approve the people who have added you.

Benj
11-06-2005, 04:21 PM
sounds sweet man

Snoop-It
11-06-2005, 05:43 PM
Yeah Waza - very clever indeed!! Make this the next hi5 thing!! lol using the functions of Approving / Rejecting is a good idea!

T3MEDIA
11-06-2005, 06:31 PM
As I also need this, I plan to port this, actually, I'm already started, but I'll first have to ask permissions to the creator of this hack.I need that on 3.0.x for one board and 3.5 for another. PLEASE let me know if you will set this up for 3.0.x (Just the aproval part is all I need)

funinthesun
11-06-2005, 11:54 PM
Has this hack been updated for 3.5 yet? Sorry if I'm asking a repeat question :nervous:

Benj
11-07-2005, 10:17 AM
Has this hack been updated for 3.5 yet? Sorry if I'm asking a repeat question :nervous:

read up lol yes it is if your nice :P

funinthesun
11-07-2005, 12:48 PM
Lol, sorry :nervous: Can't find where it says for 3.5? Please help :)

waza
11-07-2005, 03:31 PM
I have got permissions from SS9267547, I'll port this as soon as possible.
@t3media: I will not extend the hack for 3.0.x, but If you'll see the code of the 3.5 hack, maybe you 'll be able to do it yourself...

Ghostsuit
11-08-2005, 03:14 AM
Sounds excellent can't wait to see the port.

funinthesun
11-08-2005, 03:45 PM
Niether can I :)

waza
11-08-2005, 06:26 PM
hack is 75% done, untill now I've been able to do everything with plug-ins, now I'm a little bit stuck with some things, but will try to solve them, after that just make a nice product with everything and release it!

Screen attached for the wannabee aproval.

Ghostsuit
11-08-2005, 07:53 PM
Oh nice.

Cheertobi
11-08-2005, 08:22 PM
Great news waza ;)

Benj
11-08-2005, 08:49 PM
looks good man

funinthesun
11-09-2005, 12:16 AM
Looking good waza :)

waza
11-09-2005, 01:24 PM
Today I'll do a preview release, the pm-function doesn't work yet and there's no unapprove buddies function.

waza
11-09-2005, 01:53 PM
Beta 1 released:

https://vborg.vbsupport.ru/showthread.php?p=816748

Karsh
12-21-2005, 10:48 PM
sorry wheres the install notes?

T3MEDIA
02-18-2006, 02:39 AM
I dont think anyone is messing with this anymore and I got the vibe SS9267547 pritty much wants to be left alone... but has anyone knoticed that guests can not see friends lists? Even if its set for them to view. I have no idea why that is. If its a common thing please let me know. Thanks.

T3MEDIA
02-18-2006, 02:41 AM
hack is 75% done, untill now I've been able to do everything with plug-ins, now I'm a little bit stuck with some things, but will try to solve them, after that just make a nice product with everything and release it!

Screen attached for the wannabee aproval.Where in perticular did you place the code for auto ignore or non acceptance of a buddy? Thanks.

jahshaka
02-26-2006, 09:24 AM
any idea why this hack doesnt work for me? everything else seems to work great but i dont see the buddies in my user cpnale?

Addon # 1 (Usercp basic addon):
https://vborg.vbsupport.ru/show...68&postcount=53

MikaK
07-22-2006, 08:22 PM
Here you go KTBleeding. This addon will hopfully create what you wanted.


Hi. Very cool hack. About Addon hack 2: Instead of randomly displaying members, would it be difficult to hack it so they would be displayed by last activity or join date? Ideally giving a viewer the option to sort the list would be awesome! Like alphabetically/postcount/user_rating/joiondate/lastactivity.

-Mika