Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: RFC: Improving the Textpattern demo site
hcgtv wrote #300815:
Maybe make txp_file and txp_image read only?
Possibly. Locking the tables would prevent other valid stuff happening (change thumbnail dimensions, names, descriptions etc), and this is (in my mind) an edge case. A bad actor could find a way in (I can think of some already that I can’t protect against) and cause a stink for a few hours before the auto-reset kicks in and splats everything.
Offline
Re: RFC: Improving the Textpattern demo site
gaekwad wrote #300814:
The image is
9.jpg
. You are attempting to replace it with something that will end up with a .png extension. That won’t overwrite the image, but will attempt a new file write (to9.png
, presumably).
I know this is a locked-down scenario, but I think it’s actually a valid edge case in regular Txp. Replacing any image with the same ID and different extension will trigger some undesirable behaviour. Is there anything we can do in core to help mitigate this situation?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: RFC: Improving the Textpattern demo site
Bloke wrote #300822:
I know this is a locked-down scenario, but I think it’s actually a valid edge case in regular Txp. Replacing any image with the same ID and different extension will trigger some undesirable behaviour. Is there anything we can do in core to help mitigate this situation?
Make the bad stuff go away, Cap’n Stef.
Offline
Re: RFC: Improving the Textpattern demo site
re demo:
发表时间 2 小时 之前
评论 1
…. texted postive
Offline
Re: RFC: Improving the Textpattern demo site
bici wrote #300826:
re demo:
发表时间 2 小时 之前
评论 1
Published 10 hours ago
Comments 1
I assume someone changed the UI language. The reset (every three hours) appears to have taken care of it, and it’s back to English — for now.
Offline
Re: RFC: Improving the Textpattern demo site
On the demo site, accessing the admin side takes you the language page if you’re the first one after a reset.
Anyway to avoid that, so that users go straight to the default Write panel?
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: RFC: Improving the Textpattern demo site
hcgtv wrote #300837:
On the demo site, accessing the admin side takes you the language page if you’re the first one after a reset.
Anyway to avoid that, so that users go straight to the default Write panel?
Yeah, I think I’ve figured out why that’s happening. Found and fixed a load more stuff this morning, too. Should have that nailed down, tested and deployed within two hours.
Edit: fixed.
Last edited by gaekwad (2016-08-27 17:24:14)
Offline