
Foster
Members-
Posts
86 -
Joined
-
Last visited
Never -
Days Won
19
Content Type
Profiles
Forums
Blogs
Store
Downloads
Gallery
Everything posted by Foster
-
tutorial How to install Clicshopping V3
Foster replied to Maxime's topic in Best pratices / tip / trips and training
Hello, try to use firefox or another browser. It seems the problem come from chrome. https://stackoverflow.com/questions/68924463/a-page-or-script-is-accessing-at-least-one-of-navigator-useragent-navigator-app -
tutorial How to install Clicshopping V3
Foster replied to Maxime's topic in Best pratices / tip / trips and training
Hello, It's in ClicShopping/Sites/ClicShoppingAdmin/indexAdmin.php -
tutorial How to install Clicshopping V3
Foster replied to Maxime's topic in Best pratices / tip / trips and training
It's weird, Do you tried on your local computer, because I tested the lastest release and I have no problem. Do you use Cpanel ? If yes you can install via Cpanel ClicShopping, it's automatic. Note . All the script is called on CDN, If you have no connection with internet, you wil have a problem. I suppose it's to reduce the code by the developers, Also, you can try something, Find this function and put in comment these elements, One time I used another software with a lot code line on the same domain and I have been a problem /** * Calculate the size of a directory by iterating its contents * @Access public * @Return size if the directory */ Public Static function getDirSize(): string { /* $path = CLICSHOPPING::getConfig('dir_root', 'Shop'); $path = rtrim(str_replace('\\', '/', $path), '/'); $bytestotal = 0; $path = realpath($path); if ($path !== false && $path != '' && file_exists($path)) { foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path, \FilesystemIterator::SKIP_DOTS)) as $object) { $bytestotal += $object->getSize(); } } */ $bytestotal = ''; return $bytestotal; } -
tutorial How to install Clicshopping V3
Foster replied to Maxime's topic in Best pratices / tip / trips and training
Hello @Lunalphic, Could you look the log please, /ClicShopping/Work/Log/error.txt Maybe you will have a message ? About the installation, do you have specific problem ? Can you look /ClicShopping/Sites/Admin/conf.php and if you see the informations Can you see your catalog ? -
Hello, Yes congratulation to the team for this new release. The dashboard has a new script, very light and not use jQuery, It's better like that in my sense. Now all the browser can manage some function. The importance of Jquery start to decrease. FontAwesome has been removed also. Now just to have a bootstrap beta 2, I ask me question. It will no better to have the official release ?
-
Hello, I am looking something allowing to check the number of character inside a textarea without jquery. There are some solution, but I like the code below because he is very short. It's for some people want to do create a form as contact, feedback, reviews, comment ... It can be useful If the number of character is not reach, a pop up appear on the screen. <form action="mango.php" method="post" id="form12" onsubmit="var text = document.getElementById('checkField').value; if(text.length < 80) { alert('put more info!'); return false; } return true;"> <textarea rows="10" cols="80" maxlength="200" required id="checkField" > </textarea> </form>
-
ClicShopping installation problem
Foster replied to AlwaysSkint's topic in Installation & Configuration & Operation
The file config do not stay in 777, but 444. After every hoster has a specific configuration and for moment a software can be simple to use, another with some difficulties. For me, I tested ClicShopping under Ispconfig and Cpanel, ubuntu debian and there is no problem. As mentionned, there, https://www.clicshopping.org/forum/technical-information/ - ClicShopping - ClicShopping has been tested on these environment. -
Add an shortcut icon menu inside the header
Foster replied to Rantanplan's topic in Installation & Configuration & Operation
Hello, Yes, you can. You must create a hook in ibnside the reviews apps. Lootk this code : SItes/ClicShoppingAdmin ... Dashboard .... main.php <?php echo $CLICSHOPPING_Hooks->output('DashboardShortCut', 'DashboardShortCut', null, 'display'); ?> Now look inside product you will see in Hooks directory a files called DashboardShortCut Reply the process inside Module/ClicShoppingAdmin/DashboardShortCut or inside the aps reviews. I do not explain all because I think you must look to understand the application but you have all the process. good code Regards Forster -
-
Hi @Namiko You will find this option in design / Image management.
-
v 3.213 Pre-release How to mak upgrade for newbie
Foster replied to Catalina's topic in General discussions
@Catalina, You can upload and push the files inside your test website. If all is ok, you can push on your production. If you want to know the change, use a tool like beyond compare, you can compare the files and see the update. -
v 3.213 Pre-release How to mak upgrade for newbie
Foster replied to Catalina's topic in General discussions
Hello, It's not so difficult to make an upgrade. I look the update, there 2 sql update. in first, go to your phpmyadmin and update the Db. in second, just send the files in your server. Do not forget it's a pre release, some modification can be made the last minute For you it's good to make a test. That's all. My recommendation before that, do the update in your local server, If your have no problem, go in production. About the module, it will have no problem. -
webapp Service Worker, Manifest and webapp
Foster replied to Maxime's topic in Best pratices / tip / trips and training
Hello @Drack In action on the demo, use lighthouse make an audit test. -
For moment, some badbots can very aggressive. There a solution to block this elements via your htaccess ################################## # Bot ################################## #Rules to block bad bods from accessing web pages on your site. #Remove or add more rules as per your needs. BrowserMatchNoCase "Baiduspider" bots BrowserMatchNoCase "SemrushBot" bots BrowserMatchNoCase "Yandex" bots BrowserMatchNoCase "BLEXBot" bots BrowserMatchNoCase "AhrefsBot" bots BrowserMatchNoCase "DotBot" bots BrowserMatchNoCase "Exabot" bots BrowserMatchNoCase "SeznamBot" bots BrowserMatchNoCase "aiHitBot" bots BrowserMatchNoCase "spbot" bots BrowserMatchNoCase "MJ12bot" bots BrowserMatchNoCase "oBot" bots BrowserMatchNoCase "DeuSu" bots BrowserMatchNoCase "ia_archiver" bots BrowserMatchNoCase "MetaURI" bots BrowserMatchNoCase "FlipboardProxy" bots Order Allow,Deny Allow from ALL Deny from env=bots
-
Hi @Julie, I don't know, for me I try to download an image by a size in 640px. I think it's enough for the product image description. After, maybe the script allowing to resize the image has a maximum. - Test some image with this resolution 1024, 2048 ... You will see where is the limit. - The second point it also could be the weight of the image.
-
Dashboard Security alert information
Foster replied to Orphelia's topic in Installation & Configuration & Operation
Hi @Orphelia, The message is an information. You must make an update about your librairies. In your terminal server, execute this function composer update If you have not access to your server via a terminal, you must do that on your local server and upload on you production server. Note : This update do not require to be in root. -
New Product Template - Continue learning
Foster replied to CoucheTard's topic in Community Developement
Hello @CoucheTard Your logo scare me Yes, you can develop your own modules, Look the code inside the module, you will have some other function than you can use. For example you can integrate the reviews evaluation or you can create something else. For the reviews, you can create another template and put inside. Create another module, or template allow you to maintain more easily your application without to tell you what files I need to change or to look. Of course, if there is an update, you must look inside your own module if you must adapt something. But the best, it to create a new template and inside include the files than you must want to change. Look the template on the marketplace, it will help you. -
Depth of directories (path) make me cry
Foster replied to SuperThin's topic in Community Developement
Hello, The user do not see that, not sur it will be change for this version The apps are little specific. I agree it's little long, but for me it's not a problem; -
Vietnamese URL Rewriing
Foster replied to SuperThin's topic in Installation & Configuration & Operation
Nice contribution and update for something not always implemented. -
No you do not have to. It's not mandatory You can install composer inside your dev and after if you install a library and develop something (or update the libraries), you can export your dev in production. It's better to check in dev before because when you are in production, and you have an error it's not very nice !! Composer help lot of when you try to develop something with a library like phpmailer (it's including inside ClicShopping). But it's an example. Composer change these files when you make an action with composer. /shop/composer.json /shop/composer.lock /includes/ClicShoping/External/vendor Let me know if you want more information.
-
@Julie, In your case, you can not install the apps but the library will not installed. You must make another action via your terminal to finish to install the library. After you can activate the apps. The terminal command is : composer require mylibrary composer update mylibrary composer update (for all library) composer remove mylibrary If you have this message you can not make an update via the administration, you will see just the version installed. @SuperThin, As i Said ClicShopping, it's better for you to make a manual update. You can look the apps accross the admin, but it's better to download and install after Also you can look via Github or via the marketplace. Some hoster make restriction and its not possible to know before to make a test.
-
Thank you @ClicShopping, Nice contribution it will help in the future. You warning is very important, it's better to make an update in the development, look if there is a problem and after apply in production.