vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - Widget - Show random members with picture (https://vborg.vbsupport.ru/showthread.php?t=235460)

slumbermann 02-11-2010 04:37 AM

Quote:

Originally Posted by kevinfx (Post 1979680)
were you able to figure out what wrong with using this code with vb version 4.0?

thank you

Hi,

I just tested the code with vb 4.0 and it works with no problem. Please make sure your user have profile picture or avatars uploaded, else there will be no picture shown.

slumbermann 02-11-2010 04:38 AM

Quote:

Originally Posted by blake247 (Post 1979705)
Thanks for the tip! Great widget!

Ur welcome... :)

kevinfx 02-11-2010 05:13 AM

that's weird because the usernames listed do have profile pictures .... Do i need to change anything in the code?
my vb is 4.0 patch level 1. also i store profile pics and avatars on the server (file system) not in the database.... would that make a different?

slumbermann 02-11-2010 05:24 AM

Quote:

Originally Posted by kevinfx (Post 1979748)
that's weird because the usernames listed do have profile pictures .... Do i need to change anything in the code?

You don't need to change anything in the code, you just need to choose either to use the profile picture or avatar, currently i separated the code, so each will only work with one source, i will try to integrate both into the code.

when you create the widget, it show empty box or what? could you please explain your problem, i will try my best to help

kevinfx 02-11-2010 05:39 AM

when i create the widget, it shows some code in there. I replaced it everything with your code.

Thank you

slumbermann 02-11-2010 05:44 AM

Quote:

Originally Posted by kevinfx (Post 1979763)
when i create the widget, it shows some code in there. I replaced it everything with your code.

Thank you

and when you add it to your layout manager? what are shown on the front page?

kevinfx 02-11-2010 05:49 AM

just 3 links (user names) to profiles without the profile pictures... looks like the widget was able to pull all users that have profile pix, but unable to display profile pix on the CMS

because i store profile pix on the server instead db, the profile pix URL is, for example :

/forum/customprofilepics/profilepic1_1.gif ..... not image.php?u=xxx

slumbermann 02-11-2010 06:07 AM

Quote:

Originally Posted by kevinfx (Post 1979768)
just 3 links (user names) to profiles without the profile pictures... looks like the widget was able to pull all users that have profile pix, but unable to display profile pix on the CMS

because i store profile pix on the server instead db, the profile pix URL is, for example :

/forum/customprofilepics/profilepic1_1.gif ..... not image.php?u=xxx

ok, so that was the reason, could you please PM me your website url?

Martyh 02-11-2010 07:30 AM

Can it be set to pull from a specific user group ?

slumbermann 02-11-2010 08:47 AM

Quote:

Originally Posted by Martyh (Post 1979808)
Can it be set to pull from a specific user group ?

yes you can, but there additional code to be added, how many group do you need? just one or some groups?


All times are GMT. The time now is 01:26 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.01222 seconds
  • Memory Usage 1,737KB
  • 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
  • (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