Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: rvm_maintenance (v0.5)
As iBlastoff points out, rss_article_edit does something similar.
My method leads to a plugin like rvm_edit_link that offers both article and comment edit links ;)
It has the advantage that no configuration is needed, but only works if you’ve been logged in on the admin side in the same browser session. Rob Sable’s approach, which allows you to set/remove the cookie manually is probably more user friendly.
Offline
Offline
Re: rvm_maintenance (v0.5)
Nope.
Offline
#19 2007-12-02 17:57:33
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: rvm_maintenance (v0.5)
Ruud
your plugin worked well whilst I upgraded my plugins site from 4.0.3 to 4.0.5. Thank you!
— Steve
Offline
#20 2007-12-02 18:33:41
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: rvm_maintenance (v0.5)
Yes, it is very nice to be able to just turn it off and on! Thank you.
The only down side is that it won’t be displayed in my active plugins list (rsx_plugins_list) when not in maintenance mode… ;)
Offline
Re: rvm_maintenance (v0.5)
Nice plugin Ruud.
Anyone else having trouble making it work with one browser or another?
I can’t get it to work in FireFox. I suspect its a cookie setting or some plugin, but I can’t figure it out?
I’m accepting cookies from all sites.
Matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#22 2007-12-19 16:57:50
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: rvm_maintenance (v0.5)
Matthew
working fine for me in Firefox. You need to take a quick visit to the admin side — and login — to get the revelation cookie.
— Steve
Offline
#23 2007-12-19 17:04:18
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: rvm_maintenance (v0.5)
Matthew
I had to clear the cache to be allowed to see the site.
Offline
Re: rvm_maintenance (v0.5)
Hmm. Can’t figure it out. Still now working. I see the cookie in the list too? Weird.
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: rvm_maintenance (v0.5)
I found that sometimes Firefox stored two identical named cookies for the same website and the wrong one was used visiting the website (or perhaps both were used an PHP turns it into an array, I don’t know). I had to remove both cookies and then it worked and afterwards I could not reproduce it. Also, as Els suggests, press CTRL-F5 once to force a unconditional page reload.
Offline
Re: rvm_maintenance (v0.5)
Upon logging into txp I acquire the following cookies in FF:
- x-mapping-caklakng
- x-mapping-caklakng (a second one)
- rvm-maintenance
- txp_login
- txp_login_public
- testcookie
Its still not working for me. Also, I don’t know if cntrl-f5 works on OSX, any thoughts?
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#27 2007-12-19 21:31:48
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: rvm_maintenance (v0.5)
I also have some problems in Safari or Firefox sometimes. Most of the times reloading or deleting the cookie does the job.
Regards,
Joey
Offline
Re: rvm_maintenance (v0.5)
Matthew, since you seem to be running a recent SVN version, you can try this:
# rvm_maintenance v0.4
# Maintenance Mode
#
# License: GNU GPLv2 or later
#
# Ruud van Melick
# http://vanmelick.com/
# ......................................................................
# This is a plugin for Textpattern - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# ......................................................................
H4sIAAAAAAAAA3VUS2/bMAw+17+C9Q5JgCLvp+sa2G2XAsWa7RowFh0LtSVDkpNmRf/7KMdt
02yFLxLNx/d9JIXRKnqx0SIK92Ss1Cq8tdEkCof9qT/NoxBrl2vjL6NZFP6sawF7VHBPhUyf
GvPwzWlTG+kt41EU5s5V0WDArmXj2U91OWjc+acgmxpZubbeiMvco1SOFKqU4F4L8vZpFLpj
xUcZDU9XhSW9QTH7clN+RLUBORWVP66m4yi8ivNRcpk5HrAxCK7iKlnn0kJV1DupbuCQkwJM
ndyjI8F3WRRgc30AhLM6UOGOwGlA/r2XVjptLAezwRAo7aDQux0JkAq0ApcToCj5YqUg0Bms
6dlV6BwZ1Y8HVQvle8YG4BLbQqpdE/YGLPX6NZaYyuS3pAM8Ssc8+AYOt31oeDR4GRQDPura
I7REDAydvxs40JbB0smv0PoJCvnUMHlnoT0/X+icb8maAecX9C7OGe51TkzbU3cHDQc8Wp8x
ra3TpfzzRTYyRptGyNjWFRNEa+/CTGvH+lGYxAi5oewu/Jap1WS8XC0Xy+l0MV8tSQxxxl+Y
jOIBJvGA45OIkegiCa6u4kImXEFmx3e9mlobQRnWhWs1o7IqmEeDgLlwUBubGvJ2BMUif3KD
lKXlrn6knA0np3RdQzzcJSlB4rrXposHjOhMJg1CWm7uv2rc8GRwoeOZwGftP29uidyvppek
nGTJm37ueSCaxBcz+dEkkILV/UrJ/8jvRR2dtIX7y+bVliwr5IVgCeCRzF7yv18K9ygLj+Qk
S2wrfifa5ClWNkx+rNcPnJbtCViHrraQEwoyDdZ2g9N2+8d+yQNDO2l5NTZe/y2mT93OxeJ3
bqBTGXK8Vp3ebRBktUr9ywIXft1e8BIAyAy67rnyZpMhA7++g05qbQdQCbiWdnPa341U3V6P
A3wQAIdshKRux6/epx7yaldG7wxZ24eHgtDysOTEK+vhgp8g02eQLBbDA3gNXoP2lS3FrDnx
U5Uut6PtRGxHuBxO5+Nhtpqv5vNsMl8utrPpAsPb17+8a3BqrAUAAA==
NOTE: this one won’t work in TXP 4.0.5.
Offline
Re: rvm_maintenance (v0.5)
K, Thanks. I’ll give it a go.
I’m working with Stuart Butcher on this project, and so we’re working with an SVN he’s been given.
M
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: rvm_maintenance (v0.5)
Hi,
I’m running revision 2751 and version 0.4 didn’t seem to work. The code was amazingly small though even compared to the compact 0.3 version. Is this for Crockery only?
This is a very useful plug-in to have while creating a new site.
Thanks,
Shige
ruud wrote:
Matthew, since you seem to be running a recent SVN version, you can try this:
Offline