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

2007-08-21 Thread ThomasP
On Wed, August 22, 2007 06:50, ThomasP wrote: > ... > > I would propose a rule like "not more than 100 login attempts per any 30 > days period from one IP", with both the limit and the duration adjustable. > (Even though the code for this would be slower I guess it is worth it.) > > Besides, I thin

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

2007-08-21 Thread ThomasP
Hello, On Mon, August 20, 2007 21:26, Thomas Bley wrote: > Code: > > // tb begin > function getSessionIpAgent() { >$ip = ""; >if (isset($_SERVER["REMOTE_ADDR"])) $ip .= $_SERVER["REMOTE_ADDR"]; >if (isset($_SERVER["HTTP_CLIENT_IP"])) $ip .= > $_SERVER["HTTP_CLIENT_IP"]; >if (isset(

Re: [pmwiki-users] question about headings

2007-08-21 Thread Chris Cox
Replacing first header on a page, inside your config.php: (off the top of my head) Markup('^!', 'block', '/^(!{1,6})\\s?(.*)$/e', "MyHeadings('$1','$2')"); $FirstHeaderDone=false; function MyHeadings($exclam, $headertext) { global $FirstHeaderDone; if (!$FirstHeaderDone) {

Re: [pmwiki-users] Page still blank in edit mode

2007-08-21 Thread Dawa
Oo, HtpasswdForm works !!! but another day, another problem ... :( - When I log in, guess what ? ... blank page - When I log in, I can't Log out, and guess what ?... blank page ! - for every ?action=foo, blank page after submit but edit don't ... I'm the blank page man, it's sur. - I tri

Re: [pmwiki-users] question about headings

2007-08-21 Thread Shi Sherebrin
[EMAIL PROTECTED] wrote: ... > Well, I did something like this in skin.tmpl: > > > > > > > {$SiteGroup}. PageBar goes like this: > > !!%apply=block id=page-title%{*$Title} > %p id=page-info%$[Filed in]: {*$FullName} · $[Modified on] : > {*$LastModifiedDate} ... > Is it somethi

Re: [pmwiki-users] question about headings

2007-08-21 Thread carlos . ab
Em Terça 21 Agosto 2007 19:09, Shi Sherebrin escreveu: > [EMAIL PROTECTED] wrote: > ... > > > I don't know if I got it right, but you can do this: > > > > --8X- > > %define=meclass padding-top=0 margin-top=0% > > > > !%apply=block class=meclass %Me-Fancy-Title > > --8X- > >

Re: [pmwiki-users] question about headings

2007-08-21 Thread Shi Sherebrin
[EMAIL PROTECTED] wrote: ... > I don't know if I got it right, but you can do this: > > --8X- > %define=meclass padding-top=0 margin-top=0% > > !%apply=block class=meclass %Me-Fancy-Title > --8X- my problem with this approach is that it requires me to actively add somet

Re: [pmwiki-users] question about headings

2007-08-21 Thread Shi Sherebrin
[EMAIL PROTECTED] wrote: ... > I don't know if I got it right, but you can do this: > > --8X- > %define=meclass padding-top=0 margin-top=0% > > !%apply=block class=meclass %Me-Fancy-Title > --8X- my problem with this approach is that it requires me to actively add somet

Re: [pmwiki-users] Yet another blogging thingie

2007-08-21 Thread Thomas -Balu- Walter
On Mon, Aug 20, 2007 at 01:41:48PM -0400, Andy Kaplan-Myrth wrote: > I'm writing to ask that any blog standard that develops *not* require > embedding creation date in the page names. The reason why I'm using dates in the pages is quite easy. Filtering pages for archive views (blosxom actually wa

Re: [pmwiki-users] Yet another blogging thingie

2007-08-21 Thread Thomas -Balu- Walter
On Mon, Aug 20, 2007 at 06:12:50PM +0200, Stéphane Heckel wrote: > > Use {=$LastModifiedBy} in the pagelist template (old version of the > > recipe) > > and {*$LastModifiedBy} in the page template. The variables look > > different because of their usage in pagelist and on the page. > > I have ad

Re: [pmwiki-users] question about headings

2007-08-21 Thread carlos . ab
Em Terça 21 Agosto 2007 15:33, Shi Sherebrin escreveu: > I'm trying to set up a style for my skin such that the first heading on > a page won't have any margin above it, but other headings will. I'd > like to stay away from :first-child selectors since they don't appear to > be supported in IE6.

Re: [pmwiki-users] lighttpd clean urls

2007-08-21 Thread marc
marc said... > Hi, > > I've been following the instructions to add clean urls to PmWiki running > on lighttpd from here: > > http://trac.lighttpd.net/trac/wiki/HowToRewriteForPMWiki > > which basically says add > > $HTTP["host"] == "wiki.domain.tld" { > index-file.names = ("pmwiki.

[pmwiki-users] question about headings

2007-08-21 Thread Shi Sherebrin
I'm trying to set up a style for my skin such that the first heading on a page won't have any margin above it, but other headings will. I'd like to stay away from :first-child selectors since they don't appear to be supported in IE6. I think I've found what I want in adjacent selectors (just

Re: [pmwiki-users] Page still blank in edit mode

2007-08-21 Thread Dawa
Thanks Peter for your débugging help ! It's a pleasure to see I'm not alone ! may be I'll stay on pmwiki ;) thanks again. -- cheers ___ D;) 2007/8/21, Peter K.H. Gragert <[EMAIL PROTECTED]>: > Maybe you have to use 'debugging'? > have a look http://pepe.cwsurf.de/NewHo

Re: [pmwiki-users] Page still blank in edit mode

2007-08-21 Thread Dawa
Hi Petko, 2007/8/20, Petko Yotov <[EMAIL PROTECTED]>: > Check the documentation of your hosting provider about "PHP sessions". On some > of them (for example Free.fr and Online.net) you need to create a > directory "/sessions" at the root of your website. Find it and read it, it > may be this sim

Re: [pmwiki-users] Page still blank in edit mode

2007-08-21 Thread Dawa
Hi Dominique, 2007/8/20, Dominique Faure <[EMAIL PROTECTED]>: > On 8/20/07, Dawa <[EMAIL PROTECTED]> wrote: > [...] > > I fed up with all this things ... I tired to waste my time > > AuthUser is too complicated, no easy form page. > > > > Is there a Simple User Management for pmwiki ??

[pmwiki-users] more on trying to run a farm using PHP safe_mode

2007-08-21 Thread Shi Sherebrin
ok, so a bit more digging has shown that at least two functions used in scripts/skins.php, namely isdir() and opendir() (and presumably many more down the road), are not allowed to run on folders or files with different UIDs, despite the fact that I have the parent folder specified in safe_mode

Re: [pmwiki-users] [[!Categories]] & CSS

2007-08-21 Thread Eemeli Aro
Category links all belong to the class "categorylink" so just add a definition for that in your CSS. If you don't have a separate CSS file, you can add the following to your local/config.php: $HTMLStylesFmt[] = " a.categorylink { font-size: smaller; } "; eemeli On 8/21/07, Stéphane Heckel <

[pmwiki-users] Triad skin Bug with lframe and italic text

2007-08-21 Thread Pierre Racine
Hi, I am facing a very interesting/strange/specific bug when there is italic text on the right of a lframed images in the Triad skin. When I resize the window, the image show/hide depending on where the italic text is located. I created a page that show the bug at: http://www.pmwiki.org/wiki/Cook

Re: [pmwiki-users] GroupHeader not working for certain user groups

2007-08-21 Thread Shi Sherebrin
David Bessler wrote: > ... > For some reason, the entire Emergency group is ignoring > Emergency/GroupHeader ... only for authorization groups other than Admin. > When I log in as admin, I see the correct GroupHeader, when I log in as > anyone else, I see the default skin are you using AuthUser?

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 atte

[pmwiki-users] Keep table indented inside UL

2007-08-21 Thread pmwiki
Hello, I'm new to PmWiki and am using PmWiki 2.1.27. I'm experimenting with table formatting markup and want to put a table inside an UL (unordered list). With simple text paragraphs I would do this: # begin PmWiki * List item 1 - paragraph 1 \\\ List item 1 - paragraph 2 # end PmWiki This

[pmwiki-users] [[!Categories]] & CSS

2007-08-21 Thread St�phane Heckel
Hello list, Can we change how the categories (used as tags) are displayed using a CSS (ie, smaller size) ? Thanks SH ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Yet another blogging thingie

2007-08-21 Thread St�phane Heckel
"Andy Kaplan-Myrth" wrote : > It's easy enough to add new blog entries, I guess, but it would be so > nice if pmwiki were compatible with a standard blog api that would let > other websites interact with it. Sure! back to the "new blog entries", it would be great to have one PmWiki-core "stan

[pmwiki-users] Problem with $enablepathinfo

2007-08-21 Thread Martin Kerz
Hi there, I have a severe problem with the enablepathinfo variable running 2.1 beta 63. When I switch it on, the wiki group gets added to $SkinDirUrl and all paths of pictures and uploads. Links work fine, though. e.g. The correct path for an image on my site would be: http://server.com/

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

2007-08-21 Thread Algardas
On Mon, 20 Aug 2007 18:43:48 -0400 Peter Kay <[EMAIL PROTECTED]> wrote: > 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 t

Re: [pmwiki-users] trying to get a pmwiki farm to work using PHP safe_mode

2007-08-21 Thread Algardas
On Tue, 21 Aug 2007 03:22:13 +0300 Shi Sherebrin <[EMAIL PROTECTED]> wrote: > However, when I try this I run into another problem, namely that pmwiki > can't find my site's skin. I had some similar problem due to a bug in how PmWiki handles the PubDirUrl variable, or smth. (don't remember the l

Re: [pmwiki-users] pmwiki-2.2.0-beta58 released (IMPORTANT UPGRADE NOTES)

2007-08-21 Thread Algardas
On Tue, 17 Jul 2007 16:53:56 -0500 "Patrick R. Michaud" <[EMAIL PROTECTED]> wrote: <...> > For sites that want to continue using pages in their > old locations, this can be done by simply setting the > following in local/config.php: > > $SiteAdminGroup = $Site; > > > Undoubtedly there will

Re: [pmwiki-users] Yet another blogging thingie

2007-08-21 Thread Andy Kaplan-Myrth
Steve Glover wrote: > On Mon, 2007-08-20 at 13:41 -0400, Andy Kaplan-Myrth wrote: >> The main thing I'm missing is a good RPC interface. I tried an XML/RPC >> script some time back but couldn't get it to work and gave up. If pmwiki >> were compatible with the wordpress api or the blogger api, the

Re: [pmwiki-users] Page still blank in edit mode

2007-08-21 Thread Peter K.H. Gragert
Maybe you have to use 'debugging'? have a look http://pepe.cwsurf.de/NewHome/pmwiki.php?n=PHP.Homepage How I try to understand and find errors. > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] [mailto:pmwiki-users- > [EMAIL PROTECTED] Namens Dawa > Verzonden: maandag 20 augustus 2007

Re: [pmwiki-users] GroupHeader not working for certain user groups

2007-08-21 Thread Eemeli Aro
On 8/21/07, David Bessler <[EMAIL PROTECTED]> wrote: > For some reason, the entire Emergency group is ignoring > Emergency/GroupHeader ... only for authorization groups other than Admin. > When I log in as admin, I see the correct GroupHeader, when I log in as > anyone else, I see the default skin

Re: [pmwiki-users] Yet another blogging thingie

2007-08-21 Thread Steve Glover
On Mon, 2007-08-20 at 13:41 -0400, Andy Kaplan-Myrth wrote: > I'm writing to ask that any blog standard that develops *not* require > embedding creation date in the page names. This is where I'd really like there to be more than one standard > When I started out, I used one of the blogging

[pmwiki-users] Store variables on a wiki page from cookbook scripts

2007-08-21 Thread Sebastian Siedentopf
I didn't follow the PmWiki development in the last few months and I'm trying to catch up: beside PageTextVars to store variables from the web interface, does an official way exist to store variables from a php/cookbook script with a particular wiki page which are not visible in the page tex

[pmwiki-users] GroupHeader not working for certain user groups

2007-08-21 Thread David Bessler
I have two groups: Radiology and Emergency I am using the SkinAlternative recipe to "skin" my site from within the wiki I have one skin set up in Radiology/GroupHeader and that works fine for admin and specific users granted access to that group. For some reason, the entire Emergency group is ig