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
  #2  
Old 10-05-2004, 08:51 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work calorie! ^^
Reply With Quote
  #3  
Old 10-05-2004, 11:27 PM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is anyone going to write a hack that does this?

1. Set a target a mount in AdminCP
2. Users Contribute / Donate
3. It updates a "Money Bar"
4. Lists the users who contribute
5. Adds contributor Image in the postbit
Reply With Quote
  #4  
Old 10-06-2004, 12:10 AM
gwhooooey gwhooooey is offline
 
Join Date: Feb 2003
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by juanph
Is anyone going to write a hack that does this?

1. Set a target a mount in AdminCP
2. Users Contribute / Donate
3. It updates a "Money Bar"
4. Lists the users who contribute
5. Adds contributor Image in the postbit
This is EXACTLY what i'm looking for
Reply With Quote
  #5  
Old 10-06-2004, 12:54 AM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Live Wire
Nice work calorie! ^^
Thanks.
Quote:
Originally Posted by juanph
Is anyone going to write a hack that does this?

1. Set a target a mount in AdminCP
2. Users Contribute / Donate
3. It updates a "Money Bar"
4. Lists the users who contribute
5. Adds contributor Image in the postbit
Uh, you're welcome? :ermm:
Quote:
Originally Posted by gwhooooey
This is EXACTLY what i'm looking for
IMHO, the hard part is already done...

1. See the July 2004 hack for how to do this if that is how you want to manage one value.
2. Use the vB paid subscriptions.
3. This hack already does that if you use the vB paid subscriptions.
4. See below code or go to ACP > Subscriptions > Subscription Manager > select View Users from menu.
5. Set a different subscription usergroup, with a contributor user title and/or a username HTML markup.

Code:
select vb3_user.username,vb3_subscription.title,vb3_subscriptionlog.amount,
vb3_subscriptionlog.status from vb3_user,vb3_subscription,vb3_subscriptionlog 
where vb3_user.userid = vb3_subscriptionlog.userid and 
vb3_subscription.subscriptionid = vb3_subscriptionlog.subscriptionid;
Reply With Quote
  #6  
Old 10-06-2004, 01:46 AM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My sicerest apologies calorie.

I did not mean to diminish the value of your hack...... It IS a very good hack. I'm sorry if I sounded ungrateful or obnoxious.

I want to thank you for the eply though because now I you've got my mind going here. Let me see if I can get some stuff together and make this hack myself.

Thanks.
Reply With Quote
  #7  
Old 10-06-2004, 01:47 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calorie
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
This is really nice, especially since it is automated, and because you can use this for give-away games, etc. (if we reach the goal before end of month, 1 free gift for one of our members!, support us now)
Reply With Quote
  #8  
Old 10-06-2004, 01:58 AM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by juanph
My sicerest apologies calorie.

I did not mean to diminish the value of your hack...... It IS a very good hack. I'm sorry if I sounded ungrateful or obnoxious.

I want to thank you for the eply though because now I you've got my mind going here. Let me see if I can get some stuff together and make this hack myself.

Thanks.
Okay, no problem, thanks for the clarification. If you need some hints along the way, just ask and I'll answer if I have the time.

Quote:
Originally Posted by floris
This is really nice, especially since it is automated, and because you can use this for give-away games, etc. (if we reach the goal before end of month, 1 free gift for one of our members!, support us now)
Thanks.
Reply With Quote
  #9  
Old 10-06-2004, 03:20 AM
twoseven twoseven is offline
 
Join Date: Jan 2004
Location: in floris' pants
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this calorie now i use manual subscriptions because the payment processor i use isnt added yet (stormpay) this would work with the manual addition as well correct?
Reply With Quote
  #10  
Old 10-06-2004, 03:50 AM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by twoseven
thanks for this calorie now i use manual subscriptions because the payment processor i use isnt added yet (stormpay) this would work with the manual addition as well correct?
When you manually add a user via the vB subscription manager, just stick in the amount paid and the money bar will automatically do its thing.
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 01:31 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.04772 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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
  • (8)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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