Re: [pmwiki-users] attachtable for PHP 5.5 ?

2014-12-16 Thread Hans Bracker
Wednesday, December 10, 2014, 1:38:06 AM, Petko wrote: $txt = PPRA( array( '/search1/' = 'replace1', '/search2/' = PCCF(replace2), '/search3/' = PCCF(replace3), ), PHSC($pg['text'], ENT_NOQUOTES) ); yes, that looks much better, and makes sense

[pmwiki-users] php5.5-ing my sites

2014-12-16 Thread Daniel
Hello, with this message I'd like to thank everyone who helped me with the preg_replace problem on my site. Two weeks ago I got a mail from Google-analytics alert that that visits on my sites had dropped to almost 0%. When I quickly surfed to my sites I saw the screen filled with error meassages,

[pmwiki-users] Random PTVs set with {(randk)} do not retain set values

2014-12-16 Thread ki...@kirpi.it
If I set a PTV to a random value with {(randk)}[1], say Random_string: {(randk 7)} I then would like that specific PTV to retain its value. Instead, {$:Random_string} gets every time a new random value. I am perhaps just misunderstanding the way PTVs are working; nonetheless I am

[pmwiki-users] image links

2014-12-16 Thread jdd
Hello, on a pmwiki page, I need a semi-static image gallery. I mùean that These images wont change often, I can manage changing links by han when necessary (no need for a gallery). I'm the only one with edit permissions here. U need to have all the images with the same height, by row of

[pmwiki-users] photo galleries examples

2014-12-16 Thread jdd
Hello, I need a small photo gallery in one pmwiki page. I will probably simple build it by hand, but I tried to look at the cookbooks I notice that nearly all if not all cookbook photo gallery example are broken :-( just in case some of the authors are here :-) thanks jdd

Re: [pmwiki-users] pmwiki on raspberry PI (performance optimizing...)

2014-12-16 Thread tamouse pontiki
Hi, Patrick, With my Rpi, I didn't even attempt to do apache, I went with lighttpd and fastcgi (nginx might be good here, too). The main concern I had ended up being the slower USB reads and writes which was much more apparent pressing the Rpi into use as a file server. I do have PmWiki humming

[pmwiki-users] pmwiki-based site is broken

2014-12-16 Thread Mark Lee
I cloned my pmwiki-based site from one host to another. My cloned site is working fine. The original site is broken. As I was modifying files for the new site, I think I accidentally saved a modified file to the orginal site. I don't know where to start trying to fix this. Can you tell what is

Re: [pmwiki-users] photo galleries examples

2014-12-16 Thread Hans Bracker
Friday, December 12, 2014, 11:47:25 AM,jdd wrote: I need a small photo gallery in one pmwiki page. I will probably simple build it by hand, but I tried to look at the cookbooks Mini is very nice! http://www.pmwiki.org/wiki/Cookbook/Mini creates thumb images automatically, and can

Re: [pmwiki-users] image links

2014-12-16 Thread Petko Yotov
On 2014-12-13 19:12, jdd wrote: || %height=100 %Attach:Main/gazelles-0004.jpg || Attach:Main/gazelles-0032.jpg || Attach:Main/gazelles-0033.jpg || that works. But the image is small and displaying the full image (by right clic of the browser) quits the page. I would like to have it open as an

Re: [pmwiki-users] Random PTVs set with {(randk)} do not retain set values

2014-12-16 Thread Petko Yotov
On 2014-12-14 01:20, ki...@kirpi.it wrote: If I set a PTV to a random value with {(randk)}[1], say Random_string: {(randk 7)} I then would like that specific PTV to retain its value. Instead, {$:Random_string} gets every time a new random value. I am perhaps just misunderstanding

Re: [pmwiki-users] Random PTVs set with {(randk)} do not retain set values

2014-12-16 Thread Randy Brown
You can use a page variable to do this. For example, in a configuration file: $RandomNum = mt_rand(1,100); $FmtPV['$RandomNum'] = '$RandomNum'; Then in markup use: {$RandomNum} Or if you must use a PTV, use: MyPTV: {$RandomNum} Randy {$:Random_string} ... I am trying to find a

Re: [pmwiki-users] photo galleries examples

2014-12-16 Thread Petko Yotov
On 2014-12-12 12:47, jdd wrote: I notice that nearly all if not all cookbook photo gallery example are broken :-( Which ones from the Gallery category are broken? http://www.pmwiki.org/wiki/Category/Gallery Petko ___ pmwiki-users mailing list

Re: [pmwiki-users] Random PTVs set with {(randk)} do not retain set values

2014-12-16 Thread Hans Bracker
Hello Luigi, sorry, got your pmwiki list message only now (something wrong with the list server I suppose) Sunday, December 14, 2014, 12:20:56 AM, you wrote: If I set a PTV to a random value with {(randk)}[1], say Random_string: {(randk 7)} I then would like that specific PTV to

Re: [pmwiki-users] Random PTVs set with {(randk)} do not retain set values

2014-12-16 Thread c...@endlessnow.com
Ptv like most things pmwiki will simply get evaluated like a macro. Which can be powerful for some things. Thus you never set a var to the value of a func. The value is the func in most cases. Sent on the new Sprint Network - Reply message - From: ki...@kirpi.it ki...@kirpi.it To:

Re: [pmwiki-users] pmwiki-based site is broken

2014-12-16 Thread Petko Yotov
I believe this was fixed in recent BlogIt versions; the part [_-\w] should probably be written [-_\w] So try with the latest BlogIt version. Petko On 2014-12-16 17:33, Mark Lee wrote: ERROR: pat=/(\[\[#blogit_(\w[_-\w]*)\]\](?: *\n)?)(.*?)(\[\[#blogit_\2end\]\])/s

Re: [pmwiki-users] photo galleries examples

2014-12-16 Thread marc-alexis morelle
Le 12/12/2014 12:47, jdd a écrit : I notice that nearly all if not all cookbook photo gallery example are broken :-( We use Mini in www.adiu.fr/photos Simple, powerfull, usefull... marc -- http://www.malexism.org/ ___ pmwiki-users mailing list

Re: [pmwiki-users] pmwiki-based site is broken

2014-12-16 Thread DaveG
On 12/16/2014 5:59 PM, Petko Yotov wrote: I believe this was fixed in recent BlogIt versions; the part [_-\w] should probably be written [-_\w] So try with the latest BlogIt version. Actually, I haven't released the fixed to a production release yet. Should be soon.

Re: [pmwiki-users] photo galleries examples

2014-12-16 Thread jdd
Le 16/12/2014 23:16, Petko Yotov a écrit : On 2014-12-12 12:47, jdd wrote: I notice that nearly all if not all cookbook photo gallery example are broken :-( Which ones from the Gallery category are broken? http://www.pmwiki.org/wiki/Category/Gallery this one is over

Re: [pmwiki-users] image links

2014-12-16 Thread jdd
Le 16/12/2014 23:20, Petko Yotov a écrit : On 2014-12-13 19:12, jdd wrote: || %height=100 %Attach:Main/gazelles-0004.jpg || Attach:Main/gazelles-0032.jpg || Attach:Main/gazelles-0033.jpg || that works. But the image is small and displaying the full image (by right clic of the browser) quits