-
Posts
601 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Frank Vèssia
-
as per client need I have to implement some special urls with upper case characters, is there a way to do it? Thanks
-
module ProcessWire Dashboard
Frank Vèssia replied to d'Hinnisdaël's topic in Module/Plugin Development
sorry, this issue is not related to the multiple instances, it was broken even before, with one page lister and i forgot to write a post about it and got in my mind now -
module ProcessWire Dashboard
Frank Vèssia replied to d'Hinnisdaël's topic in Module/Plugin Development
cool...it works now, thanks. Since we are in the matter, the actions on each page, like "lock", "unpub" or "trash"... don't work, I got an alert with "undefined" -
module ProcessWire Dashboard
Frank Vèssia replied to d'Hinnisdaël's topic in Module/Plugin Development
ehm..it shows empty lists now -
module ProcessWire Dashboard
Frank Vèssia replied to d'Hinnisdaël's topic in Module/Plugin Development
this module is amazing...lots of possibilities, thanks. One quick...there is a way to add more than 2 page-list panels? I tried but it seems ignoring the second one, it clones the content of the first one. -
I already checked, it's ok, with https. btw, the base url in the module config is used for the sitemap not for the meta tags.
-
I just discovered this module, neat! I only have a little issue, the facebook tags render the url value without https (both image and url) when the canonical is correct with https, any solutions?
-
thanks, I appreciate.
-
I added a parameters array to the send command using socket as fallback as suggested, don't see the error anymore but neither the user subscribed ? $params = array( 'fallback' => 'socket', ); $response = $http->send($api . '/' . md5($email), json_encode($param), 'PATCH', $params);
-
hello, I need some help with a strange error: Raw data option with CURL not supported for PATCH I checked all parameters and they are ok, any idea? I'm using PW 3.0.141 dev
-
My website stores user's info after they join such as username, password, email, IP and I added also a checkbox for the "privacy accepted" status and another one with the info about the version of the privacy policy at that time but from what I read storing these data in the database is not enough.
-
Hello guys, I was researching more info about gdpr and how to store the consents and I found this article: https://law.stackexchange.com/questions/29190/gdpr-where-to-store-users-consent it says that you have to store all info about the consent users gave such as the exact time, how they gave consent and save a copy of the privacy policy file etc... but at the end there is this: How to verify this data has not been modified? You could store a hash of the row on some form of blockchain, to prove that after the stated date the consent had not been modified, this would prevent having to store a copy of the user's ID on the blockchain. It would not prevent forging consent at the time you claim it was given, but short of having the user digitally sign the transaction with some key that you do not have access to, there would be no way to prevent this. Blockchain? I don't really know how to implement this, I guess there should be an easier solution, how did you solve this issue? Thanks
-
this has nothing to do with the images upload, it's just another field on that page and the name of the variable is correct $nome, it's not english
-
well, I just created another image field with another name and it works...any idea why??
-
my form has the enctype="multipart/form-data"
-
I didn't try on another server but I have checked file permissions, I also removed the unlink command to see if the file si uploaded and it's there, plus I use this exact code in another part of the site to add pictures to users profile and it works, the only difference is the template, user template vs normal page, it's quite a mistery...
-
thanks @horst and @lokomotivan but I already tried ->add but nothing changed ? , as I said this code has been used a lot of times in other projects with no issues, I really don't know what's happening here
-
Hello guys, I'm stuck on a simple images upload, it's not the first time I use a code like this but this time I get no errors and I don't know where is the problem. The page is saved, the log is saved with the image path but it's not added to the page...I checked everything... $page->of(false); $page->title = $nome; $page->city = $city; $page->phone = $phone; if($page->save()){ $file_field = "images"; $file_extensions = array('jpg', 'jpeg'); $max_upload_size = 6*1024*1024; $overwrite = false; $upload_path = $config->paths->assets . "tmp_uploads/"; if(is_dir($upload_path)) { $img = new WireUpload($file_field); $img->setMaxFiles(1); $img->setMaxFileSize($max_upload_size); $img->setOverwrite($overwrite); $img->setDestinationPath($upload_path); $img->setValidExtensions($file_extensions); $files = $img->execute(); if(!$img->getErrors()){ foreach($files as $filename) { $log->save("upload","page id: ". $page->id." ".$upload_path . $filename); $page->$file_field = $upload_path . $filename; unlink($upload_path . $filename); } $page->save(); }else{ // get the errors if(count($img->getErrors()) > 1){ // if multiple error foreach($img->getErrors() as $e) { $results .= $e." "; } } else { // if single error $results = $img->getErrors(); } } }else{ $results = ""; } $page->of(true); }else{ $results = "Error"; }
-
ouch, this one I missed, thanks Adrian
-
Hello guys I've been searching for a way to login users without password (after they login with facebook button), I've found some api functions that seem to be working but I still have some issue. What I do is: $checkUser = $users->get("login_facebook_id=$uid"); if($checkUser->id){ $users->setCurrentUser($checkUser); $user = $users->getCurrentUser(); $session->_user_id = $user->id; $session->redirect("/",false); } The code looks working because after setting the session the current $user->id returns the user I found, but after the redirect $user id back to guest (40)...any idea why ? Thanks
-
LoginRegister customisation
Frank Vèssia replied to The Frayed Ends of Sanity's topic in General Support
I tried starting from something like this with no luck -
I really don't know, but my site now is handling millions of requests per day without any problem since the switch...so something is there but I'm no DB expert...and I have a very powerful machine, 32core 256GB RAM, ssd etc...no apache or cpanel or other slow stuff...
-
LoginRegister customisation
Frank Vèssia replied to The Frayed Ends of Sanity's topic in General Support
I'm having some trouble on trying to change/remove a label before a checkbox, since the text is already displayed on the side it's useless to have again the label on top with the same text...any idea on how to hook the label render? thanks -
well, I solved just changing tables from myIsam to InnoDB, now everything is fast even if that table is huge
-
Module: ScheduleCloudBackups (back up site to S3)
Frank Vèssia replied to djr's topic in Modules/Plugins
Any update on this great module? Can't install on PW > 3 I get this error: Cannot declare class ComposerAutoloaderInit700022e1c519b28dbab39fa2456e3e43, because the name is already in use (line 5 of /home/nginx/domains/public/site/assets/cache/FileCompiler/vendor/composer/autoload.php)