vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Donation Goal Thermometer Forum Block addon for Donation Manager (https://vborg.vbsupport.ru/showthread.php?t=234240)

meissenation 01-27-2010 12:34 PM

So every time someone donates we have to update the "Current" value, correct?

SemperFideles 01-27-2010 12:55 PM

Quote:

Originally Posted by meissenation (Post 1967925)
So every time someone donates we have to update the "Current" value, correct?

That is correct. If the current donations is $5 and you receive a $10 donation then you edit the block and change the Current from 5 to 15.

I'm not a sophisticated programmer. I would love to be able to have the ability to have the value automatically updated but this is better than nothing and it's really not that hard to update.

Edrondol 01-27-2010 01:01 PM

Semper Fi, young man. That's all I came to say.

I'll definitely try this out during my annual fund drive.

steve1966 01-27-2010 02:41 PM

thanks

Corky91 01-27-2010 04:13 PM

Nice, but can't you create something similar to CYB-Donation bar? at the top under the navbar?

SemperFideles 01-27-2010 04:32 PM

Quote:

Originally Posted by Corky91 (Post 1968109)
Nice, but can't you create something similar to CYB-Donation bar? at the top under the navbar?

Can't I do so? I suppose I could but this works for my use and I'm sharing what I implemented. The benefit of this implementation is that it requires no Template Modifications.

Cableguy69 01-27-2010 07:25 PM

What a great little add on. I had to change the colour of my Thermometer background, to suit my forum.

PHP Code:

 // create the image
 
$image ImageCreate($width$height);
 
$bg    ImageColorAllocate($image,00);
 
$fg    ImageColorAllocate($image,255,0,0);
 
$tx    ImageColorAllocate($image,255255255); 

Which gives me.

http://www.hostmypics.org/pictures/b...ec18c19383.png

lazydesis 01-29-2010 10:23 AM

Quote:




Everywhere Sidebar addon: https://vborg.vbsupport.ru/showthread.php?t=233871
thanks a bunch

Marv 01-29-2010 05:49 PM

Quote:

Originally Posted by SemperFideles (Post 1967949)
I'm not a sophisticated programmer. I would love to be able to have the ability to have the value automatically updated but this is better than nothing and it's really not that hard to update.

Thanks for the mod, Rich. True, it?s not matching my forums style but life is imperfect. Even the light fifty isn?t a beauty and for sure not a lightweighted one but it?s pretty darn effective, so who cares ?

Does anyone have CYB?s old plugin ? Would love to see the code he was using in it. Guess it shouldn?t be to hard to rewrite this one for the 4.x series. Has anyone get in contact with CYB already ?

movslow 01-29-2010 06:43 PM

Obvious easy mod for the forum block, but I can't get anything to load there.

It only shows where an image should be, w/nothing other than Support us underneath it.

I uploaded the thermometer.php to the forum root, and still nothing.

?

Please advise.

Thanks
:up:


/edit

I tried the 2nd code, and it shows a donate button, and the drop down box, but NO image.

??


All times are GMT. The time now is 11:45 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.01005 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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