Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 22 Jul 2010, 10: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
  #2  
Old 25 Jul 2010, 22: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.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #3  
Old 26 Jul 2010, 03:44
Guest190829
Guest
 
vBulletin has a built in function fetch_avatar_url() , that is probably what you are looking for.
Reply With Quote
Reply



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 19:10.

Layout Options | Width: Wide Color: