Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 22 Jul 2010, 11:02
beansbaxter's Avatar
beansbaxter beansbaxter is offline
Join Date: May 2005
Question Change code to get avatar from file system instead of the database?

I have a script that is grabbing the user's avatar from the database. This is the code that it's using:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I have moved avatars from the database into the file system. What code would I use to replace this so it calls from the file system instead of the database?

I'm running vBulletin 3.8 if it matters. Thanks in advance.
PNW Moto - Motorcycle riders in Washington, Oregon, Idaho
Reply With Quote
Old 25 Jul 2010, 23:12
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Join Date: Jun 2008
Real name: Joe D.
I'd be interested in this too... I looked for this several weeks ago and came to the conclusion it wasn't possible.
Former Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
Old 26 Jul 2010, 04:44
vBulletin has a built in function fetch_avatar_url() , that is probably what you are looking for.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

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

New To Site? Need Help?

All times are GMT. The time now is 05:08.

Layout Options | Width: Wide Color: