1
nekro
Re: cleaning templace_c folder
  • 2008/4/6 4:40

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


I dont know why you need to do this?



2
nekro
Re: Is A Unofficial Reunion Possible of Xoops, Xoops Cube & Hodajuku?
  • 2007/12/5 20:07

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


I will be happy to follow any superative project... i would like to see all the XOOPS project and forks joined to be a great force... and make a real great product... that is very dificult ... but i will be glad to see it.



3
nekro
Re: Core Team: Marcan resigns from core team
  • 2007/11/5 20:24

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


Marcan... came back when you want! (better if is soon) ... and let keep working and talk about XOOPS as we used to do it...

Luck my friend ... as i tell you in IM ... i understod you ... and we will be waiting...



4
nekro
Re: New functions in Xoops 2.0.18
  • 2007/11/3 17:57

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


Quote:
So do I....

I'm ready to take one of the points, for example a class to use any WYSIWYG editor, does someone wants to work with me ?


I will be happy to work with you in that great feature... i think that is not much dificult... is more i think that a friend allready has something a little dirty done (xoopsid: saganxis)



5
nekro
Re: Support for SQL Parameterized queries ?
  • 2007/10/27 8:27

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


I really like your idea... i will try to do something like that... in other non XOOPS projects i do something like that...

I will try to merge ideas... thanks for collaborating!



6
nekro
Re: Xoops MultiSite beta Release
  • 2007/10/18 16:19

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


There isnt a new version yet... but it will be soon... (not more than a week or two)



7
nekro
Re: Getting rid of /xoops
  • 2007/9/28 23:10

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


or just include a index.php in your web root with the next code ...
<?php 
header
("Location: /xoops/index.php"?>



8
nekro
Re: Multiple sites, one shared hosting plan???
  • 2007/9/28 23:07

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


You have your site in a private paid hosting or you have it in a personal hosting...??? let me now.. and i will try to find a solution!



9
nekro
Re: Xoops MultiSite beta Release
  • 2007/9/21 3:14

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


Hi... i am the other "author" of the hack...

to install a site here are the steps.

1- Configure your http server virtual host... to see all the same folder using diferent URL

Example: (using xoops.org)

www.xoops.org
dev.xoops.org
devteam.xoops.org
modules.xoops.org
themes.xoops.org

2- Give 777 rights to the "sites" folder.
3- Enter your first site URL in the browser.
4- Follow the steps of the installer.
5- When the installer ask for the sitename... there will be a red cross or a green mark, if the cross is shown... under the text box... there is a link... wich will make all the necessary folders ...
6- follow all the other steps... like a common installation...
7- Use your first site... ;)
8- Make your second site... repeating the steps for the first site.
Write the URL of the second site in the Web Browser.. and etc... etc ... etc... :P

When you get ready configured the multi sites ... we will teach you how to share tables... and admin modules, themes, and groups... but today is very late... and i have a great headacke!!!


In other way ... we found a stupid first bug... now corrected... we dont commented something in the line 78 of "includes/checklogin.php" (is a RC ... the bugs are acepted :P )

change the "includes/checklogin.php" with the next code...

if (!defined('XOOPS_ROOT_PATH')) {
    exit();
}
include_once 
XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/user.php';
$uname = !isset($_POST['uname']) ? '' trim($_POST['uname']);
$pass = !isset($_POST['pass']) ? '' trim($_POST['pass']);
if (
$uname == '' || $pass == '') {
    
redirect_header(XOOPS_URL.'/user.php'1_US_INCORRECTLOGIN);
    exit();
}
$member_handler =& xoops_gethandler('member');
$myts =& MyTextsanitizer::getInstance();

include_once 
XOOPS_ROOT_PATH.'/class/auth/authfactory.php';
include_once 
XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/auth.php';
$xoopsAuth =& XoopsAuthFactory::getAuthConnection($myts->addSlashes($uname));
$user $xoopsAuth->authenticate($myts->addSlashes($uname), $myts->addSlashes($pass));

if (
false != $user) {
    if (
== $user->getVar('level')) {
        
redirect_header(XOOPS_URL.'/index.php'5_US_NOACTTPADM);
        exit();
    }
    if (
$xoopsConfig['closesite'] == 1) {
        
$allowed false;
        foreach (
$user->getGroups() as $group) {
            if (
in_array($group$xoopsConfig['closesite_okgrp']) || XOOPS_GROUP_ADMIN == $group) {
                
$allowed true;
                break;
            }
        }
        if (!
$allowed) {
            
redirect_header(XOOPS_URL.'/index.php'1_NOPERM);
            exit();
        }
    }
    
$user->setVar('last_login'time());
    if (!
$member_handler->insertUser($user)) {
    }
    
// Regenrate a new session id and destroy old session
    //<multix>    
    //session_regenerate_id(true);
    //</multix>
    
$_SESSION = array();
    
$_SESSION['xoopsUserId'] = $user->getVar('uid');
    
$_SESSION['xoopsUserGroups'] = $user->getGroups();
    if (
$xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '') {
        
setcookie($xoopsConfig['session_name'], session_id(), time()+(60 $xoopsConfig['session_expire']), '/',  ''0);
    }
    
$user_theme $user->getVar('theme');
    if (
in_array($user_theme$xoopsConfig['theme_set_allowed'])) {
        
$_SESSION['xoopsUserTheme'] = $user_theme;
    }
    if (!empty(
$_POST['xoops_redirect']) && !strpos($_POST['xoops_redirect'], 'register')) {
        
$_POST['xoops_redirect'] = trim$_POST['xoops_redirect'] );
        
$parsed parse_url(XOOPS_URL);
        
$url = isset($parsed['scheme']) ? $parsed['scheme'].'://' 'http://';
        if ( isset( 
$parsed['host'] ) ) {
            
$url .= $parsed['host'];
            if ( isset( 
$parsed['port'] ) ) {
                
$url .= ':' $parsed['port'];
            }
        } else {
            
$url .= $_SERVER['HTTP_HOST'];
        }
        if ( @
$parsed['path'] ) {
            if ( 
strncmp$parsed['path'], $_POST['xoops_redirect'], strlen$parsed['path'] ) ) ) {
                
$url .= $parsed['path'];
            }
        }
        
$url .= $_POST['xoops_redirect'];
    } else {
        
$url XOOPS_URL.'/index.php';
    }
    
//<multix>
    //to keep the same session for all sites, it is posible with the session table shared
    
if (definedDOMAIN_TO_SHARE )){
        if( isset(
$xoopsConfig['use_mysession']) ){
            
$xoops_cookie_path defined('XOOPS_COOKIE_PATH') ? XOOPS_COOKIE_PATH preg_replace'?http://[^/]+(/.*)$?' "$1" XOOPS_URL ) ;
            if( 
$xoops_cookie_path == XOOPS_URL )
                
$xoops_cookie_path '/' ;
            if (isset(
$_COOKIE['PHPSESSID'])) {
                
$expire time() + ( defined('XOOPS_AUTOLOGIN_LIFETIME') ? XOOPS_AUTOLOGIN_LIFETIME 18000 ) ; // 5 hours default
                
setcookie('shared_sess'$_COOKIE['PHPSESSID'], $expire$xoops_cookie_pathDOMAIN_TO_SHARE0);
            }
        }
    }
    
//</multix>
    // RMV-NOTIFY
    // Perform some maintenance of notification records
    
$notification_handler =& xoops_gethandler('notification');
    
$notification_handler->doLoginMaintenance($user->getVar('uid'));

    
redirect_header($url1sprintf(_US_LOGGINGU$user->getVar('uname')), false);
}elseif(empty(
$_POST['xoops_redirect'])){
    
redirect_header(XOOPS_URL.'/user.php'5$xoopsAuth->getHtmlErrors());
}else{
    
redirect_header(XOOPS_URL.'/user.php?xoops_redirect='.urlencode(trim($_POST['xoops_redirect'])), 5$xoopsAuth->getHtmlErrors(), false);
}
exit();

?>


Gaby corregilo en SF.net please :P ... arrancamos con el pie izquierdo!



10
nekro
Re: 2 Firefox... or not 2 Firefox. That is the question.
  • 2007/7/11 14:20

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


The firefox 3 release is near... and firefox 2 is working fine...




TopTop
(1) 2 3 4 ... 15 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

73 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 73


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