vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Automated money bar to encourage paid subscriptions (https://vborg.vbsupport.ru/showthread.php?t=70237)

calorie 10-04-2004 10:00 PM

Automated money bar to encourage paid subscriptions
 
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

Logikos 10-05-2004 08:51 PM

Nice work calorie! ^^

jugo 10-05-2004 11:27 PM

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

gwhooooey 10-06-2004 12:10 AM

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

calorie 10-06-2004 12:54 AM

Quote:

Originally Posted by Live Wire
Nice work calorie! ^^

Thanks. :D
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;


jugo 10-06-2004 01:46 AM

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.

Floris 10-06-2004 01:47 AM

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)

calorie 10-06-2004 01:58 AM

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. :D 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. :D

twoseven 10-06-2004 03:20 AM

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?

calorie 10-06-2004 03:50 AM

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.


All times are GMT. The time now is 10:05 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.01072 seconds
  • Memory Usage 1,749KB
  • 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_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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