https://www.icyphoenix.com/viewtopic.php?f=28&t=4978&p=34066#p34066
-----------------------------------
Xusqui
Thu 27 Nov, 2008 08:29

Re: Donation MOD 1.0.4
-----------------------------------
Error...

When I try to load contact_us.php I get an error about a function (colorize_username) not defined, although it works fine on your website (http://www.caromonline.de/contact_us.php). That's because I use a Global Block for displaying the donators in every page.

I did this:

Open includes/donate_functions_V3.php

Find
[code]			$last_donors .= colorize_username($row['user_id']) . '(' . sprintf("%.2f", $row['lw_money']) . '&nbsp;' . $row['MNY_CURRENCY'] . '), ';[/code]

Replace with
[code]			if (function_exists ('colorize_username'))
			{
				$last_donors .= colorize_username($row['user_id']) . '(' . sprintf("%.2f", $row['lw_money']) . '&nbsp;' . $row['MNY_CURRENCY'] . '), ';
			}
			else
			{
				$last_donors .= $row['user_id'] . '(' . sprintf("%.2f", $row['lw_money']) . '&nbsp;' . $row['MNY_CURRENCY'] . '), ';
			}[/code]

Now, it works fine!!

Greets!


