submit them to the trackers, so we can deal with them
I did right now.
Umm..
btw..
this has just started..
and..
still going on ..
so..
just for reference
submit them to the trackers, so we can deal with them
function render()
{
$ret = $this->getTitle()."n<form name='".$this->getName()."' id='".$this->getName()."' action='".$this->getAction()."' method='".$this->getMethod()."'".$this->getExtra().">n<table border='0' width='100%'>n";
foreach ( $this->getElements() as $ele ) {
if ( !$ele->isHidden() ) {
$ret .= "<tr valign='top' align='left'><td>".$ele->getCaption();
if ($ele->getDescription() != '') {
$ret .= '<br /><br /><span style="font-weight: normal;">'.$ele->getDescription().'</span>';
}
$ret .= "</td><td>".$ele->render()."</td></tr>";
} else {
$ret .= $ele->render()."n";
}
}
$ret .= "</table>n</form>n";
return $ret;
}
function render(){
return "<input type='hidden' name='".$this->getName()."' id='".$this->getName()."' value='".$this->getValue()."' />";
}
//if ( !$ele->isHidden() ) {
$ret .= "<tr valign='top' align='left'><td>".$ele->getCaption();
if ($ele->getDescription() != '') {
$ret .= '<br /><br /><span style="font-weight: normal;">'.$ele->getDescription().'</span>';
}
$ret .= "</td><td>".$ele->render()."</td></tr>";
//} else {
// $ret .= $ele->render()."n";
//}
if (!is_object($ele)) {
$ret .= $ele;
//} elseif (!$ele->isHidden()) {
} else {
//if ($count % 2 == 0) {
$class = 'even';
//} else {
// $class = 'odd';
//}
$ret .= "<tr valign='top' align='left'><td class='head'>".$ele->getCaption();
if ($ele->getDescription() != '') {
$ret .= '<br /><br /><span style="font-weight: normal;">'.$ele->getDescription().'</span>';
}
$ret .= "</td><td class='$class'>".$ele->render()."</td></tr>";
//$count++;
//} else {
// $ret .= $ele->render();
}
<!-- start module search results loop -->
<{foreach item=module from=$modules}>
<p>
<h4><{$module.name}></h4>
<!-- start results item loop -->
<{foreach item=result from=$module.results}>
<img src="<{$result.image}>" alt="<{$module.name}>" /><b><a href="<{$result.link}>"><{$result.title}></a></b><br /><small>(<{$result.time}>)</small><br />
<{/foreach}>
<!-- end results item loop -->
<{$module.showall_link}>
</p>
<{/foreach}>
<!-- end module search results loop -->
<!-- start module search results loop -->
<{foreach item=module from=$modules}>
<p></p>
<h4><{$module.name}></h4>
<!-- start results item loop -->
<{foreach item=result from=$module.results}>
<img src="<{$result.image}>" alt="<{$module.name}>" /><b><a href="<{$result.link}>"><{$result.title}></a></b><br /><small>(<{$result.time}>)</small><br />
<{/foreach}>
<!-- end results item loop -->
<{$module.showall_link}>
<p></p>
<{/foreach}>
<!-- end module search results loop -->
Herko Coomans wrote:
If you find any code or templates that need to be adjusted because of this, submit them to the trackers, so we can deal with them
Herko
if (stristr($imageurl, '.swf')) {
$bannerobject = $bannerobject
.'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="468" height="60">'
.'<param name=movie value="'.$imageurl.'">'
.'<param name=quality value=high>'
.'<embed src="'.$imageurl.'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"; type="application/x-shockwave-flash" width="468" height="60">'
.'</embed>'
.'</object>';
} else {
$bannerobject = $bannerobject.'<img src="'.$imageurl.'" alt="" />';
}
if (stristr($imageurl, '.swf')) {
$bannerobject = $bannerobject
.'<object type="application/x-shockwave-flash" data="'.$imageurl.'" width="468" height="60">'
.'<param name="movie" value="'.$imageurl.'" />'
.'<param name="quality" value="high" />'
.'</object>';
} else {
$bannerobject = $bannerobject.'<img src="'.$imageurl.'" alt="" />';
}
joeboe wrote:
I attempted the fix described above and I now get blank pages after submitting changes and when viewing the front page with the headlines module enabled.
joeboe wrote:
the News module does not appear to be acting properly either. It does not let me add any articles.
Tabasco wrote:
What is wanipmhack section(I mean ////////////////WANIPMHACK3.0)?
kumzzy wrote:
is there a latest file to download after all this discussion here?
suico wrote:
Great job wanikoo I love this, it was exactly what i were looking for.
suico asked:
Some questions for you:
Q1:
Is it possible to, when we set that users can t set the refusal or filter, those options dispear from the config form?
Q2:
ON the [PM System Function Status] could you make it showing only for admins? The members when they see a feature that is disable he asks us to have it and sometimes we don t want it and don t want to explain why.
Q3:
Also in the same screen agood idea would be to not show the whole column backup when we chose to not enable backup for members, the way it is we see a column without the options but the column is there
3- users can create category inside savebox and save pms in individual branchs.
Hisoka wrote:
What a pretty good work!
Windows are very nice now!
Hisoka wrote:
EDIT: Just one Question.
I would like to know where i can modify the name of the button we have when we send a PM to search the Name and the IUD of The PM Partner.
echo " <input type='button' name='search' value='"._SEARCH."' onclick='javascript:openWithSelfMain("".XOOPS_URL."/usersearch.php","searchuser",".$usersearch_width.",".$usersearch_height.");' /></td>";
echo " <input type='button' name='search' value='Click' onclick='javascript:openWithSelfMain("".XOOPS_URL."/usersearch.php","searchuser",550,430);' /></td>";
function pm_overDivEcho()
{
echo "<script language='Javascript' src='".XOOPS_URL."/overlib_mini.js' type='text/javascript'></script>n";
echo "<DIV id='overDiv' style='Z-INDEX: 10000; VISIBILITY: hidden; POSITION: absolute; width: 250px;'></DIV>n";
}
function pm_overDivaction($pmhelptext, $pmhelpcaption)
{
return "<a href='#' onmouseover="return overlib('".$pmhelptext."', CAPTION, '".$pmhelpcaption."', BELOW, RIGHT);" onmouseout='return nd();'><img src='".XOOPS_URL."/images/pmhelp.png' /></a> ";
}
function pm_overDivaction2($pmhelptext, $pmhelpcaption)
{
return "onmouseover="return overlib('".$pmhelptext."', CAPTION, '".$pmhelpcaption."', BELOW, RIGHT);" onmouseout='return nd();'";
}