I have a question related with storage. I would like to have like a "hashmap"/"table" to store some information about my users and then access that info from the wiki. Is there something like this in PmWiki??
Thanks a lot!! Trini
You can probably use PageTextVariables with userpages in the Profiles/ WikiGroup. This is an advanced feature but allows quite powerful things using PageLists, templates, conditionals and expressions. --Petko June 24, 2014, at 02:49 PM
I created a file calle Bioinfo.example.d which contains just:
And then I tried to load this variable from my wiki like this:
But I don't have the number 1... Any idea??
Hi Trini - I suggest you read about PageTextVariables - they are not stored in a file such as the one you created, but rather in a page that you can access via markup. So if you created a new PmWiki page called BioinfoExample and on it put the text
RandyB June 26, 2014, at 09:26 AM
The problem is the tree directory I guess, I mean I don't know from where I have to start the path to call the file, I have the wiki in a server and inside the server /www/wiki/wiki.d/BioinfoExample.users.d I have tried full path but I doesn't work...
Thanks a lot!!
You don't edit files in directories, you browse your wiki installation with your browser and edit pages in the browser, like you've edited this page here. The hashmap/table data is text in your wiki "page" (not "file" - let PmWiki manage the files). --Petko July 01, 2014, at 02:48 PM
I found out, that a link to the Skins-Group
in the intermap.txt file, so you can write
Hello I will soon be forced to use PHP5.4 without register globales and using timezones and not strtime.... I tried to move, but the webserver crashed (maybe a providerproblem?). But is pmwiki working with 5.4? Many greetings from Germany. Hans Hufnagel
It should mostly work, and we're fixing any bugs that are reported or that we find. If you have any, please install an empty installation of the latest version and (if it works) start enabling recipes and lines in config.php, then report to PITS when a problem appears. Thanks! --Petko February 03, 2013, at 01:49 PM
When trying to go to pmwiki.org, Norton Antivirus gives me a warning that the page might be dangerous: https://safeweb.norton.com/report/show?url=www.pmwiki.org (I am using a text-based browser on Linux now, which I assume to be fairly safe.) Can anybody confirm if or if not there are threats present on this page? Thanks methom
Thanks for your message. As we have open uploads to some sections of the wiki, there may be some unsafe uploaded file. Unfortunately the Norton website does not specify which exact file/url is unsafe. I'm reviewing it right now. --Petko March 30, 2014, at 03:59 AM
There was indeed one infected DOS executable in a zip archive attached to the Cookbook -- it could be dangerous if extracted from the archive and launched. It was not linked to by any page, and now it is deleted. There were also 4 PHP exploits targeted at our server (trying to attack us, not our visitors), but as we don't allow execution of uploaded files, that wouldn't work. These were also not linked to by any page, and are now deleted. Moreover, we now have a notification system allowing us to review all recent uploads as they come so such a problem shouldn't happen again. Thanks. --Petko April 13, 2014, at 04:08 PM