DevFuse Forums: Donation Tracker Renewal - DevFuse Forums

Jump to content

View All ProductsRandom Products

Personal Message

Auto Birthday Greeter



IP.Board: IPB 3.0.x
Price: $ 10.95
Example Topic

Auto Anniversary Greeter



IP.Board: IPB 3.0.x
Price: $ 10.95
Main Page

Timeslip System



IP.Board: IPB 3.0.x
Price: $ 18.95
Logo View

Random Logos



IP.Board: IPB 3.0.x
Price: $ 14.95
Example PM

Moderator Action Alert



IP.Board: IPB 3.0.x
Price: $ 14.95
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic
  • Bookmark

Donation Tracker Renewal

#1 User is offline   RaptrX 

  • Newbie
  • Icon
  • Group: Customers
  • Posts: 4
  • Joined: 03-November 07

Posted 06 February 2010 - 10:53 PM

I purchased the donation tracker for my site back in november of 2007 (yes.. long time ago.) I am currently making a new forum for which I would like to use the tracker, but I lost my old download. I noticed that there is a reduced price for renewals, and was wondering how that would work since it was soo long ago that I no longer have any info from the original purchase.

PS: Side question, I made a custom php script that used the same hooks the mod used so that I it would show a "mini tracker" in the home page (not the portal). Was just wondering if the hooks have changed too much if I could renew for the old version.

This post has been edited by RaptrX: 06 February 2010 - 10:53 PM

0

#2 User is offline   Michael 

  • Management
  • Icon
  • Group: Management
  • Posts: 2,089
  • Joined: 22-September 05
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.0.x
  • First Name:Michael

Posted 06 February 2010 - 11:07 PM

The purchase is still linked to your forum account, you should be able to just renew here. Once complete your group will be changed and the license activated again.

Depends what version of IPB3 your using. The IPB2.3 hooks haven't changed but the IPB3 code is completely different and will need to be done again.
0

#3 User is offline   RaptrX 

  • Newbie
  • Icon
  • Group: Customers
  • Posts: 4
  • Joined: 03-November 07

Posted 06 February 2010 - 11:12 PM

Oh, there it is, appreciate it. (Should probably open my eyes next time :rolleyes: )

The forum I am making is still IPB 2.3 so... fingers crossed.
0

#4 User is offline   Michael 

  • Management
  • Icon
  • Group: Management
  • Posts: 2,089
  • Joined: 22-September 05
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.0.x
  • First Name:Michael

Posted 06 February 2010 - 11:56 PM

View PostRaptrX, on 07 February 2010 - 04:12 PM, said:

Oh, there it is, appreciate it. (Should probably open my eyes next time :rolleyes: )

The forum I am making is still IPB 2.3 so... fingers crossed.


If you let me know the code your using. I can confirm if your custom code will work or not.
0

#5 User is offline   RaptrX 

  • Newbie
  • Icon
  • Group: Customers
  • Posts: 4
  • Joined: 03-November 07

Posted 07 February 2010 - 12:28 AM

Here you go:

<?php 
include ("forums/conf_global.php");
mysql_connect ($INFO['sql_host'], $INFO['sql_user'], $INFO['sql_pass']) or die(mysql_error());
mysql_select_db ($INFO['sql_database']) or die(mysql_error());
$donate = mysql_query ("SELECT * FROM `ibf_donate_users` ORDER BY `id` DESC ");
$select = mysql_fetch_array($donate);
$i = mysql_num_rows($donate);
$id = $select["id"];
$rows = 0;
if ( $i == 0 ) {
echo "
<tr>
	<td align='center'><a href='forums/index.php?autocom=donate'><img src='images/donate.png' border='0' /></a></td>
</tr>
"; } 
else {
echo "
<tr>
	<td colspan='3' align='center'><a href='forums/index.php?autocom=donate'><img src='images/donate.png' border='0' /></a></td>
</tr>
<tr>
	<td class='donation_t'>Name</td>
    <td class='donation_t'>Amount</td>
    <td class='donation_t'>Date</td>
</tr>"; }
while ( $rows <= $i ) {
	$donators = mysql_query ("SELECT * FROM `ibf_donate_users` WHERE id=".$id."");
	$sel = mysql_fetch_array($donators);
	$name = $sel["member_name"];
	$amount = $sel["amount"];
	$intime = $sel["date"];
	$read_in = date("M d", $intime);
	if ( $amount == 0 ) {
		echo " ";
	}
	else { 
		$totalamount=($totalamount+$amount);
		echo "<tr><td class='donation'>$name</td><td class='donation'>$$amount</td><td class='donation'>$read_in</td></tr>"; 
	}
	$rows++;
	$id--;
}
$goal = mysql_query ("SELECT * FROM `ibf_donate_goals`");
$sel2 = mysql_fetch_array($goal);
$goal_amount = $sel2["g_amount"];
$goal_month = $sel2["g_name"];
$goal_left = ($goal_amount-$totalamount);
if ( $i == 0 ) {
echo " "; } 
else {
echo "
<tr>
	<td colspan='3' align='center'>
		<table width='$goal_amount' cellpadding='0' cellspacing='0' border='1' bordercolor='#FFFFFF' background='images/graph_bg.jpg'>
			<tr>
				<td background='images/graph_on.jpg' width='$totalamount' height='10'></td>
				<td width='$goal_left'></td>
			</tr>
		</table>
	</td>
</tr>"; }
if ( $i == 0 ) {
echo "
<tr>
	<td align='center' class='donation_t'>$goal_month : $$goal_amount<br />
													$$goal_left.00 remaining.</td>
</tr>
"; } 
else {
echo "
<tr>
	<td colspan='3' align='center' class='donation_t'>$goal_month : $$goal_amount<br />
													$$goal_left.00 remaining.</td>
</tr>"; }
?>

0

#6 User is offline   Michael 

  • Management
  • Icon
  • Group: Management
  • Posts: 2,089
  • Joined: 22-September 05
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.0.x
  • First Name:Michael

Posted 07 February 2010 - 01:16 AM

Yeah it still uses all the same fields, should work fine.
0

#7 User is offline   RaptrX 

  • Newbie
  • Icon
  • Group: Customers
  • Posts: 4
  • Joined: 03-November 07

Posted 07 February 2010 - 10:00 AM

Thanks for all the help. Just renewed.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic
  • Bookmark

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users