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)

MorrisMcD 04-20-2006 01:29 PM

Quote:

Originally Posted by jj
I don't use the function array-merge() in my code, so it can't be my code ;)

Yea.. My bad.. I had this hack mixed up with the auto pm when adding a user by antivirus

Ragnarok 04-20-2006 09:28 PM

Quote:

Originally Posted by jj
You're using a very old version of the plugin, seems to be the first one I ever did. You should switch do the actual product/plugin which will give you some setup options in your acp. I really don't see your "heavy modification" there. Should be no problem for you to edit the current plugin to your needs.

You can't set the number of friends per row by resolutions. There's a setting in the acp options to limit the number, which is being used for any resolution.

All I really did was chop out a lot of code and change the html to my preference. :P

Anyway, switched and working pretty well (though I now hate working with phrases :P)

Is there a function to display the counts of friends for the linked users as in Cloud-Warrior's hack that I'm missing? That was actually my prime reason for asking here for help in the first case, is that it broke from the original plugin.

criscokid 04-25-2006 02:47 PM

I've implemented a URL rewrite rule so my users can have domain.com/profiles/username (instead of it being /forums/username). This works fine except the user's avatar and photo doesn't show up because it's using a relative URL domain.com/users/image.php?u=2&dateline=1142257186 instead of a specific URL of domain.com/forums/image.php?u=2&dateline=1142257186

How do I set the avatar and photo URLs to be specific and always use domain.com/forums/ in the URL?

bada_bing 05-01-2006 04:37 PM

I am using this hack and so far workds great. the question I have is that I choose to display the profile pic instead of the avatar. No doing so if the member does NOT have a profile pic it show nothing but the members name... NOW if I revert and choose to use the avator and the members does not have an avatar then it will show an image saying members does not have an avatar.

So my question is HOW can I have it so that if a member does not have a profile pic it will display an defualt image as it does for the avatars?

bada_bing 05-01-2006 06:53 PM

Anyone ???

bada_bing 05-02-2006 04:21 PM

Can someone help me on this please..

jj 05-02-2006 06:06 PM

Quote:

Originally Posted by bada_bing
I am using this hack and so far workds great. the question I have is that I choose to display the profile pic instead of the avatar. No doing so if the member does NOT have a profile pic it show nothing but the members name... NOW if I revert and choose to use the avator and the members does not have an avatar then it will show an image saying members does not have an avatar.

So my question is HOW can I have it so that if a member does not have a profile pic it will display an defualt image as it does for the avatars?

First of all: Press install ^^
Second: If you read thru the thread you would find out, that it is not possible to show an alternative if a member does not have a profile picture.

jj 05-02-2006 06:07 PM

Quote:

Originally Posted by criscokid
I've implemented a URL rewrite rule so my users can have domain.com/profiles/username (instead of it being /forums/username). This works fine except the user's avatar and photo doesn't show up because it's using a relative URL domain.com/users/image.php?u=2&dateline=1142257186 instead of a specific URL of domain.com/forums/image.php?u=2&dateline=1142257186

How do I set the avatar and photo URLs to be specific and always use domain.com/forums/ in the URL?

Thats because I only use the vb way, and do not set the url on my own. Can't help you with that.

bada_bing 05-02-2006 06:42 PM

Quote:

Originally Posted by jj
First of all: Press install ^^
Second: If you read thru the thread you would find out, that it is not possible to show an alternative if a member does not have a profile picture.

Sorry I clicked install must of forgot.
No need to be so worked up over nothing.. Why cant a default inage be displayed rather then a blank, It works for avatars?

criscokid 05-02-2006 09:02 PM

If you look through this thread Code Red (I think) has posted his version of the MEMBERINFO template which shows a default image if the user doesn't have a photo in their profile.


All times are GMT. The time now is 04:54 PM.

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.01292 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
  • (5)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