honk_alert Posted March 19, 2006 Posted March 19, 2006 Hi, is it possible to make a nickname for each customer to log in and write reviews for example? :huh:
Guest Posted March 19, 2006 Posted March 19, 2006 http://www.oscommerce.com/community/contri...rch,extra+field Then echo the field name in reviews.
honk_alert Posted March 19, 2006 Author Posted March 19, 2006 http://www.oscommerce.com/community/contri...rch,extra+field Then echo the field name in reviews. Thank you very much...but actually I have no idea how to echo the field name! :huh:
Guest Posted March 19, 2006 Posted March 19, 2006 In reviews php at the moment you have: <span class="smallText">' . sprintf(TEXT_REVIEW_BY, tep_output_string_protected($reviews['customers_name'])) . '</span>'; ?> So, if you set up a new fieldname of nickname, you would amend this to: <span class="smallText">' . sprintf(TEXT_REVIEW_BY, tep_output_string_protected($reviews['nickname'])) . '</span>'; ?> You would also need to amend the sql statement at the start of this file to query the nickname column of the table, and to put this in to the reviews table you will need to tweak with both the reviews table and the reviews write page....sounds complex, but once you get going you'll be amazed how easy it is!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.