Re: Multipart Upload File Names
Try putting [messages] on the page and see what error message your are getting. I've looked at the code and it does seem to allow multiple dots in the new upload page name. Haven't run a test scenario though. Another suggestion might be to try using a hyphen or underscore instead of the dot. But the dots has uses, especially to parallel certain pages for example. So we should figure this out. Why don't you let me know what you get with messages turned on and I'll look into it some more. Also, paste in your whole form so I can just drop in a test site and debug. Cheers, Dan On Tue, Feb 9, 2016 at 1:56 AM TMurNGon wrote: > Just to clarify: > > I assign the new name via the 'name' parameter of the upload command. For > example: > [command upload name={now}.{=upload}] > where =upload is the name of the file field > > > > On Tuesday, 9 February 2016 09:11:41 UTC+2, TMurNGon wrote: >> >> Hi Dan, >> >> In order to prevent uploaded files with the same name from becoming >> overwritten/mixed up I want to prepend a unique value to the file (eg. >> {now}.filename.jpg). >> >> It would seem however that the upload action fails whenever the file name >> contains more than one '.' >> For example 12345678.hello.jpg won't upload. >> >> Is there a way around this? >> >> Thanks. >> Jan >> >> -- > You received this message because you are subscribed to the Google Groups > "BoltWire" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to boltwire+unsubscr...@googlegroups.com. > To post to this group, send email to boltwire@googlegroups.com. > Visit this group at https://groups.google.com/group/boltwire. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To unsubscribe from this group and stop receiving emails from it, send an email to boltwire+unsubscr...@googlegroups.com. To post to this group, send email to boltwire@googlegroups.com. Visit this group at https://groups.google.com/group/boltwire. For more options, visit https://groups.google.com/d/optout.
Re: Passwords
Correct, $cryptkey. Sorry about that. On Tue, Feb 9, 2016 at 12:10 AM TMurNGon wrote: > Thanks that worked. > It would seem though that it should be: > $cryptkey = 'randomvalue'; > not > $BOLTcrypt = 'randomvalue'; > > > > On Monday, 8 February 2016 15:51:20 UTC+2, Dan wrote: > >> When you create the site (using start.php), you have the option to add >> encryption or not. >> >> To turn it on, you set $BOLTcrypt = 'randomvalue'; in index.php before >> calling BoltWire. This will invalidate all your existing password. You >> could conceivably write a custom script to encrypt all your current >> passwords if you have a large number of existing files and don't want to >> have people reset them all. >> >> Cheers, >> Dan >> >> On Mon, Feb 8, 2016 at 6:36 AM TMurNGon wrote: >> > Hi Dan, >>> >>> I notice that passwords are not being hashed, but rather stored as plain >>> text in member pages. >>> >>> Have I neglected some setting? >>> >>> Thanks. >>> Jan >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "BoltWire" group. >>> >> To unsubscribe from this group and stop receiving emails from it, send an >>> email to boltwire+u...@googlegroups.com. >>> To post to this group, send email to bolt...@googlegroups.com. >> >> >>> Visit this group at https://groups.google.com/group/boltwire. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to the Google Groups > "BoltWire" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to boltwire+unsubscr...@googlegroups.com. > To post to this group, send email to boltwire@googlegroups.com. > Visit this group at https://groups.google.com/group/boltwire. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To unsubscribe from this group and stop receiving emails from it, send an email to boltwire+unsubscr...@googlegroups.com. To post to this group, send email to boltwire@googlegroups.com. Visit this group at https://groups.google.com/group/boltwire. For more options, visit https://groups.google.com/d/optout.
Re: Creating download links from previously uploaded files
Never mind - figured it out: Just create a normal link and use {files} as a prefix. [[{files}/image.jpg|Image name|target=blank]] On Tuesday, 9 February 2016 10:52:32 UTC+2, TMurNGon wrote: > > Is there any way of simply displaying a link to a picture (jpg, png, etc) > without actually having the picture render on the page? > > > On Monday, 8 February 2016 15:49:00 UTC+2, Dan wrote: >> >> It should just be [^filename.pdf label='download'^]. Add dir=docs if it >> is in files/docs. >> >> On Mon, Feb 8, 2016 at 3:37 AM TMurNGon wrote: >> >>> Hi Dan, >>> >>> I am trying to create an 'attachments' section for some pages. >>> The uploading of files works well, but I can't quite figure out how to >>> create a proper download mechanism for the files. >>> >>> I have tried: >>> [[[^filename^]|download]] >>> >>> But i get a 404 error when clicking on the link or trying to download >>> the linked-to file. >>> >>> Any suggestions will be appreciated. >>> >>> Thanks. >>> Jan >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "BoltWire" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to boltwire+u...@googlegroups.com. >>> To post to this group, send email to bolt...@googlegroups.com. >>> Visit this group at https://groups.google.com/group/boltwire. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To unsubscribe from this group and stop receiving emails from it, send an email to boltwire+unsubscr...@googlegroups.com. To post to this group, send email to boltwire@googlegroups.com. Visit this group at https://groups.google.com/group/boltwire. For more options, visit https://groups.google.com/d/optout.
Re: Creating download links from previously uploaded files
Is there any way of simply displaying a link to a picture (jpg, png, etc) without actually having the picture render on the page? On Monday, 8 February 2016 15:49:00 UTC+2, Dan wrote: > > It should just be [^filename.pdf label='download'^]. Add dir=docs if it is > in files/docs. > > On Mon, Feb 8, 2016 at 3:37 AM TMurNGon > > wrote: > >> Hi Dan, >> >> I am trying to create an 'attachments' section for some pages. >> The uploading of files works well, but I can't quite figure out how to >> create a proper download mechanism for the files. >> >> I have tried: >> [[[^filename^]|download]] >> >> But i get a 404 error when clicking on the link or trying to download the >> linked-to file. >> >> Any suggestions will be appreciated. >> >> Thanks. >> Jan >> >> -- >> You received this message because you are subscribed to the Google Groups >> "BoltWire" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to boltwire+u...@googlegroups.com . >> To post to this group, send email to bolt...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/boltwire. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To unsubscribe from this group and stop receiving emails from it, send an email to boltwire+unsubscr...@googlegroups.com. To post to this group, send email to boltwire@googlegroups.com. Visit this group at https://groups.google.com/group/boltwire. For more options, visit https://groups.google.com/d/optout.