PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 10th, 2007, 11:43 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 124
Question members with no avatar shows ?

I have my Reviewpost setup with Avatars turned on for Reviews. But members that are not using an avatar show up with the missing icon "?". (see attached) Is there a way to avoid that?
Attached Images
File Type: png Picture 1.png (6.0 KB, 3 views)
ncangler is offline   Reply With Quote
Old May 10th, 2007, 12:06 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Try editing vb3.php and make sure the avatar block looks like this

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 11th, 2007, 12:01 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 124
Where is vb3.php located?
ncangler is offline   Reply With Quote
Old May 11th, 2007, 03:15 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
In your forums subdirectory of your reviewpost product
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 13th, 2007, 01:10 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 124
I don't know why mine was different but it had:
Quote:
if ( $hasav != "" )
{
if ( isset($avpath) )
{
$userprofile[6] = "<img src=\"{$Globals['vbulletin']}/$avpath\" border=\"0\">"; // Avatar
}
elseif ( $vboptions['usefileavatar'] && $hasav == 0 )
{
$userprofile[6] = "<img src=\"{$Globals['vbulletin']}/$vboptions[avatarurl]/avatar{$cuserid}_{$avrev}.gif\" border=\"0\">"; // Avatar
}
elseif ( $vboptions['usefileavatar'] && $hasav == 1 )
{
$userprofile[6] = "<img src=\"{$Globals['vbulletin']}/$vboptions[avatarurl]/avatar{$cuserid}_{$avrev}.gif\" border=\"0\">"; // Avatar
}
elseif ( $hasav == 1 )
{
$userprofile[6] = "<img src=\"{$Globals['vbulletin']}/image.php?u=$cuserid\" border=\"0\">"; // Avatar
}
else
{
$userprofile[6]= null; // Avatar
}
}
ncangler is offline   Reply With Quote
Old May 13th, 2007, 09:49 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
okay but what I posted works?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 14th, 2007, 09:15 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 124
Yes, it looks like everything is working beautifully now. Thanks for all your help Chuck!
ncangler is offline   Reply With Quote
Old December 28th, 2007, 01:20 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 426
Actually that code doesn't work entirely. Here is the code that works, note that you have to do a check on $avrev and make sure it isn't zero, if it is, then you don't want to try and display it because it will produce a red x because there is no rev zero, only 1 or higher for custom avatars.

Code:
Content visible to verified customers only.
KenDude is offline   Reply With Quote
Reply


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

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Members list shows albums? mrsquid How Do I? - vBulletin 3.5.X 1 March 22nd, 2006 11:19 PM
How to show members latest uploaded pic in the Members Gallery? CSS59 How Do I? - vBulletin 3.0.X 0 July 10th, 2005 11:14 PM
When Act as Members' Category = Yes, Nothing Shows greenhybrid Installs and Upgrade - vBulletin 3.0.X 7 March 29th, 2005 05:54 PM
Album Photos also Shows up in Members Gallery? pengrus Photopost Pro How Do I...? 5 March 7th, 2005 02:44 PM
Allow members to delete their additional members directories ? Sanjiyan How Do I? - vBulletin 3.0.X 2 January 14th, 2005 09:12 PM


All times are GMT -5. The time now is 05:53 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0