[pmwiki-users-de] Session

2008-01-15 Thread rogroebli
Hallo Liste Ich habe eine User Registrierung mit Htpasswdform eingerichtet (.htpasswd und .htgroup ) Jetzt habe ich das Problem, das im Bearbeitungsmodus schon nach ein bis zwei Minuten die Berechtigung abläuft und ich mich neu einloggen muss. Die Bearbeitung kann noch gespeichert werden. Wo

[pmwiki-users-de] Session

2008-01-15 Thread Roland Gröbli
Hallo Liste Ich habe eine User Registrierung mit Htpasswdform eingerichtet. (.htpasswd und .htgroup ) Jetzt habe ich das Problem, das im Bearbeitungsmodus schon nach ein bis zwei Minuten die Berechtigung abläuft und ich mich neu einloggen muss. Die Bearbeitung kann noch gespeichert werden. Wo

[pmwiki-users] Line chars converted

2008-01-15 Thread Dave Jackson
Hello I'm documenting a process and I'd like to include the following mark-up: The folder structure is as follows [= D:. ├───Apps │ ├───Extract │ └───Presentation ├───Data │ ├───App_Data │ ├───Delta_Data │ ├───External_Data │ └───Raw_Data

Re: [pmwiki-users] PmWiki and Spam

2008-01-15 Thread Anno
Patrick R. Michaud wrote: use the same text text as summary and id. What if the resulting block message said summary and author name cannot be identical? Please Patrick, do something, and do it now! Look at the recent changes, your site is going to shit Anno

Re: [pmwiki-users] Create RSS description using (:include:) ?

2008-01-15 Thread Roman
Here is a snippet from my config: $FeedFmt['rss']['item']['description'] = 'FeedText'; function FeedText($pagename, $page, $tag) { $p = ReadPage($pagename); $content = MarkupToHTML($pagename, $p['text']); return $tag![CDATA[$content]]/$tag; } Roman On Jan 12, 2008 6:53 PM, Brent Zupp

Re: [pmwiki-users] Line chars converted (Dave Jackson)

2008-01-15 Thread Dave Jackson
I suspected as much, The chars in the example I tried to post got transposed. I've put a screenshot of my problem up at http://glossopian.co.uk/pmwiki.php?n=Main.TestMarkup Dave Jackson ** This email is sent for and on behalf of European Metal Recycling Limited ** European Metal

Re: [pmwiki-users] Create RSS description using (:include:) ?

2008-01-15 Thread Steve Glover
On Tue, 2008-01-15 at 13:00 +0100, Roman wrote: Here is a snippet from my config: $FeedFmt['rss']['item']['description'] = 'FeedText'; function FeedText($pagename, $page, $tag) { $p = ReadPage($pagename); $content = MarkupToHTML($pagename, $p['text']); return

Re: [pmwiki-users] Line chars converted

2008-01-15 Thread Anno
I have utf-8 enabled at my site, and it works better: http://www.fungifun.org/WikiSandbox See http://www.pmwiki.org/wiki/PmWiki/UTF-8 Anno ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Create RSS description using (:include:) ?

2008-01-15 Thread Roman
I have just tried it on clean installation and verified with RecentChanges RSS feed and it works as it should (description filled with page content). What was your configuration before, when description contained PmWiki markup? Roman On Jan 15, 2008 1:10 PM, Steve Glover [EMAIL PROTECTED] wrote:

[pmwiki-users] Less noticable spam prevention

2008-01-15 Thread pmwikiusers . mmajor
You could do a few simple tests to detect how spammy a wiki edit is and only require the user to enter a captcha if the edit smells spammy. The wordpress plugin Spam Karma uses this approach and has been very successful at stopping spam on my blog.

Re: [pmwiki-users] PmWiki and Spam

2008-01-15 Thread Dominique Faure
Even if the site should remain as open as possible for editing, IMHO some areas could merely be kept password protected for edition. Therefore, I've defined an edit password for the PITS group. BTW, this could also be documented in a kind of how-to fight against spam tutorial for pmwiki. --

Re: [pmwiki-users] Line chars converted

2008-01-15 Thread Petko Yotov
On Tuesday 15 January 2008 12:11:32 Dave Jackson wrote: I'm documenting a process and I'd like to include the following mark-up: [= D:. ├───Apps │ ├───Extract snip When I save the page it transposes the chars into D:. „¥„Ÿ„Ÿ„ŸApps Hi. You are trying to enter Unicode characters

Re: [pmwiki-users] Line chars converted

2008-01-15 Thread Dave Jackson
Many thanks to Petko and all the other responders. Adding include_once($FarmD.'/scripts/xlpage-utf-8.php'); To my config.php fixed it immediately. Why don't you use just this: D: * Apps ** Extract ** Presentation * Data ** App_Data ... It will achieve almost perfectly what you want: display

Re: [pmwiki-users] Line chars converted

2008-01-15 Thread sti
Dave Jackson wrote: Hello I'm documenting a process and I'd like to include the following mark-up: The folder structure is as follows [= D:. ├───Apps │ ├───Extract │ └───Presentation ├───Data │ ├───App_Data │ ├───Delta_Data │

Re: [pmwiki-users] Interacting with MySQL

2008-01-15 Thread Ben Stallings
Rick Cook wrote: Actually, the table does have an auto-incrementing integer key field. It also has another field that I am requiring to be a unique email address for each row of the table. I am actually trying to use the SelectQuery to pick out the appropriate integer key field if there is

[pmwiki-users] Include with a Regular Expression

2008-01-15 Thread Eric Celeste
I'd like to create a recent changes page that only includes a subset of pages in a given group. For example, a set of pages in the group start with the name Nico- and another set start with Hcm- and I'd like to have two separate RecentChanges pages so that interested parties need only see those

Re: [pmwiki-users] Include with a Regular Expression

2008-01-15 Thread Stirling Westrup
Eric Celeste wrote: I'd like to create a recent changes page that only includes a subset of pages in a given group. For example, a set of pages in the group start with the name Nico- and another set start with Hcm- and I'd like to have two separate RecentChanges pages so that interested

Re: [pmwiki-users] Create RSS description using (:include:) ?

2008-01-15 Thread Roman
On Jan 15, 2008 4:47 PM, Steve Glover [EMAIL PROTECTED] wrote: When I don't have your snippet in my config.php, the following URL: http://www.ukfederation.org.uk/content/News/RecentChanges?action=rssgroup=Newsname=2*order=-namecount=1 gives me: rss version=2.0

Re: [pmwiki-users] Create RSS description using (:include:) ?

2008-01-15 Thread Roman
On Jan 15, 2008 3:09 PM, Brent Zupp [EMAIL PROTECTED] wrote: Thanks Roman! I don't know how that works, but your code appears to pull in a snippet of content into the rss description--wonderful! A lot better than what I had before. Thanks for sharing that. Elements in FeedFmt array can

Re: [pmwiki-users] Include with a Regular Expression

2008-01-15 Thread Eric Celeste
I don't think I can use pagelist since it has no concept of which pages have recently changed and which have not. I was going to use something like... (:include RecentChagnes regex=Nico-:) (oversimplified and nonexistent, but this is just an example) to pull only lines from the RecentChanges

Re: [pmwiki-users] LDAP and Group Authentication

2008-01-15 Thread ThomasP
On Sat, January 12, 2008 8:34 pm, Gary Spivey wrote: Attached is a limited file that should give you what you need - it is an ldif dump on a few people and groups and the ldif headings and such. In ExternAuth, I look for session variables that have been set ($authenticated, $username, and

Re: [pmwiki-users] Include with a Regular Expression

2008-01-15 Thread Stirling Westrup
Eric Celeste wrote: I don't think I can use pagelist since it has no concept of which pages have recently changed and which have not. I was going to use something like... (:include RecentChagnes regex=Nico-:) (oversimplified and nonexistent, but this is just an example) to pull

Re: [pmwiki-users] Include with a Regular Expression

2008-01-15 Thread Patrick R. Michaud
On Tue, Jan 15, 2008 at 10:41:05AM -0600, Eric Celeste wrote: I don't think I can use pagelist since it has no concept of which pages have recently changed and which have not. Sure it does. You can do: (:pagelist name=Nico-* order=-time fmt=#include count=10:) to display the

Re: [pmwiki-users] Include with a Regular Expression

2008-01-15 Thread Patrick R. Michaud
On Tue, Jan 15, 2008 at 09:25:34AM -0600, Eric Celeste wrote: I'd like to create a recent changes page that only includes a subset of pages in a given group. For example, a set of pages in the group start with the name Nico- and another set start with Hcm- and I'd like to have two

[pmwiki-users] 'Draft' mode?

2008-01-15 Thread Steven Benmosh
I am working on a wiki site (gps.words2u.net) and a blog site ( blog.words2u.net). The blog is made with wordpress, the wiki is, of course, pmwiki. There is a nice feature in wordpress, which is draft mode - it lets you work on the page until you are ready, and then you select publish to expose

Re: [pmwiki-users] 'Draft' mode?

2008-01-15 Thread Stirling Westrup
Steven Benmosh wrote: There is a nice feature in wordpress, which is draft mode - it lets you work on the page until you are ready, and then you select publish to expose it to the world, or private which does something else, not sure what... PmWiki has this feature too, but its new and not

Re: [pmwiki-users] My wiki, she is kaput

2008-01-15 Thread David Spitzley
Patrick R. Michaud [EMAIL PROTECTED] 1/11/2008 11:18 PM On your fresh install, you might try inserting the line print(Got here!\n); exit(); at various places between lines 325 and 357, to see which part of the code is causing the failure. Then we can track it down more precisely.

[pmwiki-users] fix for attachments with spaces in the name

2008-01-15 Thread Frank Graffagnino
I'm using pmwiki-2.2.0-beta45, and noticed when downloading attachments that have spaces in the name, the document would download, but the header would not send down the entire name of the file (only up to the first space). This resulted in firefox showing the file download/save as dialog, but

Re: [pmwiki-users] My wiki, she is kaput

2008-01-15 Thread David Spitzley
David Spitzley [EMAIL PROTECTED] 1/15/2008 1:42 PM If I insert the print statement anywhere within that loop (aside from within if statements that evaluate as false), it prints the alert and halts as expected. If I insert the print statement after the loop, the page hangs. My first thought

Re: [pmwiki-users] Issue with RSS feeds on password-protected pages

2008-01-15 Thread Benoit Dutilleul
Hello Randy, Thanks to your message. Indeed, immediately after your first message, I set the page read attribute to @nopass and make it work. Yet, I would appreciate to know if there is a way to authorize only RSS feeds and no browsing of the page or secured RSS with a password. Let me know if

Re: [pmwiki-users] fix for attachments with spaces in the name

2008-01-15 Thread Patrick R. Michaud
On Tue, Jan 15, 2008 at 01:09:22PM -0600, Frank Graffagnino wrote: I fixed this by editing scripts/upload.php and enclosing the filename argument in the Content-disposition field to be enclosed in quotes. This seemed to fix the problem. Excellent suggestion -- I'll make the change. Also,

Re: [pmwiki-users] ImportText not working as supposed

2008-01-15 Thread Anno
Patrick, have you had a chance to take a look at this problem? Anno ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Issue with RSS feeds on password-protected pages

2008-01-15 Thread Randy
As far as I can tell the rss password is useless unless you first have read access. I invite anyone who knows how to get an rss feed without first having read access to tell how to do it. If you are concerned about people reading the page, you can start the page with (:if false:) and put

Re: [pmwiki-users] Include with a Regular Expression

2008-01-15 Thread Eric Celeste
Perfect! Thanks. I have not studied up enough on the power of pagelist, clearly. In particular I'm going to try to improve my grasp of trails, since that looks pretty useful. ...Eric On Jan 15, 2008 11:22 AM, Patrick R. Michaud [EMAIL PROTECTED] wrote: On Tue, Jan 15, 2008 at 09:25:34AM -0600,

Re: [pmwiki-users] fix for attachments with spaces in the name

2008-01-15 Thread Frank Graffagnino
I'm using IE version 6.0.2900. Setting the following in config.php seems to help: $DownloadDisposition = attachment; That lets the downloads succeed on IE when I click Save, but clicking open still has some weird error finding the file in the temp folder. Weird. But I'll take being able

Re: [pmwiki-users] fix for attachments with spaces in the name

2008-01-15 Thread Frank Graffagnino
nevermind... that didn't help as much as I thought it did. Could it be that the site being behind SSL makes a difference (i.e. an https site rather than http)? FG On Jan 15, 2008 3:57 PM, Frank Graffagnino [EMAIL PROTECTED] wrote: I'm using IE version 6.0.2900. Setting the following in

[pmwiki-users] Different webfeed content

2008-01-15 Thread Anke Wehner
Hello, First a hopefully simple question, but I have no idea where to look for the answer: How do I get linebreaks in feed content? At the moment I have $FeedFmt['rss']['item']['description'] = 'Change summary: ' . '{$LastModifiedSummary}' . 'Page description: ' . '{$Description}'; but would

[pmwiki-users] Bug or feature? Exiting from action=attr without changing passwords clears them up

2008-01-15 Thread Steven Benmosh
Seems to me that when I go to a password protected page (of course with the password) with the ?action=attr option, and then leave the page without changing or clearing any of the passwords on display, I can then re-enter the page in edit mode, without having to put in the password again. I tried

Re: [pmwiki-users] Bug or feature? Exiting from action=attr without changing passwords clears them up

2008-01-15 Thread Randy
Only having to enter a password once per session is a feature. For those who make lots of edits, it's essential. The best way to protect your page when you're away from your machine is to log out. (I think that works on the base installation. It certainly does when there is user