Re: Multipart Upload File Names
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.
Multipart Upload File Names
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.
Re: Passwords
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.
Re: Passwords
Aha, thought I was doing something wrong. Thanks. 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.
Re: Creating download links from previously uploaded files
Thanks Dan. 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: Passwords
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+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
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+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.
Passwords
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+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.
Creating download links from previously uploaded files
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+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.