If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Fehler in Advanced Poll - Cannot redeclare set_max_bar_lengt  XML
Forum Index » German Forum
Author Message
Anonymous



Okay, hier ist die Lösung:

Editioert class_poll.php in textfile/include.

Da sind zwei Deklarationen von
function set_max_bar_height($max_bar_height='')

Sucht nach dem obigen Funktionsrumpf.

Kommentiert die zweite Deklaration aus.

Also so:

// Lasst diese in Ruhe.
function set_max_bar_height($max_bar_height='') {
if ($max_bar_height && $max_bar_height>0) {
$this->pollvars['img_height'] = $max_bar_height;
return true;
} else {
return false;
}
}

// Kommentiert diese aus!
/*
function set_max_bar_length($max_bar_length='') {
if ($max_bar_length && $max_bar_length>0) {
$this->pollvars['img_length'] = $max_bar_length;
}
return $this->pollvars['img_length'];
}
*/

Grüße,
Thorsten

tdrewes@gmx.net
Anonymous



Schubs nach oben
 
Forum Index » German Forum
Go to:   
Based on the open source JForum