osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Reviews in Article Info (Article Manager)

This is a discussion on Reviews in Article Info (Article Manager) within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; When you have installed the Review Aproval System you can also use it for this contribution. The aprroval didn't ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 10-25-2007, 07:26 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 9,630
Thanks: 65
Thanked 281 Times in 267 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Reviews in Article Info (Article Manager)

When you have installed the Review Aproval System you can also use it for this contribution.

The aprroval didn't work good with mne OSC. Maybe you also have the same problem..then replace this peace of code:

On Line 14 Find:
=====================
$reviews_query = tep_db_query("select r.reviews_id, left(rd.reviews_text, 100) as reviews_text, r.reviews_rating, r.reviews_read, r.date_added, r.customers_name from " . TABLE_ARTICLE_REVIEWS . " r, " . TABLE_ARTICLE_REVIEWS_DESCRIPTION . " rd where r.articles_id = '" . (int)$article_info['articles_id'] . "' and r.reviews_id = rd.reviews_id and rd.languages_id = '" . (int)$languages_id . "' order by r.reviews_id desc");



AND REPLACE WITH:
=====================
$reviews_query = tep_db_query("select r.reviews_id, left(rd.reviews_text, 100) as reviews_text, r.reviews_rating, r.reviews_read, r.date_added, r.customers_name from " . TABLE_ARTICLE_REVIEWS . " r, " . TABLE_ARTICLE_REVIEWS_DESCRIPTION . " rd where r.approved = 1 and r.articles_id = '" . (int)$article_info['articles_id'] . "' and r.reviews_id = rd.reviews_id and rd.languages_id = '" . (int)$languages_id . "' order by r.reviews_id desc");


More...
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Article Manager v1.0 michael_s New osCommerce Contributions 0 09-12-2007 03:24 PM
Article Manager v1.0 michael_s New osCommerce Contributions 0 07-20-2007 07:28 AM
Article Manager v1.0 michael_s New osCommerce Contributions 0 06-20-2007 12:22 PM
Reviews in Article Info (Article Manager) michael_s New osCommerce Contributions 0 05-10-2007 02:00 PM
MS2-Max & article manager Anonymous osCMax v1.7 Discussion 0 03-23-2004 01:57 PM


All times are GMT -8. The time now is 06:30 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax