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

2017-04-18 Thread Peter Bowers
On Sun, Apr 16, 2017 at 12:21 PM, Petko Yotov <5...@5ko.fr> wrote: > I don't use Windows but I wonder why a path like "wiki.d/D:\path\file.txt" > is considered external to wiki.d or even possible. Probably this has already been communicated and I just missed it, but just to be clear...

Re: [pmwiki-users] quoted text markup

2016-09-24 Thread Peter Bowers
On Sat, Sep 24, 2016 at 9:48 AM, Hans wrote: > 'this is not marked and shows single quotes.' > "this is not marked and shows double quotes." > ''this is marked as emphasised with em tags.'' > ""this is marked with (left and right) quotes with q tags"" > Semantically

Re: [pmwiki-users] quoted text markup

2016-09-22 Thread Peter Bowers
On Thu, Sep 22, 2016 at 6:15 AM, H. Fox wrote: > Example Company says {"Always properly quote > examples.|http://example.com/Main/Quoting"} > > would produce > >Example Company says cite="http://example.com/Main/Quoting;>Always properly quote > examples. >

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

2016-09-02 Thread Peter Bowers
On Thu, Sep 1, 2016 at 10:29 PM, Alexander Cherry wrote: > As it is written, it is giving that preg_replace_callback error and a > diagnostic (action ruleset) gave me this: > > toc >nl1 B>><>> ! file: /home/public/confessional/cookbook/slimtoc.php, > line: 167, pat:

Re: [pmwiki-users] UserAdmin

2016-08-22 Thread Peter Bowers
On Sun, Aug 21, 2016 at 12:30 AM, wrote: > I tried your useradmincore: > > http://testpmjv.free.fr/index.php5?n=Main.HomePage?action=user > Parse error: syntax error, unexpected '[' in > /mnt/100/sda/1/8/testpmjv/cookbook/useradmin-core.php > on line 1206 >

Re: [pmwiki-users] UserAdmin

2016-08-19 Thread Peter Bowers
On Thu, Aug 18, 2016 at 3:27 PM, wrote: > > Warning: Creating default object from empty value in > /var/www/sda/1/8/testpmjv/local/config.php on line 36 > PHP Version 5.6.8 > > What do you have at line 36 in your config.php? > Deprecated: preg_replace(): The /e

Re: [pmwiki-users] (no subject)

2016-06-04 Thread Peter Bowers
On Fri, Jun 3, 2016 at 6:18 AM, Carlos AB wrote: > The rules are as follow: > > > Markup_e('keeptagto',' > Markup_e('rtrvtagto','><:','/(.*)/s',"RtrvTagto(\$m[1])"); > > But I still get the <:vspace>

Re: [pmwiki-users] conditional markup

2016-06-01 Thread Peter Bowers
On Wed, Jun 1, 2016 at 4:09 AM, Simon wrote: > Is there any way to query if a page has (is in) a category http://www.pmwiki.org/wiki/Cookbook/ConditionalMarkupSamples#link -Peter ___ pmwiki-users mailing list

Re: [pmwiki-users] UserAdmin cookbook

2016-02-21 Thread Peter Bowers
On Fri, Feb 19, 2016 at 6:31 AM, wrote: > 3. In the "Cookbook.UserAdminTemplates" template you missed out the e-mail > filed. Therefore, the form that is currently defined cannot be used. This > caused me some disturbance. I took a quick look at the various templates

Re: [pmwiki-users] UserAdmin cookbook

2016-02-18 Thread Peter Bowers
On Tue, Feb 16, 2016 at 10:02 PM, Alex wrote: > I found some issues that I would like to share: > - I do not understand how the recipe is activated. I am using > useradmin-authuser.php > > I modified useradmin-core.php to echo debug message upon activation: >

Re: [pmwiki-users] Unable to edit any page - edit page appears instead of save

2016-01-17 Thread Peter Bowers
On Sat, Jan 16, 2016 at 8:44 AM, Alex wrote: > I am unable to edit pages. Make sure you have tried editing *from* different computers and different browsers. I had a similar problem that turned out to be Chrome acting up. When I switched to another computer or another

Re: [pmwiki-users] How to be sure pageindex is being used for pagelists (using debug messages ?)

2016-01-10 Thread Peter Bowers
Are you seeing this performance on all pages or only those with pagelists? Be aware that some pagelist search requirements require an exhaustive search through files rather than using the pageindex (searching for the value of a PTV, for instance). -Peter On Sat, Jan 9, 2016 at 4:57 PM, ABClf

Re: [pmwiki-users] Category.Categories ?

2015-11-23 Thread Peter Bowers
On Mon, Nov 23, 2015 at 10:20 AM, Peter Bowers <pbow...@pobox.com> wrote: > Hmmm... Even after I do this I find that MakePageName() is forcing the > pagename to be GroupTest.GroupTest instead of GroupTest.Xyz. Shouldn't it > be paying attention to the $DefaultName? I find this

Re: [pmwiki-users] Category.Categories ?

2015-11-23 Thread Peter Bowers
On Sun, Nov 22, 2015 at 6:55 PM, Donald Z. Osborn wrote: > Experimenting with categories, and seems to be going well, but wanted to > set the default page as Category.Categories rather than Category.Category > or Category.HomePage. Did a group config file Category.php

Re: [pmwiki-users] Category.Categories ?

2015-11-23 Thread Peter Bowers
On Mon, Nov 23, 2015 at 6:19 PM, Donald Z. Osborn wrote: > In the meantime, I tried creating the Category.Categories page that was > called for in the group config, and now it defaults there. From a layman's > point of view, seems like I primed it in the group config, then

Re: [pmwiki-users] "The /e modifier is deprecated..."

2015-11-06 Thread Peter Bowers
On Tue, Nov 3, 2015 at 9:08 PM, Michael Benjamin wrote: > As the page indicates, a work-around would be to add the below line in > pmwiki.php > > error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); > But in the long run you want to find out which recipe is causing the problem

Re: [pmwiki-users] Progress, new issue

2015-11-06 Thread Peter Bowers
On Wed, Nov 4, 2015 at 1:21 AM, wrote: > now I can’t edit the new pages aside from when I was creating them new- > can only edit new pages, not existing ones, as there’s no ‘edit’ link in > the page somehow. I also lost my ‘edit sidebar’ link at the bottom [2]. It

[pmwiki-users] displaying images from google photo

2015-10-27 Thread Peter Bowers
When I get a link from Google Photos (photos.google.com) it does not have an appropriate extension to tell pmwiki that it is an image and thus does not display the image. Is there a way to display an image that is hosted on Google Photos? -Peter ___

Re: [pmwiki-users] PageList vs WikiForm for multi-line variables

2015-10-05 Thread Peter Bowers
On Mon, Oct 5, 2015 at 5:32 PM, Thierry wrote: > Now, another problem appears, i write something depending on whether the > "Abstract" field is empty or not, so i have some condition such as > > (:if ! equal "" "{=$:Abstract}":) > > It seems that the condition can not be

Re: [pmwiki-users] PageList vs WikiForm for multi-line variables

2015-10-05 Thread Peter Bowers
On Sat, Oct 3, 2015 at 9:06 PM, Thierry wrote: > My question is: how to let PageList understand that the content of the > "Abstract" field is all the lines that appear between ":Abstract:" and the > definition of the next variable in the page ? > Currently

Re: [pmwiki-users] PageList vs WikiForm for multi-line variables

2015-10-05 Thread Peter Bowers
On Mon, Oct 5, 2015 at 10:44 AM, Peter Bowers <pbow...@pobox.com> wrote: > You could extend this specifically for a variable named "Abstract" as > follows: > > $PageTextVarPatterns['abstract'] = '/^(:*\\s*(Abstract)\\s*:[ > \\t]?)(.*?)(\\n(?::*\\s*(?:\\w[-\\w]*)\\

Re: [pmwiki-users] Notes from the useradmin talk page.

2015-09-15 Thread Peter Bowers
Apologies for the delay - I've been traveling. On Fri, Sep 11, 2015 at 12:29 AM, erik burggraaf wrote: > First, where are the instructions for adding groups in useradmin Dbase? I > did not see them in the configuration section of the recipe page, but I see > from the

Re: [pmwiki-users] question about include

2015-06-23 Thread Peter Bowers
On Tue, Jun 23, 2015 at 3:55 PM, Peter Schwegler peterschweg...@quicknet.nl wrote: Is there a way to combine the include-action with a pagelist, in order to display the contents of several pages instead of just a list of the page names? As per http://www.pmwiki.org/wiki/PmWiki/PageLists

Re: [pmwiki-users] Help! The /E modifier is deprecated

2015-06-10 Thread Peter Bowers
The version number (as reported in SiteAdmin.Status) actually comes from scripts/Version.php so it is possible that pmwiki.php was not updated - at least it's worth confirming. Then comment out any and all recipes (the include_once(...) line) from farmconfig.php and config.php and see if the

Re: [pmwiki-users] preg_replace() and Flash (swf-sites.php)

2015-06-05 Thread Peter Bowers
On Tue, Jun 2, 2015 at 1:17 PM, David Pilling pmw...@pilling.demon.co.uk wrote: On 01/06/2015 15:21, Daniel wrote: I have been trying to convert 'swf-sites.php' from Deprecated: preg_replace(): The /e modifier is deprecated, use I've just been through our Pacific Bulb Society wiki and

[pmwiki-users] using arrays in input markup

2015-05-14 Thread Peter Bowers
I am wanting to use arrays in input markup like this: ===(snip)=== (:input form method=get:) (:input default request=1:) Colors: (:input checkbox color[] value=red:) Red (:input checkbox color[] value=blue:) Blue (:input checkbox color[] value=green:) Green (:input submit:) (:input end:)

Re: [pmwiki-users] How can i change my Skin for different Groups/Pages?

2015-05-08 Thread Peter Bowers
On Fri, May 8, 2015 at 3:43 PM, Petko Yotov 5...@5ko.fr wrote: Is the information in the documentation relevent? http://www.pmwiki.org/wiki/PmWiki/GroupCustomizations I haven't used or reviewed the Hg recipe but in case it does something differently, I'd also check its documentation page.

Re: [pmwiki-users] UserAdmin, where does the main menu appear by default?

2015-05-07 Thread Peter Bowers
On Thu, May 7, 2015 at 4:49 PM, erik burggraaf burggraafe...@gmail.com wrote: ?action=user does not show me the user options. Do the user options appear in the sidebar, alongside edit, print, recent changes and the like? I have this hidden for users who ar not logged in. So could this be

Re: [pmwiki-users] Installing UserAdmin

2015-05-03 Thread Peter Bowers
On Sat, May 2, 2015 at 2:25 AM, erik burggraaf burggraafe...@gmail.com wrote: I downloaded the Main menu template from useradmin templates and got that up and working. In the main menu template, the login link works, because we have an action set up for login. But the new user page doesn't

[pmwiki-users] UserAdmin release, testers needed

2015-04-29 Thread Peter Bowers
After a hiatus of more than 4 years, UserAdmin has been updated. http://www.pmwiki.org/wiki/Cookbook/UserAdmin This recipe offers the capability of users auto-registering and editing their own information (password reset, etc.). It also includes the capability of storing additional data fields

Re: [pmwiki-users] Html5Extensions not working with php5.5

2015-04-26 Thread Peter Bowers
On Sat, Apr 25, 2015 at 4:36 AM, Chuck Goldstein cgpm...@codingmaniac.com wrote: In function HTML5Block, try replacing: $attr = preg_replace(/^\\s*([\\w]+)\\s?/,id='$1',$attr); with: $attr = preg_replace(/^\\s*([\\w]+)(\\s|$)/,id='$1'$2,$attr); Or, more likely, replace it with:

Re: [pmwiki-users] IP change

2015-04-05 Thread Peter Bowers
On Fri, Apr 3, 2015 at 8:02 PM, Jont Allen jonta...@illinois.edu wrote: It was necessary that I change the URL (and IP address) of my wiki. Now all the references seem to point at the old URL. For example, each of the files in /www/wiki/wiki.d/ such as /www/wiki/wiki.d/Main.HomePage Is

Re: [pmwiki-users] if exists conditional markup problem

2015-04-02 Thread Peter Bowers
Try turning on diagnostics and then loading with ?action=ruleset. Confirm that the rule '{$Var}' occurs before the rule 'if'. Confirm that the rule '{(' occurs before '{$Var}' -- oops! I just checked it on my own system and '{$Var}' occurs before '{('. This will mean that the

[pmwiki-users] mobile

2015-03-20 Thread Peter Bowers
I got an email from google telling me my web-site wasn't up to snuff regarding mobile users. Here was their analysis: [image: Inline image 1] I've tried the default skin and triad and neither solves the issues. Is this something in pmwiki or in my configuration? -Peter

Re: [pmwiki-users] facebook, twitter, and other social feeds?

2015-02-10 Thread Peter Bowers
I did a quick search for facebook and twitter and added the !SocialNetworking category to a few relevant recipes. But you are right - looks like slim pickins... -Peter On Tue, Feb 10, 2015 at 1:01 AM, erik burggraaf burggraafe...@gmail.com wrote: Hi all, Has anyone successfully added social

Re: [pmwiki-users] Trouble with .pageindex when too much _new_ data to index (+ sqlite)

2015-02-06 Thread Peter Bowers
On Fri, Feb 6, 2015 at 12:31 PM, ABClf languefranca...@gmail.com wrote: @Peter : do you have a code to share I could try for saving .pageindex in a sqlite database, using your reindex script ? (http://www.pmwiki.org/wiki/PmWiki/SearchImprovements December 26, 2010) Unfortunately my laptop

Re: [pmwiki-users] Trouble with .pageindex when too much _new_ data to index (+ sqlite)

2015-01-31 Thread Peter Bowers
scratch +if (! file_exists($ReindexFile)) { // no .pageindex - start from scratch echo DEBUG: Abr /\n; $pagelist = $WikiDir-ls(); sort($pagelist); Chuck G. On Thu, 29 Jan 2015 08:38:53 -0600, Peter Bowers pbow...@pobox.com wrote: On Thu, Jan 29, 2015 at 3:29 PM, ABClf

Re: [pmwiki-users] Trouble with .pageindex when too much _new_ data to index (+ sqlite)

2015-01-31 Thread Peter Bowers
On Thu, Jan 29, 2015 at 3:29 PM, ABClf languefranca...@gmail.com wrote: Great job Peter. I have had to run the script 5 times. ... 5: DEBUG: B DEBUG: count=0 Indexing complete. Deleting wiki.d/.reindex Warning: unlink(wiki.d/.reindex): Permission denied in

Re: [pmwiki-users] Trouble with .pageindex when too much _new_ data to index (+ sqlite)

2015-01-29 Thread Peter Bowers
On Wed, Jan 28, 2015 at 10:10 PM, ABClf languefranca...@gmail.com wrote: Is there something to do with the native search engine to avoid it failing each time amount of new data is too big ? Try reindexing by multiple re-loads of the page Site.Reindex using the following as the contents of

Re: [pmwiki-users] Trouble with .pageindex when too much _new_ data to index (+ sqlite)

2015-01-29 Thread Peter Bowers
On Thu, Jan 29, 2015 at 3:29 PM, ABClf languefranca...@gmail.com wrote: Warning: unlink(wiki.d/.reindex): Permission denied in D:\xampp3\htdocs\abclf\local\Site.Reindex.php on line 52 I would be grateful for any hints related to this problem (above). I create the file and run fixperms() on

Re: [pmwiki-users] Trouble with .pageindex when too much _new_ data to index (+ sqlite)

2015-01-29 Thread Peter Bowers
On Thu, Jan 29, 2015 at 2:36 PM, ABClf languefranca...@gmail.com wrote: Script saved in local/Site.Reindex.php set_time_limit is set to native setting ; I ran Site.Reindex one time : no fatal error at the end, message at the top is DEBUG: A DEBUG: count=166588 In wiki.d, .pageindex is

Re: [pmwiki-users] HG ViewPDF problem

2015-01-29 Thread Peter Bowers
On Thu, Jan 29, 2015 at 4:29 PM, 123_d...@web.de wrote: Just the ViewPDF didn't work. I can set a Hard coded Path, but when i change my Location, i have to change always the Path. The maintainer is Peter Bowers! Can you Help me please. Apologies - I haven't looked at this in 5 years

Re: [pmwiki-users] help with the ical export recipe please?

2015-01-24 Thread Peter Bowers
I don't use this recipe, but I'll give some generic ideas/hints. See below On Sun, Jan 11, 2015 at 6:43 PM, erik burggraaf burggraafe...@gmail.com wrote: In config.php on the line above the include for my calendar I have the following include: include_once($FarmD/cookbook/icalexport.php); I

Re: [pmwiki-users] Multiple contacts in mailform 4?

2015-01-21 Thread Peter Bowers
A quick glance through the code leads me to believe this type of functionality is not supported by mailform4 out of the box. (Apologies if I'm missing something) It would not be difficult to add if you can do some PHP coding. Set up your radio buttons in the form as per instructions in

Re: [pmwiki-users] 9th Braid (George Watson's College) Scout Group

2015-01-07 Thread Peter Bowers
On Wed, Jan 7, 2015 at 3:12 PM, Mike and Beryl Masson michael_mas...@yahoo.com wrote: the code www.flickr.com/search/?w=96679687@N02q=Gray will bring up all photographs in our archive which have been indexed with a reference to the name Gray. How can I set up a box where anyone can enter

Re: [pmwiki-users] preg_replace (RFC)

2014-12-05 Thread Peter Bowers
On Thu, Dec 4, 2014 at 9:55 AM, Hans Bracker des...@softflow.co.uk wrote: Could PmWiki be more specific to identify in which function call and script offending regular expressions reside? What if pmwiki was distributed with 2 copies of pmwiki.php -- one the standard production version and

Re: [pmwiki-users] preg_replace (RFC)

2014-12-05 Thread Peter Bowers
On Thu, Dec 4, 2014 at 9:55 AM, Hans Bracker des...@softflow.co.uk wrote: Could PmWiki be more specific to identify in which function call and script offending regular expressions reside? It occurs to me that the stopwatch() function could be modified to respond to a variable

Re: [pmwiki-users] preg_replace (RFC)

2014-12-05 Thread Peter Bowers
On Fri, Dec 5, 2014 at 10:33 PM, Patrick R. Michaud pmich...@pobox.com wrote: page. The pmwiki-debug.php version could do various things to help debug: From a maintainer's point of view, this is a real pain, because you have to do extra work to keep the two copies in sync. The standard

Re: [pmwiki-users] uploads failed

2014-11-17 Thread Peter Bowers
It's hard to know without seeing your configuration, but did you check out this page: http://www.pmwiki.org/wiki/PmWiki/UploadsAdmin Uploads are disabled by default and must be enabled as documented on that page. -Peter On Mon, Nov 17, 2014 at 9:52 PM, Brad Cassidy rave...@uniserve.com wrote:

Re: [pmwiki-users] Feature I want, multi-select PTVs l like page includes

2014-10-06 Thread Peter Bowers
On Thu, Oct 2, 2014 at 7:18 PM, c...@endlessnow.com wrote: I'd love to see a standard markup for PTV inclusion with something similar, either based on existence of the PTV for a page (where multiple pages could be specified) and optional maybe if the PTV has a value (but I can live without

Re: [pmwiki-users] Users Groups

2014-07-31 Thread Peter Bowers
On Thu, Jul 31, 2014 at 5:27 AM, Steve Fletcher fletch...@outlook.com wrote: Hi, Another newbie question. I have read lots, but am still grappling to work out how to get it to work. I can create users # alice: (:encrypt wonderland:) within the config.php file No, you're confusing

Re: [pmwiki-users] translation table using a variable

2014-07-02 Thread Peter Bowers
On Fri, Jun 27, 2014 at 10:44 AM, li...@basel-inside.ch wrote: I didn't find out until the moment, whether it's logic oder a bug $[lang_bas_str] doesn't seem to accept a function or ariable. I ase a workarround now - I use a comparison and a litteral/constant to translate. (:if equal

Re: [pmwiki-users] PmWiki standard AuthUser

2014-07-02 Thread Peter Bowers
On Wed, Jul 2, 2014 at 3:56 PM, Crisses cris...@kinhost.org wrote: Right now, an admin has to change passwords in AuthUser. Some people don't want to tell the admin their password. Check out http://www.pmwiki.org/wiki/Cookbook/UserAdmin -- despite numerous red cautionary comments I believe

Re: [pmwiki-users] session problems

2014-04-22 Thread Peter Bowers
On Sat, Apr 12, 2014 at 11:32 AM, Petko Yotov 5...@5ko.fr wrote: Other than that, apply the usual bug-hunting strategy: disable all customizations (simply rename config.php and create a clean clear one) then progressively add AuthUser, then all other recipes, and every time test the wiki,

[pmwiki-users] session problems

2014-04-11 Thread Peter Bowers
On www.qdk.org... with Chrome I cannot use the admin password to edit. With Firefox and IE I can use the admin password without any difficulty. This seems to indicate a problem in browser config, but on other pmwiki sites I am able to log in with Chrome without difficulty. So that makes me

Re: [pmwiki-users] $MetaRobots?

2014-04-05 Thread Peter Bowers
On Sat, Apr 5, 2014 at 5:10 AM, Matthew Wayne Selznick mwselzn...@gmail.com wrote: (Sure wish the mailing list archives were searchable..!) Please see this page: http://www.pmwiki.org/wiki/PmWiki/MailingLists Note that the gmane and the mail-archive sites are searchable for both

Re: [pmwiki-users] attachexists

2014-03-28 Thread Peter Bowers
I don't think it has anything to do with the mini recipe, but neither is it built in -- it has code at the bottom that has to be put into the config.php to make it work. It probably ought to be re-formatted into a more standard presentation of a recipe. Right now it just jumps straight into a

Re: [pmwiki-users] page text variable in Group/GroupHeader

2014-03-21 Thread Peter Bowers
On Fri, Mar 21, 2014 at 2:39 PM, li...@basel-inside.ch wrote: Is a PageTextVariable not assignable in a GroupHeader? (pmwiki-2.2.52) The function PageTextVar() simply reads the simple text of the page and searches for the patterns held in $PageTextVarPatterns within that text. Group headers

Re: [pmwiki-users] Skin not rendering properly

2014-03-01 Thread Peter Bowers
On Sat, Mar 1, 2014 at 10:48 PM, Arslan Munir munir.ars...@yahoo.comwrote: I am trying to put my photo (.jpg) as logo but it does not appear either given that I have mentioned the path of my photo in the pmwiki folder On the skittlish page (http://www.pmwiki.org/wiki/Skins/Skittlish) a

Re: [pmwiki-users] New Cookbook category for recipes that don't require server access

2014-02-14 Thread Peter Bowers
On Fri, Feb 14, 2014 at 7:53 PM, StefCT stef...@gmail.com wrote: And how could such a category be named? NoServerInstall? How about PlainVanilla? Or just Vanilla? Then on the main category page it would need a bit of explanation... http://www.investopedia.com/terms/p/plainvanilla.asp

Re: [pmwiki-users] selling pmwiki to high school students

2014-02-05 Thread Peter Bowers
My appreciation to all of you who wrote in with your thoughts. I think my students have a much better idea of the relative advantages and disadvantages of each platform and (hopefully) have been reminded of the importance of doing an effective needs analysis prior to making such a decision.

[pmwiki-users] selling pmwiki to high school students

2014-02-01 Thread Peter Bowers
I am teaching a high school class in computers and our most recent project was creating a site in WordPress and in PMWiki. At the end my students were not overly enamored with the setup and configuration of pmwiki and wanted to know why they would ever use that over WordPress. I gave several

Re: [pmwiki-users] Category nesting question

2014-01-17 Thread Peter Bowers
On Fri, Jan 17, 2014 at 4:44 AM, Chris Lott ch...@chrislott.org wrote: What I want to add is have [[!Eggs]] as a nested category so, ultimately, the users can look at Eggs in Breakfasts or Eggs in Appetizers (and, ideally, all Eggs recipes). How do I go about setting this up? Unfortunately

Re: [pmwiki-users] (:if construction

2014-01-15 Thread Peter Bowers
On Wed, Jan 15, 2014 at 4:32 AM, Jont Allen jonta...@illinois.edu wrote: Next I added the following construction to the default home page: (:if enabled AuthId:) body text (:ifend:) I then logged in as admin: ...?action=admin The login appeared to be successful. 1) How do you know if

[pmwiki-users] rotated pictures displaying original

2013-12-10 Thread Peter Bowers
I have a picture I took in portrait rather than landscape on my camera. I resized it using Image Resizer Powertoy Clone. I then rotated it using the built-in win8 on right-click in explorer. It displays rotated on my computer, but when I upload it to pmwiki and display it using Attach:foo.jpg

Re: [pmwiki-users] rotated pictures displaying original

2013-12-10 Thread Peter Bowers
On Tue, Dec 10, 2013 at 1:24 PM, Dominique Faure dominique.fa...@gmail.comwrote: It displays rotated on my computer, but when I upload it to pmwiki and display it using Attach:foo.jpg markup (I also tried with Galleria) it displays the original rotation as if I had never rotated it. The

Re: [pmwiki-users] syncing pmwiki with local installation (OSX)

2013-11-30 Thread Peter Bowers
On Tue, Nov 19, 2013 at 4:28 PM, Dieter Wirz didi.w...@gmail.com wrote: ... The main problem are most probably the owner rights of the files, that are changed if you do it this way, and finally you will end up in a mess, because the files created by the webserver belong to the webserver - eg

Re: [pmwiki-users] syncing pmwiki with local installation (OSX)

2013-11-19 Thread Peter Bowers
On Sun, Nov 17, 2013 at 3:49 PM, Chris Lott ch...@chrislott.org wrote: I'd like to have a two-way sync between a local installation of pmwiki on my Macbook and my real wiki. I'd prefer to sync the whole wiki, not just a group. I don't use mac, so take this with a grain of salt, but a quick

Re: [pmwiki-users] Help with form

2013-10-02 Thread Peter Bowers
On Wed, Oct 2, 2013 at 3:30 PM, Ian MacGregor ardchoill...@me.com wrote: The reason behind my request is that I'd like to learn how to do this myself using as few recipes as possible - I don't learn much with recipes. If I need a specialized form later I'd like to be able to code it out.

Re: [pmwiki-users] help wanted for broken installation

2013-09-21 Thread Peter Bowers
It seems that either the current default home page (Main.HomePage) was deleted or else it used to have a different default home page (set by $DefaultGroup and $DefaultPage in config.php). Also it looks like you've lost your left-bar (Site.SideBar) or perhaps the site used to have a different skin

Re: [pmwiki-users] RFC: Deleting pages from the core documentation

2013-09-09 Thread Peter Bowers
On Sun, Sep 8, 2013 at 8:40 AM, Petko Yotov 5...@5ko.fr wrote: It is not only about old links working, it is also about leaving unused pages with obsolete content on a wiki which upgraded to the latest version. It would seem this problem (obsolete content) could be solved by simply mentioning

Re: [pmwiki-users] Set PTV to value of an expression

2013-07-27 Thread Peter Bowers
On Fri, Jul 26, 2013 at 12:31 AM, Lars Eighner surn...@larseighner.comwrote: I want to set a PTV to the value of an expression which is evaluated once when the PTV is set and is never evaluated again so that the PTV has the value of the result string, not the expression string.

Re: [pmwiki-users] listing non-PMWiki files with wikish

2013-07-11 Thread Peter Bowers
On Mon, Jul 8, 2013 at 2:02 PM, Tamara Temple tamouse.li...@gmail.comwrote: On Jul 8, 2013, at 10:47 AM, Mark Lee mark.lee@gmail.com wrote: I created a folder called images in same path as pmwiki.php (i.e. when I list out the folders with my ftp tool, I see folders for the images folder as

Re: [pmwiki-users] wikish checking if user logged in

2013-07-04 Thread Peter Bowers
On Sat, Jun 29, 2013 at 10:56 AM, Mark Lee mark.lee@gmail.com wrote: I found this to work the way I wanted: if test -n $AuthId then wikish code goes here and executes only if logged in. fi What you've come up with here is a good solution. You can also use pmwiki

Re: [pmwiki-users] wikish checking if user logged in

2013-06-29 Thread Peter Bowers
It's not a different version but rather a different way of installing it - a different configuration. Apparently you have installed it in such a way that it is limited to only administrators using it. If you will go to this page: http://www.pmwiki.org/wiki/Cookbook/WikiShConfig you will see 6

[pmwiki-users] Fwd: Pagelist sorting by by page text variables

2013-06-28 Thread Peter Bowers
I neglected to reply-to-all when I replied to Simon's email... See below. -Peter -- Forwarded message -- From: Peter Bowers pbow...@pobox.com Date: Thu, Jun 27, 2013 at 10:48 PM Subject: Re: [pmwiki-users] Pagelist sorting by by page text variables To: Simon nzsk...@gmail.com

Re: [pmwiki-users] can wikish read a textbox?

2013-06-27 Thread Peter Bowers
Any variable in $_REQUEST is available via ${!var} syntax. You can also use (:wikish_form ... PROCESS:) to load the same variables into straight ${var} variables. -Peter On Wed, Jun 26, 2013 at 3:07 PM, Mark Lee mark.lee@gmail.com wrote: I am experimenting with wikish_button. I am

Re: [pmwiki-users] Pagelist sorting by by page text variables

2013-06-27 Thread Peter Bowers
On Thu, Jun 27, 2013 at 6:18 AM, Simon nzsk...@gmail.com wrote: I'm having trouble understanding why a pagelist I have written won't come out in order by page text variable order=-$:MonthNum You've defined your PTV using a markup expression as below: (:MonthNum:{(ftime fmt=%m

Re: [pmwiki-users] request for form example

2013-06-19 Thread Peter Bowers
On Wed, Jun 19, 2013 at 8:45 AM, Mark Lee mark.lee@gmail.com wrote: Can someone please make a simple example showing these features: 1. Set a form variable using a text box with submit button. The prompt next to the box says something like Enter a number between 1 and 10. 2. After the

Re: [pmwiki-users] wikish example please

2013-05-30 Thread Peter Bowers
On Wed, May 29, 2013 at 11:06 PM, Mark Lee mark.lee@gmail.com wrote: Although it might be easier to just log data to a temporary file, I think I will try the ${a-${i}} method for arrays with wikish. Can you send me example code that will parse a line like the following, and store x and y

Re: [pmwiki-users] Dissapering attachments

2013-05-30 Thread Peter Bowers
On Thu, May 30, 2013 at 12:21 PM, Jan Martinsson jan.martins...@chalmers.se wrote: A few weeks ago 400-500 of the attachments in our wiki disappeared, a short investigation showed that some of the files seems to be deleted from the wiki (leaving the file in the upload folder but with

Re: [pmwiki-users] wikish example please

2013-05-29 Thread Peter Bowers
On Tue, May 28, 2013 at 9:32 PM, Mark Lee mark.lee@gmail.com wrote: I am new to wikish. Is it possible to do the following with wikish? A subset of pages in a group have this markup on the page. (:location x=1 y=2:) (:location x=10 y=10:) (:location x=20 y=5) etc... 1. What is the

Re: [pmwiki-users] wikish example please

2013-05-29 Thread Peter Bowers
that can be done with functions in wikish? -Mark On Tue, May 28, 2013 at 11:39 PM, Mark Lee mark.lee@gmail.com wrote: Thank you Peter! Amazing. That example is so helpful. I'm glad I found pmwiki. -Mark On Tue, May 28, 2013 at 11:14 PM, Peter Bowers pbow...@pobox.com wrote: On Tue

Re: [pmwiki-users] use pagelist results in function

2013-05-26 Thread Peter Bowers
As I recall getting it to work from a script context (as opposed to a markup context) was a bit of a bear. Check out Hans' powertools to see a working example in a script context. It will save you a lot of hassle... -Peter On Sun, May 26, 2013 at 4:38 PM, Mark Lee mark.lee@gmail.com wrote:

Re: [pmwiki-users] relative position style

2013-05-13 Thread Peter Bowers
On Fri, May 10, 2013 at 11:31 PM, Mark Lee mark.lee@gmail.com wrote: The next thing I want to do is add this feature to my skin. I have already played around with my skin.tmpl file, but I am not sure how to do this conditional markup. Specifically: 1. If the page is in the Plant

Re: [pmwiki-users] relative position style

2013-05-09 Thread Peter Bowers
On Thu, May 9, 2013 at 2:26 AM, Mark Lee mark.lee@gmail.com wrote: Thanks Peter. So helpful. I have been reading about regular expressions. I am wondering why we need \\ in the pattern '/\\(:plant\\s*(.*?):\\)/e'? I know that \( means the ( character, but what does \\( mean? The extra \

Re: [pmwiki-users] relative position style

2013-05-08 Thread Peter Bowers
On Wed, May 8, 2013 at 4:23 PM, Mark Lee mark.lee@gmail.com wrote: The X and Y position of the plant on the map is contained on the page. Lets say a tree is located at map coordinates 100,250. I was thinking to use the markup (:xposition 100:) (:yposition 250). I could then use this

Re: [pmwiki-users] 4+ links on page preventing saving

2013-02-16 Thread Peter Bowers
On Fri, Feb 15, 2013 at 7:57 AM, Kyle Newton kdnew...@gmail.com wrote: Something as simple as: --- [[http://one.com]] [[http://two.com]] [[http://three.com]] [[ http://four.com]] --- Results in: --- PmWiki can't process your request ?invalid page name We are sorry for any

Re: [pmwiki-users] 4+ links on page preventing saving

2013-02-15 Thread Peter Bowers
On Fri, Feb 15, 2013 at 7:57 AM, Kyle Newton kdnew...@gmail.com wrote: Something as simple as: --- [[http://one.com]] [[http://two.com]] [[http://three.com]] [[ http://four.com]] --- Results in: --- PmWiki can't process your request ?invalid page name We are sorry for any

Re: [pmwiki-users] 4+ links on page preventing saving

2013-02-15 Thread Peter Bowers
It's the wrong behavior error message, but it's the obvious culprit since it explicitly deals with limiting the number of external URLs. Do you use urlapprove.php? If so, does it make any difference to set $UnapprovedLinkCountMax = 50; At the top of your config.php? -Peter

Re: [pmwiki-users] How to parse text files?

2013-02-06 Thread Peter Bowers
On Tue, Feb 5, 2013 at 9:06 AM, Mike Turco m...@miketurco.com wrote: Is there a way to parse the content from those files? Tamouse already gave you a workable solution. You may find some of the solutions listed on this page helpful: http://www.pmwiki.org/wiki/Cookbook/AdminByShell If you

Re: [pmwiki-users] How to export (:pagelist ...:) to a file e.g text/plain

2013-01-22 Thread Peter Bowers
On Tue, Jan 22, 2013 at 1:40 PM, Sinan Kaan Yerli si...@sinan.physics.metu.edu.tr wrote: * How could I redirect /this formatted/ output to a mimetype? Do I have to introduce an ?action=export ... If so how could I start the download of this data (i.e download

Re: [pmwiki-users] PmForm on request, edit structured data on pages

2013-01-21 Thread Peter Bowers
On Mon, Jan 21, 2013 at 8:37 PM, Oliver Betz list...@gmx.net wrote: BTW: Is there a simple way to get something like array_merge($_GET, $_POST)[useform]; in PHP older than 5.4? Excuse my ignorance, I'm a plain old C programmer. Never knock a C programmer! They're keeping the world

[pmwiki-users] MultiLanguageViews defaults

2013-01-02 Thread Peter Bowers
I'm implementing MLV on my web-site and having a bit of difficulty with the defaults: (1) It appears that a cookie gets set regardless of whether I've used the ?setlang=xx or not (the only exception is if ?lang=xx is used, but if the language value comes from ANY other source it gets put in a

Re: [pmwiki-users] Issue displaying contents of group

2012-12-11 Thread Peter Bowers
On Tue, Dec 11, 2012 at 8:24 PM, Mike Holisky mholi...@mcad.edu wrote: I just upgraded from 2.1.26 to 2.2.45 and I'm having issues with my groups not displaying their contents. When I click on the contents link for each of my groups, all I get is the contents of Site. Like AllRecentChanges,

Re: [pmwiki-users] mini with either ultralightbox or galleria

2012-12-07 Thread Peter Bowers
On Thu, Dec 6, 2012 at 10:00 PM, Peter Bowers pbow...@pobox.com wrote: Galleria still gives me an error Fatal Error: Theme CSS could not load. But I'll look into your various instructions re the CSS locations and make sure I've got everything set up properly there. Unfortunately I looked

Re: [pmwiki-users] mini with either ultralightbox or galleria

2012-12-07 Thread Peter Bowers
On Fri, Dec 7, 2012 at 6:34 PM, Petko Yotov 5...@5ko.fr wrote: Would you mind trying with smaller pictures? Yours are about 4M each. Now much smaller - large enough to still provide an adequate test. (You were correct that they were too big before.) With the Chromium browser, the page

Re: [pmwiki-users] mini with either ultralightbox or galleria

2012-12-06 Thread Peter Bowers
On Wed, Dec 5, 2012 at 11:02 PM, Petko Yotov 5...@5ko.fr wrote: Peter Bowers writes: I just installed mini and originally tried it with the default ultralightbox and then tried installing the galleria plugin. What I'm seeing is a simple list of thumbnails. What I want to see is some kind

Re: [pmwiki-users] mini with either ultralightbox or galleria

2012-12-06 Thread Peter Bowers
On Thu, Dec 6, 2012 at 10:24 AM, Petko Yotov 5...@5ko.fr wrote: The second link gives me Internal Server Error so I cannot load anything. There may be some problem with the .htaccess file. Your $FarmPubDirUrl variable should probably be set to http://pmwiki.qdk.org/pub; or

[pmwiki-users] mini with either ultralightbox or galleria

2012-12-05 Thread Peter Bowers
I just installed mini and originally tried it with the default ultralightbox and then tried installing the galleria plugin. What I'm seeing is a simple list of thumbnails. What I want to see is some kind of interactive slideshow where the user can scroll through the pictures in a larger size as

  1   2   3   4   5   6   >