Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Donations Progress Image (Wiki lookalike) Details »
Donations Progress Image (Wiki lookalike)
Mod Version: 1.00, by Mr Chad (Member) Mr Chad is offline
Developer Last Online: Apr 2009 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.6.4 Rating: (3 votes - 5.00 average) Installs: 36
Released: 23 Jan 2007 Last Update: Never Downloads: 128
Not Supported  

If you like it click


Installation Time: <2 mins
Files: 2
Products: 1
VB Version: This actually works on 3.6.4 (not sure about 3.5)

Description:

THIS HACK IS AN ADDITION TO [PayPal Donations]

This Hack will get your dontations stats (i.e. goal total, total donated and percentage) and write them to your Donations Image. It calls the stats from
your Database and writes them to an image called donations.jpg

This hack uses the PHP-GD Function, so be shure you have this enabled on your server. If you donīt be shure about this, ask your host or look in your PHP-Info.

Installation Instructions:
  1. Upload donationsimage.php to your /includes/cron/ dir
  2. Upload donations.jpg to your forum dir / (CHMOD 777 the donations.jpg)
  3. Install the product and run the scheduled task called "Donations Image"
  4. go to yourforum/donations.jpg
Examples:
[Example of Use]
FAQ: N/A

If you like it click


To add extra stats look in the signature.php for more info.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #61  
Old 02 Feb 2007, 00:19
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Originally Posted by frandy View Post
Is it possible to change the color/style of the image? Like have a gradient in the background? change the positioning of the text etc?
yes, read the php source...
__________________
If anyone wants any of my past modifications please PM me... I will provide you with a link to them. I have decided to remove all my modifications from VB.org because of a small incident...

You can get my popular hacks here: Coders Shack
Reply With Quote
  #62  
Old 02 Feb 2007, 21:31
frandy frandy is offline
 
Join Date: Mar 2006
heh, you dont happen to have a list of the colors do you? cuz I dont understand all that 0x33 stuff
Reply With Quote
  #63  
Old 02 Feb 2007, 21:47
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
well 0x33 is in HEX like 0x33,0x33,0x33 is the same as HEX #333333 or you can just use RGB and put the number values like 255,255,255
__________________
If anyone wants any of my past modifications please PM me... I will provide you with a link to them. I have decided to remove all my modifications from VB.org because of a small incident...

You can get my popular hacks here: Coders Shack
Reply With Quote
  #64  
Old 02 Feb 2007, 21:51
frandy frandy is offline
 
Join Date: Mar 2006
Nice, nice thanks and also speedy response!
Reply With Quote
  #65  
Old 02 Feb 2007, 23:11
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
no problem.
__________________
If anyone wants any of my past modifications please PM me... I will provide you with a link to them. I have decided to remove all my modifications from VB.org because of a small incident...

You can get my popular hacks here: Coders Shack
Reply With Quote
  #66  
Old 15 Feb 2007, 17:37
GNDI's Avatar
GNDI GNDI is offline
 
Join Date: Jun 2005
When I run the shedule I'll get this error

Donations Image

Warning: Cannot modify header information - headers already sent by (output started at /includes/adminfunctions.php:283) in /includes/cron/donationsimage.php on line 28

Done
But I don't see the connections here

// print out the page header
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' . "\r\n";
echo "<html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\"$htmlattributes>\r\n";
echo "<head>
<title>$titlestring</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=$stylevar[charset]\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"../cpstyles/" . $vbulletin->options['cpstylefolder'] . "/controlpanel.css\" />" . iif($headinsert != '', "
$headinsert") . "
<script type=\"text/javascript\">
<!--
var SESSIONHASH = \"" . $vbulletin->session->vars['sessionhash'] . "\";
function set_cp_title()
__________________
BSD

VIB-host

Last edited by GNDI; 15 Feb 2007 at 17:41.
Reply With Quote
  #67  
Old 16 Feb 2007, 02:36
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
what the hells all that?

did it make an image?
__________________
If anyone wants any of my past modifications please PM me... I will provide you with a link to them. I have decided to remove all my modifications from VB.org because of a small incident...

You can get my popular hacks here: Coders Shack
Reply With Quote
  #68  
Old 17 Feb 2007, 22:47
T_Richardson T_Richardson is offline
 
Join Date: Aug 2006
I would like to have this bar for my website.

I see that you need the donation mod before installing this one. So, I downloaded the "donations.zip" you specified in this thread, and it seems to be missing the install files.

Attached is what I have. And I'm installing it on vB 3.6.4
Attached Files
File Type: zip donations.zip (244.2 KB, 3 views)
Reply With Quote
  #69  
Old 09 Mar 2007, 09:04
Quantnet Quantnet is offline
 
Join Date: Nov 2006
very nice.

So bad I have a different paypal donation mod which this image does not work with.

Would you be able to make this image read from some manually input amount and goal ?
Say I enter the amount and goal somewhere and have the code read from it and write to the image ?

thanks
Reply With Quote
  #70  
Old 06 Apr 2007, 22:24
blastup blastup is offline
 
Join Date: Feb 2007
hey can you help me.. idk why.. my donations don't work.. http://indexspot.com/donate.php
Reply With Quote
  #71  
Old 06 Apr 2007, 22:25
blastup blastup is offline
 
Join Date: Feb 2007
i added the donations. but.. it does not show..
Reply With Quote
  #72  
Old 06 Apr 2007, 22:26
blastup blastup is offline
 
Join Date: Feb 2007
and when i tried to run the schedule task wiki image.. it does not work..
The image “http://www.indexspot.com/admincp/cro...onid=43” cannot be displayed, because it contains errors.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:00.

Layout Options | Width: Wide Color: