Jump to content

  • twitter
  • youtube
  • googleplus
  • facebook
  • rss
  • newsletter


Donation Tracker Renewal


  • Please log in to reply
6 replies to this topic

#1 RaptrX

RaptrX

    Newbie

  • Members
  • Pip
  • 4 posts
  • IP.Board Version:N/A

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.

Edited by RaptrX, 06 February 2010 - 10:53 PM.


#2 Michael

Michael

    Management

  • Management
  • 3,135 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

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.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#3 RaptrX

RaptrX

    Newbie

  • Members
  • Pip
  • 4 posts
  • IP.Board Version:N/A

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.

#4 Michael

Michael

    Management

  • Management
  • 3,135 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 06 February 2010 - 11:56 PM

View PostRaptrX, on 06 February 2010 - 11: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.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#5 RaptrX

RaptrX

    Newbie

  • Members
  • Pip
  • 4 posts
  • IP.Board Version:N/A

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>"; }
?>


#6 Michael

Michael

    Management

  • Management
  • 3,135 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 07 February 2010 - 01:16 AM

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

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#7 RaptrX

RaptrX

    Newbie

  • Members
  • Pip
  • 4 posts
  • IP.Board Version:N/A

Posted 07 February 2010 - 10:00 AM

Thanks for all the help. Just renewed.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users