[pmwiki-users] pmwiki-users Digest, Vol 17, Issue 112

Elizabeth Knittle bknittle at comcast.net
Mon Nov 27 18:54:40 CST 2006


Thanks for the help regarding the admin password, and a link for some  
php help.
Beth

On Nov 27, 2006, at 1:53 AM, pmwiki-users-request at pmichaud.com wrote:

> Send pmwiki-users mailing list submissions to
> 	pmwiki-users at pmichaud.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> or, via email, send a message with subject or body 'help' to
> 	pmwiki-users-request at pmichaud.com
>
> You can reach the person managing the list at
> 	pmwiki-users-owner at pmichaud.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of pmwiki-users digest..."
>
>
> Today's Topics:
>
>    1. Re: PHP - slightly off topic but not really (IchBin)
>    2. Re: PHP - slightly off topic but not really (Joachim Durchholz)
>    3. Site Admin password not working (Elizabeth Knittle)
>    4. Re: Site Admin password not working (Kathryn Andersen)
>    5. Re: Site Admin password not working (Petko Yotov)
>    6. Re: PHP - slightly off topic but not really (Dr Fred C)
>    7. Re: PHP - slightly off topic but not really (Marco Ferretti)
>    8. regenerate pageindex (dso)
>    9. formatting problem (dso)
>   10. Re: MultiLanguage vs. Attachlist (Mike)
>   11. Comments (Mark Trumpold)
>   12. Re: MultiLanguage vs. Attachlist (Christian Bartolomaeus)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 26 Nov 2006 18:43:30 -0500
> From: IchBin <weconsul at ptd.net>
> Subject: Re: [pmwiki-users] PHP - slightly off topic but not really
> To: pmwiki-users at pmichaud.com
> Message-ID: <ekd8r0$u9d$1 at sea.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Kathryn Andersen wrote:
>> On Sun, Nov 26, 2006 at 10:52:04PM +0100, Jan Erik Mostr?m wrote:
>>> OK, I've decided that I need to learn PHP, among other things I
>>> want to be able to hack pmwiki/drupal/wordpress etc, and I would
>>> like to have some recommendations of suitable book(s).
>>
>>> So does anyone have any suggestions for what to read?
>>
>> In my experience, O'Reilly produce good reference and "cookbook"  
>> books
>> for programmers, so much so that I usually look for an O'Reilly book
>> first, when I want to learn a new programming language.
>>
>> Kathryn Andersen
>
> I have the same background as you. I just started php a few months  
> ago.
>   I  have a php link page you maybe interested looking at. I also like
> O'Reilly also.
>
> http://weconsultants.phpnet.us/pmwiki.php/Site/PHP
>
> -- 
> Thanks in Advance...                  http://ichbin.9999mb.com
> IchBin, Pocono Lake, Pa, USA          http://weconsultants.phpnet.us
> ______________________________________________________________________
> 'If there is one, Knowledge is the "Fountain of Youth"'
> -William E. Taylor, Regular Guy (1952-)
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 27 Nov 2006 00:28:12 +0100
> From: Joachim Durchholz <jo at durchholz.org>
> Subject: Re: [pmwiki-users] PHP - slightly off topic but not really
> To: Pmwiki-users at pmichaud.com
> Message-ID: <456A230C.5060807 at durchholz.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Jan Erik Mostr?m schrieb:
>> OK, I've decided that I need to learn PHP, among other things I
>> want to be able to hack pmwiki/drupal/wordpress etc, and I would
>> like to have some recommendations of suitable book(s).
>
> I found that the best way to learn PHP was to go to php.net, read the
> introductory chapters (which aren't many), and look up in the function
> reference.
>
>> +   I would like it to contain "PHP best practices" hints/tips
>> +   I would like to see "typical pitfalls"
>> +   Preferable "PHP design hints"
>
> I don't know where to look for good advice with that.
>
> PmWiki's code teaches excellent lessons on extendible design; I  
> learned
> the preg_replace with the /e flag usage, and how to set up function  
> and
> template arrays.
> For documentation style, name space management, and error  
> reporting, I'd
> turn elsewhere though.
>
> Other than that, there seem to be lots of theoretic advice out there,
> but I have yet to see something that has a "feel" of practical
> usefulness - most advice that I have read was of the schoolbook type
> (and mostly off the mark as well).
>
>> And yes, I prefer to read on paper (I've found that it takes me
>> much shorter time to learn from a good book than using on-line
>> documentation).
>
> Sorry, can't help with that.
>
> Regards,
> Jo
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 26 Nov 2006 19:06:48 -0600
> From: Elizabeth Knittle <bknittle at comcast.net>
> Subject: [pmwiki-users] Site Admin password not working
> To: pmwiki-users at pmichaud.com
> Message-ID: <F96BF446-17F0-4F0A-B7D7-CDE4CFC8D502 at comcast.net>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> Hi,
>
> I am just getting started with pmwiki and believe it will be quite
> robust.  But I am having getting the admin password working.  In the
> mean time I set passwords for the pages for now as I get them set
> up.  But I wanted a password to admin. the site, and also prevent
> others from editing the site side bar.
>
> In the config.php page I have the following, ***** is shown here
> instead of my password.  I am new to php so would appreciate any help
> or suggestions.  I can not use it to overide a password set for a
> page, nor can i use it to edit site pages, nor can I set a password
> for the edit side bar - it asks for a password but it does not take
> the admin password i set up.  I checked for typos and even re did the
> install and config.php page.
>
> # $DefaultPasswords['admin'] = crypt('******');
>
>
> thanks,
>
> beth
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 27 Nov 2006 11:16:06 +1100
> From: Kathryn Andersen <kat_lists at katspace.homelinux.org>
> Subject: Re: [pmwiki-users] Site Admin password not working
> To: pmwiki-users at pmichaud.com
> Message-ID: <20061127001606.GA31271 at katla.katspace.homelinux.org>
> Content-Type: text/plain; charset=us-ascii
>
> On Sun, Nov 26, 2006 at 07:06:48PM -0600, Elizabeth Knittle wrote:
>> In the config.php page I have the following, ***** is shown here
>> instead of my password.  I am new to php so would appreciate any help
>> or suggestions.  I can not use it to overide a password set for a
>> page, nor can i use it to edit site pages, nor can I set a password
>> for the edit side bar - it asks for a password but it does not take
>> the admin password i set up.  I checked for typos and even re did the
>> install and config.php page.
>>
>> # $DefaultPasswords['admin'] = crypt('******');
>
> Um, the '#' at the start of the line means that the line is a comment;
> therefore it is ignored by PmWiki.
>
> What you need is:
>
> $DefaultPasswords['admin'] = crypt('******');
>
> Kathryn Andersen
> -- 
>  _--_|\     | Kathryn Andersen	<http://www.katspace.com>
> /      \    |
> \_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/ 
> gen_fic_crit/>
>       v     |
> ------------| Melbourne -> Victoria -> Australia -> Southern  
> Hemisphere
> Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 27 Nov 2006 01:18:35 +0100
> From: Petko Yotov <5ko at free.fr>
> Subject: Re: [pmwiki-users] Site Admin password not working
> To: pmwiki-users at pmichaud.com
> Cc: Elizabeth Knittle <bknittle at comcast.net>
> Message-ID: <200611270118.35292.5ko at free.fr>
> Content-Type: text/plain;  charset="iso-8859-1"
>
> On Monday 27 November 2006 02:06, Elizabeth Knittle wrote:
>> Hi,
>>
>> I am just getting started with pmwiki and believe it will be quite
>> robust.  But I am having getting the admin password working.  In the
>> mean time I set passwords for the pages for now as I get them set
>> up.  But I wanted a password to admin. the site, and also prevent
>> others from editing the site side bar.
>>
>> In the config.php page I have the following, ***** is shown here
>> instead of my password.  I am new to php so would appreciate any help
>> or suggestions.  I can not use it to overide a password set for a
>> page, nor can i use it to edit site pages, nor can I set a password
>> for the edit side bar - it asks for a password but it does not take
>> the admin password i set up.  I checked for typos and even re did the
>> install and config.php page.
>>
>> # $DefaultPasswords['admin'] = crypt('******');
>>
>
> Hi,
>
> The "#" sign means that the line is commented out, that the PHP  
> parser will
> not read it (but the line is there for you as a reminder). So,  
> remove this
> sign to activate the password:
>
> $DefaultPasswords['admin'] = crypt('******');
>
> You can do similarly with:
> $EnableGUIButtons = 1;
>
> and other configuration options.
>
> You may wish to search for some beguinners' tutorial for the PHP  
> language, it
> may help you administrate a PmWiki Installation. Check out:
>
> http://php.net/manual/en/tutorial.php
> http://www.w3schools.com/php/default.asp
>
> Cheers,
> Petko
>
>
>
> ------------------------------
>
> Message: 6
> Date: Sun, 26 Nov 2006 17:42:47 -0800
> From: Dr Fred C <drfredc at verizon.net>
> Subject: Re: [pmwiki-users] PHP - slightly off topic but not really
> To: Jan Erik Mostr?m <lists at mostrom.pp.se>,	pmwiki-users at pmichaud.com
> Message-ID: <456A4297.2040604 at verizon.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> With your background, it sounds to me like all you need to do is get
> started with small hacks and grow from there.
>
> For books and a more disciplined approach, I'd go to your local  
> Barnes &
> Nobles or techie University book store and paw thru one until you find
> one that fits your needs.  Or try the online tutorial at
> http://www.phpfreaks.com/tutorials.php or google "php online tutor"  
> and
> find something that fits you.
>
> Personally, I've found the online tutorials for learning webware
> computer languages more than adequate.
>
> Jan Erik Mostr?m wrote:
>> OK, I've decided that I need to learn PHP, among other things I
>> want to be able to hack pmwiki/drupal/wordpress etc, and I would
>> like to have some recommendations of suitable book(s).
>>
>> I've got a couple of "requirements"
>>
>> +   Not a "PHP for programming newbies" book, I've been
>> programming for more
>>      than 20 years and have experience from Java, C, C++, Perl,
>> Python, etc, etc
>>      and work as teacher in programming so I'll skip the "this
>> is how an
>>      if-statement works" books.
>>
>> +   I would like it to contain "PHP best practices" hints/tips
>>
>> +   I would like to see "typical pitfalls"
>>
>> +   Preferable "PHP design hints"
>>
>> And yes, I prefer to read on paper (I've found that it takes me
>> much shorter time to learn from a good book than using on-line  
>> documentation).
>>
>> So does anyone have any suggestions for what to read?
>>
>>                              jem
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>
>>
>>
>
> -- 
>
> Always, Dr Fred C
> drfredc at drfredc.com
>
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 27 Nov 2006 03:58:29 +0100
> From: Marco Ferretti <marco.ferretti at gmail.com>
> Subject: Re: [pmwiki-users] PHP - slightly off topic but not really
> To: pmwiki-users at pmichaud.com
> Message-ID: <200611270358.32759.marco.ferretti at fermasoft.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Sunday 26 November 2006 22:52, Jan Erik Mostr?m wrote:
>> [CUT]
>> And yes, I prefer to read on paper (I've found that it takes me
>> much shorter time to learn from a good book than using on-line
>> documentation).
>>
>> So does anyone have any suggestions for what to read?
>>
>
> I got myself a handbook version of the "Php Bible"  from McGraw  
> Hill (Tim
> Converse & Joyce Park) : I found the index very useful (tells you  
> what you
> can skip) and the chapters have a lot "real world" examples (that I  
> suppose
> is what you're looking for) ; also, I found looking @ the cookbooks  
> very
> usefull .
>
>
> hope it helps
>
> Marco
>
>
> -- 
> Swerve me?  The path to my fixed purpose is laid with iron rails,
> whereon my soul is grooved to run.  Over unsounded gorges, through
> the rifled hearts of mountains, under torrents' beds, unerringly I  
> rush!
> 		-- Captain Ahab, "Moby Dick"
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 189 bytes
> Desc: not available
> Url : /pipermail/pmwiki-users/attachments/20061126/8f4fbeaf/ 
> attachment-0001.bin
>
> ------------------------------
>
> Message: 8
> Date: Sun, 26 Nov 2006 21:28:49 -0700
> From: dso <dso at moosoft.com>
> Subject: [pmwiki-users] regenerate pageindex
> To: pmwiki-users at pmichaud.com
> Message-ID: <456A6981.4050707 at moosoft.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> After adding some pages and pages with %comment%s I find they don't
> appear in searches.  Sometimes removing the .pageindex brings them  
> into
> play but I was wondering if there was an easier way to re-index the
> site.  Thanks!
>
> Daniel
>
>
>
> ------------------------------
>
> Message: 9
> Date: Sun, 26 Nov 2006 21:35:02 -0700
> From: dso <dso at moosoft.com>
> Subject: [pmwiki-users] formatting problem
> To: pmwiki-users at pmichaud.com
> Message-ID: <456A6AF6.50502 at moosoft.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> This notsosimpleskin is living up to its' name :)
>
> I am trying to use the "PublishThisFAQ" recipe and it is *almost*  
> right.
>  Only problem is a strangely large indent on the "answers".
>
> my site (copy and pasted from Octocias' site):
> http://www.moosoft.com/www/Main/Sandbox
>
> and looking the way it should:
> http://www.octocias.com/index.php?n=Main.DemoFAQ
>
> Is it just more CSS weirdness?  Any help appreciated!
>
> Daniel
>
>
>
> ------------------------------
>
> Message: 10
> Date: Mon, 27 Nov 2006 06:29:26 +0100
> From: Mike <mike at widowitz.com>
> Subject: Re: [pmwiki-users] MultiLanguage vs. Attachlist
> To: Mike <mike at widowitz.com>
> Cc: pmwiki-users <pmwiki-users at pmichaud.com>
> Message-ID: <456A77B6.50402 at widowitz.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Finally, another issue around MultiLanguage that just came up and  
> maybe
> is related:
>
> On the non-English pages, any changes I have made to the TimeFmt
> variable are ignored, the LastModified-String remains in the original
> setting. When I switch the language to English, everything works as it
> should...
>
> Thanks for any pointer!
> Mike
>
>
> Mike wrote on 26.11.2006 21:06:
>> Actually, where can the upload form, i.e.
>>
>> File to upload: xxxxxx
>> Name attachment as: xxxxx
>>
>> be customized? Probably I'm losing the non-English languages  
>> somewhere
>> there...
>>
>> Thanks,
>> Mike
>>
>>
>> Mike wrote on 26.11.2006 21:01:
>>> Hello all,
>>>
>>> I'm using the Multilanguage recipe. Now I just discovered something
>>> weird: When the user is using the English page version, a click on
>>> "Attach" will display the upload form, instructions and the
>>> (:Attachlist:) with all existing attachments.
>>>
>>> However, when the user views the page in some other language and  
>>> THEN
>>> clicks on "Attach" (or the translated version), he will be  
>>> displayed the
>>> upload form, but without instructions and without attachlist. The  
>>> funny
>>> thing is that in both cases the URL is exactly the same
>>> (www.xxx.com/Index?action=upload)...
>>>
>>> Any idea about where this bug might be located?
>>>
>>> Thanks,
>>>
>>> Mike
>>>
>>
>>
>>
> -- 
> michael at widowitz.com
> The fact that someone never died before does not make him immortal
>          ~ Nassim Taleb
>
>
>
> ------------------------------
>
> Message: 11
> Date: Mon, 27 Nov 2006 09:24:25 +0200
> From: Mark Trumpold <mtrumpol at cacegypt.org>
> Subject: [pmwiki-users] Comments
> To: PmWiki Users <pmwiki-users at pmichaud.com>
> Message-ID: <C1905F49.B17B%mtrumpol at cacegypt.org>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi
>
> I noticed that when a comment is made it goes on to every other  
> page in the
> wiki?
>
> I would like to set up comments/discussion specific to that page.
>
> I am not sure if I want the comments on the same page or not? Is  
> there a way
> to add a link to a discussion or comments page.
>
> Maybe I could have a small comment box on the top or bottom of the  
> page as a
> notification that some content or the like should be changed then  
> people can
> go to the discussion/comments page to discuss or make suggestions.  
> (I think
> wikipedia has something like that)
>
> Thanks
>
> Mark
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: /pipermail/pmwiki-users/attachments/20061127/fe129f02/ 
> attachment-0001.html
>
> ------------------------------
>
> Message: 12
> Date: Mon, 27 Nov 2006 09:03:53 +0100
> From: Christian Bartolomaeus <bartolin at gmx.de>
> Subject: Re: [pmwiki-users] MultiLanguage vs. Attachlist
> To: pmwiki-users <pmwiki-users at pmichaud.com>
> Message-ID: <20061127080353.GA2931 at speedy.hgw>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi Mike,
>
> * On 2006-11-26 Mike (mike at widowitz.com) wrote:
>> [...]
>> I'm using the Multilanguage recipe. Now I just discovered something
>> weird: When the user is using the English page version, a click on
>> "Attach" will display the upload form, instructions and the
>> (:Attachlist:) with all existing attachments.
>>
>> However, when the user views the page in some other language and THEN
>> clicks on "Attach" (or the translated version), he will be  
>> displayed the
>> upload form, but without instructions and without attachlist. The  
>> funny
>> thing is that in both cases the URL is exactly the same
>> (www.xxx.com/Index?action=upload)...
>>
>> Any idea about where this bug might be located?
>
> I'm not sure but I guess, the confusion stems from using translation
> pages (like PmWikiXx/XLPage for language Xx). I don't use the
> Multilanguage recipe but I guess it includes those translation pages
> for different languages.
>
> If you have a look at PmWikiDe/XLPage (for instance) you will see
> instructions like:
>
>   '{$SiteGroup}/UploadQuickReference' => 'PmWikiDe/ 
> UploadQuickReference',
>
> or
>
>   '{$SiteGroup}/EditQuickReference' => 'PmWikiDe/EditQuickReference',
>
> or even
>
>   'TimeFmt' => '%d.%m.%Y %H:%M Uhr',
>
> The first one replaces the English version of upload instructions
> (which are used by upload.php) with the German one, the second does
> the same with EditQuickReferences and the third defines a specific
> time format for german pages.
>
> So I guess, you will have to change your XLPages as well.
>
> Hope this helps.
>
> Christian
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 189 bytes
> Desc: not available
> Url : /pipermail/pmwiki-users/attachments/20061127/0728f00a/ 
> attachment.bin
>
> ------------------------------
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
> End of pmwiki-users Digest, Vol 17, Issue 112
> *********************************************





More information about the pmwiki-users mailing list