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)

jj 05-08-2007 05:39 AM

Quote:

Originally Posted by rossco_2005 (Post 1243259)
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...

Look into my todo list :) it's just not finished yet.

sinistergaming 05-09-2007 04:35 AM

it took a minute messing with yes and no with the picture and avatars and who can view what but it works great and does just fine thanks !!!!

Lars-Christian 05-10-2007 10:20 AM

Installed the upgrade. Works great. Now all we need is a AutoPM plugin that actually works, too, and all is well :)

Mrdby 05-12-2007 01:00 PM

3.6.6.?

jj 05-12-2007 07:22 PM

Quote:

Originally Posted by Mrdby (Post 1246202)
3.6.6.?

Why not? :)

rossco_2005 05-13-2007 11:40 AM

Quote:

Originally Posted by jj (Post 1246404)
Why not? :)

3.6.6 you can even take away the template edit and use the new template hook. :)
I'm going to look into that later today for my forum.;) :up:

ragtek 05-13-2007 02:18 PM

Quote:

Originally Posted by rossco_2005 (Post 1246751)
3.6.6 you can even take away the template edit and use the new template hook. :)
I'm going to look into that later today for my forum.;) :up:

somebody know how to use the hooks?

rossco_2005 05-19-2007 12:53 PM

Quote:

Originally Posted by ragtek (Post 1246838)
somebody know how to use the hooks?

use the plugin member_complete
Add this code:
Code:

$template_hook[memberinfo_pos3] .= $FNB_HTML;
unset($FNB_HTML);

Change the template hook to whatever one you want to use. ;)

You then remove $FNB_HTML from memberinfo template which you added when you originally installed (unless you have't installed yet).
You can also change the hook name to any other in memberinfo to move the friends list around.

tamborinegal 05-27-2007 01:04 AM

Quote:

Originally Posted by jj (Post 1140293)
They are ordered by username. If you want to change it, you need to edit the plugin code under the hook "member_complete" on line 21 from
PHP Code:

                    username

to something like
PHP Code:

                    RAND()

ie. for randomization. Someone mentioned that in the 3.5.x Thread already.

The buddy-by ordering is located on line 44.

Hi jj,

Just wondering how to sort randomly instead of by username. The plugin has changed since the above was posted. Can you tell me where I can change the code to make the friends sort randomly?

Also, any update on the AutoPM after add Buddy. Are you still planning on adding this in at any stage?

Thanks again,

Clancy

StarBuG 06-03-2007 12:11 PM

Hi

I have just updated from 1.0.1 to 2.0.2 and the list is not showing up anymore.
I used the german version and yes, I have put $FNB_HTML into the MEMBERINFO template.

Any ideas why it is not working?

EDIT: the english version works so there must be a problem with the german version ;)


All times are GMT. The time now is 04:58 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.01104 seconds
  • Memory Usage 1,741KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (6)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