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)
-   -   vBFriends - View your social network and surf to others in vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=101470)

jj 01-11-2006 02:52 PM

Quote:

Originally Posted by gamebgs
will there be a way that you will only be able to show like 8 friends in the profile, and then the rest brings you to the friends page or something, can this be done?

See attachment, set max_show to 8 in the setup part. If you want to show a link to the friends page edit the line which shows
PHP Code:

if ($choicecounter >= $FNB_setup['max_show'] && $FNB_setup['max_show'] > 0$FNB_HTML .= "<a class=\"smallfont\" href=\"".$vbulletin->options['bburl']."/member.php?u=".$userinfo['userid']."&amp;showall=1\">".$FNB_setup['show_all']."</a>"

currently it just hides all friends/buddies more than max_show and shows them on click and reload of profile page with &showall=1

Quote:

Originally Posted by gamebgs
what would be even better is that we can choose our top 8 but I know that that would be something hard to do...

That would need some sort of saving the preference in a database field. Maybe somewhen later.

Current xml: #102

docvader 01-11-2006 03:07 PM

Quote:

Originally Posted by j.jacobsen
Yes, the xml from #85, and it should overwrite the previous one, as it's the same name. Hope you have removed the first one I did. Had another name, so there should be only "Friends and/or Buddylist on Profile" under (Hook) : member_complete in plugins.

Well, with the superb and comprehensive help from our hack author here, my issue has been resolved. And it had NOTHING to do with this hack.

I overlooked a simple html tag in my memberinfo template. I am such a moron.

Quite interestingly though, for some reason, this hack's plug in helped keep my memberinfo template "alive"; without it, the whole page really kind of failed, which mistakenly made me think it was this plug in which had caused the problem.

Thanks J! You're an awesome guy.
rich

vwturbo 01-11-2006 04:10 PM

Quote:

Originally Posted by docvader
Well, with the superb and comprehensive help from our hack author here, my issue has been resolved. And it had NOTHING to do with this hack.

I overlooked a simple html tag in my memberinfo template. I am such a moron.

Quite interestingly though, for some reason, this hack's plug in helped keep my memberinfo template "alive"; without it, the whole page really kind of failed, which mistakenly made me think it was this plug in which had caused the problem.

Thanks J! You're an awesome guy.
rich

j.jacobsen I uploaded your newest xml file and now my friends thing doesn't show up at all. Any idea's? Nothing else has changed.

jj 01-11-2006 04:13 PM

Quote:

Originally Posted by vwturbo
j.jacobsen I uploaded your newest xml file and now my friends thing doesn't show up at all. Any idea's? Nothing else has changed.

re-read post #85 carefully, especially the part about the MEMBERINFO template ^^

vwturbo 01-11-2006 04:16 PM

Quote:

Originally Posted by j.jacobsen
re-read post #85 carefully, especially the part about the MEMBERINFO template ^^

Thanks for the quick reply. Thanks for all the help and coding that you've provided in numerous spots on this board. It's greatly appreciated.

yayvb 01-11-2006 05:57 PM

*BUMP* posted this a day or two ago but still the same problem and no fix. I also just removed old plugin and put new one from post 85.

The usernames are white so they appear invisible, I've tried manually changing the .xml file, the .php file, and my css settings. Anyone have this problem or know what I'm supposed to do? :(

Also if a user has no avatar I would like a 'no avatar' image, where would I stick that line of code in where?

Thanks in advance!!
Here's what I have so far: www.420boards.com/420kid

jj 01-11-2006 06:18 PM

Quote:

Originally Posted by yayvb
The usernames are white so they appear invisible, I've tried manually changing the .xml file, the .php file, and my css settings. Anyone have this problem or know what I'm supposed to do? :(

If the usernames are white, you have to change you css setting for the hyperlinks in your style ;) The usernames got the right color on several styles on our board.

Quote:

Originally Posted by yayvb
Also if a user has no avatar I would like a 'no avatar' image, where would I stick that line of code in where?

Find clear.gif and replace with your noavatar image. If it is placed for example in your images dir replace by images/noavatar.gif

yayvb 01-11-2006 06:31 PM

Thanks that helped.... I'll try to do this again but the thing is you can see that all the other text on the page, links and all, work just fine. For some reason this text shows white and it seems like no matter what I do it continues to remain white. :(

see www.420boards.com/420kid

Thanks for the noavatar image answer too, that helps!!
Grrr, I can't seem to figure out what the problem is.. :( Do you happen to know EXACTLY which css style? What I mean is if I go to my style options and see all the CSS options, etc. I can choose background color, font color, link color, visited link color, hover link color, etc. There are a lot of these that I can modify and all of them seem fine. I change ones that are transparent to green and nothing so I change back.

I think I'm going crazy. :) If you can't help further atleast thanks for your help to this point, this hack works great other than this.

jj 01-11-2006 06:39 PM

Quote:

Originally Posted by yayvb
Thanks that helped.... I'll try to do this again but the thing is you can see that all the other text on the page, links and all, work just fine. For some reason this text shows white and it seems like no matter what I do it continues to remain white. :(

Try replacing all 4 occurances of alt1 in the code with panelsurround.

yayvb 01-11-2006 06:52 PM

Thanks... There were only 3 occurrences, and I switched them all to panelsurround but everything's still white or blank..... :( Do you think it's because I have a bad file or something? hehe let me try redownloading since you said 4 occurrences and there were only 3. I use textpad so I didn't just overlook it. :)


All times are GMT. The time now is 10:37 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.01226 seconds
  • Memory Usage 1,755KB
  • 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
  • (1)bbcode_php_printable
  • (9)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