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)

phkk 05-17-2006 12:29 AM

Greatttttttttttt

bada_bing 05-17-2006 01:13 AM

Quote:

Originally Posted by jj
Could you post me the link to the mod, and I'll look if I can find out how to show a default profile pic if no profile pic is available. I'm just too lazy to search for it right now ^^

I believe this is it https://vborg.vbsupport.ru/showthrea...threadid=97928

MustangLisa 05-22-2006 01:23 AM

Thanks, I am installing this now.

bada_bing 05-22-2006 02:18 AM

Quote:

Originally Posted by bada_bing

jj

Can you take a look please...

jj 05-28-2006 11:22 AM

Quote:

Originally Posted by bada_bing
jj

Can you take a look please...

Had a look. I am referring to the post, where I said that it can't be done at the moment. Seems to be a bit harder and you may have to replace the picture php file, which will show the profilepic if present or a transparent gif image. I haven't got so much spare time at the moment, so this has to wait.

TheBlackPoet 06-05-2006 02:18 PM

Installed...
This Is A Very Good Add On....
My Only Problem... I Am The Administrator..and All The Members Want Me To Be Have Them On My Buddylist.... Ahahahah

SHalliday 06-05-2006 05:56 PM

Clicks Install :)

Thank you for such a Great addition to our member page!

Soljah 06-11-2006 01:45 PM

I am getting this error.

Quote:

Parse error: syntax error, unexpected '<' in D:\hshome\grownfol\gfctest.grownfolkscafe.com\foru ms\member.php(651) : eval()'d code on line 18

Can anyone help?

jj 06-12-2006 06:46 AM

Quote:

Originally Posted by Soljah
I am getting this error.
Can anyone help?

Which plugins do you have installed for your members page? There is no '<' in the plugin code in the region of line 18 :) Further you would be the first of 244 installs with this error, so it can't be this product which is causing the error.

P.S. you may add your vb version to either your profile or the posting :)

futuredood 06-30-2006 10:05 PM

how can you edit the order of your buddy's that show up?

The Chief 07-01-2006 04:21 PM

Tell me jj, is there a way to show the user's friends in their usercp? :)

Thanks!

Coldhands 07-07-2006 06:08 PM

Where do I go to add a hyperlink to the Friends(##) so it shows all friends? I'm having a little trouble finding it.

I'm also curious about what futuredood asked

Quote:

Originally Posted by futuredood
how can you edit the order of your buddy's that show up?


jj 07-08-2006 01:01 AM

Quote:

Originally Posted by futuredood
how can you edit the order of your buddy's that show up?

This is not possible(, yet)

Quote:

Originally Posted by The Chief
Tell me jj, is there a way to show the user's friends in their usercp?

I think there could be a way, but sorry my time is limited at the moment :)

Quote:

Originally Posted by Coldhands
Where do I go to add a hyperlink to the Friends(##) so it shows all friends? I'm having a little trouble finding it.

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

akanevsky 07-08-2006 01:18 AM

So jj, what is the difference between friends and/or buddies? :)

jj 07-08-2006 09:50 AM

Quote:

Originally Posted by Psionic Vision
So jj, what is the difference between friends and/or buddies? :)

I think I don't understand what you want to know. You mean what the difference between buddylist and friendslist is? On the buddylist all your buddies will be shown. On the friendslist all your buddies which also have you as a buddy will be shown.

akanevsky 07-08-2006 11:55 AM

No. That's not what I wanted to know.
What I wanted to know is how do you differ between buddies and friends that are *in your profile*? :)

oberheimhaven 07-08-2006 06:54 PM

Plz dont yell at me
If you want to have this user-selectable you need to add a custom profile field. Create the new field as a radiobutton, give it a name and description of your choice, the options yes and no and use the following code instead of only $FNB_HTML

where do I put code at??? In that new user field? Im sorry mates old brain<<, I do appolgise

Any help thanks
Mark

oberheimhaven 07-08-2006 07:12 PM

Still not showing up man this is an easy install compaired to what i have been doing

Thxs
Mark

Any help Im all ears

jj 07-10-2006 07:48 AM

Quote:

Originally Posted by Psionic Vision
No. That's not what I wanted to know.
What I wanted to know is how do you differ between buddies and friends that are *in your profile*? :)

By headings? See the supplied screenshots :) There's a heading for the box and it shows friends or buddies. If you choosed to show buddies there will be no display for your "friends" like in the first screenshot. If you choose to show friends, your buddies will be optionally listed below like in the third screenshot.

Quote:

Originally Posted by oberheimhaven
where do I put code at??? In that new user field?

It's all about the MEMBERINFO template. Put it in there, where you want it to show up. Put in these if your profile field is 34 by example:

HTML Code:

<if condition="$userinfo[field34] == yes">$FNB_HTML</if>
if you want your users to show it on their will or

HTML Code:

<if condition="$userinfo[field34] != no">$FNB_HTML</if>
if you want to show it by default, but let your users the choice to deactivate it.

cbr929rrerion 07-10-2006 08:27 PM

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

Help

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?

jj 08-08-2006 06:02 AM

Quote:

Originally Posted by serhat_kk
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...

As I have no SEO, I'm sorry I can't help you at the moment.

jj 08-08-2006 06:03 AM

Quote:

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

I don't know about one now, but it's possible.

ab420 08-08-2006 04:32 PM

Quote:

Originally Posted by jj
I don't know about one now, but it's possible.

That would be HUGE! :) There are a lot of people looking for something like that. I'm not even sure where to begin on that though... I'm not very familiar with the buddy list and how it works in vBulletin. If anyone has any idea of where I could start looking, I'll play around with it, but I really have no idea where to even start!

noonespecial 08-13-2006 12:38 AM

Is there anyway to remove a wannabe? Like a full on "denial" of friend thing?

Parker Clack 08-17-2006 04:59 AM

I know this is a profile plugin but as this has been asked before with no answer I too am wondering if this would be possible to be displayed on the "Buddy / Ignore Lists" page or ..profile.php?do=editlist. Many people will go to that page to add or remove a buddy or put them on their ignore list and it would be cool to see this same pluggin show up on this page.

Great hack BTW. I didn't realize that the one standard in vB was so weak until a member asked me how he could send a private message to someone on his buddy list and there is no link.

Parker

jj 08-19-2006 09:10 PM

Quote:

Originally Posted by Parker Clack
I know this is a profile plugin but as this has been asked before with no answer I too am wondering if this would be possible to be displayed on the "Buddy / Ignore Lists" page or ..profile.php?do=editlist. Many people will go to that page to add or remove a buddy or put them on their ignore list and it would be cool to see this same pluggin show up on this page.

Great hack BTW. I didn't realize that the one standard in vB was so weak until a member asked me how he could send a private message to someone on his buddy list and there is no link.

Parker

You mean that the display of your "friends" should also be available in the usercp directly? I think this would be possible, but I don't have much speartime at the moment. I even got no time to update our board to 3.6 (I have to check lots of plugins/extensions). But as soon as I get it done, I'll port my things over to 3.6 and enhance em a bit :)

Parker Clack 08-20-2006 12:11 AM

Sounds good to me. As it stands right now if you click on the profile of a member anyone can see who is on their buddy/friends list. I have made it so that only the member or admin can see that in their profile.

The Buddies/Ignore list is only viewable by the particular member and not the whole membership. So I thought it would be a logical place to put your hack right below that list instead of the profile of a member.

Thanks for this.

Parker

rolandogomez 08-24-2006 05:48 AM

Same problem with the SEO, I guess. If I click on "show all" I get this, http://www.glamour1.com/forums/membe...andogomez.html and it will not expand to show all buds. Any ideas to make this expand? Thanks, rg.

zeroality 08-28-2006 05:11 PM

Hi, any plans to port this to 3.6?

jj 08-30-2006 02:35 PM

Quote:

Originally Posted by zeroality
Hi, any plans to port this to 3.6?

See #196 please. But as I read here lately, it is working on 3.6 (#189).


All times are GMT. The time now is 06:33 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.01539 seconds
  • Memory Usage 1,844KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (21)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
  • (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