User talk:Nad

From Organic Design wiki
Revision as of 02:28, 11 November 2007 by Nad (talk | contribs) (Errors on Updating template articles with an Ajax form: not ready yet)

Implexant

Nad, The company I'm working for would be interested in hiring you to modify your Simply Security plugin to meet our needs. Please contact me. --Implexant 11:53, 11 July 2007 (NZST)

Nad, Still haven't heard from you yet. I did reply to your email with specifications. Let me know! --Implexant 08:10, 14 July 2007 (NZST)
I sent the following message a few days ago,
I plan on adding an #ifgroup parser-function for testing if a user belongs 
to a group at some stage because that requirement keeps cropping up. It's 
only a small job of under an hour, a small donation on our paypal form on 
organicdesign would be much appreciated and would allow me to make it high 
priority.

Chat extension reorganised

They've been doing some reorganizing of extensions on mediawiki and mw:Extension:Chat isn't showing up on the mediawiki Category:Extensions page any more. I have no I why as its in the category. Any ideas? --Firebreather 14:20, 12 July 2007 (NZST)

Ok, totally weird, its back again.

SWF, FreeMind & YouTube on WX

hey, any chance you can embed flash (e.g. google video or youtube content) into the wikia WX ssite? i saw you can do it by moding /includes/Sanitizer.php

     'embed' => array( ’style’, ‘id’, ‘type’, ’src’, ‘width’, ‘height’ )

also may need to add embed to $htmlpairs. thanks --Phalseid 00:39, 19 July 2007 (NZST)

I'm not sure about that setting, but modding includes is a no no, whatever needs doing, it should be able to be done from LocalSettings.php --Nad 09:40, 19 July 2007 (NZST)
sounds good, just would like to be able to embed flash objects again....--Phalseid 06:38, 20 July 2007 (NZST)
could you also add this quasi-extension to allow mindmaps from freemind? I have found it very useful, and would like it on WX and OD to work with sven on the WX business plan. Freemind howto
I've got a lot of stuff I need to get done today but I'll check it out as soon as I can --Nad 09:40, 19 July 2007 (NZST)

Using SimpleForms with DPL

Hi Nad,

I tried to follow your suggestion and created a GUI for DPL using SimpleForms. Have a look at [1]. I noticed some problems when I tried to use a wikitable within the body of a #form to arrange the fields in nicer way. Can you help? The preferred way would be to create a copy of [2] which demonstrates how to do it correctly. Or ist there a known bug which prevents the use of tables? I ran into strange layouts with double quotes at various places.

Second, I observed that the standard edit form of the dpldemo wiki is now cluttered with a row of empty boxes. As this appeared right after the installation of SimpleForms and the moo lib, the reason must come from there. Is there a way to get rid of them again?

Third, I could not get the Ajax calls working. It simply happens nothing althoug the path setting to the lib (I placed it under /dpldemo/javascript) should be set correctly in LocalSettings.php. Is there a debug switch or a simple test?

Thanks, Gero

I've had trouble with tables when trasncluded too, I think maybe you should change the pipes to {{!}} like on mediawiki and wikipedia where Template:! is just a pipe character - or currently html table syntax is required, I don't quite know how to change that currently. I don't have a clue how it might be stuffing up the edit page - maybe its conflicting with another extension...?
The Ajax itself is working fine, I've added the Ajax links example and Ajax form example to my use page on DPL:User:Nad and most of it is working but not quite (example 3 of ajax links doesn't work). I'll definately be keen to help sort this out though because I love DPL and would like SimpleForms to work nicely with it. --Nad 09:32, 27 July 2007 (NZST)
I found a problem this URL should be sending no-cache headers, but isn't. A recent upgrade of the software fixed the problem on my server, but you're running the latest version which includes the nocache code... I'll have to think about why it's not sending them...? --Nad 14:26, 27 July 2007 (NZST)
Thanks for your effort! Ajax is not really the problem because the DPL GUI currently uses a normal forms 'action'. But it was obviously mootools that cluttered the edit dialogue with icons and made loading the editor SLOW, so I disabled Ajax for the moment. Nevertheless (while Ajax was still on) I could find a small bug in the page you had created: It used "/wiki/index.php" instead of "/dpldemo/index.php".
What would be helpful is (a) checkboxes, (b) radiobuttons and (c) being able to use tables for formatting...
I will be on holiday for two weeks now, so there is no hurry.
Algorithmix 21:47, 27 July 2007 (NZST)
You can do checkboxes and all other normal form elements, see SimpleForms cheatsheet and tables with html syntax. I'll have a look at the path problem soon. Have a good holiday ;-) --Nad 23:43, 27 July 2007 (NZST)

Livelets

Aran- seems that wikilets are not working on WX? what is the best way to compare data side by side, do you think? --Phalseid 18:51, 10 August 2007 (NZST)

You mean livelets? I'd forgotten to include mootools which it uses for ajax - fixed now. I don't know why you need those lists to be transcluded live though, just a normal transclude would probably be fine... --Nad 19:47, 10 August 2007 (NZST)
thanks! needed it live because andrew and i might be working on it simultaneously to figure out how to port stuff over to vtiger. about the transclude, im confused about the syntax...it seems to want the ":" after the "{{"...is that normal behavior? not how it works on default MW, as far as i could see... --Phalseid 01:29, 11 August 2007 (NZST)
Livelets are not live, no work has been done on livelets as I've had to focus only on paid work, they are still only working as a secondary request after page load but do not update when content is changed. They use colon because it's a parser function, not a template. --Nad 09:32, 11 August 2007 (NZST)
and why did you/we change to conversations to be at the bottom instead of top...trying to be compliant there too, eh? ;) i think it is worth a news item.... --Phalseid 01:31, 11 August 2007 (NZST)
I started putting talk items at the bottom separated by headings to start conforming to same way as mediawiki/wikipedia, but it doesn't really matter. --Nad 09:32, 11 August 2007 (NZST)

Political wiki project

http://www.wikiexpert.com/Political_wikis --Phalseid 08:49, 12 August 2007 (NZST)

Templates to check out

Check this user page out. He has some nice simple templates similar to ours. --Sven 09:06, 12 September 2007 (NZST)

Next 10 item link

Looking through the offset 10-20 items of the News article, I noticed some funny rendered output in News 10-20. Any ideas what it is? --Sven 14:01, 13 September 2007 (NZST)

Yeah that's the price we pay for removing the expensive regexp query and replacing it with a uses=news. Since some other non-news articles use news they end up in there too. --Nad 14:07, 13 September 2007 (NZST)

SimpleForms Bug

Looks like there is a small bug on line 219 of Extension:SimpleForms.php, $argv['onClick'] .= "f = $('{$this->id}');$template, the $template shouldn't be there. --Sven 11:33, 24 September 2007 (NZST)

Misc

I'll be on 5:30 ferry --Rob 16:41, 26 September 2007 (NZST)

hokitoki see you 'bout 5:40 ;-)

Hosting

aran, just fyi: http://www.wikiexpert.com/Hosting im looking at setting up a commercial level hosting platform here in colorado that will be powered by a new windfarm that is going in a few miles from here. i would love to have your technical input into our discussion. Thanks! --Phalseid 05:17, 27 September 2007 (NZST)

Trees and tranclusion

As trees {{#tree: openlevels=1| {{: A BULLET LIST}} }} are made up of bullet lists, a good idea would to manage the bullet lists themselves in categorized articles then embed the transcluded bullet lists into the any required tree code. This way the lists can be used as bullet lists, or as trees in articles --Sven 12:09, 27 September 2007 (NZST)

We used to use Category:Lists for articles which were pure bullet list content. This is a good organisational idea, but I don't think it should necessarily apply to all trees, just ones where the list may be used for other things. Or maybe just extract and transclude at the time when we want to reuse tree content in list content (or in another tree). --Nad 13:22, 27 September 2007 (NZST)

Organicdesign DNS changover

I'm moving changing the OD nameservers from zoneedit to webdrive so the domain may fail for a while if I haven't done the settings correctly. You can use the following backup URL if this is the case, http://od.peerix.org

Looks like the dns may still need to update:
>host organicdesign.co.nz
organicdesign.co.nz has address 202.89.43.124
organicdesign.co.nz mail is handled by 5 smtp.organicdesign.co.nz.
organicdesign.co.nz mail is handled by 10 smtp2.organicdesign.co.nz.
>host www.organicdesign.co.nz
www.organicdesign.co.nz has address 209.40.202.39

Also just sent an email that bounced. May just need time to propogate. --Rob 14:28, 27 September 2007 (NZST)

No I think it's stuffed and I haven't got the config right after all, because if it was just an update issue, then why would it have changed to thei IP's at all? --Nad 16:23, 27 September 2007 (NZST)
Actually it seems to be only the naked domain that's got the wrong IP, the www and svn both have the correct IP's... Not sure about the mail either... I must have done something slightly wrong in the template. --Nad
I hadn't put the OD IP into the @ subdomain which is character meaning the naked domain! --Nad 16:55, 27 September 2007 (NZST)

tried your full-page hack to geshicodetag extension

hey there. i'm trying to implement your full-page hack to the MW extension GeSHiCodeTag. so far, it renders the entire article syntax highlighted, but unfortunately the wikitext for the category (as square brackets) within the template isn't being expanded. instead, the text [[Category:PHP]] (or whatever language) is being shown where the template is being called in the article. how can i fix this? - Neologix 11:04, 5 October 2007 (NZST)

I'd forgotten that it relies on Extension:CategoryHook.php which allows you to do curly-braces categorisation --Nad 11:37, 5 October 2007 (NZST)

Regexp

I remember you were talking about a regexp extension, but I can't find it by any name i've tired? I'm trying to modify a PAGENAME lie this:

Courses/Compsci101s1c

change to

Compsci101s1c

So in perl I would do

s|(.+/)+||

--Rob 09:53, 12 October 2007 (NZDT)

News and Special:Version --Nad 12:37, 12 October 2007 (NZDT)

Cruise control

Need to check out cruise control sometime as part of build checking and selinium testing --Sven 11:49, 27 October 2007 (NZDT)

requesting help with the export to pdf extension Thanks!

I installed htmldoc (from a binary installer. I'm using Win XP).

when I use the link for exporting a page to a pdf file a pdf file is created but when I try to open it states it's corrupt.

I manage to save html pages to pdf via the GUI of the htmldoc software so the software works.

I think I have a problem pointing your extension to the htmldoc installation.

I added the following lines to my registry:

   [HKEY_LOCAL_MACHINE\SOFTWARE\Easy Software Products]
   [HKEY_LOCAL_MACHINE\SOFTWARE\Easy Software Products\HTMLDOC]
   "data"="C:\Program Files\HTMLDoc"
   "doc"="C:\Program Files\HTMLDoc\doc"

Might you be able to help?

--Gargamel573 13:50, 3 November 2007 (NZDT)

It needs to be placed in the system PATH so that it can execute without full path name. --Nad 15:51, 3 November 2007 (NZDT)
Thanks for the help!
--Gargamel573 23:35, 7 November 2007 (NZDT)
Hi. thanks for the reply. I'm afraid I don't know what is the system PATH, could you please explain where I need to place the HTMLdoc folder? Thanks for your time and help! --Gargamel573 01:59, 4 November 2007 (NZDT)
The point of having a PATH environment variable is so that you don't need to worry about where it's located you just run the program without the preceding path info, put the htmldoc binary in one of the places in your system's PATH variable, or alternatively add your htmldoc's location to the PATH variable. See this for info about PATH. --Nad 10:26, 4 November 2007 (NZDT)

Template:More

Is this useful? the only advantage of it is that we can categorize all the references we make using this template and minimize errors in formatting it. --Sven 09:03, 8 November 2007 (NZDT)

I thought the whole point of a "more" template was to render a certain number of characters of an article and also add the "more..." to the end, not just the "more..." by itself... --Nad 10:49, 8 November 2007 (NZDT)
Have you got any examples? I was just basing it quickly on this example --Sven 11:57, 8 November 2007 (NZDT)
I adjusted Template:More to the way I was talking about and updated 17 August 2007 to use it. --Nad 13:59, 8 November 2007 (NZDT)

Special:PdfPrint error

This is just a note that Special:PdfPrint with no article specified throws an error. I don't think it is one of our extensions though. This is imbuild into MW 1.11.0 now right? --Sven 13:47, 8 November 2007 (NZDT)

It's not imbuilt, it's from MW:Extension:Pdf Export which is not one of ours. --Nad 13:52, 8 November 2007 (NZDT)
Yeah just found it independently :p --Sven 13:53, 8 November 2007 (NZDT)


Errors on Updating template articles with an Ajax form

Hi Nad. Please see

Error with simpleform 20071108.JPG
Thanks Michael I'll look in to that now --Nad 22:10, 8 November 2007 (NZDT)
That should be fixed now (version 0.4.6) - I don't know why it wasn't showing up from my browser?! --Nad 22:21, 8 November 2007 (NZDT)
Hi Nad. The error message have disappeared, but the form is malfunction. --Roc michael 00:28, 9 November 2007 (NZDT)
Can you tell me what it's doing or do another screenshot? It's working properly for me for some reason?! --Nad 00:53, 9 November 2007 (NZDT)
I am Sorry for replying so late. Please see the picture bellow.
Error with simpleform 20071111.JPG
The result of using this page is the same. You can try it after you login ,The site have no e-mail function.
By the way, does this site have no e-mail-notice function? I had set watching this page but there was no E-mail notice to me when you wrote the message above.--Michael 14:36, 11 November 2007 (NZDT)
Yeah that form is a test of functionality which is not quite ready yet and will work much more reliabally in the next version of simple-forms. --Nad 15:28, 11 November 2007 (NZDT)