Summer of Code Proposed Projects
Summer of Code Proposed Projects
Hey all,
As usual, I'm doing things at the last minute. The application for the SoC 2007 needs to be in by Wednesday, so I need to get this together pretty quickly.
What I'm looking for are project proposals. Basically, self-contained projects that a student developer can do in a 3 month span of time by themselves. I feel these fall into a few specific categories
- 1.0.x Development - Things to make the current codebase more usable.
- 2.0 Development - Basically pick an undone piece of CMSMS 2.0's roadmap and go with it
- Modules - Find a useful module that people REALLY want and make it
Some ideas that I have include
- The new translation center -- This is a total standalone project, though I would like it to the use the 2.0 "framework". This was actually going to be the project that would help me separate the CMS from the underlying framework before 2.0 comes out.
- A simple WYSIWYG for CMSMS -- Either an adaption of an existing barebones WYSIWYG with a few needed functions, or a total from scratch creation.
- LDAP user authentication -- We need the ability to have LDAP based lookups so that we can tie into larger sites and be able to share account information with other systems.
What ideas do you guys have? Let me know soon and I'll get the proposals page up and send in the application.
Also, if anyone is interested in being a mentor to one of these projects, let me know. I can't mentor them all myself, so if you're a php coder and know a bit about one of the proposed projects, let me know.
Thanks!
Ted
As usual, I'm doing things at the last minute. The application for the SoC 2007 needs to be in by Wednesday, so I need to get this together pretty quickly.
What I'm looking for are project proposals. Basically, self-contained projects that a student developer can do in a 3 month span of time by themselves. I feel these fall into a few specific categories
- 1.0.x Development - Things to make the current codebase more usable.
- 2.0 Development - Basically pick an undone piece of CMSMS 2.0's roadmap and go with it
- Modules - Find a useful module that people REALLY want and make it
Some ideas that I have include
- The new translation center -- This is a total standalone project, though I would like it to the use the 2.0 "framework". This was actually going to be the project that would help me separate the CMS from the underlying framework before 2.0 comes out.
- A simple WYSIWYG for CMSMS -- Either an adaption of an existing barebones WYSIWYG with a few needed functions, or a total from scratch creation.
- LDAP user authentication -- We need the ability to have LDAP based lookups so that we can tie into larger sites and be able to share account information with other systems.
What ideas do you guys have? Let me know soon and I'll get the proposals page up and send in the application.
Also, if anyone is interested in being a mentor to one of these projects, let me know. I can't mentor them all myself, so if you're a php coder and know a bit about one of the proposed projects, let me know.
Thanks!
Ted
Re: Summer of Code Proposed Projects
I am no coder (wish I was!), but I think it would be really cool to redo the existing tag, function.contact_form.php or the Form Builder module to work like this:
The script itself:
The config file:
I was able to easily customize this script for my own use and posted my customized version here:
http://forum.cmsmadesimple.org/index.php/topic,10667.msg53408.html#msg53408
The reason I like this particular script over what is now currently available in CMSms is the very easy way I was able to customize it for a specific form AND, most importantly, it was very easy to create a form that follows most (if not all) of the recommendations for accessible forms.
As I said, I'm no coder (I say I know just enough php to get myself into trouble). I also don't know enough about the smarty engine to turn my UDT into a CMSms plugin. But I'm hoping that someone might find this not too hard to do. If it gets done, I'll be the first to download and test it!!!
(P.S.) Gavin Bell, on his website, indicates that the script is free to use and modify, but it would be cool to keep his credits in the script.)
The script itself:
Code: Select all
<?php
/*
BELLonline PHP MAILER SCRIPT v1.4
Copyright 2006 Gavin Bell
http://www.bellonline.co.uk
gavin@bellonline.co.uk
Set up an email form on your website within minutes - see readme.txt for installation.
*/
extract($_POST);
if (!file_exists("config.php"))
{
$host = $_SERVER[HTTP_HOST ];
$path = pathinfo($_SERVER['PHP_SELF']);
$file_path = $path['dirname'];
print "<h1>BELLonline PHP mailer script</h1>
<h2>There is a problem with your PHP mailer script installation</h2>
<p>The config.php file seems to be missing!</p>
<p>For this script to work, you need to upload the config.php file that came with the download of the BELLonline <a href=\"http://www.bellonline.co.uk/web-services/free/scripts/php-mailer-script/\">PHP mailer script</a>.</p>
<p>The file must be in the following directory of your website:</p>
<p>$host<span style=\"font-weight: bold; font-size: 150%;\">$file_path/</span></p>
<p>If you need help installing the script, then feel free to email me at <a href=\"mailto:gavin@bellonline.co.uk\">gavin@bellonline.co.uk</a></p>";
exit;
}
include "config.php";
if ($sendto_email == "changeme@example.com")
{
print "<h1>BELLonline PHP mailer script</h1>
<h2>Installation nearly complete!</h2>
<p>Thank you for downloading the <a href=\"http://www.bellonline.co.uk/web-services/free/scripts/php-mailer-script/\" title=\"free PHP mailer script\">free PHP mailer script</a> from <a href=\"http://www.bellonline.co.uk\">BELLonline web services</a>. </p>
<p>To start using the script, open config.php in a text editor and change the <b>$sendto_email</b> variable to your email address.</p>
<p>If you did not get a config.php file with this script, then go to the <a href=\"http://www.bellonline.co.uk/web-services/free/scripts/php-mailer-script/\">PHP mailer script page</a> and download the full script.</p>
<p>If you need help installing the script, then feel free to email me at <a href=\"mailto:gavin@bellonline.co.uk\">gavin@bellonline.co.uk</a></p>";
exit;
}
if (empty ($senders_name))
{
$error = "1";
$info_error .= $lang_noname . "<br>";
}
if (empty ($senders_email))
{
$error = "1";
$info_error .= $lang_noemail . "<br>";
}
if (empty ($mail_subject))
{
$error = "1";
$info_error .= $lang_nosubject . "<br>";
}
if (empty ($mail_message))
{
$error = "1";
$info_error .= $lang_nomessage . "<br>";
}
if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,6}$", $senders_email))
{
$error = "1";
$info_error .= $lang_invalidemail . "<br>";
}
if (empty ($security_code))
{
$error = "1";
$info_error .= $lang_nocode . "<br>";
}
elseif ($security_code != $randomness)
{
$error = "1";
$info_error .= $lang_wrongcode . "<br>";
}
if ($showlink != "no")
{
$link = "<br><span style=\"font-size: 10px;\">Powered by <a href=\"http://www.bellonline.co.uk/web-services/free/scripts/php-mailer-script/\" title=\"free PHP mailer script\">BELLonline PHP mailer script</a></span>";
}
if ($error == "1")
{
$info_notice = "<span style=\"color: " . $error_colour . "; font-weight: bold;\">" . $lang_error . "</span><br>";
if (empty ($submit))
{
$info_error = "";
$info_notice = $lang_notice;
}
function Random()
{
$chars = "ABCDEFGHJKLMNPQRSTUVWZYZ23456789";
srand((double)microtime()*1000000);
$i = 0;
$pass = '' ;
while ($i <= 4)
{
$num = rand() % 32;
$tmp = substr($chars, $num, 1);
$pass = $pass . $tmp;
$i++;
}
return $pass;
}
$random_code = Random();
$mail_message = stripslashes($mail_message);
print "<form name=\"BELLonline_email\" method=\"post\" style=\"margin: 0;\" action=\"\">
<table border=\"0\" cellspacing=\"2\" cellpadding=\"2\">
<tr align=\"$title_align\" valign=\"top\">
<td colspan=\"2\"><span style=\"$title_css\">$lang_title</span></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td colspan=\"2\">$info_notice$info_error</td>
</tr>
<tr valign=\"top\">
<td align=\"right\">$lang_name</td>
<td align=\"left\"><input name=\"senders_name\" type=\"text\" class=\"mailform_input\" id=\"senders_name\" style=\"width: $input_width;\" value=\"$senders_name\" maxlength=\"32\"></td>
</tr>
<tr valign=\"top\">
<td width=\"100\" align=\"right\">$lang_youremail</td>
<td align=\"left\"><input name=\"senders_email\" type=\"text\" class=\"mailform_input\" id=\"senders_email\" style=\"width: $input_width;\" value=\"$senders_email\" maxlength=\"64\"></td>
</tr>
<tr valign=\"top\">
<td width=\"100\" align=\"right\">$lang_subject</td>
<td align=\"left\"><input name=\"mail_subject\" type=\"text\" class=\"mailform_input\" id=\"mail_subject\" style=\"width: $input_width;\" value=\"$mail_subject\" maxlength=\"64\"></td>
</tr>
<tr valign=\"top\">
<td width=\"100\" align=\"right\">$lang_message</td>
<td align=\"left\"><textarea name=\"mail_message\" cols=\"36\" rows=\"5\" style=\"width: $input_width;\" class=\"mailform_input\">$mail_message</textarea></td>
</tr>
<tr align=\"left\" valign=\"top\">
<td width=\"100\">$lang_confirmation</td>
<td><input name=\"security_code\" type=\"text\" id=\"security_code\" size=\"5\">
<b>$random_code</b></td>
</tr>
<tr valign=\"top\">
<td colspan=\"2\" align=\"right\"><input name=\"randomness\" type=\"hidden\" id=\"randomness\" value=\"$random_code\">
<input name=\"submit\" type=\"submit\" id=\"submit\" value=\"$lang_submit\" class=\"mailform_button\"></td>
</tr>
</table>
</form>";
}
else
{
if ($checkdomain == "yes")
{
$sender_domain = substr($senders_email, (strpos($senders_email, '@')) +1);
$recipient_domain = substr($sendto_email, (strpos($sendto_email, '@')) +1);
if ($sender_domain == $recipient_domain)
{
print "Sorry, you cannot send messages from this domain ($sender_domain)";
exit;
}
}
$info_notice = $lang_sent;
$mail_message = stripslashes($mail_message);
$senders_email = preg_replace("/[^a-zA-Z0-9s.@-]/", " ", $senders_email);
$senders_name = preg_replace("/[^a-zA-Z0-9s]/", " ", $senders_name);
$headers = "From: $senders_name <$senders_email> \r\n";
$headers .= "X-Mailer: BELLonline.co.uk PHP mailer \r\n";
mail($sendto_email, $mail_subject, $mail_message, $headers);
print " <table border=\"0\" cellspacing=\"2\" cellpadding=\"2\">
<tr align=\"$title_align\" valign=\"top\">
<td colspan=\"2\"><span style=\"$title_css\">$lang_title</span></td>
</tr>
<tr align=\"$title_align\" valign=\"top\">
<td colspan=\"2\">$info_notice</td>
</tr>
<tr valign=\"top\">
<td width=\"100\" align=\"right\">$lang_name</td>
<td align=\"left\"><b>$senders_name</b></td>
</tr>
<tr valign=\"top\">
<td width=\"100\" align=\"right\">$lang_youremail</td>
<td align=\"left\"><b>$senders_email</b></td>
</tr>
<tr valign=\"top\">
<td width=\"100\" align=\"right\">$lang_subject</td>
<td align=\"left\"><b>$mail_subject</b></td>
</tr>
<tr valign=\"top\">
<td width=\"100\" align=\"right\">$lang_message</td>
<td align=\"left\"><b>$mail_message</b></td>
</tr>
</table>";
}
print $link;
?>
Code: Select all
<?php
/*
BELLonline PHP MAILER SCRIPT v1.4
Copyright 2006 Gavin Bell
http://www.bellonline.co.uk
gavin@bellonline.co.uk
Set up an email form on your website within minutes.
Very simple to install and use, and fully customisable.
All you need to edit to get the script working is $sendto_email
but there are other options so that you can further customise the script.
*/
// Edit the following with the email address that you want the form to send to
$sendto_email = "heather@cathyheather.net";
// The settings below should be fine but you can edit them anyway
// Disable email addresses from the same domain as your email from being sent?
// This will often reduce spam but will not allow antone to send from anything@yourdomain.
$checkdomain = "yes";
// Language variables
$lang_title = "Send an email";
$lang_notice = "Fill in the form to contact us by email. All fields are required";
$lang_name = "Your name";
$lang_youremail = "Your email";
$lang_subject = "Subject";
$lang_message = "Message";
$lang_confirmation = "Enter validation code";
$lang_submit = "Send email";
// Error messages
$lang_error = "Your email has not been sent, the following errors were found:";
$lang_noname = "You did not enter your name";
$lang_noemail = "You did not enter your email address";
$lang_nosubject = "You did not enter a subject";
$lang_nomessage = "You did not enter a message";
$lang_nocode = "You did not the validation code";
$lang_wrongcode = "You entered the validation code incorrectly. Please note that it is case sensitive";
$lang_invalidemail = "The email address that you entered appears to be invalid";
// Success
$lang_sent = "Your email has been sent. The following message was submitted:";
// Width of form inputs. Must include unites, e.g px
$input_width = "300px";
// How do you want the title aligned?
$title_align = "left"; // Can be left, center or right
// To format the title text. If you are not confident with css then probably best left as it is
$title_css = "font-weight: bold; font-size: 120%;";
// Colour of error message
$error_colour = "red"; // Must use HTML compatible colour
// You can choose whether to display Powered by BELLonline PHP mailer script at the bottom of the mail form
// I understand that some peopme might not want to show our link, but we would appreciate it if you could
// Possible options are yes or no
$showlink = "no";
// Thanks for using the PHP mailer script, I hope you find it useful!
?>
http://forum.cmsmadesimple.org/index.php/topic,10667.msg53408.html#msg53408
The reason I like this particular script over what is now currently available in CMSms is the very easy way I was able to customize it for a specific form AND, most importantly, it was very easy to create a form that follows most (if not all) of the recommendations for accessible forms.
As I said, I'm no coder (I say I know just enough php to get myself into trouble). I also don't know enough about the smarty engine to turn my UDT into a CMSms plugin. But I'm hoping that someone might find this not too hard to do. If it gets done, I'll be the first to download and test it!!!

(P.S.) Gavin Bell, on his website, indicates that the script is free to use and modify, but it would be cool to keep his credits in the script.)
Re: Summer of Code Proposed Projects
OK, I apparently can't read. The deadline for this is tonight. Needless to say, I'm in crunch mode to get this together. I'm going to put an ideas page up this afternoon with the few that we have... I can always add to it in the future, so please keep the ideas coming.
Thanks!
Thanks!
Re: Summer of Code Proposed Projects
The ideas page has been posted at: http://cmsmadesimple.org/soc-ideas
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: Summer of Code Proposed Projects
The ideas page looks good.Ted wrote: The ideas page has been posted at: http://cmsmadesimple.org/soc-ideas
I'm interested in working on one of the projects as part of the summer of code. (Oh how that would rock, getting paid to do something I love!)
Of the 4 posted there, I'm most interested in "WebDAV Integration", or "Simple, Custom WYSIWYG". I wouldn't be opposed to "Translation Center Rewrite". I don't know much about LDAP, so "LDAP User Authentication" might not be the best for me.
It'd be cool if we can get 4 students (hopefully including me) working on CMSMS over the summer.

- Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 

- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: Summer of Code Proposed Projects
iNSiPiD and I were talking about some of the projects.
Here are some of our thoughts (sorry I didn't clean them up):
Here are some of our thoughts (sorry I didn't clean them up):
http://cmsmadesimple.org/soc-ideas
Title: CMS Made Simple - Summer of Code Ideas (at cmsmadesimple.org)
I'm thinking that #2 would help the most people (but be the most annoying) but #4 would be the most fun (but help the least people)
Most of them sound like my ideas?
#2 is definitely a biggie.
yeah, a *lot* of people want that.
#5 is next on my list of faves.
It's just one of those things that's essential for any CMS environment.
I'm just not sure if I can do a WYSIWYG that works great. It seems many people have tried.
Half the reason for adopting a CMS is so our clients can update their own sites.
#5 ?
Yeah, but they''ve tried too hard and tried to do too much.
WEBDav
It's a case of keeping to standards and compliant code (XHTML 1.0 strict preferably).
And then just adding the usual formatting options.
Coloured code and rest just shouldn't be allowed.
A couple of custom buttons for cms_selflink and uploads and you're done.
If CMSMS gets accepted, I'll proably go for one of those 2. If we have other guys working, I can see if they have a strong preference.
iNSiPiD_: Mind if I post your thoughts on the forums?
Not at all. They're free.
cool. Thanks
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 

- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: Summer of Code Proposed Projects
Instead of writing our own WYSIWYG from scratch, I have found 2 possible candidates for being improved to suit our needs:
openWYSIWYG: http://www.openwebware.com/products/openwysiwyg/
WYMeditor: http://www.wymeditor.org/en/
Another one that looks interesting is Cross-Browser Rich Text Editor http://www.kevinroth.com/rte/ but it does not seem to be open source.
openWYSIWYG: http://www.openwebware.com/products/openwysiwyg/
WYMeditor: http://www.wymeditor.org/en/
Another one that looks interesting is Cross-Browser Rich Text Editor http://www.kevinroth.com/rte/ but it does not seem to be open source.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 

Re: Summer of Code Proposed Projects
Please look here for thatElijah Lofgren wrote: Another one that looks interesting is Cross-Browser Rich Text Editor http://www.kevinroth.com/rte/ but it does not seem to be open source.

http://dev.cmsmadesimple.org/projects/cbrte/
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: Summer of Code Proposed Projects
Cool, thanks. That will be another option for integrating well (i.e. CMSMS linker + image browser).cyberman wrote:Please look here for thatElijah Lofgren wrote: Another one that looks interesting is Cross-Browser Rich Text Editor http://www.kevinroth.com/rte/ but it does not seem to be open source.
http://dev.cmsmadesimple.org/projects/cbrte/
I think WYMeditor seems to be the best option right now.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 

-
- Forum Members
- Posts: 78
- Joined: Mon Oct 23, 2006 4:43 pm
Re: Summer of Code Proposed Projects
Hi
well, if I might raise my voice.
I am using Opera and FCK does not work there. TinyMCE is quite slow. WYMeditor is not working in Opera either but....
openWysiwyg is working and is fast. I would like to see the possibility to include this in an easy (module) way.
Olaf
well, if I might raise my voice.
I am using Opera and FCK does not work there. TinyMCE is quite slow. WYMeditor is not working in Opera either but....
openWysiwyg is working and is fast. I would like to see the possibility to include this in an easy (module) way.
Olaf
- FantomCircuit
- Forum Members
- Posts: 75
- Joined: Fri Nov 10, 2006 1:34 am
- Location: Gold Coast, Australia
Re: Summer of Code Proposed Projects
Edit: Whoops, wrong thread, though it is related.
Im working on setting up WYM as a module now. Hopefully I should have it done by the end of the day.
It doesn't seem too hard at all, though I dont know why the WYSIWYGGenerateHeader() injects stuff above the body element
Im working on setting up WYM as a module now. Hopefully I should have it done by the end of the day.
It doesn't seem too hard at all, though I dont know why the WYSIWYGGenerateHeader() injects stuff above the body element
