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 Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 3rd, 2005, 10:36 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 16
IPB2 avatars(FIXED)

Strange occurrence...
For some reviewers their IPB2 avatar is shown for others it is not.
For example I checked the location of several that show and they are board local (that is the avatar was uploaded to the forums). Yet my avatar (which is also board local) does not show.

Any ideas?
ljcook is offline   Reply With Quote
Old September 4th, 2005, 06:03 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
I'll check my install. I'm running IB2 as well and avatars work here.. but I'ma bout to update to the 3.1 codeset. I'll compare my working version to the new code and see what's up.
Arnie is offline   Reply With Quote
Old September 4th, 2005, 06:06 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
Well this is probably the problem.. there's a typo in the file IB2.php (found in reviewpost/forums):

Code:
Content visible to verified customers only.
The line "elseif ( $av_type=="url" )" should be "elseif ( $avatar_type=="url" )".

I did submit this code (or one similar to it) to OmegaTron so the typo could well be my fault.

What's your board URL? It's easier to make sense of bugs if the guys here can see the actual HTML output.

Last edited by Arnie; September 4th, 2005 at 06:09 AM.
Arnie is offline   Reply With Quote
Old September 4th, 2005, 06:39 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
That would be the correct answer as its a typo exactly as stated by Arnie.
__________________
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 September 4th, 2005, 09:42 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 16
Well, that fixed the remote avatars but some of the local ones still don't work. If I look at the HTML output the avatars that don't work look like:
Code:
Content visible to verified customers only.
Note the "/upload:" instead of a just a "/" after uploads.

That is how it (upload:av-2.jpg) is stored in the memebers_extra table of the database. My guess is that is left over from earlier upgrades of IPB. But it still works on the forums.

Last edited by ljcook; September 4th, 2005 at 09:47 AM.
ljcook is offline   Reply With Quote
Old September 4th, 2005, 09:59 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
That's odd, in my IPB table (running 2.0.4, the current codeset), the data stored in avatar_location is all in the format av-[id].gif/jpg for uploaded images.

Are you sure you're running an unhacked version of IPB2?

In reviewpost/forums/ib2.php, try this change:

Code:
Content visible to verified customers only.
(lines 228-236 ish)

The addition is "if ($avatar_type=="upload" ) $avatar_location = str_replace ( "upload:", "", $avatar_location);" as a first statement.

Last edited by Arnie; September 4th, 2005 at 10:07 AM.
Arnie is offline   Reply With Quote
Old September 4th, 2005, 10:06 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 16
Thanks that worked.
Quote:
Are you sure you're running an unhacked version of IPB2?
My IPB is a legal (paid for) copy since IPB 1.0. I have certainly made many mods - none of which have anything to do with the avatars or the member_extra table.
ljcook is offline   Reply With Quote
Old September 4th, 2005, 10:08 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
Looking online it seems that the "upload:" tag for aavatar upload in the database dates back to IPB2 2.0PF3 pre-release, as here's some code from IPB products:

Code:
Content visible to verified customers only.
It seems that uploads could be tagged like that depending on when your install dates from, and what upgrades you've done from that.

OmegaTron: I'd suggest that the one line fix is added to the next release for compatibility
Arnie is offline   Reply With Quote
Old September 4th, 2005, 10:12 AM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 16
Thanks again!
ljcook is offline   Reply With Quote
Old September 4th, 2005, 10:16 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Ah gotta love Invisionboard sounds like someone needs to tell then to clean up there mess after playing with beta code

No biggy I can add that
__________________
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
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPB2 signature CSS Arnie ReviewPost Suggestions 5 October 26th, 2005 01:37 PM
IPB2 avatars in posts Arnie ReviewPost Suggestions 11 August 29th, 2005 11:31 AM
PP, IPB2 on different subdomains balazsp Photopost Pro Installation & Upgrades 10 June 24th, 2005 08:58 AM
IPB2 and Review post Arnie ReviewPost Bug Reports 8 June 20th, 2005 12:06 PM
IPB2 login? ljcook ReviewPost Installation & Upgrades 2 April 12th, 2005 03:57 PM


All times are GMT -5. The time now is 02:09 AM.

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