vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Donations Progress Image (Wiki lookalike) (https://vborg.vbsupport.ru/showthread.php?t=137348)

Snake 01-24-2007 05:27 PM

Wow this is great!

bashy 01-24-2007 05:44 PM

I too would like to know, Editing the jpg does not work...been there, tried that lol

Quote:

Originally Posted by Martin-TMGRS (Post 1166496)
Great hack :) Could you tell me how to change the $ to ? please. do I just edit the jpg image ?


scan-pa 01-24-2007 06:35 PM

Thanks to Mr Chad for all of his help. I installed the hackslast night and already have had our Jan Goal met in less then 20 hours.

awsome job.

Mr Chad 01-24-2007 06:54 PM

Quote:

Originally Posted by bashy (Post 1166452)
Ok, just installed and ran the scheduled task as per instructions and it gives error such as this...

Code:

The image “http://www.bashys-place.com/forums/admincp/cronadmin.php?do=runcron&cronid=61” cannot be displayed, because it contains errors.
Although it does work.... :)

Any advice please?

Also i would like it in UK pounds?
Ok, On my Donations page the percentage is 32% for the goal and is in UK pounds, yet this hack is in dollars, this is weird lol

is this hack a percentage of how much is collected towards the goal or is it the total amount in dollars?

ok that error is fine. also it is a percentage. amount divided by goal.



Quote:

Originally Posted by Martin-TMGRS (Post 1166496)
Great hack :) Could you tell me how to change the $ to ? please. do I just edit the jpg image ?

lol this is different than the signature stats image hack, this one uses 100% php to make the image.

edit the php file you uploaded. look for:
PHP Code:

    if ($p>.20){
    
imagestring($im3100'$' $donations$white);
    } else {
    
imagestring($im3100'$' $donations$black);
    } 

imagestring($im, 3, 10, 0, '$' . $donations, $black);
just change the symbol inside of the quotes on both.



Quote:

Originally Posted by scan-pa (Post 1166562)
Thanks to Mr Chad for all of his help. I installed the hackslast night and already have had our Jan Goal met in less then 20 hours.

awsome job.

no problem. I also accept donations :P

Martin-TMGRS 01-24-2007 07:19 PM

Thanks Mr Chad, works sweet thanks for your help :) I to also take donations ;) (LOL)

Mr Chad 01-24-2007 09:42 PM

no problem.

bashy 01-25-2007 05:15 AM

Thanks Mr Chad, Got it sorted now.... great idea! :)

Hornstar 01-25-2007 06:27 AM

I will keep this in mind, sounds like it may help get more donations. looks good on your site.

bashy 01-25-2007 07:45 PM

I got mine to look like the demo now, see the images ;)

code for peeps if needed...obviously you will need to change the urls to your own...

Code:

<center>
<table>
<td class="alt2" colspan="7" align="center">
<p align="center"><strong>This is the amount you have kindly donated this month<br><a href="http://bashys-place.com/forums/donate.php"><img src="http://bashys-place.com/forums/donations.jpg" border="0"></a><br>
Can you help us to keep the site running?
<a href="#top" onclick="return toggle_collapse('donations')">
[moreinfo]</a></strong></td>
</tr>
</tbody>
<tbody id="collapseobj_donations" style="display: none;">

<tr>
<td class="alt2" colspan="7" align="center">
<p align="center">You can donate [<a target="_blank" href="http://bashys-place.com/forums/donate.php">Here</a>]
and also view who has donated so far.<br>
<br>
<b>What do you get when donating other than good karma?</b></p>
<p align="left"><font color="#808000">You get a Donate image symbol next to your avatar</font><br>
<font color="#FF6600">If you donate
?20 or more you can have 1 years free web hosting</font><br>
<font color="#808000">Your help will go towards the upkeep and running of the forum, thank you!</font>.</p></td>
</table>
</center>


Mr Chad 01-25-2007 08:32 PM

lol you just copied mine...


All times are GMT. The time now is 10:12 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
  • Page Generation 0.01275 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete