1
EugeneP
SEF support hack
  • 2005/11/10 15:16

  • EugeneP

  • Just popping in

  • Posts: 4

  • Since: 2005/9/15


I am creating SEF engine for XOOPS 2.0.13.1. That forced me to change some core files.
File include/common.php, line 224
$url_arr = explode('/',strstr($_SERVER['PHP_SELF'],'/modules/'));
was
$url_arr = explode('/',strstr($xoopsRequestUri,'/modules/'));

If we request a module from XOOPS root and not from /modules/ folder (e.g. by mod_rewrite), $xoopsRequestUri contains only XOOPS root path.
Is it good?



2
EugeneP
Custom Content Management tool
  • 2005/10/6 22:20

  • EugeneP

  • Just popping in

  • Posts: 4

  • Since: 2005/9/15


Hi, everyone.

I am working on a big project based on XOOPS 2.2.2
I need a tool that will provide me with advanced menu management functionality at the same time with article management. Some kind of medley of iMenu and WF-Sections.
I need to have different types of links -- external URLs, link to articles and static pages in one menu block.
Tried different modules: TinyD, SmartSection, XT-Contuedo. All in vain. Maybe some function are not working in 2.2.x?
I am searching the web for two days already -- need your help, guys.

Thanks.



3
EugeneP
Re: Lost Password Confirmation Emails
  • 2005/9/15 12:12

  • EugeneP

  • Just popping in

  • Posts: 4

  • Since: 2005/9/15


As far as I know, these pre-defined contants are written into mainfile.php by installation script. I just have not changed anything while installing.
You say that this constant can be changes safely by adding domain name to it and everything will work?



4
EugeneP
Lost Password Confirmation Emails
  • 2005/9/15 10:02

  • EugeneP

  • Just popping in

  • Posts: 4

  • Since: 2005/9/15


It is not actually a bug, but a place that causes inconveniences.
It the first phase of `forgot password` process a user who requested his password get a confirmation email with a link to activation page.

Why this link is without the domain name where XOOPS is intalled? I use version 2.2.2

I made a simple fix to this::

mainfile.php

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', '/xoops');
define('XOOPS_URL', '/xoops');

// XOOPS Domain
// The URL of domain where XOOPS is intalled
// Example: www.your.domain.name
define('XOOPS_DOMAIN', 'www.your.domain.name');

and than in lostpass.php

line 81: $xoopsMailer->assign("NEWPWD_LINK", "http://".XOOPS_DOMAIN.XOOPS_URL."/lostpass.php?email=".$email."&code=".$areyou);

I suppose that is not so trivial. Why a user should get an email without full link to the activation page? Or maybe I have some incomplete version of xoops?




TopTop



Login

Who's Online

231 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 231


more...

Donat-O-Meter

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

Latest GitHub Commits