[pmwiki-users-de] Mailform

2008-10-02 Thread Albi Rebmann
Hallo, hat mir jemand einen Tip welches Mailform ich nehmen soll? Eigentlich soll es so einfach wie möglich sein, aber doch auch wieder flexibel, so dass ich zusätzliche Felder einbauen kann. Ist für die neueste Beta von PmWiki. ALBI... ___

[pmwiki-users] php globals q.

2008-10-02 Thread noskule
hi list I would like to use variables in a function. Normaly I achive this by declaring varX as global. function() { global $X $Y $Z The problem is know that I use a set of variables in a couple of functions an I would like to avoid adding/changing these global variables in each function.

Re: [pmwiki-users] php globals q.

2008-10-02 Thread Hans
Thursday, October 2, 2008, 1:50:23 PM, noskule wrote: I would like to use variables in a function. Normaly I achive this by declaring varX as global. function() { global $X $Y $Z The problem is know that I use a set of variables in a couple of functions an I would like to avoid

[pmwiki-users] Directing users to the wiki homepage

2008-10-02 Thread Graham Archer
Hi, I put "news" and other useful info on the front (home) page of the wiki. I'm finding that users are bookmarking other often used pages and returning to them directly. As a consequence the user misses the news information on the front page and then bumps into issues that I was trying to

Re: [pmwiki-users] Displaying a markup variable via a skin template

2008-10-02 Thread Hans
Monday, September 29, 2008, 10:28:40 PM, marc wrote: I want to display a variable from the markup on each displayed page via the skin template. what exactly should happen to the user-editable text you wish to insert in the skin template? Where in the HTML should it appear, and in what form

Re: [pmwiki-users] Directing users to the wiki homepage

2008-10-02 Thread Randy Brown
You might try using the httpvariables recipe: put in the group header (or else on each page) markup that says if the from variable not equal to 'HomePage' then redirect to HomePage. On the HomePage you would append to all links from=HomePage. Randy On Oct 2, 2008, at 9:22 AM, Graham

Re: [pmwiki-users] Directing users to the wiki homepage

2008-10-02 Thread Christophe David
Is there a way I can direct users who come to the wiki through the side door (i.e. a previously bookmarked page) to the wiki homepage and then perhaps allow them to get to the original target page? I'd be interested to hear if other wiki admins have solved this situation in other ways too .

Re: [pmwiki-users] Directing users to the wiki homepage

2008-10-02 Thread Randy Brown
Actually, what I suggested won't work, since users are bookmarking the URL. You'd have to test the referrer time rather than the referrer page name, and that is more difficult. Randy On Oct 2, 2008, at 9:37 AM, Randy Brown wrote: You might try using the httpvariables recipe: put in the

Re: [pmwiki-users] Displaying a markup variable via a skin template

2008-10-02 Thread Patrick R. Michaud
On Mon, Sep 29, 2008 at 11:28:40PM +0200, marc wrote: Hi, I want to display a variable from the markup on each displayed page via the skin template. I thought I would be able to use a PTV directly. Thus, in markup: (:something: marctest:) and in the template file, something like

[pmwiki-users] php in .tmpl

2008-10-02 Thread Ilia Ovechkin
I would like to be able to include ?php include $SkinDirUrl/ randomimage.php; ? inside of the .tmpl file which references a php file inside the skin folder. Is there documentation for how this should be done? thanks ___ pmwiki-users mailing list

Re: [pmwiki-users] Directing users to the wiki homepage

2008-10-02 Thread Tegan Dowling
On Thu, Oct 2, 2008 at 9:44 AM, Christophe David [EMAIL PROTECTED] wrote: Is there a way I can direct users who come to the wiki through the side door (i.e. a previously bookmarked page) to the wiki homepage and then perhaps allow them to get to the original target page? I'd be interested to

Re: [pmwiki-users] php in .tmpl

2008-10-02 Thread Patrick R. Michaud
On Thu, Oct 02, 2008 at 12:11:20PM -0400, Ilia Ovechkin wrote: I would like to be able to include ?php include $SkinDirUrl/ randomimage.php; ? inside of the .tmpl file which references a php file inside the skin folder. Is there documentation for how this should be done? The .tmpl file

[pmwiki-users] more on ctime

2008-10-02 Thread Ian MacGregor
Ok, I have the ctime pagelist working with: (:if false:) [[#titlectime]] * [[{=$FullName} | {=$Titlespaced}]] - {=$Created} [[#titlectimeend]] (:ifend:) (:pagelist group=Site fmt=#titlectime list=normal count=8:) The output is exactly what I wanted, thank you folks for helping with this, and

[pmwiki-users] Recent edits page not loading

2008-10-02 Thread Walker Lindley
I just took over managing my company's wiki and noticed that recent edits page is no longer loading. Specifically the error is: Fatal error: Maximum execution time of 30 seconds exceeded in I:\Wiki\pmwiki.php on line 863 Although the line number it errors on varies (sometimes 870, 1467, and many

Re: [pmwiki-users] Recent edits page not loading

2008-10-02 Thread Patrick R. Michaud
On Thu, Oct 02, 2008 at 11:14:14AM -0700, Walker Lindley wrote: I just took over managing my company’s wiki and noticed that recent edits page is no longer loading. Specifically the error is: Fatal error: Maximum execution time of 30 seconds exceeded in I:\Wiki\ pmwiki.php on line 863

Re: [pmwiki-users] Recent edits page not loading

2008-10-02 Thread Walker Lindley
We're running pmwiki-2.2.0-beta67. Looking through the documentation, I'm not entirely sure where to set this. I've tried setting it in local/config.php and even inside the PostRecentChanges function in pmwiki.php, but it doesn't alleviate the problem, so I assume I'm just not doing it right. I

[pmwiki-users] define $FmtPV via foreach

2008-10-02 Thread noskule
hi list I try to define page variables out of an array: $skinsection_ptv_arr = array( SectionA = 1, SectionB = 0, ... ); foreach ( $skinsection_ptv_arr as $ptvname = $val ) { $FmtPV['${$ptvname}]' = '$val'; } I cant figure out the right syntax for the variable name in $FmtPV, anyone a

Re: [pmwiki-users] Directing users to the wiki homepage

2008-10-02 Thread Eemeli Aro
2008/10/2 Graham Archer [EMAIL PROTECTED]: Is there a way I can direct users who come to the wiki through the side door (i.e. a previously bookmarked page) to the wiki homepage and then perhaps allow them to get to the original target page? It sounds like what you actually want is to

[pmwiki-users] Setting up mail notification

2008-10-02 Thread David Plaut
Newbie question, Is there a straightforward document that describes how set up email notification of changes. e.g. where does NotifyList go? Under what folder? ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

Re: [pmwiki-users] Recent edits page not loading

2008-10-02 Thread Walker Lindley
Ok, so I was setting it in the right place then. Apparently even setting it as low as 5 doesn't fix the problem. I also edited the Site.AllRecentChanges file by hand (noticing that the text=* line had over 228,000 characters on it) to make it smaller, but the page still isn't loading. Is there

Re: [pmwiki-users] Recent edits page not loading

2008-10-02 Thread Eemeli Aro
2008/10/2 Walker Lindley [EMAIL PROTECTED]: Ok, so I was setting it in the right place then. Apparently even setting it as low as 5 doesn't fix the problem. I also edited the Site.AllRecentChanges file by hand (noticing that the text=* line had over 228,000 characters on it) to make it

Re: [pmwiki-users] Recent edits page not loading

2008-10-02 Thread Patrick R. Michaud
If you're referring to PmWiki's admin password, then you can change the admin password that is in config.php, and then you'll have permission to edit the page. Most PHP installations have a default timeout set to 30 seconds, so it may not be entirely the last guy's fault. Setting $RCLinesMax

Re: [pmwiki-users] Recent edits page not loading

2008-10-02 Thread Patrick R. Michaud
I can't think of anything that else that might be the issue at the moment. What happens if you (temporarily) rename the Site.AllRecentChanges file to a different name? Pm On Thu, Oct 02, 2008 at 01:06:51PM -0700, Walker Lindley wrote: Ok, so I was setting it in the right place then. Apparently

Re: [pmwiki-users] Setting up mail notification

2008-10-02 Thread Hans
Thursday, October 2, 2008, 8:50:12 PM, David Plaut wrote: Is there a straightforward document that describes how set up email notification of changes. e.g. where does NotifyList go? Under what folder? please read http://www.pmwiki.org/wiki/PmWiki/Notify SiteAdmin.NotifyList is a wiki page

Re: [pmwiki-users] Recent edits page not loading

2008-10-02 Thread Walker Lindley
I found the password line in the config file, what hashing algorithm is it using? Or is that also specifiable in the config file? Walker Lindley Gameplay Engineer, Pipeworks® Software [EMAIL PROTECTED] -Original Message- From: Patrick R. Michaud [mailto:[EMAIL PROTECTED] Sent:

Re: [pmwiki-users] Recent edits page not loading

2008-10-02 Thread Walker Lindley
Oh and also thanks, setting $RCLinesMax did work after editing another page. So thank you very much to everyone for their help! Walker Lindley Gameplay Engineer, Pipeworks® Software [EMAIL PROTECTED] -Original Message- From: Patrick R. Michaud [mailto:[EMAIL PROTECTED] Sent:

Re: [pmwiki-users] Displaying a markup variable via a skin template

2008-10-02 Thread marc
Hans said... Monday, September 29, 2008, 10:28:40 PM, marc wrote: I want to display a variable from the markup on each displayed page via the skin template. Hi Hans. what exactly should happen to the user-editable text you wish to insert in the skin template? Where in the HTML should

Re: [pmwiki-users] Displaying a markup variable via a skin template

2008-10-02 Thread marc
Patrick R. Michaud said... On Mon, Sep 29, 2008 at 11:28:40PM +0200, marc wrote: Hi, I want to display a variable from the markup on each displayed page via the skin template. I thought I would be able to use a PTV directly. Thus, in markup: (:something: marctest:) and

Re: [pmwiki-users] Recent edits page not loading

2008-10-02 Thread Patrick R. Michaud
On Thu, Oct 02, 2008 at 02:19:10PM -0700, Walker Lindley wrote: I found the password line in the config file, what hashing algorithm is it using? Or is that also specifiable in the config file? It uses whatever algorithm your implementation of PHP happens to be using. For more details, see

[pmwiki-users] Group Edit broken by default 'edit' password in config.php

2008-10-02 Thread dan mihai
Hello, I am new to Wiki and I get the following problem. Simply the presence of the line $DefaultPasswords['read'] = crypt('secret1'); in config.php seems to break editing in an unrelated place. Here is my scenario: 1) I created a group [[GPublic/GPublic]] which I want to share GPublic with

Re: [pmwiki-users] Displaying a markup variable via a skin template

2008-10-02 Thread Dominique Faure
On Mon, Sep 29, 2008 at 23:28, marc [EMAIL PROTECTED] wrote: Hi, I want to display a variable from the markup on each displayed page via the skin template. I thought I would be able to use a PTV directly. Thus, in markup: (:something: marctest:) and in the template file, something like

Re: [pmwiki-users] define $FmtPV via foreach

2008-10-02 Thread Dominique Faure
On Thu, Oct 2, 2008 at 21:32, noskule [EMAIL PROTECTED] wrote: hi list I try to define page variables out of an array: $skinsection_ptv_arr = array( SectionA = 1, SectionB = 0, ... ); foreach ( $skinsection_ptv_arr as $ptvname = $val ) { $FmtPV['${$ptvname}]' = '$val'; } I cant