<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2>Hi Ahmad:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2>It looks pretty nice. But, there still some issues, most of
them are "url" issue.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2>It only works in native url, but not other
(mod_rewtire, custom, pretty) url.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2>1. in newpoll.template</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2>The javascript including should change to
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2><script type="text/javascript"
src="{$url->getUrl("/1.2/plugins/crystalpoll/js/choices.js")}"></script>
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2>2. in plugincrystalpoll.class.php, the javascript including
should change to </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2> function
getHtmlPoll()<BR> {<BR> $rg
= $this->blogInfo->getBlogRequestGenerator();<BR> echo
'<BR> <div
id="crystalPoll"></div><BR> <script
type="text/javascript">var
pollBaseUrl="'.$rg->getBaseUrl().'";</script><BR> <script
type="text/javascript"
src="'.$rg->getUrl('/plugins/crystalpoll/js/crystalPollAjax.js').'"></script><BR> <script
type="text/javascript">readPollAjax();</script><BR>
';<BR> }</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2>3. in crystalPollAjax.js , the javascript
including should change to </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2>xmlHttp.open("GET", pollBaseUrl +
"/index.php?op=xxxx.......", true);</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2>Then, this plugin should works for all url
mode.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2>Mark</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=zh-tw dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> plog-svn-bounces@devel.lifetype.net
[mailto:plog-svn-bounces@devel.lifetype.net] <B>On Behalf Of </B>Ahmad
Saleh<BR><B>Sent:</B> Tuesday, January 29, 2008 5:13 PM<BR><B>To:</B> LifeType
Developer List<BR><B>Subject:</B> [pLog-svn] New Plugin [Crystal
Poll]<BR></FONT><BR></DIV>
<DIV></DIV>Hi guys<BR><BR>I've finished the new poll plugin, and fixed the
dynamic plugins issue by using Ajax.<BR><BR>Cheers,<BR>
Ahmad<BR clear=all><BR>-- <BR>Ahmad Fathi Saleh<BR><A
href="http://ahmad.jopdc.com">http://ahmad.jopdc.com</A>
</BLOCKQUOTE></BODY></HTML>