adrian Posted December 29, 2014 Share Posted December 29, 2014 (edited) Thanks Charles - glad to hear it is working well for you. I have another brand new version for you with a LOT of new features. You can prevent creation of pages from email addresses with host names that are not in the whitelist - great antispam option You can limit creation of pages to email addresses that match registered PW users - in this case, the ability to add the page will also be determined by the user's permissions for creating pages on the selected template You can determine whether the page should be published based on the user's page-publish/edit permissions You can set up customized email notification messages when a new pages is created, including choosing who they should be sent to. The config settings should also help to see all the new changes. Please let me know if you find any problems with this new version - quite a bit changed. Also please let me know if you think of improvements to the logic of the way things are set up. Edited December 29, 2014 by adrian Added screenshot 3 Link to comment Share on other sites More sharing options...
Pete Posted December 31, 2014 Author Share Posted December 31, 2014 Hi Adrian Thanks for all your work on this. I've added you as a collaborator on my repo so I think you might be able to merge changes into the main repo yourself if you like? I certainly don't see a problem with anything you've added (aside from me not having tried any of the new things out yet ) so happy for it all to be merged. 2 Link to comment Share on other sites More sharing options...
adrian Posted January 3, 2015 Share Posted January 3, 2015 Thanks Pete - it's been fun to work on I'll update the Readme to detail the new features and merge all the changes shortly. Link to comment Share on other sites More sharing options...
Pete Posted January 3, 2015 Author Share Posted January 3, 2015 Feel free to stick your name in with mine in the author attribute on the module too if you haven't already done so. 2 Link to comment Share on other sites More sharing options...
Jeroen Posted January 10, 2015 Share Posted January 10, 2015 I'd like to make this work on a shared hosting account, but am not sure if it's possible. cPanel doesn't allow me to use some characters. Directory paths cannot be empty or contain the following characters: \ ? % * : | " > < Is there a workaround? Link to comment Share on other sites More sharing options...
adrian Posted January 12, 2015 Share Posted January 12, 2015 I'd like to make this work on a shared hosting account, but am not sure if it's possible. cPanel doesn't allow me to use some characters. Is there a workaround? Sorry, I might be missing something obvious, but can you explain the issue with directory paths and why you can't use this module? Link to comment Share on other sites More sharing options...
Jeroen Posted January 12, 2015 Share Posted January 12, 2015 The module seems to work fine, but.. I have tested the URL, that needs to be executed by the CRON, in the browser using the locationbar and works like a charm, but I can't set the URL in cPanel. cPanel doesnt allow me to use the following characters (which are used in the URL): \ ? % * : | " > < 1 Link to comment Share on other sites More sharing options...
cstevensjr Posted January 12, 2015 Share Posted January 12, 2015 On my CPanel I have things listed as following: curl -sS "https://yourdomain.com/?hash=0ae6cff16bc1e1ad77c2706acaf0358b2848395g" > /dev/null This works for me. 3 Link to comment Share on other sites More sharing options...
Jeroen Posted January 12, 2015 Share Posted January 12, 2015 Maybe my description was a bit off. I've added a screenshot to make things clearer. Link to comment Share on other sites More sharing options...
adrian Posted January 12, 2015 Share Posted January 12, 2015 Looks like you aren't doing the correct thing here. I am not very experienced with cPanel, but you don't want to be forwarding the email to the PW link. You need to set up a cronjob (from cPanel) using that format that @cstevensjr showed you. That cronjob will then periodically check the email address. Does that make sense? 2 Link to comment Share on other sites More sharing options...
cstevensjr Posted January 12, 2015 Share Posted January 12, 2015 Is that the screenshot of your CRON settings? Please take a look at the following documentation: https://documentation.cpanel.net/display/ALD/Cron+Jobs Link to comment Share on other sites More sharing options...
Jeroen Posted January 12, 2015 Share Posted January 12, 2015 Thanks guys, it's working! @adrian, thanks for putting me on the right track. I was at the wrong one @cstevensjr, thanks! The cron is running 2 Link to comment Share on other sites More sharing options...
cstevensjr Posted January 12, 2015 Share Posted January 12, 2015 In the cPanel CRON job documentation: In the COMMAND text box is where you enter the correct command syntax EDIT: You got it! Welcome to ProcessWire. 1 Link to comment Share on other sites More sharing options...
cstevensjr Posted August 13, 2015 Share Posted August 13, 2015 I just opened an issue on Github regarding a configuration problem I'm having on a recent installation of this module. It could well be operator error, on my part, however I just need some expert help and assistance. Link to comment Share on other sites More sharing options...
cstevensjr Posted August 14, 2015 Share Posted August 14, 2015 UPDATE I was able to figure out where I was going wrong in this module's configuration. For anyone who may not check Github, listed below is the resolution of the issue I opened there. Resolution cstevensjr commented just now Ok, I finally figured this out. It was a configuration problem on my webhost (Dreamhost). My webhost uses mail clusters for outgoing mail. I've never had a problem before where I needed to list the mail cluster name for the "Host" setting. When I finally changed the setting to the mail cluster name, the Flourishlib portion worked without error. Closing this issue @adrian, thanks again for your quick follow-up and troubleshooting expertise. 1 Link to comment Share on other sites More sharing options...
cstevensjr Posted August 15, 2015 Share Posted August 15, 2015 Unfortunately, I ran into a new issue where I'm having a problem adding new categories. Link to comment Share on other sites More sharing options...
adrian Posted August 15, 2015 Share Posted August 15, 2015 Sorry about this Charles - I'll take a look a little later today or maybe tomorrow - I had a similar issue with CustomUploadNames which actually stole the "Add Category" code from this module. I'll probably just need to make the same changes I made to that, so should be a fairly easy fix. 1 Link to comment Share on other sites More sharing options...
adrian Posted August 17, 2015 Share Posted August 17, 2015 Actually the issue is not what I thought - it is a recent PW dev problem. I checked a PW 2.6.1 stable site and it works fine. I am not sure what has changed in PW dev to cause this - I will need to investigate further - hopefully I can find some time in the next few days to figure it out. EDIT: This is the PW commit that breaks things: https://github.com/ryancramerdesign/ProcessWire/commit/fd719abc6ad4dc12792592b6715f986d29af2625 1 Link to comment Share on other sites More sharing options...
cstevensjr Posted August 17, 2015 Share Posted August 17, 2015 Adrian, Thanks for the update. Link to comment Share on other sites More sharing options...
adrian Posted August 18, 2015 Share Posted August 18, 2015 Ok, it should be fixed in the latest version. This fix is only needed for PW 2.6.6+ but I think it should also work fine on older versions. 1 Link to comment Share on other sites More sharing options...
cstevensjr Posted August 18, 2015 Share Posted August 18, 2015 Works great! Thank you again for this fantastic module. 1 Link to comment Share on other sites More sharing options...
dab Posted May 17, 2016 Share Posted May 17, 2016 I love this module, thanks . All working fine but on Cpanel every time I run script is run via cron it generates an output file in the web root folder e.g. index.html?hash\=d5c0307523750320573253247177dc.9999 Files soon build up when the script is run every 5 min! Any way to suppress the output file (it contains an html copy of the page being updated)? Link to comment Share on other sites More sharing options...
adrian Posted May 17, 2016 Share Posted May 17, 2016 Hi @dab, Glad you're finding it useful. I haven't used the module on a shared host with cpanel, so I am not sure whether there is maybe some interaction going on there. I don't think I have ever seen the module itself create these files. Obviously the module responds to: http://pw.dev/?hash=4ba942b72726bbc0fa527c0c3aa69f2bc6817534 but I don't know where that index.html version is coming from. Any chance there is a caching mechanism at play here. Maybe even ProCache? although I doubt it. Link to comment Share on other sites More sharing options...
dab Posted May 17, 2016 Share Posted May 17, 2016 Thanks....No ProCache running. Most odd. I'll try & see if I can find way was causing this. Link to comment Share on other sites More sharing options...
alexm Posted May 17, 2016 Share Posted May 17, 2016 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? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now