Phpster | 1 Sep 04:16 2010
Picon

Re: Re: Removing link on the fly, but leave link text


On Aug 31, 2010, at 16:26, Ashley Sheridan <ash <at> ashleysheridan.co.uk> wrote:

> On Tue, 2010-08-31 at 17:15 -0300, Jo?o C?ndido de Souza Neto wrote:
> 
>> Theres an eror.
>> 
>> The correct is:
>> 
>> $pattern = array(
>>    "/<a [^>]>/",
>>    "/</a>/"
>> );
>> 
>> $text =  preg_replace($pattern, "", $text);
>> 
>> 
>> -- 
>> Joo Cndido de Souza Neto
>> 
>> ""Joo Cndido de Souza Neto"" <joao <at> consultorweb.cnt.br> escreveu na 
>> mensagem news:D0.73.48953.EE16D7C4 <at> pb1.pair.com...
>>> Try this:
>>> 
>>> $pattern = array(
>>>   "/<a [^>]/",
>>>   "/</a>/"
>>> );
>>> 
>>> preg_replace($pattern, "", $text);
(Continue reading)

Michael Shadle | 1 Sep 04:21 2010
Picon

Looking for open source Learning Management System suggestions

Yes, there is Moodle.

However, upon installing it, I found the admin UI to be extremely
gaudy, counter-intuitive, and requires it's own learning system just
to get it right (ha ha)

Does anyone know of any other options out there?

Obviously, open source is best, I'd even take some reasonably priced
options though that allow for some extensibility.

There should be the following capabilities:

- Learning tracks - groups of courses/modules
- Modules or courses - pages of content, videos, whatever, with or
without quizzes and related test-like activities
- Reporting / metrics - scores for individuals, groups
- User authentication (obviously) - bonus if external authentication
or some way to hook into external user auth
- Not extremely hard to theme or customize the look
- Users should be able to resume where they left off in courses
- Mobile support (or some way it can be themed or made very usable for
mobile devices, mainly iDevices)
- Questions and answers can be randomized, allow for $x retakes,
explain why their answer is wrong (or at least a reference to a URL)
- Questions can be multiple choice, single choice, short answer, etc.

It should be easy for an end user to take tests and move through
courses, the course could just be a test - it doesn't necessarily need
to be pages of content and such. It should be easy for "teachers" or
(Continue reading)

Bastien Koert | 1 Sep 04:53 2010
Picon

Re: Looking for open source Learning Management System suggestions

On Tue, Aug 31, 2010 at 7:21 PM, Michael Shadle <mike503 <at> gmail.com> wrote:
> Yes, there is Moodle.
>
> However, upon installing it, I found the admin UI to be extremely
> gaudy, counter-intuitive, and requires it's own learning system just
> to get it right (ha ha)
>
> Does anyone know of any other options out there?
>
> Obviously, open source is best, I'd even take some reasonably priced
> options though that allow for some extensibility.
>
> There should be the following capabilities:
>
> - Learning tracks - groups of courses/modules
> - Modules or courses - pages of content, videos, whatever, with or
> without quizzes and related test-like activities
> - Reporting / metrics - scores for individuals, groups
> - User authentication (obviously) - bonus if external authentication
> or some way to hook into external user auth
> - Not extremely hard to theme or customize the look
> - Users should be able to resume where they left off in courses
> - Mobile support (or some way it can be themed or made very usable for
> mobile devices, mainly iDevices)
> - Questions and answers can be randomized, allow for $x retakes,
> explain why their answer is wrong (or at least a reference to a URL)
> - Questions can be multiple choice, single choice, short answer, etc.
>
> It should be easy for an end user to take tests and move through
> courses, the course could just be a test - it doesn't necessarily need
(Continue reading)

Jim Lucas | 1 Sep 05:48 2010

Re: Re: Removing link on the fly, but leave link text

Ashley Sheridan wrote:
> On Tue, 2010-08-31 at 17:15 -0300, Jo?o C?ndido de Souza Neto wrote:
> 
>> Theres an eror.
>>
>> The correct is:
>>
>> $pattern = array(
>>     "/<a [^>]>/",
>>     "/</a>/"
>>  );
>>
>> $text =  preg_replace($pattern, "", $text);
>>
>>
>> -- 
>> Joo Cndido de Souza Neto
>>
>> ""Joo Cndido de Souza Neto"" <joao <at> consultorweb.cnt.br> escreveu na 
>> mensagem news:D0.73.48953.EE16D7C4 <at> pb1.pair.com...
>>> Try this:
>>>
>>> $pattern = array(
>>>    "/<a [^>]/",
>>>    "/</a>/"
>>> );
>>>
>>> preg_replace($pattern, "", $text);
>>>
>>> -- 
(Continue reading)

Michael Shadle | 1 Sep 05:57 2010
Picon

Re: Looking for open source Learning Management System suggestions


On Aug 31, 2010, at 7:53 PM, Bastien Koert <phpster <at> gmail.com> wrote:

>> 
>> 
> Our company built one on top of wordpress. You can easily build most
> of it with stock plugins and it has UIs for idevices...worth
> considering

Yeah - obviously anything can be built and a lot of things can be extended... But were on a tight deadline for
the first pass and would like something a little more out of the box (ideally)

--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Richard S. Crawford | 1 Sep 06:06 2010

Re: Looking for open source Learning Management System suggestions

I'm late to this thread, so I don't know what's been mentioned here already.
However, I'd be remiss if I did not recommend Moodle (http://www.moodle.org)
as an open-source learning management system. The learning curve is a bit
steep, especially if you're going to mess around in the code, but it's
powerful and flexible.

On Tue, Aug 31, 2010 at 8:57 PM, Michael Shadle <mike503 <at> gmail.com> wrote:

>
>
> On Aug 31, 2010, at 7:53 PM, Bastien Koert <phpster <at> gmail.com> wrote:
>
> >>
> >>
> > Our company built one on top of wordpress. You can easily build most
> > of it with stock plugins and it has UIs for idevices...worth
> > considering
>
> Yeah - obviously anything can be built and a lot of things can be
> extended... But were on a tight deadline for the first pass and would like
> something a little more out of the box (ideally)
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--

-- 
(Continue reading)

David Mehler | 1 Sep 08:00 2010
Picon

require_once

Hello,
I've got probably a simple question on require_once. I've got a file
that has require_once at the top of it pulling in another file of
functions. Later on in this file I've got another require_once
bringing in a second file. In this second file I have a function call
to a function defined in the first files' top require_once functions
file. I'm getting a call to undefined function.
Should I change he require_once to require at the top of the first
file to fix? I thought require_once meant it was in that file and
anything pulled in later?
Thanks.
Dave.

--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Peter Lind | 1 Sep 08:39 2010
Picon

Re: require_once

On 1 September 2010 08:00, David Mehler <dave.mehler <at> gmail.com> wrote:
> Hello,
> I've got probably a simple question on require_once. I've got a file
> that has require_once at the top of it pulling in another file of
> functions. Later on in this file I've got another require_once
> bringing in a second file. In this second file I have a function call
> to a function defined in the first files' top require_once functions
> file. I'm getting a call to undefined function.
> Should I change he require_once to require at the top of the first
> file to fix? I thought require_once meant it was in that file and
> anything pulled in later?
> Thanks.
> Dave.

The file is included properly, otherwise your script would halt.
You're likely looking at an issue of scope: the functions might be
included in a scope you don't expect them to be.

Regards
Peter

-- 
<hype>
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
BeWelcome/Couchsurfing: Fake51
Twitter: http://twitter.com/kafe15
</hype>

--

-- 
(Continue reading)

Paul Freeman | 1 Sep 11:01 2010
Picon

Backtrace in fatal error?

When fatal error occurs is it possible to output also the backtrace in the 
error log? The simple error message with file line 
only is quite useless...

--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Simon J Welsh | 1 Sep 11:33 2010
Picon

Re: Backtrace in fatal error?

I think you need a PHP extension to do this. XDebug works rather nicely for this.
On 31/08/2010, at 8:49 PM, Paul Freeman wrote:

> When fatal error occurs is it possible to output also the backtrace in the error log? The simple error
message with file line 
> only is quite useless...
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

---
Simon Welsh
Admin of http://simon.geek.nz/

Who said Microsoft never created a bug-free program? The blue screen never, ever crashes!

http://www.thinkgeek.com/brain/gimme.cgi?wid=81d520e5e

--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Gmane