11
Mamba
Re: Please, I need to install a good Directory Module
  • 2016/6/18 5:09

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Not right now, as I'm too busy with the event tomorrow that I'm organizing:
http://sonnykimtribute.org/

Maybe in the next two weeks, when I catch-up with things...
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

12
Bleekk
Re: Please, I need to install a good Directory Module
  • 2016/6/19 12:43

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


what are the exact problems
Quote:
1. I need to fixed the problem of classifications or rate it not working
2. I need to fixed tell a friend section.

13
Bleekk
Re: Please, I need to install a good Directory Module
  • 2016/6/20 17:57

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


Hi I think I have fixed the rating problem.
Please open ratelink.php and overwrite following lines
if (!empty($HTTP_POST_VARS['submit'])) {
    
$eh = new ErrorHandler//ErrorHandler object
    
if (empty($xoopsUser)) {
        
$ratinguser 0;
    } else {
        
$ratinguser $xoopsUser->getVar('uid');
    }

    
//Make sure only 1 anonymous from an IP in a single day.
    
$anonwaitdays 1;
    
$ip           getenv('REMOTE_ADDR');
    
$lid          = (int)$HTTP_POST_VARS['lid'];
    
$cid          = (int)$HTTP_POST_VARS['cid'];
    
$rating       = (int)$HTTP_POST_VARS['rating'];


with this lines
if (!empty($_POST['submit'])) {
    
$eh = new ErrorHandler//ErrorHandler object
    
if (empty($xoopsUser)) {
        
$ratinguser 0;
    } else {
        
$ratinguser $xoopsUser->getVar('uid');
    }

    
//Make sure only 1 anonymous from an IP in a single day.
    
$anonwaitdays 1;
    
$ip           getenv('REMOTE_ADDR');
    
$lid          = (int)$_POST['lid'];
    
$cid          = (int)$_POST['cid'];
    
$rating       = (int)$_POST['rating'];


the problem is this piece of php "$HTTP_POST_VARS"

14
ipwgc
Re: Please, I need to install a good Directory Module
  • 2016/6/21 23:14

  • ipwgc

  • Quite a regular

  • Posts: 216

  • Since: 2005/8/13


Hi Bleekk
You fixed , the rate it working

YOU CAN SEE IT HERE

Now, we have to fixed the otrer problem.

The Tell a Friend link, Mail is not going anywhere,
Bleekk, You can see and fix this problem?

David

15
Bleekk
Re: Please, I need to install a good Directory Module
  • 2016/6/22 6:52

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


I will look at this bug at the weekend.
Glad that rating is working now.

16
Bleekk
Re: Please, I need to install a good Directory Module
  • 2016/6/23 13:31

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


can you please test if mail() works on your server
http://php.net/manual/de/function.mail.php

Make a php file and test it please

17
ipwgc
Re: Please, I need to install a good Directory Module
  • 2016/6/25 11:32

  • ipwgc

  • Quite a regular

  • Posts: 216

  • Since: 2005/8/13


Hi Bleekk, Sorry I am not receiving notifications by mail,
I need to change this email admin1@ipwgc.com on my profile. This email I not use anymore. How I change this email on my profile?

Well, to answer your question, I do not know how tested if mail() works on the server

I have a file in the cgi folder, can be give you the answer.?
SEE IT FROM HERE

I am preparing to install this mxdirectory module in another domain too.
TO SEE IT, CLIC HERE

David

18
Bleekk
Re: Please, I need to install a good Directory Module
  • 2016/6/25 17:24

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


hi,

Please try one thing.

in contact.php line 235

try to use this
$xoopsMailer xoops_getMailer();

instead of
$xoopsMailer =& getMailer(); //Get mailer object

19
Bleekk
Re: Please, I need to install a good Directory Module
  • 2016/6/27 9:05

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


PS:
Please contact mamba to change your mail

Login

Who's Online

307 user(s) are online (209 user(s) are browsing Support Forums)


Members: 0


Guests: 307


more...

Donat-O-Meter

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

Latest GitHub Commits