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)
-   -   Friends and/or Buddies on Profile (https://vborg.vbsupport.ru/showthread.php?t=105302)

sab2000sab 07-10-2006 08:38 PM

Quote:

Originally Posted by cbr929rrerion
How do you get the avatars to show up. I have the 2 lists but no avatars..

Help

The avatars show up when BOTH users are eachother's buddy's..

The list on the left is the buddys you have on your list.. the list on the right is the list of members that have YOU on their list.. but you don't have them.. Click the add button [+] next to the members to add them to your list.. once you are on eachother's list.. you will see the avatars!

Sandra

Coldhands 07-11-2006 05:42 PM

Quote:

Originally Posted by jj
Hm? The hyperlink is being shown, if you choosed to limit the displayed number of friends, automatically in the profile, like in this picture

I understand that there is a link to veiw more buddies, but I wanted to make the "Buddies(##)" also link in the same way as "alle Anziegen". The fine print "alle Anziegen" link isn't very obvious, where as if the "Buddies(##)" was also a link, it would become more obvious that you can view more friends.

I'm not sure where to go and edit the code for this area. Do I go into plugin manager, or should I go into replacement variable area or somewhere else?

kau 07-11-2006 06:06 PM

It's hit or miss on if the avatar shows up.

What is up with that?

Coldhands 07-12-2006 08:56 PM

Quote:

Originally Posted by Coldhands
I understand that there is a link to veiw more buddies, but I wanted to make the "Buddies(##)" also link in the same way as "alle Anziegen". The fine print "alle Anziegen" link isn't very obvious, where as if the "Buddies(##)" was also a link, it would become more obvious that you can view more friends.

I'm not sure where to go and edit the code for this area. Do I go into plugin manager, or should I go into replacement variable area or somewhere else?

When I answer my own questions, I like to come back and answer them for anyone else that may have the same question so here it is . . .

Go to Admin CP >> Plugin System >> Plugin Manager >> Click on [edit] Friends and/or Buddies in Profile >> then . . . .

(cut & paste into note pad the Plugin PHP Code, and use the find feature)

You need to find this line:

Code:

$FNB_HTML .= "<td class=\"tcat\" colspan=\"2\">".($vbulletin->options['fnb_show_friends'] ? $vbphrase['fnb_friends'] : $vbphrase['fnb_buddies']).( ($vbulletin->options['fnb_show_counts']) ? " (".count($FNB_choice).")" : "" )."</td>";
and replace it with this line:

Code:

$FNB_HTML .= "<td class=\"tcat\" colspan=\"2\">"."<a href=\"".$vbulletin->options['bburl']."/member.php?u=".$userinfo['userid']."&showall=1\">".($vbulletin->options['fnb_show_friends'] ? $vbphrase['fnb_friends'] : $vbphrase['fnb_buddies'])."</a>".( ($vbulletin->options['fnb_show_counts']) ? " (".count($FNB_choice).")" : "" )."</td>";
and that will make it so when your buddy has more than x amount of friends, you can click on "Friends (xx)" and it will link the same way as the very small, not so obvious text in the bottom right of the table that says show all.

:banana: :banana: :banana:

P.S. Here's an example of how you can click on "Friends(xx)" so it's linkable. Nothing very exciting, just a link.

Sean S 07-29-2006 07:46 PM

Thanks for this, it works like a charm.

Also I wanted to share something with everyone else. I for one wanted the lists to be randomized instead of the usernames be in alphabet order. So all I did was to change
PHP Code:

ORDER BY username 

to
PHP Code:

ORDER BY RAND() 

;)

serhat_kk 07-30-2006 12:35 AM

I have problem with "Show All".
When users clicks "Show All" it opens;
http://www.domain.com/members/admin.html

My Seo using "members/[user_name].html" and rewrites "/member.php?u=".$userinfo['userid']"

so i have problem with this line

"href=\"".$vbulletin->options['bburl']."/member.php?u=".$userinfo['userid']."&amp;showall=1\">"

how do i fix it?
Thanks...

serhat_kk 08-06-2006 12:45 AM

Can somebody help?:(

Alfa1 08-07-2006 01:11 PM

Will this work with vb 3.6?

louis_chypher 08-07-2006 05:04 PM

Quote:

Originally Posted by Alfa1
Will this work with vb 3.6?


Working on my site running vb 3.6.

ab420 08-08-2006 04:53 AM

Is there a way to automatically add new members to my buddy list when they sign up?


All times are GMT. The time now is 10:20 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.01740 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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