vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Donation Manager (https://vborg.vbsupport.ru/showthread.php?t=233669)

durdan1 02-09-2010 03:04 AM

Is there a way to locate <a class="navtab" href="donate.php">Donate</a> I want to change the Donate button on the navbar to green. I have already looked in the navbar template without success. Anyone know where it is located?

Deadly Stream 02-09-2010 05:59 AM

Quote:

Originally Posted by durdan1 (Post 1978012)
Is there a way to locate <a class="navtab" href="donate.php">Donate</a> I want to change the Donate button on the navbar to green. I have already looked in the navbar template without success. Anyone know where it is located?

All NavTabs take their style from the StyleVars.

If you only wanted to change one of the tabs you'd need to add some more style settings to vbulletin-chrome.css

durdan1 02-09-2010 11:52 AM

Quote:

Originally Posted by Deadly Stream (Post 1978089)
All NavTabs take their style from the StyleVars.

If you only wanted to change one of the tabs you'd need to add some more style settings to vbulletin-chrome.css

Any idea how what settings to add to this particular tab? Or How do I prevent this donate button from inserting with the hack on? I would like to just make a regular tab myself which points the the donate.php. As you can see I made a new tab for arcade and I customized the color easily without editing anything in vbulletin.css just by adding hte <font> codes.

www.raging-angels.com

Deadly Stream 02-09-2010 01:57 PM

Quote:

Originally Posted by durdan1 (Post 1978229)
Any idea how what settings to add to this particular tab? Or How do I prevent this donate button from inserting with the hack on? I would like to just make a regular tab myself which points the the donate.php. As you can see I made a new tab for arcade and I customized the color easily without editing anything in vbulletin.css just by adding hte <font> codes.

www.raging-angels.com

In the plugin manager, disable the Donations System: NavTab plugin and that will stop it from showing.

durdan1 02-09-2010 03:29 PM

Ok thank you deadly stream for your help, I was able make a new donation tab with the color green, like I used to have back in 3.84 .

Canelo_Kid 02-14-2010 11:26 AM

Is it possible to have an extra question for donaters, " Forum Username"

thanks

TheSupportForum 02-14-2010 11:30 AM

please be aware that this MOD is set to be reusable so it can be published anywhere

Pro-eSports.com 02-14-2010 11:51 AM

Nice mod. I really would love to see a donations bar which shows the monthly or yearly goal you want to reach.
A list of donators (date, amount) would be great too.
Also an automatic usergroup change for different amount of donations, for example.

$1-5 = Donator Lvl. 1
$6-10 = Donator Lvl. 2
$11-25 = Donator Lvl 3

GamerPerfection 02-14-2010 02:10 PM

Thanks, i've updated. :D

Just thought I'd mention though that the original folder name for the images was donation_system but in this update it's donation_manager.

Not an issue but it just meant there was a duplication of files. no biggie as it's easily fixed. Just wasn't sure if you were aware the folder name was different in this update.

Deadly Stream 02-14-2010 05:19 PM

Quote:

Originally Posted by simonhind (Post 1982045)
please be aware that this MOD is set to be reusable so it can be published anywhere

No it can't be published anywhere.

Quote:

Originally Posted by vbulletin.org
Re-Use: This code may be used in other modifications as long as the original author is credited.

That is the meaning of Re-useable code.

I don't mind the code being used for other mods but I'd prefer for this mod itself not to be published anywhere else.

Supramania 02-14-2010 07:22 PM

I think I found a bug/omission in your new version.

In the download, in the images directory, there are 3 images files:

google.gif
unverified.gif
verified.gif

However your code calls:

HTML Code:

<a href="http://www.sitename.com/forums/donate.php?do=paypal"><img src="http://www.sitename.com/forums/images/donation_manager/paypal.gif" alt="" width="130px" height="65px" /></a>
I just copied the verified.gif to paypal.gif, but you might want to fix this in the next release.

Deadly Stream 02-14-2010 08:05 PM

Quote:

Originally Posted by Supramania (Post 1982373)
I think I found a bug/omission in your new version.

I just copied the verified.gif to paypal.gif, but you might want to fix this in the next release.

Damn that was a good find.

It will be sorted soon.

Tize. 02-14-2010 08:50 PM

Installed + 5Stars , thank you very much.

Pro-eSports.com 02-14-2010 09:04 PM

It would also be great if you could add a dropdown menu so donators can choose their own currency.

Deadly Stream 02-15-2010 09:13 AM

Quote:

Originally Posted by Pro-eSports.com (Post 1982443)
It would also be great if you could add a dropdown menu so donators can choose their own currency.

That was enabled in 1.0.1 but it's no longer available due to allowing for the progress bar.

Pro-eSports.com 02-15-2010 10:59 AM

Quote:

Originally Posted by Deadly Stream (Post 1982757)
That was enabled in 1.0.1 but it's no longer available due to allowing for the progress bar.

So if I understand correctly the progress bar can only handle 1 currency.
If the progress bar is based on the dollar only then it would be great if you could add some kind of currency translator. So if a users donates in Euro or Pounds the progress bar will translate that amount into Dollar.

Only allowing 1 currency is not really the best option. If you have a european site you completely exclude whole continents from being able to donate. Same goes the other way around or am I wrong? :(

Videx 02-15-2010 11:08 AM

What 'progress bar' are we talking about? I don't see one, or any options for one in 1.1.1. None of the screenshots picture one.

Deadly Stream 02-15-2010 12:52 PM

Quote:

Originally Posted by Pro-eSports.com (Post 1982845)
So if I understand correctly the progress bar can only handle 1 currency.
If the progress bar is based on the dollar only then it would be great if you could add some kind of currency translator. So if a users donates in Euro or Pounds the progress bar will translate that amount into Dollar.

Only allowing 1 currency is not really the best option. If you have a european site you completely exclude whole continents from being able to donate. Same goes the other way around or am I wrong? :(

The currency is set in the admin control panel.

If there's multiple currencies in use then a progress bar wouldn't work without somehow converting all currencies into one.

Quote:

Originally Posted by Videx (Post 1982858)
What 'progress bar' are we talking about? I don't see one, or any options for one in 1.1.1. None of the screenshots picture one.

The progress bar is being worked on, it will be released in version 2.

Pro-eSports.com 02-15-2010 01:50 PM

Can you receive Google Checkout donations to your PayPal address or do I need a Google account?

Deadly Stream 02-15-2010 02:14 PM

Quote:

Originally Posted by Pro-eSports.com (Post 1982944)
Can you receive Google Checkout donations to your PayPal address or do I need a Google account?

You need to sign up for a Google Checkout account.

FReeSTER 02-16-2010 12:55 AM

Is not showing a link on my page. :(:erm:

Deadly Stream 02-16-2010 07:30 AM

Quote:

Originally Posted by El Intocable (Post 1983430)
Is not showing a link on my page. :(:erm:

What's the url?

FReeSTER 02-16-2010 11:22 AM

Quote:

Originally Posted by Deadly Stream (Post 1983578)
What's the url?

www.dish911.info/forum.php thank you mate

Videx 02-16-2010 02:33 PM

Quote:

Originally Posted by El Intocable (Post 1983700)

I see it in the English versions of the page, though it says I'm banned. But you've got bigger problems. That dark style is kind of screwed up near the top, and when in English I still see spanish all over the place - like all the names of the forums. I've never tried to run a bilingual forum, but that can't be right.

MattZ DSLR 02-16-2010 03:44 PM

I tray to uninstall this file but it leaves

*[donation_system_title]*
Tab in Admin CP panel on the left in the

How can I remove that tab?

Thank you

Bouncer222 02-16-2010 04:14 PM

It has been a pretty long time... are you going to add that donation bar that displays the progress? Because it's seriously needed.

Deadly Stream 02-16-2010 04:48 PM

Quote:

Originally Posted by El Intocable (Post 1983430)
Is not showing a link on my page. :(:erm:

Quote:

Originally Posted by El Intocable (Post 1983700)

The donation manager isn't active.

Go to Admin CP > Donation Manager > General Settings > Is the Donation Manager Active? and select yes.

That will add the new NavTab.

=============================

Quote:

Originally Posted by MattZ DSLR (Post 1983841)
I tray to uninstall this file but it leaves

*[donation_system_title]*
Tab in Admin CP panel on the left in the

How can I remove that tab?

Thank you

You need to delete the files from the server. For the tab it's Includes > XML > cpnav_donation_system.xml

=============================

Quote:

Originally Posted by Bouncer222 (Post 1983857)
It has been a pretty long time... are you going to add that donation bar that displays the progress? Because it's seriously needed.

It will be added but I can't say when yet. I work 12 hours a day Monday - Friday and 8 hours on Saturday so time is rather limited.

x626xblack 02-16-2010 05:45 PM

Reserved for 2.0

I need to have PM or email notification when a member donates.

Videx 02-16-2010 07:03 PM

Quote:

Originally Posted by x626xblack (Post 1983919)
I need to have PM or email notification when a member donates.

You get this from Paypal (and Google). I set a gmail filter that copies these to my co-admin.

ascott 02-16-2010 09:37 PM

Good mod, installed.

FReeSTER 02-16-2010 10:04 PM

Quote:

Originally Posted by Deadly Stream (Post 1983880)
The donation manager isn't active.

Go to Admin CP > Donation Manager > General Settings > Is the Donation Manager Active? and select yes.

That will add the new NavTab.

=============================

WoW the question is How In the word did i missed that? lol
Thanks bro for your time and for this great mod :D:)

ibeteck 02-16-2010 11:49 PM

When members try to donate paypal generates a error page

Deadly Stream 02-17-2010 11:30 AM

Quote:

Originally Posted by ibeteck (Post 1984180)
When members try to donate paypal generates a error page

What is the error message and also could you either post or pm the url of your forums so I can take a look.

Cadellin 02-17-2010 06:02 PM

Quote:

Originally Posted by Deadly Stream (Post 1983880)
It will be added but I can't say when yet. I work 12 hours a day Monday - Friday and 8 hours on Saturday so time is rather limited.

Completely understandable - would it be possible for you to release an update with the stats hooks sooner? Even if they're not actually displayed anywhere, it would allow others like myself to develop stats addons like a donation bar to go with this mod quicker.

Thanks

Deadly Stream 02-17-2010 07:51 PM

Quote:

Originally Posted by Cadellin (Post 1984855)
Completely understandable - would it be possible for you to release an update with the stats hooks sooner? Even if they're not actually displayed anywhere, it would allow others like myself to develop stats addons like a donation bar to go with this mod quicker.

Thanks

I'm actually working on that at the moment.

In a way I'm doing it a bit backwards. I have a page in the admin control panel that displays all the donations, a total of how many donations have been made and what they all come to and an average donation per member.

I'm now working on actually getting the donations into the database.

As soon as it's done I'll release it. I'll also post screen shots of the control panel page tomorrow. I can't now as the mod is stored on another computer.

Cadellin 02-18-2010 07:04 AM

Thanks Deadly Steam that would be fantastic :)

SemperFideles 02-19-2010 11:32 PM

Very, very well done. I love the addition of Subscriptions to this.

I've modified the template donation_paypal to allow pulldown choices for my donations and subscriptions (see http://www.puritanboard.com/donate.php)

Find:
PHP Code:

<input type="text" name="amount" size="8"/> 

Replace with
PHP Code:

<select name="amount"
<
option value="10">10</option
<
option value="20">20</option
<
option value="50">50</option
<
option value="100">100</option
<
option value="500">500</option
</
select

You'll need to set the values and the amounts between the option tags to correspond to your donation selecitons.

Find:
PHP Code:

<input type="text" name="a3" size="8"/> 

Replace with:
PHP Code:

<select name="a3"
<
option value="5">5</option
<
option value="10">10</option
<
option value="20">20</option
<
option value="25">25</option
<
option value="50">50</option
</
select

Once again, changing the values to correspond to what you want the user to select.

Pro-eSports.com 02-20-2010 02:12 AM

Nice addition there Semper.

1. Can I delete the dot below the subscribe button in the donation_paypal template or is it another file?
2. How exactly do the subscriptions work? Which day of a month will it transfer the money from the subscriber to the owner? How to cancel subscriptions?

Bouncer222 02-20-2010 02:34 AM

Deadly Stream, so the donation meter is coming out as well today/tomorrow?
:D

Deadly Stream 02-20-2010 06:00 AM

Quote:

Originally Posted by Pro-eSports.com (Post 1987002)
Nice addition there Semper.

1. Can I delete the dot below the subscribe button in the donation_paypal template or is it another file?
2. How exactly do the subscriptions work? Which day of a month will it transfer the money from the subscriber to the owner? How to cancel subscriptions?

The money will be transferred on a pro-rata basis, for example if user 1 donated $1 on a weekly basis today, you would get another $1 on 27/02/2010, 06/03/2010 and so on until cancelled.

If member 2 donated $10 on a monthly basis, you'd get another ?10 on 20/03/2010, 20/04/2010 and so on.

If member 3 was to donate $1000 on a yearly basis, you'd get another $1000 on 20/02/2011, 20/02/2012 etc.

The subscriptions will remain active until the member cancels them in PayPal.

Quote:

Originally Posted by Bouncer222 (Post 1987014)
Deadly Stream, so the donation meter is coming out as well today/tomorrow?

No


All times are GMT. The time now is 03:07 PM.

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.01681 seconds
  • Memory Usage 1,857KB
  • 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_html_printable
  • (4)bbcode_php_printable
  • (25)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
  • (40)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