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 February 25th, 2007, 09:36 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Postbit editing

Which template/file would I have to edit to modify the review postbit (avatar location, PM/profile button, etc.)?

Thanks.
MoMan2 is offline   Reply With Quote
Old February 26th, 2007, 08:32 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
showproduct template is the file that prints the review over a 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 February 26th, 2007, 06:49 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Thanks! I've done most of the edits that I wanted, but these two are stumping me.

-Where do I edit to modify the buttons displayed below each review (i.e. profile, PM, posts, etc.)?
-When I have user avatar display enabled, the system tries to retrieve avatars for all users, even those that don't have one, resulting in a 404 error. What can I do to only have avatars display for users that have one? (this seems like a bug)
MoMan2 is offline   Reply With Quote
Old February 26th, 2007, 06:51 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Here's an example: http://www.pentaxforums.com/lensrevi...uct=201&cat=30

Note that Lance's avatar links to a user-id related directory that is nonexistent: http://www.pentaxforums.com/forums//...vatar552_0.gif
MoMan2 is offline   Reply With Quote
Old February 26th, 2007, 08:07 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
and what is the avatar path for users who have avatars?

as far as post buttons they are in the get_profiledata function in the vb3.php forum integration file which is also where we determine avatars
__________________
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 February 27th, 2007, 07:20 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Thanks! I'll check out the file and get back to you if anything comes up.

A correct avatar path can look like this:

.../forums//customavatars/avatar77_1.gif, where 77 is the user ID and 1 is the avatar number. If users delete and re-upload an avatar, the number changes. Also, for some reason, reviewpost adds an additional slash in the url.
MoMan2 is offline   Reply With Quote
Old February 27th, 2007, 07:28 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
I've just taken care of the buttons as I wanted...now all that's left are the avatars.
MoMan2 is offline   Reply With Quote
Old February 27th, 2007, 09:41 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
You need to post a true full url to a bad images and the good image on the forum
__________________
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 February 28th, 2007, 06:25 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Sure thing. I thought you wanted to know the structure...

Here's a page with both good and bad avatars: http://www.pentaxforums.com/lensrevi...uct=143&cat=34
MoMan2 is offline   Reply With Quote
Old February 28th, 2007, 07:04 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
The reason why I asked you to post the paths to good avatars and bad avatars is because I use all the latest browsers and they do not show bad images at all so I am not able to see the issue you see
__________________
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 February 28th, 2007, 11:22 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Hmm, that's strange. It occurs for me in both IE7 and FF2. Examples:

Nonworking: http://www.pentaxforums.com/forums//...vatar115_0.gif

Working: http://www.pentaxforums.com/forums//.../avatar1_6.gif

Screenshot: http://img243.imageshack.us/img243/2...eenshotud9.jpg

Thanks for the help so far!
MoMan2 is offline   Reply With Quote
Old March 1st, 2007, 06:23 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
What happens in vb3.php if you remove the code in bold

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 March 1st, 2007, 10:49 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Removing that appears to disable avatars completely. I messed around with the code a bit, and it turns out that the only relevent line is precisely the one you told me to take out:

Code:
Content visible to verified customers only.
If I get rid of the entire conditional and just leave that piece intact (changing elseif to if), avatars will still work. Seems a bit strange, though, since doesn't $hasav == 0 mean that the user has no avatar?
MoMan2 is offline   Reply With Quote
Old May 26th, 2007, 01:15 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Hi,

This issue still isn't reolved. I'd appreciate some help.

Adam
MoMan2 is offline   Reply With Quote
Old May 26th, 2007, 08:45 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Your post above says if has been resolved though?

Removing that ONE CONDITIONAL should be fine
__________________
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 June 14th, 2007, 06:24 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
I've just checked again, and removing that conditional just disables avatars completely. It seems logical to remove that conditional...strange.
MoMan2 is offline   Reply With Quote
Old June 14th, 2007, 08:42 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Well find one that does not work and post the good and bad url to that one specific avatar and we can find why yours has an issue
__________________
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 June 14th, 2007, 10:20 AM   #18 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Here's a sample page: http://pentaxforums.com/lensreviews/...uct=194&cat=30

The system thinks that users that don't have avatars actually have them, and it generates links similar to this one: http://www.pentaxforums.com/forums/c...avatar10_0.gif
MoMan2 is offline   Reply With Quote
Old June 14th, 2007, 10:36 AM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
As stated since I use every new browser there is I will not see any error. However as I stated months ago removing the code noted in the vb3.php will remove that issue.

Code:
Content visible to verified customers only.
Your still printing that line where $hasav == 0 and if you remove it then the issue will dissapear
__________________
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 June 14th, 2007, 11:15 AM   #20 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
I've just done that (as I've tried before), and now no avatars are showing at all! Something must be wrong with the $hasav value...
MoMan2 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
Same postbit as in vb largudon Photopost Pro How Do I...? 3 October 25th, 2006 07:57 PM
PHP5 - Postbit Variables missing and 'postbit' appears in div kall Installs and Upgrade - vBulletin 3.5.X 13 July 18th, 2006 01:54 AM
Editing Gallery Postbit Roxie How Do I? - vBulletin 3.5.X 1 September 2nd, 2005 12:19 PM


All times are GMT -5. The time now is 04:19 AM.

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