Back to top

Visualizza post

Questa sezione ti permette di visualizzare tutti i post inviati da questo utente. N.B: puoi vedere solo i post relativi alle aree dove hai l'accesso.


Post - Marco31

Pagine: [1] 2 3 4 ... 21
1
io capisco tutto ma nn è così semplice trovare im mezzo a tutti questi messaggi mi scrivi il link???

2
a livello tecnico mi potete spiegare la differenza tra ssl condiviso e dedicato nel senso in XXXXX esiste un ssl condiviso perchè dovrei spendere soldi per un ssl dedicato???da premettere che devo usare la connessione ssl per implementare un negozio elettronico di prodotti software mi serve realmente un ssl?? o viene gestito tutto a paypal??? anche la carta di credito??
Vi ringrazio anticipatamente

Edited: eliminato riferimento commerciale
 

3
vorrei capire una cosa ho un ambiente di prova devo installare virtuemart quello che mi domando è possibile effettuare delle prove per testare il funzionamento dei pagamenti????
se qualcuno mi da indicazione grazie

4
Joomla! 1.6/1.7/2.5 / Re:joomla ssl xampp config
« il: 15 Mag 2013, 12:37:27 »
risolto alla fine mi sa che uso paypal vistio che alla fine molti componenti per il commercio eletronico lo usano

grazie comunque

5
Joomla! 1.6/1.7/2.5 / joomla ssl xampp config
« il: 15 Mag 2013, 12:05:48 »
Volevo chiedere anche alcune informazioni in generale su configurazione di un sito joomla in ssl  avrei necessità di avere delle informazioni
 uso un pacchetto xampp gentilmente mi potete dare indicazioni?? o almeno dirmi quali file devo modificare per rendere ssl un ambiente joomla??
 in attesa di una Vs risposta
 saluti Marco
 

6
menu ck qui si vede come lo voglio far vedere io http://disability-and-life.it/ con le mie modifche invece se provate su un dispositivo mobile si vede con il css di default (css3megamenu) cosa devo modificare che file devo modificare per i dispositivi mobile?? ringrazio fin da subito

8
Joomla! 1.6/1.7/2.5 / [risolto]maxi menu ck con gantry
« il: 09 Mag 2013, 15:46:14 »
posso chiedere su quale file css posso apprtare le modifiche css in menu ck senza che un aggiornamento del componente mi cancelli tutto?? posso inserirle sempre sul gantry-custom.css???

9
ciao a tutti volevo chiedere una cosa SSL (Secure Sockets Layer) da problemi a livello di indicizzazione su motori di ricerca???
magari potrebbe essere una domanda stupida ma mi è sorto questo dubbio
grazie in anticipo

c'è modo di fare un test da qualche parte???

10
Joomla! 1.6/1.7/2.5 / ***** come tolgo la taskbar???
« il: 03 Mag 2013, 11:19:32 »
ciao volevo chiedere come tolgo la taskbar componte ****??? grazie

edit: rimosso riferimenti commerciali

11
sono atrezzate le camere dell'albergo???

12
Joomla! 1.6/1.7/2.5 / Re:aggiornamento estensioni
« il: 03 Mag 2013, 09:19:24 »
le posso  installarle tranquillamente la nuova vesione va a  sostituire quella vecchia??? o devo intallare la vecchia e mettere la nuova???

13
Joomla! 1.6/1.7/2.5 / aggiornamento estensioni
« il: 03 Mag 2013, 09:05:23 »
domanda: joomla ti dice se tutte le estensioni  intallate sono aggiornate  o devo fare un controllo manuale?? se si posso intallarle tranquillamente la nuova vesione va a  sostituire quella vecchia???ringrazio

14
Sono d'accordo con te ma comunque questo non deve essere una scusante per non fare in modo di migliorare le cose (parlo in generale)
buona giornata
Marco

15
Database / Re:Come Joomla registra password?????
« il: 23 Apr 2013, 11:34:04 »
Codice: [Seleziona]

<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
 
// import Joomla controller library
jimport('joomla.application.component.controller');
 
/**
 * General Controller of JUserImporter component
 */
class JUserImporterController extends JControllerLegacy
{
        
/**
         * display task
         *
         * @return void
         */
        
function display($cachable false$urlparams = array()) 
        {
                
// set default view if not set
                
$input JFactory::getApplication()->input;
                
$input->set('view'$input->getCmd('view''JUserImporter'));
 
                
// call parent behavior
                
parent::display($cachable$urlparams);
        }
        
        
/**
         * Import task
         */
        
function importUsers($source "e:/xampp/htdocs/users2import.csv")
        {
            
/* Check the user file exists */
            /* Open the file */

            
if(!file_exists($source)) $source $_REQUEST['srcfile'];

            
$handle fopen($source,"r");
            
$content fread ($handle,filesize $source ));  
             
            
/* Get the file, line by line */
            
$lines explode("\n"$content);

            
fclose($handle); 
            
/* Counter of users added */
            
$added 0;
             
            
/* Iterate through each line of the data file */
            
for ($i 0$i count($lines); $i++){// as $key => $line){
                /* Split the line by comma */
                
$properties explode(",",$lines[$i]);

                
/* Build a new user object */
                
$user = new JUser();
                
$data = array();
                
$data['name'] = $properties[0];
                
$data['username'] = $properties[1];
                
$data['email'] = $properties[2];
                
$data['password'] = $properties[3];

                
// Load the users plugin group.
                
JPluginHelper::importPlugin('user');
                 
                
/* Set the values */
                
$user->groups = array(2);

                if (!
$user->bind($data))
                {
                    
$this->setError(JText::sprintf('COM_USERS_REGISTRATION_BIND_FAILED'$user->getError()));
                    return 
false;
                }
                 
                
$user->registerDate date('Y-m-d H:i:s');
                
                if (!
$user->save())
                {
                    
$this->setError(JText::sprintf('COM_USERS_REGISTRATION_SAVE_FAILED'$user->getError()));
                    return 
false;
                }
                else 
$added++;
                
$user null;
            }

            if(
$added) return $added;
 
            
$this->setError(JText::sprintf('COM_USERS_REGISTRATION_SAVE_FAILED'"Ci sono stati degli errori nella importazione"));
            return 
false
        }
}



ho usato lo stesso metodo di joomla

Codice: [Seleziona]


/* Iterate through each line of the data file */
            for ($i = 0; $i < count($lines); $i++){// as $key => $line){
                /* Split the line by comma */
                $properties = explode(",",$lines[$i]


alla fine riga del csv una , e un carattere e funziona

16
Codice: [Seleziona]

<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
 
// import Joomla controller library
jimport('joomla.application.component.controller');
 
/**
 * General Controller of JUserImporter component
 */
class JUserImporterController extends JControllerLegacy
{
        
/**
         * display task
         *
         * @return void
         */
        
function display($cachable false$urlparams = array()) 
        {
                
// set default view if not set
                
$input JFactory::getApplication()->input;
                
$input->set('view'$input->getCmd('view''JUserImporter'));
 
                
// call parent behavior
                
parent::display($cachable$urlparams);
        }
        
        
/**
         * Import task
         */
        
function importUsers($source "e:/xampp/htdocs/users2import.csv")
        {
            
/* Check the user file exists */
            /* Open the file */

            
if(!file_exists($source)) $source $_REQUEST['srcfile'];

            
$handle fopen($source,"r");
            
$content fread ($handle,filesize $source ));  
             
            
/* Get the file, line by line */
            
$lines explode("\n"$content);

            
fclose($handle); 
            
/* Counter of users added */
            
$added 0;
             
            
/* Iterate through each line of the data file */
            
for ($i 0$i count($lines); $i++){// as $key => $line){
                /* Split the line by comma */
                
$properties explode(",",$lines[$i]);

                
/* Build a new user object */
                
$user = new JUser();
                
$data = array();
                
$data['name'] = $properties[0];
                
$data['username'] = $properties[1];
                
$data['email'] = $properties[2];
                
$data['password'] = $properties[3];

                
// Load the users plugin group.
                
JPluginHelper::importPlugin('user');
                 
                
/* Set the values */
                
$user->groups = array(2);

                if (!
$user->bind($data))
                {
                    
$this->setError(JText::sprintf('COM_USERS_REGISTRATION_BIND_FAILED'$user->getError()));
                    return 
false;
                }
                 
                
$user->registerDate date('Y-m-d H:i:s');
                
                if (!
$user->save())
                {
                    
$this->setError(JText::sprintf('COM_USERS_REGISTRATION_SAVE_FAILED'$user->getError()));
                    return 
false;
                }
                else 
$added++;
                
$user null;
            }

            if(
$added) return $added;
 
            
$this->setError(JText::sprintf('COM_USERS_REGISTRATION_SAVE_FAILED'"Ci sono stati degli errori nella importazione"));
            return 
false
        }
}



ho usato lo stesso metodo di joomla

Codice: [Seleziona]


/* Iterate through each line of the data file */
            for ($i = 0; $i < count($lines); $i++){// as $key => $line){
                /* Split the line by comma */
                $properties = explode(",",$lines[$i]


alla fine riga del csv una , e un carattere e funziona

17
Database / Re:Come Joomla registra password?????
« il: 22 Apr 2013, 15:32:31 »
Codice: [Seleziona]
<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
 
// import Joomla controller library
jimport('joomla.application.component.controller');
 
/**
 * General Controller of JUserImporter component
 */
class JUserImporterController extends JControllerLegacy
{
        
/**
         * display task
         *
         * @return void
         */
        
function display($cachable false$urlparams = array()) 
        {
                
// set default view if not set
                
$input JFactory::getApplication()->input;
                
$input->set('view'$input->getCmd('view''JUserImporter'));
 
                
// call parent behavior
                
parent::display($cachable$urlparams);
        }
        
        
/**
         * Import task
         */
        
function importUsers($source "e:/xampp/htdocs/users2import.csv")
        {
            
/* Check the user file exists */
            /* Open the file */

            
if(!file_exists($source)) $source $_REQUEST['srcfile'];

            
$handle fopen($source,"r");
            
$content fread ($handle,filesize $source ));  
             
            
/* Get the file, line by line */
            
$lines explode("\n"$content);

            
fclose($handle); 
            
/* Counter of users added */
            
$added 0;
             
            
/* Iterate through each line of the data file */
            
foreach ($lines as $line){
                
/* Split the line by comma */
                
$properties explode(",",$line);

                
/* Build a new user object */
                
$user = new JUser();
                
$data = array();
                
$data['name'] = $properties[0];
                
$data['username'] = $properties[1];
                
$data['email'] = $properties[2];
                
$data['password'] = $properties[3];

                
// Load the users plugin group.
                
JPluginHelper::importPlugin('user');
                 
                
/* Set the values */
                
$user->groups = array(2);

                if (!
$user->bind($data))
                {
                    
$this->setError(JText::sprintf('COM_USERS_REGISTRATION_BIND_FAILED'$user->getError()));
                    return 
false;
                }
                 
                
/* Build the password */
                
$salt       JUserHelper::genRandomPassword(32);
                
$crypted    JUserHelper::getCryptedPasswordpreg_replace("/\s/"""strtolower($line[3])) , $salt);
                
$newpassword$crypted ':' $salt;
                 
                
$user->registerDate date('Y-m-d H:i:s');
                
                if (!
$user->save())
                {
                    
$this->setError(JText::sprintf('COM_USERS_REGISTRATION_SAVE_FAILED'$user->getError()));
                    return 
false;
                }
                else 
$added++;
            }

            if(
$added) return $added;
 
            
$this->setError(JText::sprintf('COM_USERS_REGISTRATION_SAVE_FAILED'"Ci sono stati degli errori nella importazione"));
            return 
false
        }
}


non so perché  funzioni solo con l’ultimo utente del csv
se ho questi 3 utenti

luca,luca,luca@alice.it,luca-->no
pippo,pippo@libero.com,pippo@outlook.com,ciao---->no
paolo,paolo@libero,paolo@libero.com,paolo2--> con questo utente fa il login corettamente
 
come mai???

18
Database / Re:Come Joomla registra password?????
« il: 22 Apr 2013, 12:04:41 »
nn capidco come lo spiegano

19
Database / Re:Come Joomla registra password?????
« il: 22 Apr 2013, 09:11:44 »
ciao ho provato a mettere in due array sia $salt che $crypt nn cambia nulla

Codice: [Seleziona]

$salt = JUserHelper::genRandomPassword(32);
                $crypt = JUserHelper::getCryptedPassword($array['password'], $salt);
               $array['password'] = $crypt . ':' . $salt;

20
Database / Re:Come Joomla registra password?????
« il: 20 Apr 2013, 11:04:24 »
le modifico d'amministrazione utenti di joomla ti posto il mio controller.php

Codice: [Seleziona]


<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
 
// import Joomla controller library
jimport('joomla.application.component.controller');
 
/**
 * General Controller of JUserImporter component
 */
class JUserImporterController extends JControllerLegacy
{
        
/**
         * display task
         *
         * @return void
         */
        
function display($cachable false$urlparams = array()) 
        {
                
// set default view if not set
                
$input JFactory::getApplication()->input;
                
$input->set('view'$input->getCmd('view''JUserImporter'));
 
                
// call parent behavior
                
parent::display($cachable$urlparams);
        }
        
        
/**
         * Import task
         */
        
function importUsers($source "D:/xampp/htdocs/users2import.csv")
        {
            
/* Check the user file exists */
            /* Open the file */

            
if(!file_exists($source)) $source $_REQUEST['srcfile'];

            
$handle fopen($source,"r");
            
$content fread ($handle,filesize $source ));  
             
            
/* Get the file, line by line */
            
$lines explode("\n"$content);

            
fclose($handle); 
            
/* Counter of users added */
            
$added 0;
             
            
/* Iterate through each line of the data file */
            
foreach ($lines as $line){
                
/* Split the line by comma */
                
$properties explode(",",$line);

                
/* Build a new user object */
                
$user = new JUser();
                
$user->name $properties[0];
                
$user->username $properties[1];
                
$user->email $properties[2];
                
$user->password $properties[3];
                
$user->id null;
                 
                
/* Set the values */
                
$user->groups = array(2);
                require_once( 
JPATH_ROOT "/libraries/joomla/user/helper.php" ); // Needed to create password
                 
                
$salt       JUserHelper::genRandomPassword(32);
                
$crypted    JUserHelper::getCryptedPassword($pwd$salt) . ':' $salt;
                
$newpassword$crypted ':' $salt;

                 
                
$user->password $newpassword;
                
$user->registerDate date('Y-m-d H:i:s');
                
                if(!
$user->save()) JError::raiseError(500,$user->getError() );   
                else 
$added++;
            }

            if(
$added) return $added;
 
        
JError::raiseError(403JText::_('Ci sono stati degli errori.'));
        return 
false
        }
}



pensavo fosse la mancanza di questa riga:
require_once( JPATH_ROOT . "/libraries/joomla/user/helper.php" ); // Needed to create password che richiama helper.php
praticamente ho richiamato questo file che è il che genera l'hd5??? giusto??

Pagine: [1] 2 3 4 ... 21


Web Design Bolzano Kreatif