551
heyula
My New Xoops Project
  • 2021/11/22 11:41

  • heyula

  • Theme Designer

  • Posts: 591

  • Since: 2008/4/24


Resized Image


Modules Used :

- Publisher
- xforms
- xmcontent

Demo:

https://www.togaysan.com.tr/



552
Mamba
MyMenus 1.54.0 Beta-4
  • 2021/11/22 10:33

  • Mamba

  • Moderator

  • Posts: 11370

  • Since: 2004/4/23


Resized Image


XOOPS MyMenus 1.54.0 Beta 4 released for testing/contributions!

MyMenus is menu manager module that allows you to display dynamic or static menus in your XOOPS website.

DOWNLOAD: https://github.com/mambax7/mymenus/releases

TUTORIAL:https://xoops.gitbook.io/mymenus-tutorial

ISSUES/BUGS: Please report all issues on GitHub

REQUIREMENTS:
- XOOPS 2.5.10
- PHP 7.4+
- tested on PHP 8.0.12

Viva XOOPS!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



553
cadch
Re: lostpass.php Have some error,On user by Gmail
  • 2021/11/21 8:23

  • cadch

  • Just popping in

  • Posts: 48

  • Since: 2007/12/17


XoopsCore25-2.5.11-Beta1



554
Mamba
Re: lostpass.php Have some error,On user by Gmail
  • 2021/11/20 14:45

  • Mamba

  • Moderator

  • Posts: 11370

  • Since: 2004/4/23


Thanks for reporting!

Which XOOPS version do you use?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



555
cadch
lostpass.php Have some error,On user by Gmail
  • 2021/11/19 8:41

  • cadch

  • Just popping in

  • Posts: 48

  • Since: 2007/12/17


lostpass.php Have some error,On user by Gmail
Gmail on Chrome will use cache.google.com,If user click mail url【xoops_url/lostpass.php?email=xxx@xxx.com&code=xxxxx】
Will go to 【google_url/url?q=xoops_url/lostpass.php?email%3Dxxx@xxx.com%26code%3Dxxxxx&source=gmail&ust=xxxxxxxx&usg=xxxxxxx"】
cache.google.com will cache the URL,Will send 【lostpass1.tpl】again.
Fix it
if (empty($getuser)) {
    
$msg _US_SORRYNOTFOUND;
    
redirect_header('user.php'2$msg);
} else {
    
$code   = isset($_GET['code']) ? trim($_GET['code']) : '';
    
$areyou substr($getuser[0]->getVar('pass'), 09);
    if (
$code != '' && $areyou == $code) {
        
$newpass     xoops_makepass();
        
$xoopsMailer xoops_getMailer();
        
$xoopsMailer->useMail();
        
$xoopsMailer->setTemplate('lostpass2.tpl');
        
$xoopsMailer->assign('SITENAME'$xoopsConfig['sitename']);
        
$xoopsMailer->assign('ADMINMAIL'$xoopsConfig['adminmail']);
        
$xoopsMailer->assign('SITEURL'XOOPS_URL '/');
        
$xoopsMailer->assign('IP'$_SERVER['REMOTE_ADDR']);
        
$xoopsMailer->assign('AGENT'$_SERVER['HTTP_USER_AGENT']);
        
$xoopsMailer->assign('NEWPWD'$newpass);
        
$xoopsMailer->setToUsers($getuser[0]);
        
$xoopsMailer->setFromEmail($xoopsConfig['adminmail']);
        
$xoopsMailer->setFromName($xoopsConfig['sitename']);
        
$xoopsMailer->setSubject(sprintf(_US_NEWPWDREQXOOPS_URL));
        if (!
$xoopsMailer->send()) {
            echo 
$xoopsMailer->getErrors();
        }
        
// Next step: add the new password to the database
        
$sql sprintf(
            
"UPDATE %s SET pass = '%s' WHERE uid = %u",
            
$xoopsDB->prefix('users'),
            
password_hash($newpassPASSWORD_DEFAULT),
            
$getuser[0]->getVar('uid')
        );
        if (!
$xoopsDB->queryF($sql)) {
            include 
$GLOBALS['xoops']->path('header.php');
            echo 
_US_MAILPWDNG;
            include 
$GLOBALS['xoops']->path('footer.php');
            exit();
        }
        
redirect_header('user.php'3sprintf(_US_PWDMAILED$getuser[0]->getVar('uname')), false);
        
// If no Code, send it
    
} elseif (isset($_POST['email'])) {
        
$xoopsMailer xoops_getMailer();
        
$xoopsMailer->useMail();
        
$xoopsMailer->setTemplate('lostpass1.tpl');
        
$xoopsMailer->assign('SITENAME'$xoopsConfig['sitename']);
        
$xoopsMailer->assign('ADMINMAIL'$xoopsConfig['adminmail']);
        
$xoopsMailer->assign('SITEURL'XOOPS_URL '/');
        
$xoopsMailer->assign('IP'$_SERVER['REMOTE_ADDR']);
        
$xoopsMailer->assign('AGENT'$_SERVER['HTTP_USER_AGENT']);
        
$xoopsMailer->assign('NEWPWD_LINK'XOOPS_URL '/lostpass.php?email=' $email '&code=' $areyou);
        
$xoopsMailer->setToUsers($getuser[0]);
        
$xoopsMailer->setFromEmail($xoopsConfig['adminmail']);
        
$xoopsMailer->setFromName($xoopsConfig['sitename']);
        
$xoopsMailer->setSubject(sprintf(_US_NEWPWDREQ$xoopsConfig['sitename']));
        include 
$GLOBALS['xoops']->path('header.php');
        if (!
$xoopsMailer->send()) {
            echo 
$xoopsMailer->getErrors();
        }
        echo 
'';
        
printf(_US_CONFMAIL$getuser[0]->getVar('uname'));
        echo 
'';
        include 
$GLOBALS['xoops']->path('footer.php');
    } else {
        
redirect_header('user.php'2'Please input your EMAIL.');
    }
}



556
Spyrith
Re: Which editor do you use ?
  • 2021/11/18 7:42

  • Spyrith

  • Just popping in

  • Posts: 1

  • Since: 2021/11/18


PhpStorm. I just feel I can do stuff quicker with it. I also love it's form of zen coding implementation for some reason.



557
Mamba
Re: Tag 2.35.0 Beta 2
  • 2021/11/12 10:38

  • Mamba

  • Moderator

  • Posts: 11370

  • Since: 2004/4/23


XOOPS Tag 2.35.0 Beta 3 released for testing/contributions!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



558
alain01
Re: My overloads of the templates search.tpl and userinfo.tpl
  • 2021/11/11 17:34

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Thank you.
Here, The relevant PR : https://github.com/XOOPS/XoopsCore25/pull/1124



559
alain01
Re: Home Page
  • 2021/11/11 10:53

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Ok, well done !
Is the website visible? (url ?)



560
Mamba
Re: Home Page
  • 2021/11/11 10:51

  • Mamba

  • Moderator

  • Posts: 11370

  • Since: 2004/4/23


We ended up with adding a custom block with the text, and it seems to be working now OK.

We also updated it to the latest XOOPS and modules versions, and the server to PHP 7.4, so the Website should be in good shape for a long time...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




TopTop
« 1 ... 53 54 55 (56) 57 58 59 ... 29422 »



Login

Who's Online

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


Members: 0


Guests: 154


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