The FeedBack has the following problem, when a vendor goes to the FeedBack tab, he see a list of his feedbacks, but he does not see the feedback details. This is due to the control UserProfileControl, this control calcs the total of feedbacks if a property named ShowProfile is true, but this property is set to false in the method BindData() of the FeedBack tab...so the variable RatingsTotal will be 0 and the control shows - in the FeedbackDetailsIn order to solve that you must change the source code, simply take the line
RatingsTotal = DataProvider.Instance.FeedBackGetCount(PortalId, -1, ProfileUserID, "AND CAT_Feedbacks.Approved = 1")
in the method Page_Load of the UserProfileControl
to out of the "If ShowProfile Then" section
Fixed in the v05.04.01, thanks!Code is a little bit different from yours:
Dim
objUser = UserController.GetUser(PortalId, ProfileUserID,
RatingsTotal = DataProvider.Instance.FeedBackGetCount(PortalId, -1, ProfileUserID,
PositiveRatings = DataProvider.Instance.FeedBackGetCount(PortalId, -1, ProfileUserID,
positivescore = PositiveRatings / RatingsTotal * 100
...