1
culex
myReviews RSC 2.1 - Changes to make it work
  • 2005/3/11 11:56

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


In file topten.php
---------------------

Change line 91 - 96

if(isset($HTTP_POST_VARS['rate']) or isset($HTTP_GET_VARS['rate'])){
    
$sort _MD_RATING;
    
$sortDB "rating";


INTO

if(isset($HTTP_GET_VARS['rate'])){

    
$sort _MD_RATING;

    
$sortDB "rating";



AND LINE 125

$query "SELECT lid, cid, title, hits, rating, votes FROM ".$xoopsDB->prefix("myReviews_downloads")." WHERE status>0 AND rating>0 AND (cid=$cid";


INTO

$query "SELECT lid, cid, title, hits, rating, votes FROM ".$xoopsDB->prefix(myReviews_downloads)." WHERE (status>0 AND rating>0 AND cid=$cid";


///////////////////////////////////////////////////////

Make the same changes in Onion.php,recommendit.php and loveit.php

Other errors: in onion.php,recommendit.php and loveit.php

remove ')' from line 40 this causes MySQL error 1064

FROM

$query .= ") ORDER BY ".$sortDB." ASC";


To

$query .= " ORDER BY ".$sortDB." ASC";


This ought to clear up some errors :o)

2
Shine
Re: myReviews RSC 2.1 - Changes to make it work
  • 2005/5/11 13:21

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


I cannot seem to find the module myReviews RSC version 2.1
The only one I see is a very old version 2.0
Where can myReviews RSC 2.1 be found for download?

Grtz., Shine

3
m0nty
Re: myReviews RSC 2.1 - Changes to make it work
  • 2005/5/11 13:57

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


there isn't an rsc 2.1 version.. as far as i know..

there's a myReviews 2.1 RC1 version, and yes it's quite old.. and i don't think is being developed anymore.

if u want a quick link to it, goto my profile and view my submitted files..

i was discussin with some1 the other day, and if i find sometime i will include the many bugfixes into the RC1 release, and possibly add a couple of new features or improvements and release it as RC2..

Login

Who's Online

160 user(s) are online (110 user(s) are browsing Support Forums)


Members: 1


Guests: 159


mailsdaddy,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits