Jump to content

manlio

Members
  • Posts

    148
  • Joined

  • Last visited

Everything posted by manlio

  1. Hi! I'm still having problems, but sometimes it works. I have upgraded PW to the latest version with no success and also I tried to add <ifmodule mod_headers.c> Header always edit Set-Cookie ^(.*)$ $1;SameSite=None;Secure </ifmodule> to the .htaccess with no luck. As an additional info, a guy logged in (using the same PC) with three different username and proceeded with the payment. With the first user credential he was logged out at the end of the process, but with the second and the third user everything worked as expected. Also another user tried to pay and at the first attempt the payment process didn't work and the second time it worked. Maybe the browser is storing something that it is the cause of the problem? Thank you again for any advice. Have a nice weekend.
  2. I'm sorry for the delay in my reply, but I was busy on another project. I will update PW to the latest build and follow your precious suggestions. Thank you!
  3. Hi, I am writing again because I still have some issues. A lot of payments goes flawlessly but some users (like 5/10%) are still logged out when returning on the website. A lot of users has already logged in the website in the past, so my guess if is it possible that something is stored in the browser preventing the expected behaviour? One of the users reported me that at first he was logged out and than he retried and everything worked as expected. Thank you for any suggestions.
  4. Thank you fliwire, I have added your line to my config.php and I will report if my users still have problems. Thank you very much.
  5. Thanks for your reply elabx, I have already checked the domain and it is ok. Thank you anyway for the suggestion. In this exact time I discovered that it is working and really I don't know what happened! I will test more to see if the problem persist. Have a nice evening.
  6. Hello I am using a Stripe checkout and at the end of the process the user is redirected on my server to store some data (Processwire 3.0.181). I have the problem that everytime after the redirect the user is logged out and I cannot store the data properly. I have read related forum posts and I have disabled sessionFingerprint and cleared all the sessions, but this doesn't seem to fix the problem. $config->sessionFingerprint = false; During my tests I have also noticed that my user remains logged in another tab but not in the actual that is managing the payment. Anyone have an idea how to fix this problem or how to investigate it further? Thank you very much and a have a nice weekend.
  7. This is a good suggestion, I never used Admin Actions and I didn't know that actions can be easily added and modified. In the meantime I'm having success with the ImportCSV module, I just need to move the pages in the right place and than I'm fine. For multiple roles I used the pipe "|" and it works like a charm. It's a pity that this module hasn't this feature by default. I think PW needs an easier (and maybe native) import for external users ๐Ÿ™‚. If I cannot complete I will try also your suggested route, I really appreciate your help Bill. Thank you!
  8. Thank you BillH, I was trying it in this moment and it seems to work. The only drawback for me is that I need to provide unique name in the CSV file and it doesn't change automatically for me. Apart from this it works quite well. I am still trying to make ImportCsv module work to see if it is quicker for my use case. Thank you again!
  9. Probably ImportPagesCSV module is still my best choice, but is there any way to import multiple roles for the same user? Thank you.
  10. Hi to everybody. I need to import a lot of users with custom fields, all with the same password (it is for an event). I have used in the past ImportPagesCSV module (with some "hack" to move the imported pages to the users PW admin location) and I would like to know what is the best approach for this task today. Admin Action module can do this? Another doubt is how I have to write multiple roles (for the same user) into the csv file to be imported correctly? Thank you!
  11. Is it possible to use this module with email instead of username? I tried a search with no luck. Thank you!
  12. Thank you Zeka. I have seen the ProcessLoginHistory but in a post from Teppo I read that this module only logs login attempts and not logout. It is dated 2017 and maybe something has been updated in the meanwhile. I didn't know Google Analytics was able to track logged in users :-). Due to GDPR law pobably we cannot use it, our server are located in EU. I will try to install ProcessLogin History and see if it works. Otherwise any other insight is very welcome. Thanks!
  13. I to everybody, I need to track users (only logged ones) when they will see a streaming event. The purpose is to make some stats afterwards and I need to retain also some data like username, company, ecc... I'm searching for the simple solution to implement in PW (also Analytics services). I searched the forum and I found something but not exactly what I am looking for. Thank you for the help, have a nice day.
  14. In the meantime I have manually fixed all the compromised records using the admin and I cannot test it, but thank you very much Robin for taking time to provide this solution. Really helpful for any additional repeater problem ๐Ÿ™‚ Have a nice day.
  15. Hello! I have this problem and I don't know how to fix it. In the user template, I have inserted a repeater field (called user_payment). This repeater is populated from API after a payment confirmation. My initial code was wrong and only in a second time I have fixed it adding the last two rows $mypay = $user->user_payment->getNew(); $mypay->text = $mytext; $mypay->of(false); $mypay->save(); //** Added later $user->user_payment->add($mypay); $user->save(); Some payments was stored in the wrong way and now I am able to see the data when I edit a user in the PW admin backend, but I can't search them in lister pro or in an API search. I can fix the problem if I edit the user and save the page from the backend, but I wanna know if there is a way to automatically fix all the data. Thank you for any suggestion! Ciao
  16. Thank you for all the precious advices! PW is an amazing software but community members like you and Dragan makes PW outstanding. I will follow your advices and I will start rebuilding a small part of the reserved area and see what I am able to do with Vue. Have a nice day
  17. I have already build a "reserved area" for logged users on my PW website some years ago. I developed the "reserved area" using front end tools (Jquery and HTML) and the users don't see PW admin backend. Now I wanna extend and rebuild with modern tools this "reserved area" where users can modify their personal data, request certification cards for their students, publish courses, ecc... I was asking myself if I can have some big advantages using new frameworks, anyway your replies already cleared some doubts. About this: I wrote bad and quickly, sorry. I was meaning "Thatโ€™s why we went for a decoupled approach where we use only ProcessWire to edit data and then pass it to the frontend with a single request returning everything as JSON-data" taken from this article https://medium.com/icf-church-developers/processwire-vue-js-a-lovestory-d4d5bca365 Thanks for your patience
  18. Thank you Dragan. Actually I wanna build a fancy dashboard but not integrated in PW admin. I'm sorry for my bad explanation but basically it is due to my lack of knowledge about this subject. I was thinking to build a SPA dashboard because it seems to be quick and reactive (lack of SEO is not a problem). For what I have understood I should create a Vue App that manage all the pages and I should use PW just to send Json files. So in this case I was asking where to put Vue files because I'm not sure they are accessible if I put them under site/templates . Maybe outside of site/ folder? Or should I create a standard PW template which contains vue? Please forgive my rough/orrible explanation, I will try to study more about this subject during these days starting from your provided links ๐Ÿ™‚. I want to try something new, but for sure, at first glance, it seems to me not so easy to start with and it seems to add a lot of layers and things to study. Thank you!
  19. Thank you teppo for your quick reply and useful information with which I agree completely. ๐Ÿ˜€ Any other point of view is still appreciated.
  20. Hi to everybody! I'm using PW from some years now and I really love it! Developing website is not my primary job and usually I build website starting from web templates. I prefer to use developing tools that seems quick and easy to learn and for this reason I am interested in studying something like Svelte.js and Vue.js. I need to rebuild a backend (with messages management,profile, ecc...) and I was thinking to start from a web admin theme and then add some interactions using one of these framework/compiler. I'm not really confident with webpack, npm, ... but anyway I can use these. I would like to have an advice about one frontend framework that I could use easily together with PW with some advice about file structures. I know PW can work with anything, but maybe a framework can be easily integrated than another. I know about Vue boilerplate and I have already searched the forum, but I have still doubts if it worths using something new over Jquery or if it is a waste of time in my case ๐Ÿ™‚ Thank you for any suggestions. Have a nice day!
  21. @kongondo First. Thank you for this great module! I'm writing this in the hope it can help someone. I'm using the latest PW version. Using the module I received this error when switching to a different language from the default one. No menu items found! To solve the issue I went in the admin and find the Menu Builder page (under Admin>Setup) then I edited both the "Menu Builder" page and "mainmenu" page (this a menu that I built in Menu Builder) and set the other language to active. It seems the module doesn't set as active new pages in languages different from default. My PW installation by default set it to false. Hope this helps. Ciao
  22. Thank you Zeka, unluckily I don't have any repeater fields with the same name ๐Ÿ˜ž You were right, I was looking for exact same name.... that seems to be the issue. Thank you!
  23. Hi guys, I have a problem with some templates. I don't know why but I have some templates (created by me) that are in the system templates. I wanna remove them, but I'm not able to do this. I have tried something like this $t = $templates->get("mytemplate"); $t->flags = Template::flagSystemOverride; $t->flags = 0; $templates->delete($t); $fieldgroups->delete($t->fieldgroup); It works and doesn't give any errors, but whenever I go into the admin backend template page it appears again (it seems to be regenerated). Anyone knows how can I fix it? Thank you
  24. Hello! I'm not able to create a role to give users the ability just to view users (not edit them). Do anyone knows how to do it? Thank you
  25. Hi! I am using intercooler with processwire and I'm really happy from this combination. I am not using the PW intercooler module by pwFoo because generally I find Intercooler very simple. Although I have a problem when I try to replicate this example http://intercoolerjs.org/examples/deleterow.html Basically when I delete a row I wanna pass back the http response using something like $d = $pages->get($id); $pages->delete($d); header('X-IC-Remove : 1s',true); but I receive a page not found error that I cannot understand. If I remove the header line everything is fine (but I cannot pass the 1s information back). Hope that someone that has already jumped in has an idea how to solve this. Maybe PW is blocking something? Thank you very much
ร—
ร—
  • Create New...