vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - Friends and/or Buddies on Profile (https://vborg.vbsupport.ru/showthread.php?t=134181)

tamborinegal 05-06-2007 01:51 AM

Quote:

Originally Posted by jj (Post 1241304)
Well I wrote a pm to Antivirus, lets see what we can do here...

Cool. Thanks jj. It would be so great have the two incorporated.

I just have a couple of problems. The first one is the pagination system and the buddy (or friends) count. I'm finding that if there are enough friends or buddies to split into two or more pages the count is right and so are the avatars that show up. The problem is that when a member has less than the amount of buddies (or friends) to show up on two or more pages, one of the buddies (or friends doesn't appear). For example, if a member has two buddies, the count will say 2 buddies, but it will only show one of them... then if another buddy is added the count will change accordingly but the buddy just added won't show up until another buddy is added. This is no longer a problem when there are more buddies added and it splits into two pages... any idea why that would be happening?

Hope the above makes sense. It seems to be a pagination problem.

...and also I have noticed that when the "Links to the profiles of friends/buddies by ID?" is set to no, the link is incorrect and doesn't go to the buddies profile.

Thanks again for all your work jj.

Cheers

Clancy

jj 05-06-2007 07:41 AM

Quote:

Originally Posted by rossco_2005 (Post 1241990)
Something seems to be wrong.

All teh headings are missing...
for example instead of it saying "rossco is a buddy of: (6)" it just says "(6)"

Hm. Which vb Version you are using?

Anyone else with this problem? I've tested a lot to get this work.

Quote:

Originally Posted by tamborinegal (Post 1242222)
I just have a couple of problems. The first one is the pagination system and the buddy (or friends) count. I'm finding that if there are enough friends or buddies to split into two or more pages the count is right and so are the avatars that show up. The problem is that when a member has less than the amount of buddies (or friends) to show up on two or more pages, one of the buddies (or friends doesn't appear). For example, if a member has two buddies, the count will say 2 buddies, but it will only show one of them... then if another buddy is added the count will change accordingly but the buddy just added won't show up until another buddy is added. This is no longer a problem when there are more buddies added and it splits into two pages... any idea why that would be happening?

Hope the above makes sense. It seems to be a pagination problem.

...and also I have noticed that when the "Links to the profiles of friends/buddies by ID?" is set to no, the link is incorrect and doesn't go to the buddies profile.

Hopefully fixed.

rossco_2005 05-06-2007 12:54 PM

Using 3.6.5.
Not sure why the phrases are fcked like that.

shokmuzik.com 05-06-2007 01:06 PM

I had the older version working without problems. Updated, installed overwrote the german product but doesnt show up in memberinfo only in admincp. Deleted product and installed again, but no difference.

rossco_2005 05-06-2007 01:12 PM

Fixed. Sorry, it was another plugin affecting your init_startup plugin.
Wierd.

Managed to find a real bug though...the remove buddy/add buddy phrases are backwards. :P

shokmuzik.com 05-06-2007 03:41 PM

Fixed. Installed the english version and it worked, installed the german product over the english one and it worked, too.

jj 05-07-2007 06:27 AM

Quote:

Originally Posted by shokmuzik.com (Post 1242514)
Fixed. Installed the english version and it worked, installed the german product over the english one and it worked, too.

Weird. I had no problems with the german version on my test board and on our board itself.

jj 05-07-2007 04:47 PM

Quote:

Originally Posted by rossco_2005 (Post 1242443)
Fixed. Sorry, it was another plugin affecting your init_startup plugin.
Wierd.

Managed to find a real bug though...the remove buddy/add buddy phrases are backwards. :P

Fixed, and thanks for the info with your problem :) (maybe click install now? =])

rossco_2005 05-07-2007 09:20 PM

Quote:

Originally Posted by jj (Post 1243116)
Fixed, and thanks for the info with your problem :) (maybe click install now? =])

Sorry, I noticed more bugs...

First, you are already grabbing all buddies' avatar info from the DB in one query, but then for each friend you are fetching the avatr info again meaning each friend adds another query to the page...
I'd provide more info/a fix to you for this but your code is sorta all over the place and the var names are not constant, so it's too confusing for me to trace it...
Anyway, it works great so if you're not going to fix that I'll keep this installed anyway, until I can find my own fix. :)

tamborinegal 05-07-2007 11:52 PM

Quote:

Originally Posted by tamborinegal (Post 1242222)
I just have a couple of problems. The first one is the pagination system and the buddy (or friends) count. I'm finding that if there are enough friends or buddies to split into two or more pages the count is right and so are the avatars that show up. The problem is that when a member has less than the amount of buddies (or friends) to show up on two or more pages, one of the buddies (or friends doesn't appear). For example, if a member has two buddies, the count will say 2 buddies, but it will only show one of them... then if another buddy is added the count will change accordingly but the buddy just added won't show up until another buddy is added. This is no longer a problem when there are more buddies added and it splits into two pages... any idea why that would be happening?

...and also I have noticed that when the "Links to the profiles of friends/buddies by ID?" is set to no, the link is incorrect and doesn't go to the buddies profile.

Quote:

Originally Posted by jj (Post 1242339)

Hopefully fixed.

Works perfectly now. Thanks jj!

Clancy


All times are GMT. The time now is 04:56 AM.

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.01215 seconds
  • Memory Usage 1,749KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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