PDA

View Full Version : VbBuddies RC 1


waza
11-08-2005, 10:00 PM
Hey,
This is basicly a port of the vbbuddies for vb 3.0.x you can find here:
Also all screenshots you can find here
https://vborg.vbsupport.ru/showthread.php?p=816720

Altough I have added an approve wannebee option and maybe more will be added in the future.

For people who don't know vbbuddies for 3.0.x:
vbbuddies gives every user a page with his buddys, they can set whether it's public or not.
You can set for every usergroup if they can see the buddy page and you can also set what to show on the page and some other options.
Vbbuddies only show people if you have added them and they have added you. If there is only one link, the user shows up as a wannabee and the other one can see the wannabees and add them as buddys...


This is a beta, but I tested it on a 3.5.0 and 3.5.1 and it worked, but you never know.

Edits :
10-november-2005:
New package that fixes all errors.
Re-upload the buddies.php
Overwrite the plug in
upload the images

11-november-2005:
Beta 3 released.
Re-upload the buddies.php
Overwrite the plug in
upload the wannabee.gif
Do template mods as described in upgrade.txt

New Stuff in beta 3:
online buddies, offline buddies and wannabees shown in profile,
wannabee image in memberlist bits
resize avatar option
some new phrases and some phrases fixed
link in profile fixed

12-november-2005:
A fix and an uninstaller for members with vb 3.0.x versions .
For members who had the vb 3.0.x version and upgraded their board:
first run the uninstaller and then do a fresh install
For all others:
overwrite the product.

19-november-2005:
RC1 released.
New:
-pm function
-maximum buds per usergroup
-wannabee management for users
-some phrases
-file with optional steps
Fixes:
-uninstaller for 3.0.x versions
-some small things



Make sure you do all instructions as said in the install.txt file

Have fun!

And btw, please click install if you use this!

waza
11-09-2005, 01:52 PM
More screenshots can be found here
https://vborg.vbsupport.ru/showthread.php?p=816720

nexialys
11-09-2005, 02:17 PM
can you explain what are these Wannabees ?!
i understand the logic, but not the use of these and how it work in the system...

waza
11-09-2005, 02:20 PM
well, vbbuddies only shows the buddies if you have added them, and they have added you...
And so wannabees are users who have added you as a buddy, but you haven't added them...

so, now you can easily see who have added you and easily add them as you buddies...

Cyricx
11-09-2005, 03:04 PM
This is very nice. I'll have to add this to my list to install after it exits beta :)

lazyseller
11-09-2005, 04:00 PM
Does this add alot of queries to vbulletin ?

mikexxx
11-09-2005, 04:06 PM
I have add this to my list to install after it exits beta ;)

funinthesun
11-09-2005, 04:34 PM
I'll install this once the finished product has been released ;)

Benj
11-09-2005, 04:49 PM
nice man

FleaBag
11-09-2005, 05:17 PM
Awesome. One of my faves from 3.0.x. Installing now. :)

waza
11-09-2005, 05:29 PM
It won't work :p. I just saw some errors of something I have personally edited on my site that shouldn't be in here, and the files don't work.
I have updated the .zip, just overwrite the product and re-upload buddies.php

FleaBag
11-09-2005, 05:42 PM
I just noticed hehe. Thought it was a template problem, had been rooting around for ages. About to update. :)

EDIT: I don't have all the options you have in my ACP.

waza
11-09-2005, 05:56 PM
That's why it's called a beta :D

I saw a option was missing, also some phrases, I'll work on it.

FleaBag
11-09-2005, 05:58 PM
I don't have 'Buddy Indicator Active'.

The only extra option I have in Usergroup permissions is 'Can view buddylist?' - should there be a second?

EDIT! Your edits are confusing me, my posts suddenly become idiot rant! :p

FleaBag
11-09-2005, 06:03 PM
But I guess it isn't working. ;)

No option in the UCP for viewing buddies, although approving wannabe's works fine. Also, on the profile page the number of buddies is shown, but there is no link to view member buddies.

Viewing the buddies also does not work. See here (http://www.dragonninja.co.uk/buddies.php?u=1) for an example.

Snake
11-09-2005, 06:38 PM
Best hack ever! Thanks!

waza
11-09-2005, 07:25 PM
srry, I know all these problems, It's just a messed product. I already have a fix for all your problems.
Btw, the options showed on the screen are the options that can be found under admincp->vbulletin options

Tomorrow I'll update a new zip file...

FleaBag
11-09-2005, 07:53 PM
Hey no need to apologise! I completely understand that if I jump on a hack as soon as it's released I might run into trouble heh. I'm just trying to help, it's a bit of fun, keeps hacking vB from becoming menotenous! Thanks for the support, I look forward to installing the updated files. :)

Lea Verou
11-09-2005, 08:51 PM
Looks very nice! I'll probably use it when it reaches gold :)

waza
11-10-2005, 09:04 AM
Hey no need to apologise! I completely understand that if I jump on a hack as soon as it's released I might run into trouble heh. I'm just trying to help, it's a bit of fun, keeps hacking vB from becoming menotenous! Thanks for the support, I look forward to installing the updated files. :)
uhu, glad you test it, when I'm home (in school now) I'll update a fix, maybe I'll be able to put the pm-function in it, will see about that.

sabret00the
11-10-2005, 11:39 AM
the original version of this would add a query per buddy, is that still the case?

Detomah
11-10-2005, 01:28 PM
Ok, i've got it installed and working, few bugs to report though that i've found, but that's what beta's are for right... ;)

If it'll let me i'll add some screenshots to give a visual too.

1. Follwing the instructions to the letter, the memberslist and members info templates don't display right. (easy to fix for me though, but probably not for some others) For the members info bit, it also needs the td thead bit adding too or it looks wrong and it looks like there are no phrases for the buddy icons at the bottom of the list either?
2. You may want to add the buddy icons to your attachment, I had to get them from the original hack.
3. How the heck do you display your actual buddies page? I can't find anywhere in the instructions that actually tells you how to use it once it is installed?
4. It's not showing up the little icon in members list if you have buddies on my forum either?
5. Ok, got to my buddylist and as you can see from the screenshot of that, it's not quite displaying the way I think it is meant to.

I'll keep on looking and see if I can find any more potential bugs, after all, once found they can be corrected. :)

Edit: I've had to disable it for the time being as it's to buggy to let it be public, but besides working through some of the issues, I think this is going to be a superb addition once complete. :)

funinthesun
11-10-2005, 03:09 PM
That's great. It's looking really good :)

waza
11-10-2005, 03:15 PM
New package that fixes all errors, reupload buddies.php, overwrite plug-in and upload images.
@detomah: numbers 2-5 have been done.
about number 1: I checked the instructions on a clean board (non-edited templates) and they are not wrong... Maybe the templates have been edited before or you didn't follow instuctions right (above/below....)

Grz,
seba

Detomah
11-10-2005, 03:21 PM
New package that fixes all errors, reupload buddies.php, overwrite plug-in and upload images.
@detomah: numbers 2-5 have been done.
about number 1: I checked the instructions on a clean board (non-edited templates) and they are not wrong... Maybe the templates have been edited before or you didn't follow instuctions right (above/below....)

Grz,
seba

Cool. :)

Not too worried about 1. as it was to be honest, simple template edits fixed that one for me, that one could have been my error, thought i'd add that as well though just in case. :)

Will upload the fixes and let you know my results anyway. *fingers crossed* although i'm sure it'll be much smoother now. :)

Detomah
11-10-2005, 03:46 PM
Ok, I put it live for a bit to test with some users and they are all getting an error when trying to access their buddies list:

Email:

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Error Number : 1064
Date : Thursday, November 10th 2005 @ 05:41:56 PM
Script : /forum/profile.php?do=editlist
Referrer : /forum/usercp.php


and

MySql Error:

Invalid SQL:
SELECT username,userid FROM user WHERE userid IN ();


Bizarre though, it works fine for me, but not for another admn or a normal user?

Also, I have 15 people in my buddies list, yet it only showed 5 of them on the buddies page?

I still don't get an icon next to peoples names who have buddies on their list in the memberslist either?

waza
11-10-2005, 03:59 PM
The icon must be fixed, as I tested it on a clean board (from dholaholics.com) And there it worked, are you sure you uploaded images in right directory and did the template edits?

Maybe view source of the memberlist page and search...
I'm now looking for that error, It has something to do with the approve thing, however it works on my forum :s
I think It might be showing up if there are no wannabees, Will check this, I have found some broken phrases, will fix them too and re-upload the zip package.

BTW, be sure those buddies also have added you, vbbuddies only shows buddies who are linked back.

waza
11-10-2005, 04:08 PM
<u>10-november-2005:
Another fix: When no wannabees
Fixed some phrases.</u>
Just overwrite the product

Detomah
11-10-2005, 04:41 PM
10-november-2005:
Another fix: When no wannabees
Fixed some phrases.
Just overwrite the product

Ok, all the templates are displaying fine for me now, think that was partially my fault.

The mysql error is fixed now.

1. It still not showing the correct amount of buddies in buddies.php I have 8 on my list now, but it's only showing 6, but I have the maximum per page set at 12 in the admin options.

2. The only other bit that seems to be not working for me now is the icons on the memberslist. It shows the gray one if they have no buddies, but it isn;t showing either the green one or the red one.

One other suggestion also, maybe have a link in the postbit popup that lionks to your buddy list?

Sorry if you think i'm gibbering on here by the way, just trying to offer my services in testing it a little while I install it for myself.

Edit: Ok, I've figured out the bit with the showing the buddies. I guess it only shows people on your buddy page who your on the list of, so basically no wanabee's. Is that meant to be that way. If so, that bit is working fine then, lol. Eeek, or maybe reading the text on that page might of helped me get that a damn sight quicker, DOH. >.<

waza
11-10-2005, 07:24 PM
Hey, It indeed, it shows only buddies who have also you on their list and you have them on your list, no wannabees, it's meant to be like that.

I don't think you are gibbering, I 'm very glad you test this and report bugs.
I think I add a seperate image and part on the page vor wannabees, wil have to see about that.

Grz,
seba

funinthesun
11-10-2005, 10:09 PM
So is this complete now? I don't want to install until all bugs are fixed :D

Detomah
11-10-2005, 11:55 PM
1 bug and 1 suggestion left in my mind, it's working fine on my site now besides that.

The bug: Only the gray buddyicon is showing, the other 2 colours are not showing, there is just a blank space where they are meant to be. The conditional doesn't seem to be working for my site.

The Suggestion: Make a link from the postbit to the persons buddy page. I know it's simply and I could quite easily do that myself for my forum, but it would be a good way to give extra coverage of the feature. :)

Besides that, I think this is a great feature and it makes great use of the buddy list, which for the most part I reckon is unused on most forums.

trackpads
11-10-2005, 11:59 PM
I think you are missing a template edit somewhere, I cant seem to call the buddies page unless I manually add my user id to the end of it aka "?u=3".

Also, in the profile view the buddies listing isnt a link to my buddy page.

This hack really has some great potential and I love it already, great work!!

-Jason

trackpads
11-11-2005, 12:00 AM
Also, how about a postbit icon link to the users buddy page?

Detomah
11-11-2005, 01:12 AM
Ok, after a little bit of investigating...

I've found part of the problem of the missing coloured buddy icons:


</template>
<template name="buddies_notonanylist" templatetype="template" date="1131562192" username="seba" version="3.5.1"><![CDATA[<a href="buddies.php?$session[sessionurl]u=$userinfo[userid]"><img src="$stylevar[imgdir_misc]/notonanylist.gif" border="0" alt="$vbphrase[buddy_notonanylist]"></a>]]></template>
<template name="buddies_onignorelist" templatetype="template" date="1131562240" username="seba" version="3.5.1"><![CDATA[<a href="buddies.php?$session[sessionurl]u=$userinfo[userid]"><img src="$stylevar[imgdir_misc]/onignorelist.gif" border="0" alt="$vbphrase[buddy_onignorelist]"></a>]]></template>
</templates>


Your missing a template there in the product-buddiehack.xml file. So basically it is only adding 2 templates for the buddie icons.

The one it is missing is:
buddies_onbuddylist

<a href="buddies.php?$session[sessionurl]u=$userinfo[userid]"><img src="$stylevar[imgdir_misc]/onbuddylist.gif" border="0" alt="$vbphrase[buddy_onbuddylist]"></a>


However, after manually adding that template to the buddy product system, i've now found a slightly different problem.

All users that are either on your buddy list or or whatever it is that brings up the red icon are showing as green icons, which i'm certain is wrong?

Hehe this is good practice for me here at the same time. :)

Not sure if it is possible, but would be nice to be able to reject wanabees and kick yourself off their list?

Are there a couple more phrases missing too?
e.g. Last Visit & Date Of Birth?

Missing phrase - viewmemberbuddies ?

noonespecial
11-11-2005, 03:41 AM
Any chance of getting the hack to put this on the user's profile?

waza
11-11-2005, 08:26 AM
Hey,
Soon I'll release a beta 2
All phrases will be now in it, there will be an extra option to resize avatars,
The memberlist icons will be fixed and there will be an extra icon in members list for wannabees and an extra section in buddies for members
If I can fix it pm function will be in it too.
@noonspecial: I could add some plug ins and instructions to put this on the profiles page, will probably be for a later version.

trackpads
11-11-2005, 10:42 AM
Hey,
Soon I'll release a beta 2
All phrases will be now in it, there will be an extra option to resize avatars,
The memberlist icons will be fixed and there will be an extra icon in members list for wannabees and an extra section in buddies for members
If I can fix it pm function will be in it too.
@noonspecial: I could add some plug ins and instructions to put this on the profiles page, will probably be for a later version.

More Ideas:

1. Add a Navbar Template "My Buddies" Link
2. Add a Postbit Counter that would display the number of buddies like the one on the profile page.

Thanks!

Detomah
11-11-2005, 03:42 PM
More Ideas:

1. Add a Navbar Template "My Buddies" Link
2. Add a Postbit Counter that would display the number of buddies like the one on the profile page.

Thanks!

I've hardcoded those bits into the templates for the time being, I can post the code if you want need it?

trackpads
11-11-2005, 04:05 PM
I've hardcoded those bits into the templates for the time being, I can post the code if you want need it?

Please! Thank you very much!!

Detomah
11-11-2005, 04:52 PM
Please! Thank you very much!!

No worries, they are only temp fixes though, i'm sure the finished product will be much smoother when it's done.

Ok, open the MEMBERINFO template:

Find the following code:

<!-- Start Buddies Hack -->
<if condition="$vboptions['buddieslist_active'] AND $userinfo['buddiesliststatus']">
<fieldset class="fieldset">
<legend>$vbphrase[buddies]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[totalbuddies]: <strong>$buddyinoutcounter</strong>
</td>
</tr>
<tr>
<td><a href="buddies.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[viewmemberbuddies]</a></td>
</tr>
</table>
</fieldset>
</if>
<!-- End Buddies Hack -->


And replace it with:


<!-- Start Buddies Hack -->
<if condition="$vboptions['buddieslist_active'] AND $userinfo['buddiesliststatus']">
<fieldset class="fieldset">
<legend>$vbphrase[buddies]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<a href="buddies.php?$session[sessionurl]u=$userinfo[userid]">Total Buddies</a> <strong>$buddyinoutcounter</strong>
</td>
</tr>
</table>
</fieldset>
</if>
<!-- End Buddies Hack -->


Then save it, that's that bit done.

That'll give you a link from your members info page to the buddy page.

Ok, now open the postbit or postbit_legacy template, which ever you use:

Find the following code:

<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>


Add underneath:

<if condition="$vboptions['buddieslist_active']">
<tr><td class="vbmenu_option"><a href="buddies.php?$session[sessionurl]&amp;u=$post[userid]"><phrase 1="$post[username]">View {$post[username]}'s Buddy Page</phrase></a></td></tr>
</if>


Then save it, that's that done.

That gives you a link from your postbit popup to the buddy page.

Ok now open the navbar template:

Find the following code:

<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>


Add underneath:

<if condition="$vboptions['buddieslist_active']">
<td class="vbmenu_control"><a href="buddies.php?$session[sessionurl]&amp;u=$post[userid]">Buddy Page</a></td>
</if>


And save it, that's that done.

That'll add a link in the forum navbar to the buddy page.

Ok, that should be it, it should be pretty straight forward to do.

I'm sure Wasa will be along before to long with these built into the script. :)

Edit: I'll have a little play with the buddy counter, I think that may have to be coded into the actual files though and if so I won't bother as it would only need taking back out once Wasa is done updating it. :)

waza
11-11-2005, 05:01 PM
updated to beta 3 lot's of new features (see first post)

Next version will contain:
More expended wannabee approval / unapproval
Limit amount of buddies per usergroup
some other things.

Detomah
11-11-2005, 05:06 PM
updated to beta 3 lot's of new features (see first post)

Next version will contain:
More expended wannabee approval / unapproval
Limit amount of buddies per usergroup
some other things.

Nice one. :)

But Bah... I knew that would happen just after I posted that above. :p

waza
11-11-2005, 05:40 PM
hehe, btw, screens or updated too. Only the admin options doesn't include some of the new things.

I'll also try to add pm function in next version (what will be a RC)

noonespecial
11-11-2005, 07:03 PM
When I tried to install this product, i got a database error:

Database error in vBulletin 3.5.1:

Invalid SQL:

INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
VALUES
(
'buddieslist_active',
'buddieslist',
'1',
'1',
'free',
'yesno',
0,
0,
1,
'budiehack'
),
(
'buddieslist_closedmessage',
'buddieslist',
'Sorry, but the buddies list is closed for maintenance. Please check back soon.',
'Sorry, but the buddies list is closed for maintenance. Please check back soon.',
'free',
'textarea',
10,
0,
1,
'budiehack'
),
(
'buddieslist_linelimit',
'buddieslist',
'5',
'3',
'free',
'',
20,
0,
1,
'budiehack'
),
(
'buddieslist_perpagelimit',
'buddieslist',
'40',
'9',
'free',
'',
30,
0,
1,
'budiehack'
),
(
'buddieslist_informationtext',
'buddieslist',
'1',
'1',
'free',
'yesno',
40,
0,
1,
'budiehack'
),
(
'buddieslist_enablepmrequest',
'buddieslist',
'1',
'1',
'free',
'yesno',
60,
0,
1,
'budiehack'
),
(
'buddieslist_activebuddyindicator',
'buddieslist',
'1',
'1',
'free',
'yesno',
70,
0,
1,
'budiehack'
),
(
'buddieslist_displayoptions',
'buddieslist',
'Array',
'',
'free',
'<input type=\\\"hidden\\\" name=\\\"setting[$setting[varname]][]\\\" value=\\\"0\\\" />\r\n<table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" border=\\\"0\\\">\r\n<tr valign=\\\"top\\\">\r\n<td class=\\\"smallfont\\\" nowrap=\\\"nowrap\\\">\r\n<label for=\\\"buddydisplay1\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay1\\\" value=\\\"1\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 1), \'checked=\"checked\"\') . \" />$vbphrase[birthday]</label><br />\r\n<label for=\\\"buddydisplay2\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay2\\\" value=\\\"2\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 2), \'checked=\"checked\"\') . \" />$vbphrase[age]</label><br />\r\n<label for=\\\"buddydisplay4\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay4\\\" value=\\\"4\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 4), \'checked=\"checked\"\') . \" />$vbphrase[join_date]</label><br />\r\n</td>\r\n<td>&nbsp;</td>\r\n<td class=\\\"smallfont\\\" nowrap=\\\"nowrap\\\">\r\n<label for=\\\"buddydisplay8\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay8\\\" value=\\\"8\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 8), \'checked=\"checked\"\') . \" />$vbphrase[post_count]</label><br />\r\n<label for=\\\"buddydisplay16\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay16\\\" value=\\\"16\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 16), \'checked=\"checked\"\') . \" />$vbphrase[user_title]</label><br />\r\n<label for=\\\"buddydisplay32\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay32\\\" value=\\\"32\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 32), \'checked=\"checked\"\') . \" />$vbphrase[last_visit]</label><br />\r\n</td>\r\n<td>&nbsp;</td>\r\n<td class=\\\"smallfont\\\" nowrap=\\\"nowrap\\\">\r\n<label for=\\\"buddydisplay64\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay64\\\" value=\\\"64\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 64), \'checked=\"checked\"\') . \" />$vbphrase[avatar]</label><br />\r\n<label for=\\\"buddydisplay128\\\"><input type=\\\"checkbox\\\" name=\\\"setting[$setting[varname]][]\\\" id=\\\"buddydisplay128\\\" value=\\\"128\\\" tabindex=\\\"1\\\" \" . iif(bitwise($setting[\'value\'], 128), \'checked=\"checked\"\') . \" />$vbphrase[online_status]</label><br />\r\n</td>\r\n</tr>\r\n</table>',
80,
0,
1,
'budiehack'
),
(
'buddy_avatarresize',
'buddieslist',
'',
'',
'free',
'yesno',
90,
0,
1,
'budiehack'
),
(
'buddy_avatarresizesize',
'buddieslist',
'',
'',
'number',
'',
100,
0,
1,
'budiehack'
),
(
'buddy_showinprofile',
'buddieslist',
'',
'',
'free',
'yesno',
110,
0,
1,
'budiehack'
);

MySQL Error : Duplicate entry 'buddieslist_active' for key 1
Error Number : 1062
Date : Friday, November 11th 2005 @ 04:15:57 PM
Script : http://www.absolutepunk.net/admincp/plugin.php
Referrer : http://www.absolutepunk.net/admincp/plugin.php?do=productadd
Classname : vb_database

waza
11-11-2005, 07:11 PM
Uhu, I checked this on a board who had the vb 3.0.x installed and upgraded,
I'll check what to do for boards that upgrade. Will come to you back tomorrow, srry for this error, didn't checked that before....

Benj
11-11-2005, 07:27 PM
sorry where does this online offlinebuddies thing show i mean on what page. i recon it could be cool onthe user cp page if it isnt already there :D

cheers for this product W

noonespecial
11-11-2005, 07:45 PM
Uhu, I checked this on a board who had the vb 3.0.x installed and upgraded,
I'll check what to do for boards that upgrade. Will come to you back tomorrow, srry for this error, didn't checked that before....

No problem man, thanks for checking it out for me - really appreciate the time and effort you put into making hacks for all of us.

FleaBag
11-11-2005, 07:46 PM
Hey seems to be working well now. An option to show Profile Picture would be nice. ;)

There are also still a couple of hard coded phrases. 'There are no buddies for this member at this time.' for example. :)

Cheers!

FleaBag
11-11-2005, 08:21 PM
Um just realised something too. The buddy list on the bottom of the page is showing all of my buddies on everyone's profiles! ;)

waza
11-12-2005, 07:30 AM
Ow, daimned I already know the cause of that, for testing I changed $userinfo to $vbulletin->userinfo, so everywhere It will show your buddies, will upload a new package this afternoon also with an uninstaller for people who upgraded their board from vb 3.0.x with this hack (like noonespecial)

waza
11-12-2005, 08:42 AM
<u>12-november-2005:
A fix and an uninstaller for members with vb 3.0.x versions .</u>
For members who had the vb 3.0.x version and upgraded their board:
first run the uninstaller and then do a fresh install
For all others:
overwrite the product.

The uninstaller hasn't been tested because I haven't a upgraded board with the old version, but it just is the old installer with only uninstall options that are changed to vb 3.5 api, so It must work.

Grz,
seba

Wordplay
11-12-2005, 11:22 AM
in your before before last attachment:
https://vborg.vbsupport.ru/attachment.php?s=94
is it possible to just have it displayed on user's page directly at the very bottom or so? and the online, offline, and wannabees are displayed with a seriously bad looking scroll through on the side and on the bottom, anyway to get rid of that?

waza
11-12-2005, 11:39 AM
invalid attachment url, but I guess you mean the one that is displayed in memberslist

The last one is displayed in members profile

But you first have to activate (I guess, don't know standard values of settings) these things under vbulletin options->buddies list in admincp

Just finished the maximum amount of buddies, Can be useful if you have a vip membership or something...

Wordplay
11-12-2005, 11:50 AM
hey waza i just updated my question, thanks for replying so swiftly
s it possible to just have the page you get when you click on check out their buddies displayed on user's profile directly at the very bottom or so? and the online, offline, and wannabees are displayed with a seriously bad looking scroll through on the side and on the bottom, anyway to get rid of that?

waza
11-12-2005, 12:04 PM
Hmm, i did that cause if you have a large amount of buddies it would really mess up the page.
however, if you want the scrolls away open template: buddies_profile and delete the <div> tags around $wannabeebits $budonbits and $budoffbits
grz,
seba

Wordplay
11-12-2005, 12:12 PM
ok thanks, 1 more question please...

is it possible to have the buddylist template displayed when you click on view buddies on a user's profile page? like beneath the part with the wannabees, budons and budoffs?

waza
11-12-2005, 01:06 PM
not at this moment, maybe later.

waza
11-12-2005, 07:25 PM
I have now done like everything a whole new management system for wannabees, pm function works, a maximum amount of buddies per usergroup, ...
tomorrow I will release RC 1, and if that proofs to bee stable, I think we might have a gold ;)

Detomah
11-13-2005, 12:17 AM
I have now done like everything a whole new management system for wannabees, pm function works, a maximum amount of buddies per usergroup, ...
tomorrow I will release RC 1, and if that proofs to bee stable, I think we might have a gold ;)

You are working hard on this. :)

Nice one, look forward to it. :)

Will it still be do-able as an update, or will it need the old one uninstalling and a fresh install for the new one?

waza
11-13-2005, 07:35 AM
You will have to overwrite te product, buddies.php and bitfield xml if that answers your question.

But if you overwrite the product I think this uninstalls it first and then re-installs the new one, (not quite sure)

FleaBag
11-13-2005, 11:14 AM
Hey waza, I'm really impressed with your dedication to the hack, it's going from strength to strength!

With regard to having buddy avatars directly on the profile.php page, I can understand it could look a mess... So why not limit it to say 8, displayed at random? Similar to how it is on Myspace (http://www.myspace.com/orgseey)?

Cheers! :)

waza
11-13-2005, 06:51 PM
Hmm, will put it on the ideas list, but it will be for a later version then rc 1, features list for that one is closed.
(I'm finishing the pm function, then all new options (limit buddie quota, wannabee management) will be completed.

I also have on my ideas list some ajax thing like the pm of vbulletin has, if you enter 3 characters or more it looks for corresponding user names...

Grz,
seba

noonespecial
11-16-2005, 03:48 AM
Attempted uninstall, two errors:

Step 3:

Fatal error: Call to a member function on a non-object in /home/jason/public_html/admincp/vbbuddies_uninstall.php on line 481

Step 4:

Database error in vBulletin 3.5.1:

Invalid SQL:
ALTER TABLE IF EXISTS user DROP buddiesliststatus;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF EXISTS user DROP buddiesliststatus' at line 1
Error Number : 1064
Date : Wednesday, November 16th 2005 @ 01:01:19 AM
Script : http://www.absolutepunk.net/admincp/vbbuddies_uninstall.php?do=uninstall&step=4
Referrer : http://www.absolutepunk.net/admincp/vbbuddies_uninstall.php
IP Address : 68.64.208.134
Classname : vb_database

Benj
11-16-2005, 10:16 AM
Hmm, will put it on the ideas list, but it will be for a later version then rc 1, features list for that one is closed.
(I'm finishing the pm function, then all new options (limit buddie quota, wannabee management) will be completed.

I also have on my ideas list some ajax thing like the pm of vbulletin has, if you enter 3 characters or more it looks for corresponding user names...

Grz,
seba

u gotta love the ajax

noonespecial
11-17-2005, 05:52 PM
Any solution to my problem?

waza
11-17-2005, 06:32 PM
yeah, fixed it, but will release it this weekend with the rc 1, now testing things, but I haven't got much time last days due to school

noonespecial
11-17-2005, 11:28 PM
yeah, fixed it, but will release it this weekend with the rc 1, now testing things, but I haven't got much time last days due to school

Thanks! Much love.

Snoop-It
11-19-2005, 09:18 PM
PM Function doesn't work, everything else does :)

moonclamp
11-19-2005, 10:46 PM
RC1: My memberlist is returning this error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /memberlist.php(91) : eval()'d code on line 1

moonclamp
11-19-2005, 11:02 PM
Also ... I've got the journal mod installed and I can no longer add any 'journal buddies'

moonclamp
11-19-2005, 11:22 PM
PM Function doesn't work, everything else does :)

Mine sort of sends a PM ... but the title of the PM is merely the buddies name with a link to their profile and no message body

Snoop-It
11-20-2005, 12:00 AM
^^ did u have to revert any templates??? i have 2 test accounts, added 1 of them to the other... i didnt get a pm :/ but it does do the normal stuff like add the person on wannabees list...

moonclamp
11-20-2005, 04:48 AM
^^ did u have to revert any templates??? i have 2 test accounts, added 1 of them to the other... i didnt get a pm :/ but it does do the normal stuff like add the person on wannabees list...

No. This was my first install. I never bothered with the beta versions.

mikexxx
11-20-2005, 07:13 AM
RC1: My memberlist is returning this error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /memberlist.php(91) : eval()'d code on line 1I have the same problem on my board.

waza
11-20-2005, 08:05 AM
K, thx for reporting these things, I have updated the package, just overwrite the product and everything (pm, memberlist & other list updates) should work correct now.
I'm sure that pm and journal buddy list & ignorelist work now, but the memberlist thing worked for me, However I have changed it and it should now work for everyone.

mikexxx
11-20-2005, 10:02 AM
Hi, to bad still have this error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /memberlist.php(91) : eval()'d code on line 1

waza
11-20-2005, 12:35 PM
if you just disable the:
Hook Locatie : memberlist_start
buddies: template resources
plug-in
On my board it still shows up the necessary templates, however, It could be because that is temporary internet files.

Roxie
11-20-2005, 03:52 PM
Seems to work half of the time. Could be a good addition.

My icons show green for people that aren't even on my list.

waza
11-20-2005, 05:03 PM
Next week the stable will be released, I have fixed today some bugs, and added some options, I will test it myself on some none hacked boards and hacked boards to see if everything works.
@roxy: Could I have the url to your forums so I can see myself, Caus I tested this on 3 boards and the memberlist bits worked fine... However I double check everything tomorrow.

trackpads
11-21-2005, 02:20 PM
Waza,

Thanks for all of the work on this, it is apprecaited!

DS MrSinister
11-21-2005, 02:48 PM
just fixed it my problem had the code in the wrong place lol.

Dsyn11
11-21-2005, 07:10 PM
very interested in this... waiting for a stable version.

Flow Fusion
11-21-2005, 09:39 PM
Works great, thanks!

subnet_rx
11-22-2005, 02:40 AM
Waza,

Thanks for all of the work on this, it is apprecaited!

ditto, I'm waiting for the stable on this, will install.

mikexxx
11-22-2005, 02:13 PM
If a member had disabled his buddy list the page buddies.php is not visible for other users. That is good. But on the page Member info on the bottom the buddy’s are still visible to other users. Is this a bug?

Wat I have done now in MEMBERINFO is:

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

But the problem is that the user can’t see his own buddielist if he has disabled the list. It it possible to show this only to the logged in user ??

Benj
11-22-2005, 02:48 PM
any chance of showing profile picture instead of avatar ?

waza
11-22-2005, 03:15 PM
@benj, will look for that profile picture thing
@mikexxx I think if you do this:
<if condition="$vboptions['buddieslist_active']>
<if condition="$userinfo[buddieliststatus]">
$buddies
<else />
<if condtion="$bbuserinfo[userid]==$userinfo[userid]">
$buddies
</if>
</if>
</if>

it should work.
Maybe I build this in in a next version.

MR-2ZZ
11-22-2005, 11:08 PM
Anyway to make the top 8 buddies avatars show up in memberinfo?

MR-2ZZ
11-22-2005, 11:10 PM
Also is there a way to make it to where u add someone to your buddy list a PM is sent asking them to add you in return.

waza
11-23-2005, 12:09 PM
that pm function is already in it, however, It seems it only shows the username on some boards, But this is fixed in next version (where there are also some new things)

Benj
11-23-2005, 01:06 PM
sweet whats going to be new?

waza
11-23-2005, 01:28 PM
post ideas and i'll see

Benj
11-23-2005, 02:42 PM
ummm

use profile pics instead of avatars
list of maybe top 8 /10 buddies in usercp (homepage)

PennylessZ28
11-23-2005, 10:31 PM
Again, how about showing the first 6 buddies on a users profile.

.Tim
11-24-2005, 08:24 PM
I see it's possible in the 3.0.x version, how hard would it be to do this in the 3.5 version?

https://vborg.vbsupport.ru/showpost.php?p=638141&postcount=73

Lea Verou
11-26-2005, 02:21 AM
*bump* cause it deserves more installs :)

Dsyn11
11-26-2005, 06:55 AM
still waiting. :D I'd love to have a stable version.

noonespecial
11-28-2005, 06:35 AM
I see it's possible in the 3.0.x version, how hard would it be to do this in the 3.5 version?

https://vborg.vbsupport.ru/showpost.php?p=638141&postcount=73

Needed, BADLY; I may just do it with iframes if I have to.

Detomah
11-28-2005, 07:54 AM
still waiting. :D I'd love to have a stable version.

It is a pretty stable already in my opinion, it's been fairly stable since beta when most of the initial bugs were vanquished, i'd certainly personally say it is plenty stable enough to install now.

It certainly shouldn't break your site or anything daft like that though and it does what it is supposed to, regarding the buddies bits.

noonespecial
11-28-2005, 08:31 AM
Request: The ability to use $thewannabees varible in the navbit template. This would allow me to add the # of "buddy requests" in my nav-bar for my users.

Bug: WOL says: "Bekijkt buddy lijst Buddy lijst." - Fixed by editing the plugin.

waza
11-28-2005, 04:24 PM
Hey,
As my examinations start next week I don't have time for further devolpment for some weeks, but after that (somewhere middle of december) I will go further with stable version.
I 'll certainly add as much possible requests and Users & Admins will have the choice to show last 9 buddies in profile or the way it is now: online-offline-wannabees.

Grz

MissKalunji
11-29-2005, 01:07 AM
Hey,
As my examinations start next week I don't have time for further devolpment for some weeks, but after that (somewhere middle of december) I will go further with stable version.
I 'll certainly add as much possible requests and Users & Admins will have the choice to show last 9 buddies in profile or the way it is now: online-offline-wannabees.

Grz

can you help a sister out?

i tried installing it but when i add it inside the profile it doesnt show n et hing only thing that shows is the how many buddies i have

but the table not showing


do i really have to do EACH edit like postbit and all caz i only want it to show in the member info (profile)

noonespecial
11-29-2005, 01:34 AM
Shit; I thought everything was working .. HOWEVER, I discovered a bug.

Approve Wannabees doesn't work if the user doesn't have anyone on their buddy list yet. It only works if there is already a user on their buddy list.

waza
11-30-2005, 01:29 PM
@noonespecial, dholaholic told me already about that, it will be fixed in the stable.

@misskalunji:
Make sure you have set that part active in admincp and that you have done the template edits well.
Only the template edits in modifylist are obligated. For the rest you can choose wheter you do it or not.

MissKalunji
11-30-2005, 02:24 PM
@noonespecial, dholaholic told me already about that, it will be fixed in the stable.

@misskalunji:
Make sure you have set that part active in admincp and that you have done the template edits well.
Only the template edits in modifylist are obligated. For the rest you can choose wheter you do it or not.


ah ha i didnt know there was that in admincp!

ThePimp
11-30-2005, 03:48 PM
EDIT: Oops... I just read the "optional.txt".

nvm

ThePimp
11-30-2005, 06:07 PM
Is there any way to get the buddies block on the profile page? The block that shows the thumbnails etc...

I think if I can get it to show up on that page, it will do exactly what I'm looking for.

MissKalunji
11-30-2005, 07:17 PM
@noonespecial, dholaholic told me already about that, it will be fixed in the stable.

@misskalunji:
Make sure you have set that part active in admincp and that you have done the template edits well.
Only the template edits in modifylist are obligated. For the rest you can choose wheter you do it or not.


Thx dear it worked

* MissKalunji clicks install

waza
12-01-2005, 02:42 PM
Is there any way to get the buddies block on the profile page? The block that shows the thumbnails etc...

I think if I can get it to show up on that page, it will do exactly what I'm looking for.
This will be added in the next version (will come out in some weeks.)

designstylez
12-01-2005, 04:14 PM
Hacks looks good, but ran into a problem. My "Members List" does not work anymore. It just shows up blank and cannot figure it out. I have revert both the memberlist and memberlist_resultsbit, and have reuploaded the memberlist.php, still no luck.

Any ideas? Thanks.

waza
12-01-2005, 04:52 PM
just a blank page? no errors, nothing?
Strange, you're the first one with that problem.
if you desactivate plug-in: buddies: show if on list in memberlist_bit
and buddies template resources in memberlist_start

Try 1 at a time and say if it works.

designstylez
12-01-2005, 06:48 PM
ok, i deactivate memberlist_start, and my members list now works. So did i miss a step? I am running 3.5.1.

Mr Chad
12-01-2005, 07:07 PM
hot!

jaks
12-01-2005, 11:01 PM
*Installed* Great great hack.

Got one little bug though. If you have more than one forum page open it shows you as online multiple times. Anyone else having this happen?

Also one question.
I probably just didn't see this but is there a way to remove wannabes from the wannabes list?

Jaks

waza
12-02-2005, 07:10 AM
@designstylez: Did you just got a blank page before, or a error?

@jaks: thx for reporting that.
For your last question. If you have installed it correctly it should look like:
https://vborg.vbsupport.ru/attachment.php?attachmentid=37929

The screen is in dutch. But it says: 'verwijder wannabees'.
And that is dutch for 'delete wannabees'

jaks
12-02-2005, 07:30 AM
LOL I figured I just missed it and i was right.

So the prob with showing a user mulitple times is an easy fix I hope? This hack is slick. :)

One other thing maybe. The wannabe's are showing to everyone how could I get them to only show for the owner of the profile?


Jaks

waza
12-02-2005, 03:23 PM
Hey,
That will probably be a easy fix.
However, there is not a build-in option for that last question.
However if you can can code a lil' bit:
this will only show things to the profile owner in template MEMBERINFO
<if condtion="$bbuserinfo[userid]==$userinfo[userid]">
this will only be showed to the owner of this profile
</if>

dirtycrow
12-09-2005, 05:41 PM
does this work with 3.5.2?

MissKalunji
12-09-2005, 05:53 PM
does this work with 3.5.2?


yep it does

4number8
12-10-2005, 03:33 PM
I have one problem, for some reason it doesn't show right in the edit options...I can revert my modifyoptions templete and it returns to where it is suppose to be, without the wide space...has anyone else had this trouble or maybe help me correct this... Thanks in advance..

waza
12-10-2005, 04:09 PM
hmz, a template bug, thx for reporting, I'll have a look at it.

4number8
12-10-2005, 05:56 PM
Thanks for the quick reply, I will leave as is till you come up with a fix :)

subnet_rx
12-13-2005, 04:24 PM
Any idea when this will go gold?

waza
12-13-2005, 07:17 PM
My examns end next week then I'll have time to finish it.

:Judge:
12-13-2005, 07:58 PM
I have one problem, for some reason it doesn't show right in the edit options...I can revert my modifyoptions templete and it returns to where it is suppose to be, without the wide space...has anyone else had this trouble or maybe help me correct this... Thanks in advance..
^ This is one of my issues ^

Also some names show up more then once in a list.
http://www.cecilcountyx.com/forums/member.php?u=1
(Near bottom of page)

PennylessZ28
12-13-2005, 08:28 PM
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /member.php(87) : eval()'d code on line 2

Un-installed until stable version with the ablity to show avatars of top X amount on member profile.

waza
12-14-2005, 02:47 PM
@judge: that are known problems, they have been fixed and will be in stable version.

@hr3dgen, Some people get that, others don't, I still haven't find a real solution but will keep looking for it.

DS MrSinister
12-15-2005, 02:44 AM
I have one problem, for some reason it doesn't show right in the edit options...I can revert my modifyoptions templete and it returns to where it is suppose to be, without the wide space...has anyone else had this trouble or maybe help me correct this... Thanks in advance..


I had the same problem.. ITs just misssplace coding... right now its not working in 3.5.2 not sure if i forgot to enter some codes, i will post the fix after i refigure it out ok..

look for this in modifyoptions


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_misc')"><img id="collapseimg_uopt_misc" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_misc].gif" alt="" border="0" /></a>
$vbphrase[miscellaneous_options]
</td>
</tr>


add this above


<!-- Start Buddies List User Options -->
<if condition="$vboptions['buddieslist_active']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_buddy')"><img id="collapseimg_uopt_buddy" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_buddy].gif" alt="" border="0" /></a>$vbphrase[buddy_publicoptions]</td>
</tr>
<tbody id="collapseobj_uopt_buddy" style="$vbcollapse[collapseobj_uopt_buddy]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
<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>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<br />
</if>
<!-- End Buddies List User Options -->

4number8
12-16-2005, 12:55 AM
I had the same problem.. ITs just misssplace coding... right now its not working in 3.5.2 not sure if i forgot to enter some codes, i will post the fix after i refigure it out ok..

look for this in modifyoptions


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_misc')"><img id="collapseimg_uopt_misc" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_misc].gif" alt="" border="0" /></a>
$vbphrase[miscellaneous_options]
</td>
</tr>


add this above


<!-- Start Buddies List User Options -->
<if condition="$vboptions['buddieslist_active']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_buddy')"><img id="collapseimg_uopt_buddy" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_buddy].gif" alt="" border="0" /></a>$vbphrase[buddy_publicoptions]</td>
</tr>
<tbody id="collapseobj_uopt_buddy" style="$vbcollapse[collapseobj_uopt_buddy]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
<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>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<br />
</if>
<!-- End Buddies List User Options -->



DS MrSinister, you are the man...thank you kindly, that has taken care of the problem...nicely done :)

DS MrSinister
12-16-2005, 02:34 AM
your very welcome..

Gald i could help you out.!

:D

:banana:

msimplay
12-18-2005, 06:03 PM
a suggestion for this hack would be that the vbuddies link lead to their profile and not buddies page if possible

browsehosts
12-20-2005, 05:37 AM
a suggestion for this hack would be that the vbuddies link lead to their profile and not buddies page if possible

I agree!

Looking forward to installing this once it is good and stable :).

msimplay
12-21-2005, 08:36 PM
I have another suggestion instead of the buddies been shown on profile in the way it does.
The buddies link page should have the options on the drop down to change the buddies onto the wannabe's page with the same layout as the buddies page and another drop down link leading to buddies online

check the attachments for details

msimplay
12-21-2005, 11:11 PM
hmm 3.5.2 the pm notification of buddies being added doesn't seem to be working

ThePimp
12-23-2005, 10:51 AM
a suggestion for this hack would be that the vbuddies link lead to their profile and not buddies page if possible

Open buddies_listbit template:
FIND:
<a class="bigusername" href="buddies.php?u=$inuser[userid]">$inuser[username]</a>

REPLACE WITH:
<a class="bigusername" href="member.php?u=$inuser[userid]">$inuser[username]</a>

:squareeyed:

msimplay
12-23-2005, 02:52 PM
Open buddies_listbit template:
FIND:
<a class="bigusername" href="buddies.php?u=$inuser[userid]">$inuser[username]</a>

REPLACE WITH:
<a class="bigusername" href="member.php?u=$inuser[userid]">$inuser[username]</a>

:squareeyed:



yeah i realised this thanks :)

Ps what do u think of my other suggestions :)

ThePimp
12-23-2005, 06:21 PM
yeah i realised this thanks :)

Ps what do u think of my other suggestions :)

Oh, sorry. :) I didn't read further than your post, I only replied. lol

Your suggestions are good also. If you want to see what I've done with this modification, you can see by going to the URL in my profile. I'm using both Buddy mods, in combination with some custom profile enhancements and user customizable fields, as well as a few other things. Anyhow, I don't want to put the URL out in public as it is not exactly "friendly". :)

But if you want to check it out, feel free and let me know what you think.

By the way, the URL is no joke. :)

msimplay
12-23-2005, 06:23 PM
Oh, sorry. :) I didn't read further than your post, I only replied. lol

Your suggestions are good also. If you want to see what I've done with this modification, you can see by going to the URL in my profile. I'm using both Buddy mods, in combination with some custom profile enhancements and user customizable fields, as well as a few other things. Anyhow, I don't want to put the URL out in public as it is not exactly "friendly". :)

But if you want to check it out, feel free and let me know what you think.

By the way, the URL is no joke. :)

Yeah will check it out thanks

ryans
12-28-2005, 02:30 AM
I installed this on 3.52. Please check the install.txt. There are only template modifications. There is no mention of DB changes, installation etc? I can't find any traces of this system installed...although I installed it.

browsehosts
12-28-2005, 02:47 AM
so it did or didn't work on 3.5.2?

ryans
12-28-2005, 03:10 AM
so it did or didn't work on 3.5.2?
without any admin modifications, db inserts etc . NO

the instructions are lacking big time.

ryans
12-28-2005, 06:51 PM
without any admin modifications, db inserts etc . NO

the instructions are lacking big time.

I didn't know you had to import that xml file, it just said upload it. so i uploaded it and it semi works. It shows all my wannabe's but onlyy shows 1 of my many buddies. permissions are set correctly.

i'm going ot uninstall and re-install and see if that fixes the problem.

AquilaEagle
12-29-2005, 05:11 PM
Sounds good, gonna play with this :)

waza
12-30-2005, 08:30 AM
@ryan: srry the readme files are written quickly, but hey, that's why it's a beta, I will all rewrite them for final release.

I have also added hooks for final release, so people can do easily modifications without file edits.

lawahdy
01-02-2006, 09:34 PM
@ryan: srry the readme files are written quickly, but hey, that's why it's a beta, I will all rewrite them for final release.

I have also added hooks for final release, so people can do easily modifications without file edits.

hi waza.. thanks for this hack.. but would you know why this problem is happening to me.. if you check this link.. you would see that the table alignment is not right at all.. this happened after installing your hack.
http://www.dubaidjs.com/forums/profile.php?do=editoptions

i'll pm you a test account.

thanks

notsonormal
01-02-2006, 10:50 PM
what is the command for NEW pending wannabe buddy? I'm trying to do a if condition to have text show up saying New Wannabe Requests when there is one...

how would I do that?

waza
01-03-2006, 12:32 PM
@notsonormal, can't be done with just a if statement, you'll have to modify/add code.

PixelFx
01-03-2006, 07:39 PM
A Bug I'm having, when I click someone elses buddy link it shows I'm logged in and out multiple times. I've read threads above, but not sure what I'm missing.

See attachment below (I'm using vb3.5.2)

-------------------------
Below fix for edit options
-------------------------

hi waza.. thanks for this hack.. but would you know why this problem is happening to me.. if you check this link.. you would see that the table alignment is not right at all.. this happened after installing your hack.
http://www.dubaidjs.com/forums/profile.php?do=editoptions

i'll pm you a test account.

thanks

just goto "modifyoptions" template, then

FIND:


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_misc')"><img id="collapseimg_uopt_misc" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_misc].gif" alt="" border="0" /></a>
$vbphrase[miscellaneous_options]
</td>
</tr>



MOVE THIS CODE BLOCK BELOW ABOVE THE CODE ABOVE ;)



<!-- Start Buddies List User Options -->
<if condition="$vboptions['buddieslist_active']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('uopt_buddy')"><img id="collapseimg_uopt_buddy" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_uopt_buddy].gif" alt="" border="0" /></a>$vbphrase[buddy_publicoptions]</td>
</tr>
<tbody id="collapseobj_uopt_buddy" style="$vbcollapse[collapseobj_uopt_buddy]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
<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>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<br />
</if>
<!-- End Buddies List User Options -->





that should make your



profile.php?do=editoptions



Done.

lawahdy
01-03-2006, 08:10 PM
PixelFx, waza

thanks guys.. you rock..

works fine..

can't wait for the stable version..

msimplay
01-04-2006, 06:37 AM
any chance of a temp fix to the pm notification problem ?

waza
01-04-2006, 10:06 AM
msimplay: srry, I lost a bit my eye on this hack, but I'll try to finish it today or tomorrow.

PixelFx
01-05-2006, 02:33 PM
msimplay: srry, I lost a bit my eye on this hack, but I'll try to finish it today or tomorrow.

thanks for update :D any idea what's making my username show up multiple times in other peoples buddy lists, and or how to fix it?

demo link: http://www.orbsydia.ca/forum/member.php?u=1

if you click any of the users in my buddy list, some times I show up more than onces as being online and offline in their lists. Not sure why it's doing this. Either that or I'm overlooking some of the code. (I used optional.txt) for vbbuddies code block.

waza
01-06-2006, 08:37 AM
hey, that's a known bug, I don't know why it's happening, but probably because a member is visiting multiple pages.
However, in the new version, I filter double users.

msimplay
01-06-2006, 02:40 PM
hey, that's a known bug, I don't know why it's happening, but probably because a member is visiting multiple pages.
However, in the new version, I filter double users.

Hey i've double checked and pms are working if adding buddies from the add remove buddies link in usercp however a phrase is missing as i've checked the plugin. So what was this phrase supposed to be ?

$title = $vbphrase['autosystemmessage'];

EDIT pm system suggestions

I thought i'd just add one suggestion for when u add buddies via their profile

noonespecial
01-13-2006, 12:44 AM
Any chance of an update soon? I really only want the bug about "approving a buddy" that gives a MYSQL error if the user doesn't have anyone on their list yet - fixed.

rootnik
01-17-2006, 04:00 AM
Anyway to add custom profile fields to the buddies_listbit template?

rootnik
01-17-2006, 11:44 AM
Anyway to add custom profile fields to the buddies_listbit template?

Add this below


// ================================================== =========================================
// Additional information from database (Edit by: Lucas)
// ================================================== =========================================



$custom = $db->query_first("
SELECT *
FROM " . TABLE_PREFIX . "userfield
WHERE userid = " . $inuser[userid] . "
");


And then place $custom['fieldX'] in the buddies_listbit template where you want the custom field to display (replace the X with the field number)

There is probably a better way to do this, this is just the solution I came up with myself.

rootnik
01-17-2006, 01:51 PM
Does everything I need

/me clicks install

waza
01-20-2006, 06:43 PM
Hmz, srry to all folks it takes so long, I really, really didn't see this coming, but private life is taking loads of time right now.

Everytime I finish something, there's 2 new things coming in.

So, I won't give a eta right now, but it won't be that long anymore.

msimplay
01-20-2006, 09:52 PM
Hmz, srry to all folks it takes so long, I really, really didn't see this coming, but private life is taking loads of time right now.

Everytime I finish something, there's 2 new things coming in.

So, I won't give a eta right now, but it won't be that long anymore.

Any indication as to what the new version will have ?

waza
01-22-2006, 07:18 AM
new version will have this:
-all bugs fixed
-option to show the buddies on the profile page, the way they show up on the buddies page.
-some other small things

Detomah
01-23-2006, 02:18 AM
-option to show the buddies on the profile page, the way they show up on the buddies page.

Especially look forward to that, will help me get a little closer to a myspace style profile page, using existing bit's I have installed.

forte
01-23-2006, 12:28 PM
I have a problem with the memberlist. The one that shows the number of results near the bottom isn't using up all the space. Check the image to see what I mean.

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

msimplay
01-23-2006, 03:31 PM
I have a problem with the memberlist. The one that shows the number of results near the bottom isn't using up all the space. Check the image to see what I mean.

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

thats because currently its set to change the colspan according to the fields vbulletin has u will need to change the colspan to 4

in this template

memberlist

find


$memberlistbits
<tr>
<td class="tfoot" colspan="$totalcols" align="$stylevar[right]">

and change to


$memberlistbits
<tr>
<td class="tfoot" colspan="4" align="$stylevar[right]">

swa
01-25-2006, 11:01 PM
can't wait!

DivisionByZero
01-26-2006, 04:16 AM
great hack (clicks install)... I'm running 3.5.3, but I WAS able to get it up and running after I disabled the buddies: template resources plugin. It's just weird for some reason... I got a blank page every time. Other than that, it works PERFECTLY.

Can I make a feature suggestion? Make it so when John adds Mary to his buddy list, it doesn't actually do the add UNTIL mary clicks "approve" in her notification PM, (or wannabe list). Just like a myspace thing :)

Also, How can I show X number of OVERALL buddies in the members profile? not sorted by online or offline, but just like in the buddies.php file? but maybe only X number (maybe a My Top 5 buddies).

GamerJunk.net
01-26-2006, 04:45 AM
waza any update on when that release will be?

DivisionByZero
01-26-2006, 05:21 AM
I might actually release a quick fix for 3.5.3 until waza gets a chance to fix it.

forte
01-26-2006, 06:24 PM
I just want to ask, how to just send the PM message via the pager isntead of the PM. Here is the link for the vbpager. (https://vborg.vbsupport.ru/showthread.php?t=104609)

MissKalunji
01-26-2006, 10:05 PM
I just want to ask, how to just send the PM message via the pager isntead of the PM. Here is the link for the vbpager. (https://vborg.vbsupport.ru/showthread.php?t=104609)
That i'de like to found out

DivisionByZero
01-27-2006, 02:48 AM
I've been working on my copy all day... I've pretty much got it working, except for a bug or two... i haven't EVEN started on the PM thing yet. I figured I'd try and get it at least somewhat rigged until waza has a chance to get it working again :)

What I am accomplishing is redoing the "list buddies in profile" plugin to show X number of buddies instead of listing online, offline, and wannabes.... (kinda like myspace) and added the "view all buddies" link in that table.

I'll keep you guys updated.

noonespecial
02-09-2006, 01:53 AM
I might actually release a quick fix for 3.5.3 until waza gets a chance to fix it.

That'd be great - the bug for approving buddies if you don't have anyone on your list, really needs to be fixed.

Exernon
02-09-2006, 03:27 AM
great hack (clicks install)... I'm running 3.5.3, but I WAS able to get it up and running after I disabled the buddies: template resources plugin. It's just weird for some reason... I got a blank page every time. Other than that, it works PERFECTLY.

Can I make a feature suggestion? Make it so when John adds Mary to his buddy list, it doesn't actually do the add UNTIL mary clicks "approve" in her notification PM, (or wannabe list). Just like a myspace thing

Also, How can I show X number of OVERALL buddies in the members profile? not sorted by online or offline, but just like in the buddies.php file? but maybe only X number (maybe a My Top 5 buddies).

Waiting for that function...

forte
02-09-2006, 12:21 PM
What do I need to add if I want to add the online and offline buddies like on the memberinfo to the USERCP

waza
02-11-2006, 06:44 AM
That'd be great - the bug for approving buddies if you don't have anyone on your list, really needs to be fixed.
yeah, I know, but finally a big project of me is finished, I worked on the hack yesterday and we're getting there, lets say 90% done.

forte
02-28-2006, 04:28 PM
Any updates on this?

forte
03-13-2006, 05:58 PM
So this hack is abandoned cause people are having multiple buddies of the same users like one user has me thrice in the online buddies.

noonespecial
03-22-2006, 08:08 PM
Any update at all? Anything would be great.

Lately, I've been seeing that people's buddylists are emptying and going to need approval status for no reason.

waza
03-30-2006, 06:23 AM
yeah, srry, I really don't find time, I keep getting other work week after week.
But now a lot of jobs are done, I go on holiday next week and after, I'll try to do an update.

thumbsucker
03-31-2006, 08:56 AM
This is a great plugin. Would be nice to get it working.

moonclamp
05-01-2006, 07:55 PM
Shit; I thought everything was working .. HOWEVER, I discovered a bug.

Approve Wannabees doesn't work if the user doesn't have anyone on their buddy list yet. It only works if there is already a user on their buddy list.

I just dug this hack out after waiting a couple of months and wondered if anyone found a fix for this error at all?

Basically what happens is, if you try to approve a wannabee it works fine ... but only if you already have other buddies on your list. If your list is otherwise empty it returns a database error Invalid SQL:
SELECT userid,username FROM vb_user WHERE userid IN (9,);
(user ID 9 being the one trying to get approved)

moonclamp
05-03-2006, 02:58 AM
OK, I know this is probably the wrong way to fix the error above, but I'm not a coder and it seems to work ...

Open the plugin

"Buddies: check buddyquota + resources + wannabees.:"

Look for the line:

$listbits2_query=$db->query_read("SELECT userid,username FROM ".TABLE_PREFIX."user WHERE userid IN (".implode(",",$vbulletin->GPC['listbits']).")");

Replace it with

$listbits2_query=$db->query_read("SELECT userid,username FROM ".TABLE_PREFIX."user WHERE userid IN (".implode(",0",$vbulletin->GPC['listbits']).")");

All I have done is insert a zero after the first comma in implode(",",$vbulletin->

moonclamp
05-03-2006, 11:19 PM
Dammit! I've just found out that if you delete a wannabee then all that wannabee's other buddies get deleted from their list.

I give up.

I guess that's what happens when you try working with an unsupported hack.

waza
05-05-2006, 06:44 PM
well, I already got that fixed, so tomorrow I'm just gonna post the fix in here.

moonclamp
05-05-2006, 11:21 PM
well, I already got that fixed, so tomorrow I'm just gonna post the fix in here.
Fantastic ... I will wait eagerly :)

noonespecial
05-07-2006, 03:19 AM
Yes? No? Please!!!

noonespecial
05-07-2006, 06:29 PM
Dammit! I've just found out that if you delete a wannabee then all that wannabee's other buddies get deleted from their list.

I give up.

I guess that's what happens when you try working with an unsupported hack.
I've had that happen no matter what - sometimes ALL the buddies get deleted off people's lists. I can't figure out exactly why though ..

I'd love to get this all fixed up. I've even offered $.

moonclamp
05-08-2006, 01:39 AM
I'd love to get this all fixed up. I've even offered $.I'd also be happy to donate once the job's finished ...

noonespecial
05-20-2006, 03:53 AM
I think I'm officially abandoning this hack.

waza
05-20-2006, 07:51 PM
yeah, srry people, I now I now, again I've not been able to keep my promise.
But as my hosting expired I didn't have hosting for my dev board for some weeks, however my friend has hired a dedicated server for his sites, and I can place my sites also on his server, so then I can continue.

noonespecial
08-13-2006, 12:43 AM
I'm going with this is never going to be updated and I should scrap it.

Too bad - it woulda been far Superior to the current options out there.

croportal
03-04-2007, 04:38 PM
is this work with 3.6.5