Nabbe wrote: I downloaded this cash-mod. But now I cant find any add-ons to fit it, like shop or bank. I tried the shop at www.phpbbhacks.com but it did not work...
Anyone can help me out here, finding a shop thats compatible? I tried the one listed in one of the first messages, but it did not work either...
function display($amount,$surpress_image = false,$quotes = false)
{
if( $this->mask(CURRENCY_PREFIX) )
{
return ($this->name($surpress_image,$quotes,$bbcode) . ' ' . $amount);
}
else
{
return ($amount . ' ' . $this->name($surpress_image,$quotes));
}
}
function display($amount,$surpress_image = false,$quotes = false)
{
$amount = number_format($amount);
if( $this->mask(CURRENCY_PREFIX) )
{
return ($this->name($surpress_image,$quotes,$bbcode) . ' ' . $amount);
}
else
{
return ($amount . ' ' . $this->name($surpress_image,$quotes));
}
}
Parse error: parse error in c:\program files\easyphp1-8\www\forum\includes\functions_cash.php on line 168
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/wtpoker/domains/wannatalkpoker.com/public_html/forum/includes/functions_cash.php on line 168
function quoteslash($text,$quotes)
{
if ( is_array($quotes) )
{
for ($i = 0; $i < count($quotes); $i++ )
{
if ( $quotes[$i] == '\'' )
{
$text = str_replace('\'',''',$text);
}
else if ( $quotes[$i] == '"' )
{
$text = str_replace('"','"',$text);
}
else if ( $quotes[$i] != '' )
{
$text = str_replace($quotes[$i],'\\' . $quotes[$i],$text);
}
}
Code: Select all
function quoteslash($text,$quotes)
{
if ( is_array($quotes) )
{
for ($i = 0; $i < count($quotes); $i++ )
{
if ( $quotes[$i] == '\'' )
{
$text = str_replace('\'','& # 0 3 9 ; ',$text);
}
else if ( $quotes[$i] == '"' )
Code: Select all
function quoteslash($text,$quotes)
{
if ( is_array($quotes) )
{
for ($i = 0; $i < count($quotes); $i++ )
{
if ( $quotes[$i] == '\'' )
{
$text = str_replace('\'',''',$text);
}
else if ( $quotes[$i] == '"' )
Brf wrote:Code: Select all
{ $text = str_replace('\'','& # 0 3 9 ; ',$text);
Code: Select all
{
$text = str_replace('\'',' & # 0 3 9 ; ',$text);