[pmwiki-users] Problem with PTV in Pagelists

2010-05-28 Thread Ian Barton
I have just upgraded my PmWiki to the latest stable 2.2.16 from a previous 2.x version. I am now having a problem using page text variables in page lists. I am presuming that this is caused by a change in behavior, but can't work out how to fix it. My page list looks like this: (:pagelist

Re: [pmwiki-users] Problem with PTV in Pagelists

2010-05-28 Thread Ian Barton
On 28/05/10 12:56, Eemeli Aro wrote: On 28 May 2010 14:37, Ian Bartonli...@manor-farm.org wrote: The pagelist displays the next five events in the Calendar group. The problem is with $JournalDateTitle. This splits the filename from Calendar.201005028 into a more human readable format. It

Re: [pmwiki-users] Problem with PTV in Pagelists

2010-05-28 Thread Ian Barton
On 28/05/10 14:43, Eemeli Aro wrote: On 28 May 2010 16:32, Ian Bartonli...@manor-farm.org wrote: {(ftime fmt=%A, %B %d, %Y when='{=$Name}')} doesn't appear to work, see the page referenced above for the output. On the page itself, you need to use {$Name} or {*$Name}. {=$Name} is required in

[pmwiki-users] How to Deal With a DOS Type Attack

2009-09-06 Thread Ian Barton
I have noticed on one of my servers that Apache was using up all my RAM. Looking in the logs I see thousands of lines like: 94.102.63.14 - - [03/Sep/2009:10:10:43 +0100] POST /wiki/PmWikiAdmin/PageHeader?action=edit HTTP/1.1 200 168

Re: [pmwiki-users] Editing Pmwiki *Locally* in a *Text Editor*

2009-03-22 Thread Ian Barton
Summary question: Is there a way to keep a local copy of your wiki on your machine and change it locally (via a text editor preferably) and then upload a batch of changes at once? I have used git for doing something similar. Very brief HowTo: On your local computer: cd wiki.d git init vim

[pmwiki-users] Using dates in if Clauses with Pagelists

2009-01-28 Thread Ian Barton
Apologies if this is obvious, but I am struggling to get the right syntax. I have events in Calendar/PageName where page name is formatted like mmdd. What I want is to produce a pagelist that shows pages from this group with a pagename equal or greater than today's date. Using the pagelist

Re: [pmwiki-users] Using dates in if Clauses with Pagelists

2009-01-28 Thread Ian Barton
What I want is to produce a pagelist that shows pages from this group with a pagename equal or greater than today's date. Using the pagelist examples I have tried: There was a thread on this yesterday titled problem with PTV and if= date in pagelists, so you might want to check that as

Re: [pmwiki-users] upload does not overwrite

2009-01-28 Thread Ian Barton
It has actually had this same problem for weeks. I also noticed that files uploaded after I upgraded last summer are listed under webservd. It sounds like a permissions problem. If you have ftp access to the area where the files are uploaded, can you overwrite the files? If you have

Re: [pmwiki-users] A personal update

2008-09-02 Thread Ian Barton
I am pleased to hear that things are on the up. It has obviously been a very difficult year for you. Our thoughts are with you. Best wishes, Ian. ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

Re: [pmwiki-users] Web for mobiles -- Apple sold over 1 million iPhones last weekend...

2008-07-15 Thread Ian Barton
I agree we can customize output for mobile devices, but it shouldn't require a separate command. Instead, the site (or skin or whatever) can detect that the request is coming from a mobile device and alter the display accordingly. While intelligent computers are useful at times, they make

Re: [pmwiki-users] Marking Draft Pages

2007-12-05 Thread Ian Barton
I have recently started to use Draft pages. On thing I would like to be able to do is to make it obvious that the page I am working on is a draft. I don't think that SwitchToAndFromDraft quite does what I want. I would like something like a background water mark on the page, or a big

Re: [pmwiki-users] including the contents of a php file on a wiki page

2007-12-04 Thread Ian Barton
If you are running on a Linux system you could create symlinks to the php files with a .txt suffix and use the IncludeFile recipe. Ian. as I said I probably misunderstood. You do want some markup which can pull php files into view in a wiki page. Not just paste code. Sorry, my mistake! I

[pmwiki-users] Marking Draft Pages

2007-12-04 Thread Ian Barton
I have recently started to use Draft pages. On thing I would like to be able to do is to make it obvious that the page I am working on is a draft. I don't think that SwitchToAndFromDraft quite does what I want. I would like something like a background water mark on the page, or a big red Draft

Re: [pmwiki-users] collecting e-mail addresses for a newsletter

2007-11-29 Thread Ian Barton
Questions: - Do you know a module that can do this? - How to store the result securely? That is, the file containing the addresses should be hidden from outside. - Next step: what is the simplest way for sending newsletters? There are a few obvious problems doing this via PmWiki: You

Re: [pmwiki-users] Subversion PageStore

2007-11-09 Thread Ian Barton
A while back, a few people expressed mild interest in using Subversion as a backend for a PmWiki PageStore (that is, using subversion for the storage of wiki pages). Did anything ever come of this? I'm getting interested in this; or adapting something like this to be used with svk(1).

Re: [pmwiki-users] New install help

2007-10-11 Thread Ian Barton
Joseph Sands wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Rankin Sent: Wednesday, October 10, 2007 5:55 PM To: pmwiki-users@pmichaud.com Subject: Re: [pmwiki-users] New install help On Thursday, 11 October 2007 4:29 AM, [EMAIL

Re: [pmwiki-users] New install help

2007-10-10 Thread Ian Barton
I am definitely not an IIS expert, but here a couple of things to try: Can you see other sites in C:\inetpub\wwwroot OK? If there are no other sites installed there try creating a test ste with just an index.php file in it. Does the pmwiki folder have the correct permissions? In particular

Re: [pmwiki-users] New Skin: Skidoo

2007-10-05 Thread Ian Barton
I use it for the various wiki's I use for note taking on a daily basis. Feel free to drop me a line, or leave a comment if you find it useful, or have a question. Dave, Very nice, I think I'll start using it for my notes wikis. I like the PDA interface. I often want to refer to something

Re: [pmwiki-users] making brute force attacks more difficult #2

2007-08-21 Thread Ian Barton
May I suggest you to make a recipe with this code and publish it in the cookbook ? I am pretty sure there would be a lot of interest for it, and we would get more comments/suggestions and reports. Anyway, I will try this very soon on my own as my logs keep showing automated login attempts

Re: [pmwiki-users] Wiki vandalism via chgrp?

2007-08-15 Thread Ian Barton
Is it conceivable that another user on the same system (this being a shared host) could have used the chgrp command to gain access to the files? Or is chgrp pretty well locked down? Ideas welcome. Thanks! --Ben S ___ That would depend on

Re: [pmwiki-users] Files missing from wiki.d directory

2007-06-30 Thread Ian Barton
wiki.d directory, but are not. These pages show up when I navigate the site in a browser, but I can't find them on the server. Have I configured the site wrong? Any ideas on how to restore the files that have gone missing? Thanks in advance. If you can see them in your browser they

Re: [pmwiki-users] back ups

2007-06-23 Thread Ian Barton
If I want to do desktop backups of my site, do I have to copy everything or just some of the directories? Which ones? It's safest to do them all, then you don't forget anything important. You might want to consider something like rdiff-backup from http://www.nongnu.org/rdiff-backup/ It

Re: [pmwiki-users] EnableDiag

2007-03-02 Thread Ian Barton
Note that passwords held in $DefaultPasswords and $AuthUser are encrypted, so even if someone obtains the encrypted values they would still need to break the encryption to learn the actual passwords. I am not sure exactly how the PHP encryption function works, but could getting the

Re: [pmwiki-users] Problem Using RyeVote in Triad Skin

2007-02-27 Thread Ian Barton
I am trying to use the RyeVote recipe with the Triad skin. It works when the vote form is shown in the main section of the page, but not in a RightBar. I just tested RyeVoting with Triad. I set $RyeVoteRestrictions = 0; so I can vote several times for testing. I used your markup source

Re: [pmwiki-users] Problem Using RyeVote in Triad Skin

2007-02-27 Thread Ian Barton
I run the latest pmwiki 2.2.0 beta. Can you set $RyeVoteRestrictions = 0; so it is easier to test? It is already set to 0. I don't get the message telling me I can't vote more than once when I vote. So far my best guess is that it's some sort of server issue and that in: (:input

Re: [pmwiki-users] Problem Using RyeVote in Triad Skin

2007-02-27 Thread Ian Barton
So, it would seem that the form (:input form {$PageUrl}?action=ryevote :) is the correct one, so that {$PageUrl} gets the RightBar page instead of Test.FrontPage. So, I reverted the Test.RightBar page back to using {$PageUrl} (hope you don't mind), but the form is still ending up

[pmwiki-users] Problem Using RyeVote in Triad Skin

2007-02-26 Thread Ian Barton
I am trying to use the RyeVote recipe with the Triad skin. It works when the vote form is shown in the main section of the page, but not in a RightBar. See http://www.dodcott-cum-wilkesley.co.uk/wiki/Test/FrontPage which doesn't record a vote. However,

Re: [pmwiki-users] Speed tips?

2007-02-16 Thread Ian Barton
Out of interest how slow is slow? My journal has about that number of pages and is based on Blogsimple2, which uses page lists entensively. The longest anything takes to display is about 10 seconds. Most stuff displays in less than 5 seconds. One thing that puzzles me slightly is that the time

Re: [pmwiki-users] Trouble with web host

2007-02-12 Thread Ian Barton
Ruthtrumpold.id.au Www.ruthtrumpold.id.au Very slow - no graphics displayed. Ruthtrumpold.id.au/itgswiki/pmwimi.php Www.Ruthtrumpold.id.au/itgswiki/pmwimi.php 404 not found Www.Ruthtrumpold.id.au/accesshealth/pmwimi.php Ruthtrumpold.id.au/accesshealth/pmwimi.php 404 not found Ian.

Re: [pmwiki-users] Turn Off Safe Mode

2007-02-07 Thread Ian Barton
It's possible that Plesk is enabling safe mode on a per virtual host basis. You might possibly be able to turn it off with an .htaccess directive. I think that the magic directive is (you may need t check the apache docs): php_value safe_mode 1 Ian. It sure looks like the web server is

Re: [pmwiki-users] Turn Off Safe Mode

2007-02-06 Thread Ian Barton
Try changing the ownership of wiki.d to whoever the web server is running as. In my case this would be: chmod -R www.data-www.data wiki.d You may need to poke about in the Apache config file to find out what user the web server is running as. Ian. OK, I'm stumped: phpinfo.php shows that

Re: [pmwiki-users] Problem opening pages with Emacs pmwiki-mode

2007-02-04 Thread Ian Barton
on XEmacs compatibility. Have you looked into the buffer *HTTP POST ... *? On 2/4/07, Ian Barton [EMAIL PROTECTED] wrote: I have updated pmwiki-mode.el. When I open a wiki page I get: Symbol's function definition is void: nil When I save a page I get no errors, but the page's content

Re: [pmwiki-users] Problem opening pages with Emacs pmwiki-mode

2007-02-03 Thread Ian Barton
Thanks. I'll try and find time to play with this this evening. Ian. You can update pmwiki-mode.el to get more info in this buffer. Or add arguments nil nil t to the call `http-post' in definition of `pmwiki-default-save-function'. On 2/2/07, Lukasz Stafiniak [EMAIL PROTECTED] wrote:

[pmwiki-users] Problem opening pages with Emacs pmwiki-mode

2007-02-01 Thread Ian Barton
I am trying out the pmwiki-mode Emacs recipe and have hit a problem opening pages. I am using the CVS version with pmwiki 2.20 beta 16. When I try to open a page on http://www.pmwiki.org everything works correctly. However, if I try to open a page on any other site one of two things happens:

Re: [pmwiki-users] upload text files - Windows - Unix

2007-01-31 Thread Ian Barton
When uploading text files with FTP from a Windows system to a Unix system, the line separators are converted properly (CR/LF - LF). When uploading the same files with the PmWIki upload feature, this conversion does not appear to be made, and the files are uploaded as if they were binary

Re: [pmwiki-users] How Many pages?

2007-01-31 Thread Ian Barton
A simple question, please...It´s very important for my project Anybody knows how many pages a PmWiki project supports? I don't think there is any limit imposed by PmWiki itself. It all depends on your webserver performance and configuration. I have got one wiki with about 3,000 pages that

Re: [pmwiki-users] More errors

2007-01-29 Thread Ian Barton
Warning: move_uploaded_file(): Unable to move '/var/tmp/phpkSyxOm' to 'img/Main/itgsemail.gif' in /home/ruthtru1/public_html/itgswiki/scripts/upload.php on line 201 PmWiki can't process your request ?cannot move uploaded file to img/Main/itgsemail.gif Check the file permissions on the img