vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VbBuddies RC 1 (https://vborg.vbsupport.ru/showthread.php?t=100457)

waza 11-08-2005 10:00 PM

VbBuddies RC 1
 
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 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

Quote:

Originally Posted by FleaBag
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

Quote:

Originally Posted by waza
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:
Code:

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:
Code:

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

Quote:

Originally Posted by waza
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:

Code:

</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
Code:

<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

Quote:

Originally Posted by waza
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

Quote:

Originally Posted by trackpads
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

Quote:

Originally Posted by Detomah
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!!


All times are GMT. The time now is 10:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01523 seconds
  • Memory Usage 1,832KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete