Jump to content

alexm

Members
  • Posts

    669
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by alexm

  1. Hi all, I'm using Ryan's new Login/Register/Profile module for accounts and PadLoper. I've made a hook in site/init.php that adds a product to the cart after someone creates an account and activates it and would like to also update the message "Thank you, your account is confirmed and you are now logged in" and append "The product has been added to your cart etc" but can't figure how to access $this->message. Any help would be greatly appreciated. Many Thanks, Alex
  2. Unfortunately not. I just get the page you are looking for is not found.
  3. Has anyone managed to get PW working in a sub directory as well. I have PW running at route and also I have a second demo PW running under /demo/ I have tried adding: location /demo/ { try_files $uri $uri/ /demo/index.php?it=$uri&$args; } but if I try to navigate to any page other that the root page (/demo/) they are broken. Any help would be appreciated.
  4. @mel47 How do you mean? If you add the following to your CSS file this should work #wrap_Inputfield_scf-website, #wrap_scf-date { display: none; } That should work
  5. Weirdly it's working now... Or at least the image is loading the correct one. I have just cleared the default meta description from the MarkupSEO module settings and added directly to the homepage and then used the body as the smart description so it is used for open graph description and meta description for all other pages and that isn't showing the correct description yet when being posted but perhaps Facebook caches the results for a while? Either way you have been a BIG help and I can't thank you enough for taking the time to take a look with me! Thank you @videokid
  6. I do: https://www.featherbow.co.uk/gallery/cherington-open-plan-kitchen/ By the way thanks for the help on this. I'm using MarkupSEO which is auto detecting the image field as it turns out so I don't actually need to add anything into the AutoFbPost field for image field name etc. Although I have anyway. The default 'images' field. Thank you for your time
  7. @videokid yeah I do have opengraph in the header but it isn't detecting the image field, it's just using the site logo as the post image and the default site description as the description. It's weird.
  8. Anyone noticing that the module isn't posting the images or description? If so is there any fix or anything I am missing?
  9. I can't figure the [FAILURE] Number of fields does not match issue at all. I have 5 fields:- scf_firstname scf_surname scf_email scf_company scf_enquiry PW ver. 3.0.33 SCF ver. 1.0.0 Any help greatly appreciated.
  10. Thanks for this info @RyanJ I haven't had chance to go over this as am just on another project, but will take a look later and see if I can get it working with your pointers!
  11. @dimitrios Thanks again! Great feature! Really useful for auto posting new estate agent properties from PW.
  12. Hey @RyanJ Where is this field/setting? I don't see it anywhere.
  13. Hi guys, Getting the following error: [FAILURE] Number of fields does not match. Any thoughts? I have the following fields in Simple Contact Form settings: scf_fistname scf_surname scf_email scf_company scf_enquiry and in the message template: title scf_fistname scf_surname scf_email scf_company scf_enquiry scf_spamIp scf_date scf_ip I'm not however saving messages at the moment. Thank you for any help
  14. Of course! How stupid of me. haha. Cheers @flydev
  15. Hey, First off, thanks for this great module. I was just wondering where the On/off checkbox is meant to show as every time I save the page at the moment it gets posted to Facebook and I'd rather have it that you check that checkbox and it stops posting to facebook? Thanks!
  16. Ahhhh, you know what it could be! I am currently using hosts file to point a domain to another IP address so the rediercts url will be hitting a different server! Do you think that is it? Is there any work around whilst I'm in development to get this working on the server I am on?
  17. I get NULL when I do a var_dump. I have a Client ID and Secret, then saved the page. Then came back and then clicked get access token and re-saved. I've just tried clearing the access token, regenerating the Client secret saving the page and then getting the access token again but I'm still getting NULL.
  18. Hm... I still seem to be having issues. I'm getting: Warning: Invalid argument supplied for foreach() When trying to loop the instagram posts. I'm trying to get posts by method getRecentMediaByTag Any thoughts?
  19. I'm getting the following warning when trying to render the feed: Warning: constant(): Couldn't find constant WireCache::expireWeekly in/path/to/public_html/site/assets/cache/FileCompiler/site/modules/InstagramFeed/InstagramFeed.module on line 286 I am running PW version 3.0.33. Any thoughts what might be causing this? Thanks for the help!
  20. @Tom. Yea I'm getting the same issue my side!
  21. Can't you just suppress the cron task messages by adding "/dev/null 2>&1" to the end of your cron command. That sends the messages to null which means there aren't any messages. Perhaps I am missing the point though?
  22. Yea I saw you can use imagemagick for processwire now somewhere. This will get round the out of memory issue.
  23. Hi guys, I've got a similar issue. I have a script which is pulling in properties and images from an external XML file. The script fails when I try to add the image via api with the following error: Task "httpdocs/import-properties-sale-xml.php" completed with error in 65 seconds, output: Adding new page: mickleton-road--earlsdon--coventry Error: Uncaught exception 'WireException' with message 'Unable to copy: http://www.dezr...') #1 [internal function]: Pageimage->___install('http://www.dezr...') #2 /var/www/vhosts/brianholt.co.uk/httpdocs/wire/core/Wire.php(398): call_user_func_array(Array, Array) #3 /var/www/vhosts/brianholt.co.uk/httpdocs/wire/core/Wire.php(333): Wire->runHooks('install', Array) #4 /var/www/vhosts/brianholt.co.uk/httpdocs/wire/core/Pagefile.php(83): Wire->__call('install', Array) #5 /var/www/vhosts/brianholt.co.uk/httpdocs/wire/core/Pagefile.php(83): Pageimage->install('http (line 117 of /var/www/vhosts/brianholt.co.uk/httpdocs/wire/core/Pagefile.php) This error message was shown because you are using the command line API. Error has been logged. What is strange is that this script works fine on one server that I developed the website on but not the live server it is now on. The image URL looks as follows: http://www.dezrez.com/estate-agent-software/ImageResizeHandler.do?PropertyID=3878781&photoID=3&AgentID=259&BranchID=600&width=800. If you directly access that URL the .do file processes the image and redirects to the image URL. Could this be the problem? Like I say it all worked fine on the other server. Many Thanks for any help!
  24. Something strange happening for me when I try to do this. I am logged in as superuser however if I check what roles I have on the frontend it says I am just guest. Same happens if I log in as a custom role I have made. It just says guest. Any thoughts why this is? I also can't view unpublished pages on the front end when logged in as superadmin so something seems to be up. Thanks
×
×
  • Create New...