er, very, very cursory thoughts...
somebody else probably KNOWS better)
On 08/26/2012 02:48 PM, Alex Eftimiades wrote:
I have been trying to redesign some of the common pagelist
functionality to take advantage of an sqlite installation. You
just include it after you set your WikiDir to the cu
I have been trying to redesign some of the common pagelist
functionality to take advantage of an sqlite installation. You just
include it after you set your WikiDir to the custom SQLite pagestore
class. Like the person who sent out the updated pmwiki skin, I was
looking for some feedback/co
, Petko Yotov wrote:
Alex Eftimiades writes:
I thought it would be wise to ask why it was coded this way in the
first place. Is there any particular reason you stored the pagename
rather than the group and name separately? I presume it could have
something to do with faster data retrieval, but I
I have a few questions concerning the way the database is structured
in the sqlite recipe:
I was writing some custom pagelist functions that will take advantage
of data stored in an sqlite database. I got it to retrieve pages based
on the name=, group=, and link= statements, and I was just
to pull up the tables in the groups you are
searching in.
This seemed to make sense to me, and I just wanted to have someone who
knows databases and/or the sqlite recipe confirm or refute my
hypothesis.
Thanks,
Alex
On Aug 6, 2012, at 11:17 PM, Petko Yotov wrote:
Alex Eftimiades write
this.
Thanks again,
Alex
On Aug 22, 2012, at 12:29 AM, Petko Yotov wrote:
On Tuesday 21 August 2012 18:16:25 Alex Eftimiades wrote:
The reason I suggested the sqlite recipe might be at fault was
because I remember the utf-8 characters working fine before I
installed the sqlite recipe. Then a l
is no longer accessible.
Thanks,
Alex
On Aug 21, 2012, at 3:16 AM, Petko Yotov wrote:
Alex Eftimiades writes:
The page here: http://icare.org/wiki/index.php/Researchers/SelimKu%25C3%25A7i
>
There is indeed something wrong with your installation, this is not
a right URL to the page: the
the include statements, my problem has become
disappearing page actions.
Thanks for the suggestions,
Alex
On Aug 21, 2012, at 3:16 AM, Petko Yotov wrote:
Alex Eftimiades writes:
The page here: http://icare.org/wiki/index.php/Researchers/SelimKu%25C3%25A7i
>
There is indeed something wr
suggestions,
Alex
On Aug 21, 2012, at 3:16 AM, Petko Yotov wrote:
Alex Eftimiades writes:
The page here: http://icare.org/wiki/index.php/Researchers/SelimKu%25C3%25A7i
>
There is indeed something wrong with your installation, this is not
a right URL to the page: the %25 pieces should be just %,
The first includes of my config.php is:
include_once("scripts/xlpage-utf-8.php");
$DefaultPageCharset = array(''=>'ISO-8859-9',
'ISO-8859-1'=>'ISO-8859-9');
include_once("$FarmD/cookbook/sqlite.php");
$WikiDir = new PageStoreSQLite($WorkDir.'/pmwiki.sqlite.db', 1);
$WikiLibDirs = array(
&$W
ter']( $pn, $fn,
$thispage );
}
if($thispage!=$oldpage) WritePage($pn,$thispage);
}
}
This could however be an easy way to develop a DOS attack, so it
should be limited to certain trusted usernames and/or passwords.
Thanks,
Alex
On Aug 16, 2012, at 2:27 PM, Christopher Cox wrot
This is what I have so far:
#code
if($action=='update'){
set_time_limit(180);
$pages=ListPages('/Researchers.*/');
foreach(array_slice($pages,0,3) as $pn){
$thispage=ReadPage($pn, READPAGE_CURRENT);
$thisnewpage=$thispage;
UpdatePage($pn,$thispage,$thisnewpage);
print_r($this
I just added some important new page attributes that will get when you
hit "save" while editing a page. I want to apply them to all the pages
I currently have. I get the feeling this would not be as simple as
doing a "WritePage" to each page on the wiki since that would just
rewrite the exi
There seems to be something about the regex in the if markup that
limits the if statement to text that does not contain a ":)". The same
seems to go for page text variables (with the exception of ROSPatterns.)
I will try to fix it, but I am not great with regex.
Thanks,
Alex
cient in your case ?
Thank you.
Gilles.
2012/8/8 tamouse mailing lists :
Yes, I was wondering about that. Thanks for clarifying.
On Aug 7, 2012 5:30 AM, "Alex Eftimiades"
wrote:
As I mentioned in previous questions, my wiki does a pagelist (or
two)
every time a page loads. It
k recipe on it when I have everything polished. At least to me,
it seems like a great way to store and manage login information.
On Aug 9, 2012, at 11:30 AM, Petko Yotov wrote:
Alex Eftimiades writes:
red text that indicates it being nonfunctional. Did I
misunderstand, or is that part
Could anyone give me a quick rundown on how SessionAuth works? I might
be able to modify AuthUser if I had a better idea of what was going on.
Thanks,
Alex
On Aug 9, 2012, at 11:30 AM, Petko Yotov wrote:
Alex Eftimiades writes:
red text that indicates it being nonfunctional. Did I
suggestion,
Alex
On Aug 9, 2012, at 12:59 AM, Petko Yotov wrote:
Alex Eftimiades writes:
I have been working on a way to manage a large number of users
that can be clustered into different groups of people. Each person
should have a profile page (not necessarily in Profiles) that they
can edit
I have been working on a way to manage a large number of users that
can be clustered into different groups of people. Each person should
have a profile page (not necessarily in Profiles) that they can edit.
However, I want to be able to assign different permissions to users
based on what
, "Alex Eftimiades"
wrote:
I just got the sqlite recipe working with all the pages
switched over to the database, and after looking at the database
structure, I thought it was odd that it did not use separate tables
for different groups. I would think this would cut down o
I just got the sqlite recipe working with all the pages switched over
to the database, and after looking at the database structure, I
thought it was odd that it did not use separate tables for different
groups. I would think this would cut down on the time it takes to
access pages, but I
I have thought about it, and I think this is the way to go. I have not
implemented it yet, but I just wanted to say thanks for the thought
and I intend to implement this in the future.
Thanks,
Alex
On Aug 2, 2012, at 4:58 PM, Peter Bowers wrote:
On Thu, Aug 2, 2012 at 2:32 AM, Alex
pmwiki.org/wiki/Category/Links
Petko
Alex Eftimiades writes:
In short, yes, I believe that would be the sort of thing I am
interested in. However having them appear on the page is somewhat
desirable for me. The important thing is being able to specify
which links show up in a pagelist link=.
but I use a few PTVs to store
wiki page links (parent, categories, tags) that kept in a Meta block
in the page sobthey don't show up in the presentation. Is this the
sort of thing you're thinking about?
On Jul 31, 2012 10:05 AM, "Alex Eftimiades"
wrote:
I currently have
I currently have my site structured around using links to pages like
tags. I include a pagelist of all pages with links to the current page
in the groupfooter. See here for an example of listing relevant
publications:
http://icare.org/wiki/index.php?n=ITeams.FibrolamellarHepatocellularCarcin
I am trying to complete the functionality of the rename page script. I
could not find any documentation as to how I might go about moving any
page specific attachments from the old page to the new page. I am not
even sure if it is currently possible.
If it is possible, could someone please
pages in the WikiSh group (thus being able to make use of the scripts
provided for them.) So essentially, only admins are allowed to create
WikiSh scripts, but editors are allowed to use them by viewing the
pages they create.
Alex
PS: I will consider putting this on the cookbook examp
it as follows:
include_once("$FarmD/cookbook/powertools.php");
//end code
I tried modifying the CondAuth line with an "or $group=='WikiSh'" for
starters, but that did not seem to make a difference. I am quite
confused as to how to go about doing this.
Thanks,
A
disabled. Could anyone tell
me what part of this I need to fix? Perhaps I am going about this wrong.
Thanks,
Alex
On Jul 21, 2012, at 10:16 PM, Alex Eftimiades wrote:
Yes this seems to work now. Thank you very much. I am going to try
to modify this into a page action and for renaming group
Yes this seems to work now. Thank you very much. I am going to try to
modify this into a page action and for renaming groups.
Thanks
Alex
On Jul 21, 2012, at 12:53 PM, Peter Bowers wrote:
No that's fine. If it's an action you do on a regular basis then
you'll probably want to put the code o
he top of
the page. Then I have config.php create a page footer of everything
linking to that page separated by group. This becomes a very
convenient way of automatically keeping track of relevant information.
On Jul 20, 2012, at 10:46 AM, Peter Bowers wrote:
On Fri, Jul 20, 2012 at 4:28
20, 2012, at 10:24 AM, Peter Bowers wrote:
On Fri, Jul 20, 2012 at 2:49 PM, Alex Eftimiades
wrote:
I have tried the following script:
//Rename Page
...
sed -i 's|${OldGroup}([./]\)?)${OldPage}|${NewGroup}$1${NewPage}|
gi' `pagelist link=${OldGroup}.${OldPage} sep=\n`
...
and I no
I have tried the following script:
//Rename Page
set -s OldGroup = TestA
set -s OldPage = A
set -s NewGroup = TestB
set -s NewPage = B
sed -i 's|${OldGroup}([./]\)?)${OldPage}|${NewGroup}$1${NewPage}|gi'
`pagelist link=${OldGroup}.${OldPage} sep=\n`
mv ${OldGroup}.${OldPage} ${NewGroup}.${NewPa
least for 4 tries, there are no random misses.
Alex
On Jul 19, 2012, at 1:54 AM, Alex Eftimiades wrote:
I have a custom pagelist template that looks like this:
(:if false:)
[[#map]]
(:template defaults order=title:)
(:gma-point addr='{{=$FullName}$:address}' text='http:/
I have a custom pagelist template that looks like this:
(:if false:)
[[#map]]
(:template defaults order=title:)
(:gma-point addr='{{=$FullName}$:address}' text='http://icare.org/wiki/index.php?n=
{=$FullName}">{=$Titlespaced}' :)
[[#map]]
(:ifend:)
I have a custom page text variable "address"
look for the
"protected:" and the "passwdread:" lines to see what's actually
happening behind the scenes...
-Peter
On Sun, Jul 15, 2012 at 7:56 PM, Alex Eftimiades
wrote:
Thanks a lot for the script. I was trying to debug it. It does
switch to
protected mode, it just d
Thanks for the help though, it was very much appreciated.
Alex
On Jul 15, 2012, at 4:06 PM, tamouse mailing lists wrote:
On Sun, Jul 15, 2012 at 11:52 AM, Alex Eftimiades
wrote:
I was working on a custom action. I sent out my code yesterday, but
I am
still not getting anywhere. Any help w
r Bowers wrote:
On Sun, Jul 15, 2012 at 12:53 AM, Alex Eftimiades
wrote:
I have been trying to make a button that password protects a page
with the
editors' password, or un-protects it if it is already protected.
I tried putting this at the bottom of config.php, but it just
se
I was working on a custom action. I sent out my code yesterday, but I
am still not getting anywhere. Any help with a "password protect/
unprotect with editors password" action would be greatly appreciated.
Thanks,
Alex
On Jul 15, 2012, at 12:50 PM, Peter Bowers wrote:
On Sun, Jul 15, 2012 a
I have been trying to make a button that password protects a page with
the editors' password, or un-protects it if it is already protected.
I tried putting this at the bottom of config.php, but it just seemed
to mess up my pages:
$HandleActions['switchauth'] = 'switchauth'; # if url contains
On Jul 14, 2012, at 7:19 AM, Peter Bowers wrote:
On Fri, Jul 13, 2012 at 7:58 PM, Alex Eftimiades
wrote:
I was looking for an easy way for editors to password protect
something so
that only other editors could see/edit it. I tried making a password
protected group, but that quickly became an
same thing?
Thanks,
Alex Eftimiades
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
42 matches
Mail list logo