<!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=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2>Hi Ahmad:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
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=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2>It only works in native url, but not other&nbsp; 
(mod_rewtire, custom, pretty)&nbsp; url.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2>1. in newpoll.template</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2>The javascript including should change to 
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2>&lt;script type="text/javascript" 
src="{$url-&gt;getUrl("/1.2/plugins/crystalpoll/js/choices.js")}"&gt;&lt;/script&gt; 
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
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=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function 
getHtmlPoll()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;$rg 
= $this-&gt;blogInfo-&gt;getBlogRequestGenerator();<BR>&nbsp;&nbsp;echo 
'<BR>&nbsp;&nbsp;&nbsp;&lt;div 
id="crystalPoll"&gt;&lt;/div&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;script 
type="text/javascript"&gt;var 
pollBaseUrl="'.$rg-&gt;getBaseUrl().'";&lt;/script&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;script 
type="text/javascript" 
src="'.$rg-&gt;getUrl('/plugins/crystalpoll/js/crystalPollAjax.js').'"&gt;&lt;/script&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;script 
type="text/javascript"&gt;readPollAjax();&lt;/script&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2>3. in crystalPollAjax.js ,&nbsp;&nbsp; the javascript 
including should change to </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
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=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
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=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2>Mark</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=295354109-29012008><FONT face=&#26032;&#32048;&#26126;&#39636; 
color=#0000ff size=2></FONT></SPAN>&nbsp;</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>&nbsp;&nbsp;&nbsp; 
  Ahmad<BR clear=all><BR>-- <BR>Ahmad Fathi Saleh<BR><A 
  href="http://ahmad.jopdc.com">http://ahmad.jopdc.com</A> 
</BLOCKQUOTE></BODY></HTML>