Re: [pmwiki-users] Is there a way to have a "default" markup for an unknown or empty page text variable?

2019-10-30 Thread Peter Kay
So for multiple languages, one would say $DefaultUnsetPageTextVars['AdminTasks'] = '[[SiteAdmin.Tasks?action=login|'.XL('login to see your tasks').']]'; ? On Wed, Oct 30, 2019 at 5:56 AM Petko Yotov <5...@5ko.fr> wrote: > I've added this for 2.2.121 (you can get the pre-release as a ZIP

Re: [pmwiki-users] Syntax highlighting recipes

2019-07-15 Thread Peter Kay
Sorry, let me go all the way back to the top: what is the "preg_replace problem" you are seeing? --Peter On Mon, Jul 15, 2019 at 4:54 AM Johan Bengtsson wrote: > My employer uses several pmwikis, we are currently using pmwiki-2.2.97 and > php 5.5.18. > > On one of the biggest wikis we are usin

Re: [pmwiki-users] Syntax highlighting recipes

2019-07-15 Thread Peter Kay
GeSHi is abandoned? It looks like they updated 1.0.9 to avoid the preg_replace /e problem? Or did I miss something? --Peter On Mon, Jul 15, 2019 at 4:54 AM Johan Bengtsson wrote: > My employer uses several pmwikis, we are currently using pmwiki-2.2.97 and > php 5.5.18. > > On one of the bigge

Re: [pmwiki-users] Syntax highlighting recipes

2019-07-15 Thread Peter Kay
Can CodeMirror adjust its markup? Look for (:source...:) instead of (:code...:)? That might be an option as well, and might be worth checking. On Mon, Jul 15, 2019 at 9:56 AM Johan Bengtsson wrote: > On Mon, 15 Jul 2019, Dominique Faure wrote: > > > Hi, > > Feel free to have a try with the Cod

Re: [pmwiki-users] WYSIWYG on PmWiki

2019-06-17 Thread Peter Kay
> It would be nice to know how Google Docs overcomes this problem Probably through the liberal application of money, which can hire people to work. Pmwiki's markup is translated to HTML server-side by a php-based engine. In order to have a WYSIWYG editor, you would need a way to translate client-

Re: [pmwiki-users] Exploring the use of pwWiki

2019-05-07 Thread Peter Kay
I find pmwiki very easy to work with. I have every thing from a game-related site for tracking notes (http://littlewhitemouse.net/games/hm) to a shared shopping list with a (very) minimalist theme that's easy to use on our phones (behind a password ;) ). Themes are easy to modify if you can handl

Re: [pmwiki-users] PHP 5.3

2019-04-26 Thread Peter Kay
One of the cookbook recipes that has that filename is "Alternate Naming Scheme" (https://www.pmwiki.org/wiki/Cookbook/AlternateNamingScheme), which doesn't have an up-to-date version. --Peter On Fri, Apr 26, 2019 at 5:17 PM Simon wrote: > You need to ensure all your recipes are updated > > See

Re: [pmwiki-users] Problems with my PMWiki Site after Update to PHP7.2 (from PHP5.6)

2019-03-20 Thread Peter Kay
Actually, checking what skin you are using is an excellent idea. --Peter On Wed, Mar 20, 2019 at 12:30 PM Kevin R. Bulgrien < kev...@systemsdesignusa.com> wrote: > - Original Message - > > From: "Michael Lang" > > To: pmwiki-users@pmichaud.com > > Sent: Wednesday, March 20, 2019 10:26:2

Re: [pmwiki-users] Problems with my PMWiki Site after Update to PHP7.2 (from PHP5.6)

2019-03-20 Thread Peter Kay
Are there ANY server logs you can access at all? access.log, everything.log, whatever? Either in the web interface the hosting provider gives you, or by using ssh to look around? --Peter Kay On Wed, Mar 20, 2019 at 11:27 AM Michael Lang wrote: > There is no error.log file! > > Am 1

Re: [pmwiki-users] Can't use twice in a row small emphasized text

2019-03-04 Thread Peter Kay
Another thing you could do (if for whatever reason, the order is important) is to put a breaking pattern inside the problem markup: [-''KO''[==]-][-''OK''-] That way, '- doesn't appear in a place where it can trigger markup. (You could also put it in both places, just to be safe from future prob

Re: [pmwiki-users] Stored passwords on local machine

2018-11-22 Thread Peter Kay
I believe you that the setting you are complaining about is a short session length. I have a similar problem and would love to hear if there is an easy solution! --Peter On Wed, Nov 21, 2018, 10:29 PM ASLAN Data As I understand it there is a timeout variable for PHP that is defaulted > to 30 mi

Re: [pmwiki-users] how to "edit here" ?

2018-11-04 Thread Peter Kay
t I didn't look any further. I have a working-draft of a recipe that lets one edit small sections of a page (a single line, a few words, etc); if that's more what you need I could share that. I have been thinking to expand it to larger sections, but haven't gotten there yet. --Pete

Re: [pmwiki-users] Error after upgrade?

2018-09-09 Thread Peter Kay
Slim Table of Contents and Section Edit require Signal When Markup to be present so they can check whether they are appearing in (:markup:)(:toc:)(:markupend:) However, if I recall correctly, php doesn't care if a global variable is declared before checking it, so these recipes could both NOT requ

Re: [pmwiki-users] Long-s Redux

2018-02-18 Thread Peter Kay
Have you considered the option of using a Replace On Save option to write the long s to file and then not dealing with markup? Or do you specifically want only the display to be affected? I recall that while I was looking at your earlier work, I was thinking that your regular expression might ben

Re: [pmwiki-users] Insert current (stable) date

2018-02-15 Thread Peter Kay
I would guess your server time and your local time are off by 1 hour 1 minute, then. You have a few choices I can see: 1. hardcode a timezone into the wiki 2. accept local user time for whatever user/device - I think this would require javascript on the client and catching hiddenvariables or som

Re: [pmwiki-users] Error in Sandbox

2018-02-14 Thread Peter Kay
Also, for mobile users, there is no Edit link at the bottom of the page; there is a link in the menu at the top of the page (if I recall correctly) --Peter On Tue, Feb 13, 2018 at 9:15 PM, Jim Syler wrote: > Not sure where to report this, but the Wiki Sandbox that comes preinstalled > with pmwik

Re: [pmwiki-users] ROSPatterns/regex question

2017-09-26 Thread Peter Kay
;] = "MyRecipeROS"; // process the entire file before saving. Hope that helps, --Peter On Tue, Sep 26, 2017 at 2:15 PM, Peter Kay wrote: > ROSPatterns accepts functions - so think "preg_replace_callback()" > instead of "preg_replace". > > So something

Re: [pmwiki-users] ROSPatterns/regex question

2017-09-26 Thread Peter Kay
ROSPatterns accepts functions - so think "preg_replace_callback()" instead of "preg_replace". So something like this might work: $ROSPatterns[".*"] = "MyRecipeROS"; // process the entire file before saving. function MyRecipeROS($data) { $words=split or preg_split on whitespace, maybe even grab

Re: [pmwiki-users] problem with PHP7

2017-08-07 Thread Peter Kay
It'd be fairly trivial to update themexcept for the AMmathjax.php one, for which the author did not include any sort of licensing agreements (GPL, etc). Remember authors: even if you don't care, the law does, so slap a "GPLv3" or some such in a comment. --Peter On Mon, Aug 7, 2017 at 10:53 A

Re: [pmwiki-users] Plagiarism detection

2017-06-28 Thread Peter Kay
There might also be a way to put "If this text was not located on mysite.com, it was plagerized" text into your main text but hide it somehow with CSS. You'd want something that screen readers would skip, visual readers would skip, but copy-paste would capture. Then you could do Google searches f

[pmwiki-users] Release: AddDeleteLine3 (update from AddDeleteLine2)

2017-06-09 Thread Peter Kay
I uploaded a update of the AddDeleteLine2 recipe, and went ahead and named it AddDeleteLine3. http://www.pmwiki.org/wiki/Cookbook/AddDeleteLine3 If anyone uses it and finds any problems, please let me know! --Peter Kay ___ pmwiki-users mailing list

Re: [pmwiki-users] SSL Migration & Coexistance etc.

2017-06-07 Thread Peter Kay
I know that for me, when I was a relative newbie, I would read through default config files and just gloss right over anything I didn't understand. As I became more experienced, I found reading the notes (# This setting allowsetc) very useful, especially for systems I wasn't super familiar wit

Re: [pmwiki-users] https with PmWiki

2017-05-30 Thread Peter Kay
Perhaps $forcehttps=1; or $requirehttps=1; On Tue, May 30, 2017 at 6:11 AM, Simon wrote: > Good idea, > having now addressed the mobile friendly issue (i.e. getting google to give > your website credence) I agree that pmwiki.org.should move to https for > better google ranking and importantly >

Re: [pmwiki-users] https with PmWiki

2017-05-29 Thread Peter Kay
There have been a few recent discussions on the subject: http://www.pmichaud.com/pipermail/pmwiki-users/2017-February/063711.html and http://www.pmichaud.com/pipermail/pmwiki-users/2017-February/063700.html The 2nd link is someone who used some tips from SwitchToSSLMode that worked, so at a minim

Re: [pmwiki-users] Can't get WikiStylesApply or maybe even WikStylesCSS to work for html video tag also for div

2017-05-17 Thread Peter Kay
#x27;ve done:| > > |https://endlessnow.com/wiki1/Test/Mp4| > > |This recipe hasn't been released (yet, under development).| > > > | > | > > | > | > > | > | > > > > On 05/17/2017 03:46 PM, Peter Kay wrote: >> >> Have you tried any of the

Re: [pmwiki-users] Can't get WikiStylesApply or maybe even WikStylesCSS to work for html video tag also for div

2017-05-17 Thread Peter Kay
Have you tried any of the apply=div, etc options? (http://www.pmwiki.org/wiki/PmWiki/WikiStyles) So %apply=div max-width=200px%, and so on... --Peter On Wed, May 17, 2017 at 4:07 PM, Christopher Cox wrote: > I'd like to do CSS style max-width on a div. > > So I have: > > $WikiStyleCSS[] = 'max-

Re: [pmwiki-users] Blogit (:includesection:) problem after upgrade

2017-05-12 Thread Peter Kay
if you replace your sidebar inclusion text with (:if equal {$bi_BlogIt_Enabled} 1:)XXX(:include Site.BlogIt-SideBar:) so you see the XXX? If not, then very likely the BlogIt code isn't loading (and bi_BlogIt_Enabled hasn't been set to true). Do you have access to the php/web server error logs?

Re: [pmwiki-users] On the order of Markup

2017-05-03 Thread Peter Kay
e devs could participate, we may > find a better solution. > > On 2017-05-03 22:09, Peter Kay wrote: >> >> A lot of Markup_e involves needing $pagename; I would propose having >> MarkupToHTML call the function with both the match and $pagename: >> >> Markup(&#

Re: [pmwiki-users] On the order of Markup

2017-05-03 Thread Peter Kay
next week or so. -Peter On Wed, May 3, 2017 at 1:48 PM, Petko Yotov <5...@5ko.fr> wrote: > On 2017-05-03 19:19, Peter Kay wrote: >> >> One other problem I recently stumbled on is that the MarkupRules only >> allow one instance of a given pattern. >> >> So for exam

Re: [pmwiki-users] On the order of Markup

2017-05-03 Thread Peter Kay
$m[1]));}); the "use ()" syntax will probably allow us to rewrite Markup_e in a way that - while perhaps slower - is seamless. Consider the following code: wrote: > On 2017-05-03 19:19, Peter Kay wrote: >> >> One other problem I recently stumbled on is that the MarkupRules

Re: [pmwiki-users] On the order of Markup

2017-05-03 Thread Peter Kay
ong as the names are different, they'll both run. --Peter On Wed, May 3, 2017 at 1:17 PM, Peter Kay wrote: > The current tree structure would work great, except for the fact that > all markup that is defined as " happen in alphabetical order?). > > I think the approach I w

Re: [pmwiki-users] On the order of Markup

2017-05-03 Thread Peter Kay
tc. The order the "before" children of X have would be the same as currently. Currently, if we add 'E', ' wrote: > On Thu, Mar 23, 2017 at 11:21:06AM -0400, Peter Kay wrote: >> textvar: >< >> nl0 >< >> Sidebar

Re: [pmwiki-users] From inside of config.php I need a good way to get the physical upload directory path (full path), or good way to create an attachment automatically.

2017-04-29 Thread Peter Kay
I was going to ask about the =200, but I see: if it's above 50, it will happen after stdconfig.php is loaded, so everything you need will be there. I had missed the way that was called; thanks, Petko. On Sat, Apr 29, 2017 at 12:25 PM, Petko Yotov <5...@5ko.fr> wrote: >> From inside of config.php

Re: [pmwiki-users] Responsive skin added to core, enabled on pmwiki.org

2017-04-27 Thread Peter Kay
Awesome work! I'm looking forward to seeing it on my mobile. On my desktop, I see the left menu in a separate box with its own scroll bars - neither of the scroll bars are necessary (at my resolution) and the vertical scroll bar stops before the bottom of the page, which looks rather weird. I ha

Re: [pmwiki-users] Suppress WARNING in pmwiki.php

2017-04-17 Thread Peter Kay
Adding the '@' will only mean the problem doesn't get reported, which as Petko notes, might not be too bad. On the other hand, I've found problems with open_basedir before: file_exists was returning false because open_basedir wouldn't let it stat the file. The problem I had was one of the interme

[pmwiki-users] On the order of Markup

2017-03-23 Thread Peter Kay
ar to run ">nl1" which looks a bit odd, but works. Afterthought: If any other cookbook authors have written recipes with multiline markup and haven't tested it on the first line of a page, my original problem might not be isolated. Adding a newline to the end of GroupHeaderFmt

Re: [pmwiki-users] Display image (QR-code)

2017-03-12 Thread Peter Kay
d and then upload a QR-code for every > video... > > / T. > > On 2017-03-10 18:25, Peter Kay wrote: > > http://www.pmwiki.org/wiki/PmWiki/Images#notes > > So using the link https://chart.googleapis.com/ > chart?chs=200x200&cht=qr&chl=http://www.pmwiki.org&

Re: [pmwiki-users] Display image (QR-code)

2017-03-10 Thread Peter Kay
http://www.pmwiki.org/wiki/PmWiki/Images#notes So using the link https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=http://www.pmwiki.org&null=.png works, for example. Is there any reason not to go ahead and download the image and not bother hitting google's servers every page load? Becau

Re: [pmwiki-users] Pm2Media - PmWiki to MediaWiki converter

2017-01-31 Thread Peter Kay
It is likely, of course, that anyone with experience with this converter is no longer on the pmwiki mailing lists You might browse the release notes at http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes - especially the 2.2.0 notes. There were some changes to page variables that might trip you up

[pmwiki-users] New cookbook recipe: PkTemplate

2017-01-11 Thread Peter Kay
eally great, I could see renaming it, BTW) Be well everyone, -Peter Kay ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

[pmwiki-users] Markup with multiple paragraphs

2017-01-05 Thread Peter Kay
nto if I entered it directly in a page.But I'm getting one line. So...can anyone help me with what I'm missing? Thanks! --Peter Kay ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] date on main page

2016-12-03 Thread Peter Kay
strtotime() function and the date() function could easily give you a way to list the next 3 dates, for example. HTH, --Peter Kay On Sat, Dec 3, 2016 at 1:22 AM, jdd wrote: > Hello, > > My Linux User group have pmwiki as main web site > > http://culte.org > > We have

Re: [pmwiki-users] Translation problems with form added into $HandleBrowseFmt

2016-11-26 Thread Peter Kay
and XL need to be aware of the difference somehow. Thanks so much! --Peter On Sat, Nov 26, 2016 at 5:53 AM, Petko Yotov <5...@5ko.fr> wrote: > On 2016-11-18 23:17, Peter Kay wrote: >> >> I spent a while today searching through code and I have a few bits of >> informa

[pmwiki-users] MarkupFrameBase

2016-11-24 Thread Peter Kay
y to pose a security problem, and there doesn't seem to be any reason to prefer it over a function. --Peter Kay ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Translation problems with form added into $HandleBrowseFmt

2016-11-22 Thread Peter Kay
f eating all of my HTML. I'll see if I can preserve it with Keep() or something! --Peter Kay On Fri, Nov 11, 2016 at 10:21 AM, Peter Kay wrote: > On Fri, Nov 11, 2016 at 7:35 AM, Petko Yotov <5...@5ko.fr> wrote: >> On 2016-11-11 04:09, Peter Kay wrote: >>> I

Re: [pmwiki-users] Translation problems with form added into $HandleBrowseFmt

2016-11-11 Thread Peter Kay
Sorry, code snippet might should have included: (in main cookbook file:) . . . global $pagename; $pn=ResolvePageName($pagename); $fpn=FmtPageName('$[Editing {*$FullName}]', $pn); $xl=XL('$[Editing {*$FullName}]'); SDV($EL['FormText'], "\nTest results: pn: $pn, fpn, $fpn, xl, $xl\n"); . . . functi

Re: [pmwiki-users] Translation problems with form added into $HandleBrowseFmt

2016-11-11 Thread Peter Kay
On Fri, Nov 11, 2016 at 7:35 AM, Petko Yotov <5...@5ko.fr> wrote: > On 2016-11-11 04:09, Peter Kay wrote: >> I have a (block level) form I want to add (once) to a page if certain > Inline markups are processed before block markups so it "should" work. Sorry - I was wri

[pmwiki-users] Translation problems with form added into $HandleBrowseFmt

2016-11-10 Thread Peter Kay
I have a (block level) form I want to add (once) to a page if certain markup is present on the page. Adding it with the first occurrence of the markup doesn't work - the markup is inline. I have added code to slip it into the $HandleBrowseFmt array (right before $PageEndFmt) (similar to the way L

Re: [pmwiki-users] Fixing an abandoned Cookbook recipe (SlimTableOfContents)

2016-09-03 Thread Peter Kay
If you haven't figured it out by early next week, I'll see what I can do - it's a recipe I used some time ago and liked, and am planning to make use of again. I've already gotten a little practice with the old syntax no longer allowed in php and updating things. --Peter On Fri, Sep 2, 2016 at 5

Re: [pmwiki-users] Include from page with includes

2016-08-11 Thread Peter Kay
You might also look at the feed recipes (RSS, etc) - those might be more convenient for you, depending on circumstances. --Peter On Thu, Aug 11, 2016 at 1:25 PM, Tami Hawes (PERA) wrote: > Yes, I can do that, but that report only lists the page that had a change, > not the change/update itself

Re: [pmwiki-users] How to get the value of a text field form before posting ?

2016-07-27 Thread Peter Kay
ping error, « (,{« mismatch, « ; » forgotten or extra. Just being > patient > > Does it answer your baseline question ? > > Thanks > > Patrice > > > > Le 27 juil. 2016 à 18:27, Peter Kay a écrit : > > Let me ask you baseline question: how well do you underst

Re: [pmwiki-users] How to get the value of a text field form before posting ?

2016-07-27 Thread Peter Kay
Let me ask you baseline question: how well do you understand the client/server nature of webpages? Which relates directly to the question: what exactly do you want each one of them to be doing with the form? --Peter On Wed, Jul 27, 2016 at 8:52 AM, Patrice PELLE wrote: > > Hello, > > I am a tr

Re: [pmwiki-users] CSS for a cookbook recipe?

2016-07-15 Thread Peter Kay
On Tue, Jul 12, 2016 at 2:54 AM, Petko Yotov <5...@5ko.fr> wrote: > If your recipe has more than one file, eg. CSS+JS+icons, you can have your > own directory in pmwiki/pub where to place them all. Then in your recipe you > include your CSS with such a line: > > SDVA($HTMLHeaderFmt, array( >'

Re: [pmwiki-users] CSS for a cookbook recipe?

2016-07-15 Thread Peter Kay
Sorry, stupid (and incorrect) question! I should have been asking: Is there any difference between: SDVA($HTMLHeaderFmt, array('myrecipe'=>'abcdefg')); and SDV($HTMLHeaderFmt['myrecipe'], 'abcdefg'); ? (php is not my first language ;) ) On Sat, Jul 1

Re: [pmwiki-users] CSS for a cookbook recipe?

2016-07-12 Thread Peter Kay
It seems like adding a separate file for unavoidable css (and a separate one for javascript) is the best way to go, then, all things being equal? (altho it would require slightly more work for admins) --Peter Kay On Tue, Jul 12, 2016 at 2:54 AM, Petko Yotov <5...@5ko.fr> wrote: > O

[pmwiki-users] CSS for a cookbook recipe?

2016-07-11 Thread Peter Kay
way to go...is there some convention for naming an entry? And it will just magically show up for me? Sorry if these questions have been answered somewhere >< Hopefully someone can point me in the right direction! Thanks! --Peter Kay ___ pmwi

Re: [pmwiki-users] parameters to a handler function

2016-07-08 Thread Peter Kay
hy I kept losing all of my history... Thanks! --Peter Kay ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] parameters to a handler function

2016-07-08 Thread Peter Kay
So let me check my understanding: If I set HandleAuth['myaction']='edit'; And then do function MyActionCallback($pagename, $auth) { $page=RetrieveAuthPage($pagename, $auth, true, READPAGE_CURRENT); #Abort if no page, etc } Then a user would need to have edit permissions to do 'myaction', u

[pmwiki-users] parameters to a handler function

2016-07-04 Thread Peter Kay
There appear to be two parameters passed to a handler set up via $HandleActions['...']. The first is the $pagename. The second, which not everyone uses, is $auth. The CustomActions page doesn't make it totally clear what $auth is - is it the authorization level the user already has? Is it $Handl

Re: [pmwiki-users] wide images question

2009-06-22 Thread Peter Kay
jdd wrote: > Peter Kay a écrit : >> Ok, this may be a stupid question, but I can't seem to find a way >> around it... >> >> I have a rather wide image that I want to put in a pmwiki page. If I >> put it in the usual way, it's too wide for my screen, and

[pmwiki-users] wide images question

2009-06-21 Thread Peter Kay
Ok, this may be a stupid question, but I can't seem to find a way around it... I have a rather wide image that I want to put in a pmwiki page. If I put it in the usual way, it's too wide for my screen, and all my text scrolls so that it's hard to read (have to keep moving left and right through t

Re: [pmwiki-users] Second level ul strange output

2009-05-27 Thread Peter Kay
Oliver Betz wrote: > Hello All, > > why uses PmWiki this HTML output: > > > > foo > bar > > > > for this markup: > ** foo > ** bar > It's a way to make all 2-deep lists have the same tabbing. I prefer it to the alternative of using nested s (see http://www.pmwiki.org/wiki/Cookboo

[pmwiki-users] Want to 'hook' into a certain group of pagenames for recipe

2009-05-27 Thread Peter Kay
Hello all, I'm working on a (light-weight) embedding of Gallery2 into PmWiki. I envision a setup where the user follows a link to "/pmwiki/Gallery/some-gallery/some-subgallery/some-picture" (assuming using CleanURLs) & gets a page with pmwiki sidebar, header, footer, but body replaced by embe

[pmwiki-users] Login page?

2008-11-22 Thread Peter Kay
I know there's the action=login action, but I'd like a way to have a page that acts as a login page. Something like http://mycoolwebpage/login (I'm using de-pmwikified names, so http://mycoolwebpage/ is Main/Main) I was hoping there was an obvious way to do this within pmwiki using the (:red

Re: [pmwiki-users] .frame element?

2007-08-22 Thread Peter Kay
Petko Yotov wrote: > On Thursday 23 August 2007, Peter Kay wrote: >> Can anyone tell me what element might be labeled as .frame (.frame has >> an entry in the 'wikistyles' .css)? > > A div, a table or another block element, test it: > >>> frame<<

[pmwiki-users] .frame element?

2007-08-22 Thread Peter Kay
Can anyone tell me what element might be labeled as .frame (.frame has an entry in the 'wikistyles' .css)? Thanks! --Peter ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] markup to markup question

2007-08-22 Thread Peter Kay
Frank Graffagnino wrote: > Most of my customized markup either does something in the background, > or returns html. > > However, now I am in a situation where I want to have some markup that > basically returns more (potential) markup. ISTR there is some way to specify where your custom markup ((

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

2007-08-20 Thread Peter Kay
Thomas Bley wrote: > Hello, > > I propose two things: > - bind the session to the remote ip address and the user agent > - restrict a login from a remote ip address if there are more than 5 bad > logins within the last 2 hours > > What do you think ? An alternative approach is to double a "sleep

Re: [pmwiki-users] question about wikifarm with suPHP/safe mode

2007-08-19 Thread Peter Kay
can satisfy PHP's safe_mode and still >>> keep the maintenance/upgrade efficiency of my farm? > > Peter Kay wrote: > > ... >> Would symbolic links work? I guess that wouldn't catch files added, but >> it'd be a start... > > I'm no

Re: [pmwiki-users] question about wikifarm with suPHP/safe mode

2007-08-19 Thread Peter Kay
Shi Sherebrin wrote: > hi, > > My hosting provider just changed to using suPHP with safe mode, and this > is causing me some grief, since I am using a wikifarm. > > The problem I get is that with safe mode on, PHP doesn't want to let any > field (except one, of course) include the common (farm) p

[pmwiki-users] How can I change the group for many pages at once?

2007-08-19 Thread Peter Kay
Hello all, I have a bunch of pages (ok, about 12) that are all in the group BlogPages (that's right, I'm using SimpleBlog). I'd like to have some way to automagically move all 12 pages (or all pages in the BlogPages group, for that matter) into the OldBlogPages group (thus removing them from

Re: [pmwiki-users] Skin question: how can I tell what css pmwiki is using by default?

2007-08-04 Thread Peter Kay
Jon Haupt wrote: > On 8/3/07, *Peter Kay* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > >> $HTMLStylesFmt['pwiki'], ['diff'], etc. > >> > > > I believe this page provides the information you need. There is

Re: [pmwiki-users] Skin question: how can I tell what css pmwiki is using by default?

2007-08-03 Thread Peter Kay
DaveG wrote: >> $HTMLStylesFmt['pwiki'], ['diff'], etc. >> >> Is there some way I can see what pmwiki uses as a default for each of >> these?? These are all php variables...I'm not sure there's a way to >> display these in the wiki; am I wrong? > They all get rendered as CSS when you view the si

[pmwiki-users] Skin question: how can I tell what css pmwiki is using by default?

2007-08-03 Thread Peter Kay
I'm working on a new skin, and I've run into all these lovely things embedded in unexpected (by me anyway) places: $HTMLStylesFmt['pwiki'], ['diff'], etc. Is there some way I can see what pmwiki uses as a default for each of these?? These are all php variables...I'm not sure there's a way to

Re: [pmwiki-users] Questions for creating a recipe - what are all the cool functions?

2007-04-29 Thread Peter Kay
The Editor wrote: > On 4/29/07, Peter Kay <[EMAIL PROTECTED]> wrote: >> Hello everyone! We've got PmWiki, and, like so many others, I find I >> want to extend it. However, I'm a little fuzzy on where to start, and >> I'm hoping you here can give me some

[pmwiki-users] Questions for creating a recipe - what are all the cool functions?

2007-04-28 Thread Peter Kay
Hello everyone! We've got PmWiki, and, like so many others, I find I want to extend it. However, I'm a little fuzzy on where to start, and I'm hoping you here can give me some pointers. First, a brief description of what I'd like to do: I would like to modify the idea of the "Tabledit" to al