 | |  | | | ReviewPost How do I...? Wondering how to do something in ReviewPost? |
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.
|
| |
February 26th, 2007, 08:32 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,689
|
showproduct template is the file that prints the review over a product
|
| |
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)
|
| |
February 26th, 2007, 06:51 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Jan 2007
Posts: 61
| |
| |
February 26th, 2007, 08:07 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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.
|
| |
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.
|
| |
February 27th, 2007, 09:41 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
February 28th, 2007, 07:04 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
February 28th, 2007, 11:22 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Jan 2007
Posts: 61
| |
| |
March 1st, 2007, 06:23 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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?
|
| |
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
|
| |
May 26th, 2007, 08:45 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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.
|
| |
June 14th, 2007, 08:42 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
June 14th, 2007, 10:36 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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...
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 04:19 AM. | |