vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   BBcode help (https://vborg.vbsupport.ru/showthread.php?t=221570)

wipedout 08-23-2009 07:06 PM

not really.

wipedout 08-25-2009 09:19 AM

Bump for knowledge.

Lynne 08-25-2009 01:48 PM

Quote:

Originally Posted by James Birkett (Post 1872915)
Hmm, I'm not sure on how filesystem avatars are stored. Does the URL have any relevance to the user's profile/user ID?

Yes, they have relevance.

avatarx_y.gif

The x in the image name is the userid and the y is from user.avatarrevision. You would have to query the databae to get the avatarrevision.

James Birkett 08-25-2009 02:56 PM

Wipedout you have 2 options:
Move avatars back to the database and use the BBCode I provided below
OR
Create a hook on bbcode_create that uses mysql queries on the user.avatarrevision.

Thanks Lynne.

wipedout 08-25-2009 08:51 PM

Quote:

Originally Posted by James Birkett (Post 1874156)
Wipedout you have 2 options:
Move avatars back to the database and use the BBCode I provided below
OR
Create a hook on bbcode_create that uses mysql queries on the user.avatarrevision.

Thanks Lynne.

Think you could help me make a product that make me be able to use username instead of user id? then i'd be okay with moving it back to database.


All times are GMT. The time now is 09:16 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.01672 seconds
  • Memory Usage 1,716KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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