Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Automated money bar to encourage paid subscriptions Details »»
Automated money bar to encourage paid subscriptions
Version: 1.00, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 10-04-2004 Last Update: Never Installs: 7
 
No support by the author.

This hack creates an automated money bar to encourage users to support your site with paid subscriptions. There is a similarly themed hack dated July 2004 at https://vborg.vbsupport.ru/showthread.php?t=67425 using different code where you need to manually update the sum of money received. This hack on the other hand automates the process and is for use with paid subscriptions that are setup via the vB AdminCP. You set your monthly money goal, and this hack stores paid subscription amounts in a table for use in creating the money bar. This hack also lets you add or edit the user subscription amounts via the vB AdminCP, and it automatically resets the money bar on a per month cycle. This hack assumes that the payment gateway postback subscription amount will be in x.xx format. Support is offered on an if/as time is available basis but is not guaranteed. If you use this hack, a click of the install button is appreciated.

Queries to run :: 1
Phrases to add :: 4
Template changes :: 2
New files added :: 1
Files to edit :: 3 to 6 *
Number of edits :: 14 to 17 *

* depending on what payment gateways are used

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-06-2004, 02:28 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, perfect timing, I was about to look for something like this..

thanks for sharing with the community calorie
Reply With Quote
  #13  
Old 10-06-2004, 02:49 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yah thanks for this will be installing later!
Reply With Quote
  #14  
Old 10-06-2004, 02:59 PM
Aristo Aristo is offline
 
Join Date: Oct 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi calorie,

I'm looking for something very close to this and slightly different, can you please contact me at affid@rogers.com as I would like to pay $$$ for custom work done on my board.

Thanks
Reply With Quote
  #15  
Old 10-06-2004, 07:58 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error



Code:
Warning: Unknown(/full/path/to/forum/moneybar.php): failed to open stream: No such file or directory in /home/rexb2/public_html/forum/global.php(435) : eval()'d code on line 70

Fatal error: (null)(): Failed opening required '/full/path/to/forum/moneybar.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rexb2/public_html/forum/global.php(435) : eval()'d code on line 70
Reply With Quote
  #16  
Old 10-06-2004, 08:03 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
// add your full path to moneybar.php in the require statement 
Reply With Quote
  #17  
Old 10-06-2004, 08:07 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calorie
PHP Code:
// add your full path to moneybar.php in the require statement 

Oh lemee try. That needs to be seperate in the directions.. It's kinda lumped in.
Reply With Quote
  #18  
Old 10-06-2004, 08:21 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where are the images?

images/z_polls/bar4-l.gif

/images/z_polls/bar4-r.gif

nevermind you have to edit that in the .php file
Reply With Quote
  #19  
Old 10-06-2004, 08:26 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rex_b
where are the images?

images/z_polls/bar4-l.gif

/images/z_polls/bar4-r.gif


nevermind you have to edit that in the .php file
Oops, in moneybar.php change the three instances of z_polls to just polls and it'll work.
Reply With Quote
  #20  
Old 10-06-2004, 08:27 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And where in the admincp am I able to set goals and such like in your screenshots..
Reply With Quote
  #21  
Old 10-06-2004, 08:34 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nevermind I was confused. Does it take into fact of old subscriptions or only new ones from here on out?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07561 seconds
  • Memory Usage 2,300KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete