The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/portal.php 39 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 1,007
» Latest member: kavitasinghji
» Forum threads: 1,324
» Forum posts: 7,788

Full Statistics

Online Users
There are currently 194 online users.
» 0 Member(s) | 192 Guest(s)
Bing, Facebook

Latest Threads
UserSpice 4.4 Development
Forum: News Center
Last Post: ehc.ankur
11-10-2021, 10:23 AM
» Replies: 1
» Views: 15,199
How to use hasPerm
Forum: UserSpice 4.4
Last Post: mudmin
07-20-2019, 02:45 PM
» Replies: 1
» Views: 13,755
Session issue? What I sho...
Forum: UserSpice 4.4
Last Post: Parth
07-17-2019, 05:06 PM
» Replies: 4
» Views: 14,502
Email Error
Forum: UserSpice 4.4
Last Post: Brandin
07-17-2019, 04:47 PM
» Replies: 1
» Views: 6,623
{ Missing Text } after up...
Forum: UserSpice 4.4
Last Post: Brandin
07-16-2019, 04:23 PM
» Replies: 22
» Views: 53,638
Best Practice Info
Forum: New to UserSpice?
Last Post: Brandin
07-16-2019, 11:55 AM
» Replies: 1
» Views: 13,490
Force to use 2FA -always-
Forum: UserSpice 4.4
Last Post: Brandin
07-12-2019, 12:43 PM
» Replies: 1
» Views: 6,636
e-mail not verifying
Forum: UserSpice 4.4
Last Post: LBC
07-10-2019, 11:34 AM
» Replies: 31
» Views: 76,232
changes to navigation.php...
Forum: UserSpice 4.4
Last Post: mudmin
07-07-2019, 10:46 AM
» Replies: 2
» Views: 8,331
Duplicated files in /user...
Forum: UserSpice 4.4
Last Post: mudmin
07-07-2019, 10:44 AM
» Replies: 1
» Views: 6,582

 
  how do i add to navigation.php
Posted by: caleb - 06-24-2016, 04:30 PM - Forum: UserSpice 4.3 and Below - Replies (1)

I would like to add more links to the navbar. I have worked with bootstrap navbars before but i cant find where the home link is the one on the left side next to the site img. any help would be appreciated


  php script to add user to group
Posted by: caleb - 06-19-2016, 05:07 PM - Forum: UserSpice 4.3 and Below - Replies (9)

does any one know to add the currently logged in user to a permissions group.


  create a custom database entry
Posted by: michaelspeed - 06-18-2016, 11:52 AM - Forum: UserSpice 4.3 and Below - Replies (6)

can you guide me through custom database entry which is needed during registration??


  Glyphicons
Posted by: Sebastian - 06-17-2016, 09:05 AM - Forum: UserSpice 4.3 and Below - Replies (1)

Hi,

just a short note on what I found this minute. The file ../users/css/color_schemes/clean.css points for the Glyphicons to ../fonts/glyphicons-halflings-regular.eot. But this folder and the file do not exist. So I just moved the fonts folder from ../users to ../users/css, worked.

Cheers,
Sebastian


  Ajax Engine for UserSpice V0.1
Posted by: Ponchale - 06-16-2016, 10:04 PM - Forum: UserSpice 5 - Roadmapping the Future - Replies (1)

create one file called ajax.js and put the following

<pre>

Code:
Ajax={};

Ajax.buildRequest = function(metodo, url, callback)
{
this.request = (window.XMLHttpRequest)? new XMLHttpRequest(): new ActiveXObject("MSXML2.XMLHTTP");
this.request.onreadystatechange = callback;
this.request.open(metodo, url, true);
this.request.send(url);
}

Ajax.checkState = function(_id)
{
switch(this.request.readyState)
{
case 0:
// se aƱade logica para actualizar algun componente visual por ejemplo
document.getElementById(_id).innerHTML = 'Sin inicializar ...';
break;

case 1:
document.getElementById(_id).innerHTML = 'Cargando ...';
break;

case 2:
document.getElementById(_id).innerHTML = 'Cargado...';
break;

case 3:
document.getElementById(_id).innerHTML = 'Interactivo...';
break;

case 4:
document.getElementById(_id).innerHTML = 'Listo';
return this.request.status;
}
}

Ajax.getResponse = function()
{
if(this.request.getResponseHeader('Content-Type').indexOf('xml') != -1)
{
return this.request.responseXML.documentElement;
}
else
{
return this.request.responseText;
}
}
</pre>


after create the file Update.js and put the following

<pre>
Code:
Updater = {};

Updater.initialize = function()
{
    Updater.isWorking = false;
}
Updater.initialize();

Updater.process = function(method , service, callback)
{
    if(callback == undefined || callback == "") { callback = Updater.onResponse; }
    Ajax.buildRequest(method, service, callback);
    Updater.isWorking = true;
}

Updater.onResponse = function()
{
   // Hacemos algo con la peticion ( feel free) ponga aqui su codigo
    if(Ajax.checkState('loading') == 200)
    {
        Updater.isWorking = false;
    }
}
</pre>


I hope this little Ajax engine is integrated with UserSpace and subsequently continue improving


  Error on navegation.php
Posted by: Ponchale - 06-16-2016, 09:31 PM - Forum: UserSpice 4.3 and Below - Replies (2)

You trying to add new elements in the navigation menu, I found a problem which does not allow adding items to the left that is next to the home. And it is an odyssey trying to do

This line does not work

<li class="hidden-sm hidden-md hidden-lg"><a>"><i class="fa fa-fw fa-home"></i> Home</a></li> <!-- Hamburger menu link -->

You trying to add new elements in the navigation menu, I found a problem which does not allow adding items to the left that is next to the home. And it is an odyssey try.

This line does not work

<Li class = "hidden-sm-md hidden hidden-lg"> <a> "> <i class =" fa fa fa-fw-home "> </ i> Home < / a> </ li> <! - Hamburger menu link ->

and when that line is deleted is still displayed in the frontend


  help in searching for user
Posted by: michaelspeed - 06-16-2016, 06:06 PM - Forum: UserSpice 4.3 and Below - Replies (1)

how to search for an user to show the user profile page?


  Strong Password V2
Posted by: Ponchale - 06-16-2016, 11:53 AM - Forum: Modifications and Hackery - Replies (1)

I share the code for calculate the strong of one password

<pre>

Code:
entropia_x_caracter= log2(n)

entropia_password= longitud * entropia_x_caracter
</pre>


<pre>
Code:
function checkPass($pass) {
     $count=strlen($pass);
     $entropia=0;
    // Si el password tiene menos de 6 caracteres
    if ($count < 6) {
         return 'El password es muy corto.';
    }
  
    // Contamos cuantas mayusculas, minusculas, numeros y simbolos existen
    $upper = 0; $lower = 0; $numeros = 0; $otros = 0;
    
    for ($i = 0, $j = strlen($pass); $i < $j; $i++) {
        $c = substr($pass,$i,1);
        if (preg_match('/^[[:upper:]]$/',$c)) {
            $upper++;
        } elseif (preg_match('/^[[:lower:]]$/',$c)) {
            $lower++;
        } elseif (preg_match('/^[[:digit:]]$/',$c)) {
            $numeros++;
        } else {
            $otros++;
        }
    }

   // Calculamos la entropia
  
  $entropia= ($upper*4.7)+ ($lower*4.7)+($numeros*3.32)+($otros*6.55);
  
  if ($entropia<28)
  {
    echo "Password muy debil";    
   }elseif($entropia<36) {
        echo "Password debil";            
   }elseif($entropia<60) {
       echo "Password Razonable";
   }elseif($entropia<128) {
       echo "Password Fuerte";
   }else {
       echo "Password Muy Fuerte";
       }
    
    return false;
    
}
echo checkPass("CAPautomovil-2012");

?>
</pre>


  Large User Base Administration
Posted by: markatmayo - 06-15-2016, 02:01 PM - Forum: Off-topic Discussions - Replies (1)

Does anyone have any feedback as to how well UserSpice functions with a large (500-1000) user base? I am looking to see if there are any caveats with that type of user load. This might not be a very large user base for a lot of applications but would appreciate if anyone can indicate whether this load would not stress the UserSpice tool. Thanks.


  Modify acccount.php
Posted by: dannyboy - 06-15-2016, 05:48 AM - Forum: New to UserSpice? - Replies (6)

I wanted to modify the account.php file and therefore moved it to the usersc folder. However when I login I get an error message. Is there something I am not doing correct or missing?

Thanks.