vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   latest photopost picture as avatar per usergroup (https://vborg.vbsupport.ru/showthread.php?t=71996)

sabret00the 11-21-2004 01:46 PM

latest photopost picture as avatar per usergroup
 
i saw a thread where someone was requesting to have it in the postbit, however i'd like it as an avatar with an additional option in the usercp to give the user the option of using their selected normal avatar or the photopost picture. but to make this even more complex i'd like that usergroup to use the photopost picture by default thus they'd have to turn it off.

anyway is this possible withuot racking up queries?

sabret00the 11-27-2004 03:23 PM

ok i had an idea on how to make this work, without the query load, it was gonna make a function to pull the information all at once. however i think i've done that, but i'm not really sure how to do the rest of this, if anyone has any ideas on how to do this, then please post. my minds just gone blank so i have no idea quite what i'm doing.

basically to pull the image it's literally
HTML Code:

<img src="$vboption[galleryurl]/data/$ppost_catid/$userid$ppost_bigimagename-thumb.jpg" />


All times are GMT. The time now is 02:42 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.00968 seconds
  • Memory Usage 1,708KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete