11
xtrem
Re: hacking wf-downloads
  • 2006/2/14 16:33

  • xtrem

  • Just popping in

  • Posts: 12

  • Since: 2005/6/21


oh, another is tracker :) sorry

12
m0nty
Re: hacking wf-downloads
  • 2006/2/14 16:50

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


to allow submitter to be able to rate their own downloads.

open wfdownloads/ratefile.php

find on line 42 & REMOVE the following (or comment it out):

if ($download->getVar('submitter') == $ratinguser)
        {
            
redirect_header("index.php"4_MD_WFD_CANTVOTEOWN);
            exit();
        }

13
xtrem
Re: hacking wf-downloads
  • 2006/2/14 22:56

  • xtrem

  • Just popping in

  • Posts: 12

  • Since: 2005/6/21


A lot of thanks,
for finish, what about show all downloads for the module (for all categories and subcategories) in name order? Is viable? ( if this is in a block is god but also will be ok if shows in the index )

thanks