Subject:*
Name/Email:*
Message Icon:*
Message:*
url email imgsrc image php hide code quote
English Nederlands 
SAMPLE
alignleft aligncenter alignright bold italic underline linethrough   


 [more...]
Options:*
 

 

 
     
Re: Integrating a new system of rating by stars for WFDownloads (ajaxstarrater_v122)

by fiammybe on 2011/4/7 10:09:49

The smartmedia module was last changed in 2005, which makes it almost certain that there is lots of work to be done to make it work under PHP 5.

Are you sure you need that module specifically? Madfish has been developing a pair of modules (library and podcast) that might be suited to your needs, and that are among the most recent modules there are for ImpressCMS.
Re: Integrating a new system of rating by stars for WFDownloads (ajaxstarrater_v122)

by leprince on 2011/4/4 13:00:15

hello everyone, I find this topic very relevant.




I like to add for the module smartmedia rating by stars ajaxstarrater_v122 like imlinks module . I already try to do it but it can't work. I know that this module is died but I need it. please can you help me I will be grateful thank you.



sorry for my inglish




salut tout le monde, je trouve ce sujet tres intéressent.

j'aime bien ajouter le script rating 5 stars pour le module smartmedia qui ressemble un peu au module WFDownloads. j'ai déjà essayer de le faire en voyant le module imlinks mais j'arrive pas.je sais qu'il s'agit d'un module mort mais j'en ai besoin 

vous pouvez m'aider je serai reconnaissant merci




merci McDonald



Re: Integrating a new system of rating by stars for WFDownloads (ajaxstarrater_v122)

by fiammybe on 2009/4/2 14:04:48

I did the changes and it works. Thanks for the quick fix!

cheers :thumbup:
Re: Integrating a new system of rating by stars for WFDownloads (ajaxstarrater_v122)

by McDonald on 2009/4/2 10:52:46

@fiammybe,

Open the file viewcat.php and replace
if ($total_numrows > 0)
{
foreach (array_keys($downloads) as $i) {
include XOOPS_ROOT_PATH.'/modules/wfdownloads/_drawrating.php';


with
include XOOPS_ROOT_PATH.'/modules/wfdownloads/_drawrating.php';
if ($total_numrows > 0)
{
foreach (array_keys($downloads) as $i) {

Re: Integrating a new system of rating by stars for WFDownloads (ajaxstarrater_v122)

by Vaughan on 2009/4/2 10:37:20

it worked for me, though i didn't do multiple uploads.. so i could have missed that easily.

the ajax star rating though will NOT be in the final version as there's still work to do on it. ie, remove the old rating system as the links are still there to rate with the old rating system (ratefile.php), and also need to log the usernames of who rated and IP's etc for the new ajax system.

also in admin, there's no way that i can see where you can view a log of who's rated each download etc, for the ajax rating, you can only see the logs of the old rating system. I don't have time to do all that, and with it already being an RC2 release, i'm hesitant to add more features to it at this stage as there's already been some added during RC.

I just need to get the new templates when they are ready, and then people can test the release, and it can goto 3.2 Final then.

3.2 Final will be the last WF-Downloads from smartfactory, and will be the last downloads module compatible with both xoops & icms.

our next downloads module is to be written from scratch using the IPF, and will be for icms only. the ajax system will of course most likely be added to it :)


@fiammybe, the error isn't a icms specifc error message, it's a standard PHP error message. what redeclare means is that something is trying to declare a class or include a file etc that has already been included so it's trying to call the same thing twice.

without looking at it, i'd say it's probably some include() or require() that needs changing to include_once or require_once etc.

that's the likely candidate anyway.