Krisz1 Posted March 5, 2004 Share Posted March 5, 2004 I was looking a way to forbid customers into writing reviews for any item, browsed some contributions and with all of them you had to modify various files and copying & pasting some code. I came up with the idea of just renaming the file product_reviews_write.php so each time a user wants to write a review, that particular file doesnt exist, stopping the customer to write one. Is this harmless for the store to work right? I thought that as this file served a particular puropse, it wont screw up the normal function of the site. Thanks for your comments :) Link to comment Share on other sites More sharing options...
Andrew J Posted March 5, 2004 Share Posted March 5, 2004 Hi! Read this! I think it will solve your problem. http://www.oscommerce.com/forums/index.php?sho...t=0entry62125 Ps: Egy?bk?nt te is magyar vagy? Csak a neved miatt k?rdezem. :) Andr?s Link to comment Share on other sites More sharing options...
Krisz1 Posted March 5, 2004 Author Share Posted March 5, 2004 Helo Andr?s Thanks that seems to require less work than other suggestion's I've seen.. But I still need to know if renaming (or deleting) the file product_reviews_write.php doesn't affect the normal operation of the store.. (I really dont mind customers getting a 404 when writing reviews, although I may edit the source code later) thanks :) P.S. Igen, de nem beszelek magyarul :( Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.