Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-06-2011, 12:08 AM
Frosty Frosty is offline
 
Join Date: Apr 2011
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Friends List

So yeah, this thing is bugging me for few hours.. Is there any global variable that's outputting friends of a certain user. Thing is that I don't like the current friends list, I just want to output usernames, nothing else..

I tried to include the code from the memberinfo_block_friends and memberinfo_block_friends_mini template into memberinfo template, but it just outputs totally f*cked up list.

Any suggestions?

p.s. I need this because I'm making a totally custom profile page, everything's working so far except the friends list.

Thanks,
- Drazic
Reply With Quote
  #2  
Old 04-06-2011, 08:10 PM
richy96's Avatar
richy96 richy96 is offline
 
Join Date: Apr 2008
Location: England
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Isn't there some option in the ACP whether to show avatars/profile pics in the friends list or not? I seem to recall seeing something like that

VBulletin OPtions -> Friends and/or Buddies in Profile

What is it you don't want to be shown? I can probably help you with this

Rich
Reply With Quote
  #3  
Old 04-06-2011, 11:05 PM
Frosty Frosty is offline
 
Join Date: Apr 2011
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@richy96
Thanks for the reply. And I can't seem to find that option, and even if I did, it probably wouldn't matter because I want to show friends of a certain user like this:

http://i.imgur.com/wJR0f.png

As you can see on the edited profile page screenshot, I want to make it like that.. But no matter how I include the code from those 2 templates, I can't retrieve friends of the user, problem is because it either doesn't work, or it retrieves parts that I don't need.
Reply With Quote
  #4  
Old 04-07-2011, 05:26 PM
richy96's Avatar
richy96 richy96 is offline
 
Join Date: Apr 2008
Location: England
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Ahh OK so I am not the only one running an adult oriented vb based site then

Looking at that taboo girls site screenshot (I'm not sure which version of VB that is to be honest) I'd say if it is running on a vb 3.x then they either did a lot of template editing on the templates called from member.php or they are using javascript to rearrange the whole profile page client side after it is output from vbulletin.

My site currently used the latter option to achieve something similar to what they are doing, though i must admit I do rather like their profile layout.

If you are looking to do something like that then you are gonna have to be pretty experienced with php/html and possible javascript/dom as well... or at least able to learn fast lol - you won't do it from options in the ACP

What's the URL of you site?

Rich
Reply With Quote
  #5  
Old 04-08-2011, 01:40 PM
Frosty Frosty is offline
 
Join Date: Apr 2011
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Richy
I own TabooGirls, and everything I did works fine, but as you already know.. Can't get the friend list retrieved, I've edited that screenshot in Photoshop and added how I want the friend list to look.

And yes, I'm using vB3 (3.8.4)..
Reply With Quote
  #6  
Old 04-11-2011, 09:19 AM
richy96's Avatar
richy96 richy96 is offline
 
Join Date: Apr 2008
Location: England
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you say you 'can't get the friend list retrieved' I'm not quite sure what you mean.

In the screen shot are there supposed to be avatars above the friends names or not, maybe you just greyed them out for display here?

Rich
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03552 seconds
  • Memory Usage 2,204KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete