flawless Posted May 30, 2005 Share Posted May 30, 2005 I would like to know if it's possible to remove the last name of the person who is leaving a product review. Ultimately, it allows for more privacy to my customers and would increase the chance of them leaving a review. I personally would not leave a review if I knew my last name would be published along with it. My question is can someone help me disable the last name from being displayed in the product review section and perhaps replacing it with "from <City,State>". For Example: Instead of it showing Mark Smith it would show Mark from Los Angeles, California. I looked in reviews.php and I found where it queries the db for customer name, but in the database for reviews, the customer name is stored in 1 field, first and last together. So I am not sure if its possible to disable it from displaying the latter half (last name). I think many people would love a mod like this, I am just not good at scripting much of anything. Any help is appreciated :). /Thanks Link to comment Share on other sites More sharing options...
Guest Posted May 30, 2005 Share Posted May 30, 2005 look in product_reviews_write.php looks like line 27 could be a starting point to eliminate the last name. It gets more complicated if you want their city and state because that's from another table. try taking this out: , customers_lastname see if that helps. I don't use reviews so I can't see if it works. Edit: make sure you get that comma. Link to comment Share on other sites More sharing options...
Platinum Games Posted May 31, 2005 Share Posted May 31, 2005 look in product_reviews_write.phplooks like line 27 could be a starting point to eliminate the last name. It gets more complicated if you want their city and state because that's from another table. try taking this out: , customers_lastname see if that helps. I don't use reviews so I can't see if it works. Edit: make sure you get that comma. <{POST_SNAPBACK}> Thanks i was looking for this modification aswell, but by changing the product_reviews_write.php file it will only change new reviews you will have to delete the others and re-submit them to remove names. oh, and it works fine. Thanks in advance! Ben Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.