@icide What's the server's subdomain path? Like /public_html/subdomains/upload

2

(2 replies, posted in [NB] Themes, Design & UI)

eran Helvetica con sombra de grosor 2 gris, creo

Did you activated cURL library?

Enable debug mode! And post what returns.

Usas Windows? Reemplaza desde la linea 82 para abajo con esto

// PATH //
/* Uhhh.. Can't touch this!. */
$path = dirname($_SERVER['PHP_SELF']);
if (strlen($path)>1) { 
    define('PATH_SCRIPT', $path.'/');
} else {
    define('PATH_SCRIPT', '/'); // Windows fix
}

// URL //
/* Uhhh... Uhhh.. Can't touch this!. */
define('URL_SCRIPT', 'http://'.$DOM_SCRIPT.PATH_SCRIPT);

?>
bob wrote:

And whats this about a .zip file? I have searched and not found any .zip file.

In what comes Chevereto?

It's the default name.

8

(26 replies, posted in Requests, Ideas & Suggestions)

Sobre lo de las imagenes resubidas, es mas favorable hacer una comparacion por pixel en vez de un hash MD5 que usa espacio y te colapsa todo, pero no se como recrear lo que quiero hacer (GD?) hmm.

Entonces depende de la imagen que subiste. Has probado con otra? Puede ser que esa imagen tiene la extension cambiada.

10

(5 replies, posted in Showcase)

Estas seguro que no hay una "n" de más?

Pame wrote:

Ok! but ;-) do you know a (better) way to display latest images uploaded ? Thanks...

Of course! http://chevereto.com/foro/topic282-last … patch.html

12

(1 replies, posted in [NB] Mods & Add-ons)

Since people are requesting it, i posted it tongue

1. Open index.php with Notepad.
2. Copy and paste the following code where do you want to display the message:

<?php
if ($database = sqlite_open('dataStorage.sqlite')) {
    $selectQuery = sqlite_query($database,"SELECT filename FROM dataStorage LIMIT 1");
        while($printData = sqlite_fetch_array($selectQuery, SQLITE_ASSOC)) {
        print "<br>Last image uploaded is <a href=\"".PATH_SCRIPT.DIR_IM.$printData['filename']."\">".$printData['filename']."</a> ";
        }
    sqlite_close($database);
} else {
    print "Ups! The addon can't print the data.";
} 
?>

3. Now under the line 232 put this:

<?php
if ($database = sqlite_open('dataStorage.sqlite')) {
    sqlite_query($database, "UPDATE dataStorage SET filename = '$name'", SQLITE_ASSOC);
    sqlite_close($database);
} else {
    // Here i do nothing :P
}
?>

4. Download the sqlite database (3kb) and extract it in the Chevereto's path.

Enjoy tongue

Dont worry, doesn't works.
The coding is horrible and has a lot of php warnings neutral

14

(2 replies, posted in Requests, Ideas & Suggestions)

lol @ http://imgur.com/gallery/g9zMR

instalaste chevereto en un subdominio?