![]() |
GD Counter
I am needing to raise some money to keep my forum running and have noticed that a number of Forums are using a GD counter to keep their members appraised of the progress of the fundraising.
I would like to include such a counter on my forum but am not sure how to implement it. If anyone knows how I would love to have the code etc. |
Hi
I would just keep the money value in a file and go from there! It's better than doing a query to get that value.... example..... create a file called 'whatever', my example uses 'funds.php', I use php file so people can not look at what is the value by just calling the file! Follow me.... create a file called 'funds.php' Inside that file put.... the money you have collected so far... Code:
<? Now create a script called 'fundraising.php' Put that in your './includes/ directory Inside that file put this.... Code:
<? Now create another file that will be used to call the IMAGE.... I will use 'show.php'.... in that file put this.... Code:
<? Now to show the image! In any template on your forum you would do this.... Code:
<img border='0' src='http://site.com/show.php' height='40' width='160' alt='' /> http://24.91.149.80/show.php To update the value of money raised you would do this.... Code:
<? and '56.50' would be replaced with the new real money raised value! Sonia |
Here is EXACTLY what you want - already written and released:
https://vborg.vbsupport.ru/showthread.php?t=67425 |
Quote:
|
Quote:
Thanks for your help. |
All times are GMT. The time now is 11:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|