Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3.3.16 Release
#1
Good Evening

I am pretty sure you released 3.3.16 VERY recently but I wanted to let you know the link isn't working.

Is the zip file at github HERE ( https://github.com/GetSimpleCMS/GetSimpl...3.3.16.zip ) the same???

I wish I knew more about code so I could help you all

Is there testing I could do, that would really help?

Randy
boundary.idgenweb.org
Reply
#2
You are correct not sure what is going on, I uploaded the file and its there, 
 Ill check the server.


Attached Files Thumbnail(s)
   
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
Its working now, must have been a cache
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#4
Thank you for all you do! got it.
Reply
#5
Code:
Notice: A non well formed numeric value encountered in W:\domains\001.it\admin\inc\basic.php on line 1198
https://prnt.sc/rgniqe
Reply
#6
I used this plugin http://get-simple.info/extend/plugin/adm...footer/10/

[Image: 21.png]

and the following codes:

in the header

Code:
<?php if(GSVERSION=='3.3.16') { ?>
<style>
input[type=file] {
 cursor: pointer;
 width: 100% !important;
 height: 40px;
 color:transparent;
}
input[type=file]:before {
 width: 100%;
 height: 40px;
 font-size: 16px;
 line-height: 40px;
 content: '<?php i18n("FILE_BROWSER"); ?>';
 display: inline-block;
 background: rgba(0,0,0,0.4);
 border: 1px rgba(0,0,0,0.6);
 padding: 0;
 text-align: center;
 border-radius:5px;
 transition: all 0.5s;
 color:rgba(255,255,255,0.6);
}
.uploadform p:hover input[type=file]:before {
 background: rgba(0,0,0,0.6);
 color:#ffffff;
}
input[type=file]::-webkit-file-upload-button {
 visibility: hidden;
}
#sidebar .uploadform {
 padding: 5px 0px 5px 15px !important;
 overflow:hidden !important;
}
</style>
<?php } ?>

in the footer

Code:
<?php if(GSVERSION=='3.3.16') { ?>
<script>
$(document).ready(function() {

    $('.uploadform p').append('<div id="file-name"></div>');
    
    $("#file").change(function(){
    
        var name_file = [];
        
        for(var i = 0; i < $(this).get(0).files.length; ++i) {
        
            name_file.push($(this).get(0).files[i].name);
            
        }
        
        $("#file-name").text(name_file.join(", "));

    });
    
});
</script>
<?php } ?>

Now the download looks like this.

[Image: 22.png]
Reply
#7
Hi @shawn_a

thanks for the update and provision of the cms. I have inserted the Turkish letters, can you please also insert in the all language file for the next update

or separate file for the special letters

Code:
 // special Turkish chars with diacritics (except some)
 "Ç"=>"c","ç"=>"c","Ğ"=>"g","ğ"=>"g","İ"=>"i","ı"=>"i",
 "Ö"=>"o","ö"=>"o","Ş"=>"s","ş"=>"s","Ü"=>"u","ü"=>"u"

sorry google translation
Reply
#8
replace basic.php tobytes() with the one from 3.4

PHP Code:
/**
 * Convert to Bytes
 * convert M/G/K byte string to bytes
 * 100M returns 100*1024*1024
 * @since 3.0
 *
 * @param $str string
 * @return string
 */
function toBytes($str){
    
$val trim($str'gmkGMK');
    
$last strtolower($str[strlen($str)-1]);
        switch(
$last) {
            case 
'g'$val *= 1024;
            case 
'm'$val *= 1024;
            case 
'k'$val *= 1024;
        }
    return 
$val;

NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#9
(2020-03-16, 03:32:35)Oleg06 Wrote: I used this plugin http://get-simple.info/extend/plugin/adm...footer/10/

[Image: 21.png]

and the following codes:

in the header

Code:
<?php if(GSVERSION=='3.3.16') { ?>
<style>
input[type=file] {
 cursor: pointer;
 width: 100% !important;
 height: 40px;
 color:transparent;
}
input[type=file]:before {
 width: 100%;
 height: 40px;
 font-size: 16px;
 line-height: 40px;
 content: '<?php i18n("FILE_BROWSER"); ?>';
 display: inline-block;
 background: rgba(0,0,0,0.4);
 border: 1px rgba(0,0,0,0.6);
 padding: 0;
 text-align: center;
 border-radius:5px;
 transition: all 0.5s;
 color:rgba(255,255,255,0.6);
}
.uploadform p:hover input[type=file]:before {
 background: rgba(0,0,0,0.6);
 color:#ffffff;
}
input[type=file]::-webkit-file-upload-button {
 visibility: hidden;
}
#sidebar .uploadform {
 padding: 5px 0px 5px 15px !important;
 overflow:hidden !important;
}
</style>
<?php } ?>

in the footer

Code:
<?php if(GSVERSION=='3.3.16') { ?>
<script>
$(document).ready(function() {

    $('.uploadform p').append('<div id="file-name"></div>');
    
    $("#file").change(function(){
    
        var name_file = [];
        
        for(var i = 0; i < $(this).get(0).files.length; ++i) {
        
            name_file.push($(this).get(0).files[i].name);
            
        }
        
        $("#file-name").text(name_file.join(", "));

    });
    
});
</script>
<?php } ?>

Now the download looks like this.

[Image: 22.png]
Does Shawn's post about replacing basic.php tobytes() with the one from 3.4 have any relevance. 
Am I required to do that too?

Thanks
Reply




Users browsing this thread: 1 Guest(s)