91
hervet
Re: Who's OnLine Module
  • 2008/7/9 6:34

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


This is a system module, so you don't need any specific module
You will find it in the XOOPS blocks manager



92
hervet
Re: Xoops & Mail good reference ?Limited Labelform ?
  • 2008/7/9 6:32

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


In my version of xDirectory I don't have a contact form but I suppose that your code translate html code (in the $body variable) into html entities.
That is to say that < and > become &lt; &gt;

Try to do a var_dump($body) to see its exact content



93
hervet
Re: News Posting problem
  • 2008/7/8 14:24

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


can you activate the Php debug's mode ?



94
hervet
Re: Xoops & Mail good reference ?
  • 2008/7/7 18:22

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


show us your code



95
hervet
Re: Invalid confirmation code! when register.
  • 2008/7/6 17:45

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Have you modified XOOPS ?



96
hervet
Re: NetBeans for PHP developers
  • 2008/7/6 17:41

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


I'm stick to Zend for Eclipse



97
hervet
Re: User Log Module
  • 2008/7/6 17:35

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


If you want to create a simple log of users connections, try this (for XOOPS 2.0.18).
Open and modify include/checklogin.php
after this block of code :
if (in_array($user_theme$xoopsConfig['theme_set_allowed'])) {
        
$_SESSION['xoopsUserTheme'] = $user_theme;
    }


insert :
$fp fopen('path/to/my/log/loguser.csv','a');
    if(
$fp) {
        
$infos = array();
        
$sep ';';
        
$infos[] = date("Y-m-d");
        
$infos[] = date("H:i:s");
        
$infos[] = $user->getVar('uid');
        
$infos[] = $user->getVar('uname');
        
$infos[] = IP();
        
$infos[] = xoops_getenv('HTTP_REFERER');
        
fwrite($fpimplode($sep$infos)."\n");
        
fclose($fp);
    }

This will create a log file in the CSV format.
You just need to replace the path to your log file.



98
hervet
Re: Pagination in different modules
  • 2008/7/6 17:31

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


In the Php code, you must find something like this :
$xoopsTpl->assign('pagenav'$pagenav->renderNav());


change it to (for example) :
$xoopsTpl->assign('pagenav'$pagenav->renderNav(9999));



99
hervet
Re: Mobile Themes
  • 2008/7/6 17:27

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


You have to detect the browser user agent.



100
hervet
Re: Xoops & Mail good reference ?
  • 2008/7/6 17:25

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4






TopTop
« 1 ... 7 8 9 (10) 11 12 13 ... 139 »



Login

Who's Online

247 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 247


more...

Donat-O-Meter

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

Latest GitHub Commits