![]() |
Postbit editing Which template/file would I have to edit to modify the review postbit (avatar location, PM/profile button, etc.)? Thanks. |
showproduct template is the file that prints the review over a product |
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) |
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 |
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 |
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. |
I've just taken care of the buttons as I wanted...now all that's left are the avatars. |
You need to post a true full url to a bad images and the good image on the forum |
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 |
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 |
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! |
What happens in vb3.php if you remove the code in bold Code: Content visible to verified customers only. |
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. |
Hi, This issue still isn't reolved. I'd appreciate some help. Adam |
Your post above says if has been resolved though? Removing that ONE CONDITIONAL should be fine |
I've just checked again, and removing that conditional just disables avatars completely. It seems logical to remove that conditional...strange. |
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 |
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 |
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. |
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... |
| All times are GMT -5. The time now is 08:39 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0