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 - VSa - PayPal Donate (https://vborg.vbsupport.ru/showthread.php?t=236480)

GrossKopf 02-21-2010 10:17 PM

Quote:

Originally Posted by zbosskiller (Post 1988410)
Hey Andy,

If you click on 'Donation Goal' then choose 'View Donations' at the bottom of that loaded page you will see 'Add Donor Manually'. Just enter the UserID of the donor, the amount and leave the date blank. It will then add it to the list and PM the user if you have that set up in your options.

Remember, it's user number and not user name.

Z

Thanks for the info. After looking at this, I don't think it'll work well for my clan. We've always used the "Subscription" function that comes with vb and it has worked well. I wish someone would do a mod that somehow uses that, but maybe adds a donation bar and some other functions this mod has.

zbosskiller 02-21-2010 10:22 PM

Did you know you can add a subscription into this mod? In options you can apply this:

5,10,20,25,50,100,5|6,10|6,20|6,25|6,50|6,100|6

So what that will do is give your users options to 1) donate incriments of 5,10,20,25,50,100 and 2) subscription packages 5|6,10|6,20|6,25|6,50|6,100|6

The 5|6 means $5 for 6 months so if you wanted 12 months you would add 5|12

Alternatively, I'm testing this evening with Adam from AWCoding the AWC Donation System.

Here are the features: http://www.forumcoding.com/features/ds.htm

It won't go live for a few days yet though.

http://www.forumcoding.com/products.html

Z

chingon 02-21-2010 10:40 PM

Quote:

Originally Posted by Valter (Post 1988349)
No JavaScript code loaded on your forums. I don't know why, but Donate form is dead without it.

Phrase Manager.

Why playing with XML for such things?

Because it's the easy way, I changed the message in the donation screen that way. What's a better way?

zbosskiller 02-21-2010 11:26 PM

Quote:

Originally Posted by chingon (Post 1988421)
Because it's the easy way, I changed the message in the donation screen that way. What's a better way?



Easier way:

http://www.YOURWEBSITEHERE/admincp/phrase.php?do=edit&e[global][vsapaypal_donbar_note]

chingon 02-22-2010 01:06 AM

I tried that, doesn't do anything for me.

Trek 02-22-2010 01:23 AM

Looks good. Could really use the option for a member to donate anon though. At least on the output of who's donated, show "anonymous" to non-admins or something. I do have a few members that link to donate, but do not want their names displayed anywhere to the rest of the membership.

Bouncer222 02-22-2010 02:30 AM

[QUOTE=Valter;1988349]No JavaScript code loaded on your forums. I don't know why, but Donate form is dead without it.

so what can I do to fix this?

Jonluci 02-22-2010 04:09 AM

Quote:

Originally Posted by Trek (Post 1988483)
Looks good. Could really use the option for a member to donate anon though. At least on the output of who's donated, show "anonymous" to non-admins or something. I do have a few members that link to donate, but do not want their names displayed anywhere to the rest of the membership.

I second that :)

Valter 02-22-2010 08:32 AM

Quote:

Originally Posted by Trek (Post 1988483)
Looks good. Could really use the option for a member to donate anon though. At least on the output of who's donated, show "anonymous" to non-admins or something. I do have a few members that link to donate, but do not want their names displayed anywhere to the rest of the membership.

They can donate when logged out.

Then only IP address is shown to Admins, and 'Unknown' to others.

molieman 02-22-2010 09:37 AM

Valter, as I mentioned before, a fantastic MOD, I love it, except for the few features I mentioned earlier and are crucial to my operation, therefore I can not use it.

Are you planning to do an update and include some or all of those features?

Thanks again for a fantastic MOD :) :) :)

meissenation 02-22-2010 12:35 PM

HAAAAAAAAAAAAAALLELUJAH! HAAAAAAAAAAAAAAALLELUJAH!

I've been waiting for this mod since installing 4.0.0. Thank you thank you thank you!

Neutral Singh 02-22-2010 01:51 PM

Thanks for this terrific mod.

It would be awesome if members are able to donate on monthly recurring basis by simply click a checkbox.

cicciotto 02-22-2010 02:31 PM

Hello, Thanks for Everything!
I wanted to know how do I change those written in Italian?
https://vborg.vbsupport.ru/external/2010/02/26.jpg
Thanks

Mike_K 02-22-2010 02:46 PM

Search for phrase

""vsapaypal_donbar_note""

Replace "Donate to support this site..." with your text

edit: also phrase: "vsapaypal_goal_received_month"... replace: "Goal amount for this month: {1} {2}, Received: {3} {2} ({4}%)"

sgbmad 02-22-2010 03:09 PM

Very nice mod :)

But donations date is not registered correctly. Appears "d-m-y' instead date in donations list and PM's text. Something wrong?

Regards.

Trek 02-22-2010 03:59 PM

Quote:

Originally Posted by Valter (Post 1988642)
They can donate when logged out.

Then only IP address is shown to Admins, and 'Unknown' to others.

While this would work as you say, if possible I'd rather not make it any more difficult for those attempting to donate than it needs to be. ;)

Would it be possible to click a "Send donation as anonymous", then set a new DB column to true? Then if it's true, don't display it on the output page unless it's an admin (or a group ID defined in the admincp)?

I hope this doesn't come off as a complaint, it's not. You write excellent software. It's just that when it comes to donations, things need to work as easily as possible and have the exact options the membership wants/needs, otherwise they don't donate.

mitch84 02-22-2010 04:03 PM

Quote:

Originally Posted by sgbmad (Post 1988821)
Very nice mod :)

But donations date is not registered correctly. Appears "d-m-y' instead date in donations list and PM's text. Something wrong?

Regards.

yes, me too

atgv 02-22-2010 04:45 PM

Thanks for help :)

Quote:

Originally Posted by masterross (Post 1988336)
Go to your style chose "Add New Template", Title "vsa_donate_navbar_link".
Template:
Code:

<vb:if condition="$vboptions['selectednavtab'] == 'donate'">
<li class="selected">
    <a class="navtab" href="misc.php?do=donate{vb:raw session.sessionurl_q}">{vb:rawphrase cybpaypal_donate}</a>
</li>
<vb:else />
    <li><a class="navtab" href="misc.php?do=donate{vb:raw session.sessionurl_q}">{vb:rawphrase cybpaypal_donate}</a></li>
</vb:if>

Save.

After this go to "Plugins & Products/Add New Plugin"
In Product select "VSa - PayPal Donate"
In Hook Location "process_templates_complete"
In Title "VSa - PayPal Donate - NAVBAR"
In Execution Order: 5
In Plugin PHP Code:
PHP Code:

if ($vbulletin->options['vsapaypal_show_link'])
{
    if (
$_REQUEST['do'] == 'donate')
    {
        
$vbulletin->options['selectednavtab'] = 'donate';
    }
    
$template_hook['navtab_middle'] .= vB_Template::create('vsa_donate_navbar_link')->render();


Plugin is Active : Yes
Save


Enjoy!


Aceman 02-22-2010 04:45 PM

QUESTION: When I've enabled this it's in my SUB-nav bar "lime" colored. However the TEXT for the link isn't clickable, however the SPACE around the text is. Could you help me figure out how to make the TEXT a link?

REFERENCE: http://www.scifi-meshes.com <--- Go to Forums page.

meissenation 02-22-2010 04:47 PM

Your donate link works perfectly fine for me.

Edit: Chrome browser here.

Aceman 02-22-2010 04:59 PM

Weird. It works in Internet Explorer but not in Firefox.. could be my work's firewall?

Aceman 02-22-2010 05:02 PM

BTW - I did the MOD on page 2 of this addon to put the donate button in the TOP nav and the space/button show.. but no text that read's donate

steve1966 02-22-2010 05:10 PM

thanks you valter this ia a nice mod

Aceman 02-22-2010 05:14 PM

For some reason the vb:rawphrase cyb_donate wasn't show. I manually fixed the template.

Aceman 02-22-2010 05:33 PM

Seems like everything is working just fine now. I do have one final template related question. Due to the customized theme I'm running the donation page looks a little messed up. Could you tell me what StyleVar is used to set the background for the content of the donate page?

Bouncer222 02-22-2010 05:56 PM

so Valter what can I do to fix the javascript that you said isn't loading and making all donations seem as $5.00 donations?

cicciotto 02-22-2010 06:42 PM

Quote:

Originally Posted by Mike_K (Post 1988812)
Search for phrase

""vsapaypal_donbar_note""

Replace "Donate to support this site..." with your text


edit: also phrase: "vsapaypal_goal_received_month"... replace: "Goal amount for this month: {1} {2}, Received: {3} {2} ({4}%)"

Thanks
I found this:
{vb:rawphrase vsapp_donbar_period, {vb:raw vsapp_donbar_goal}, {vb:raw vboptions.vsapaypal_currency}, {vb:raw vsapp_donbar_total}, {vb:raw vsapp_donbar_done}}
Editing is phased by all:
{vb:rawphrase vsapp_donbar_period, {vb:raw L'obiettivo_di_questo_mese}, EUR, 4, 8}
:(

ymam 02-22-2010 07:29 PM

Anyway to change the color of the donation bar?
Our forums background is too close to the current bar color and we would like to change that.

rajubd 02-22-2010 10:49 PM

thanks MOTM Nominated

johnny713 02-22-2010 10:58 PM

I hope this one work perfectly correct with Vbb 4...thank you Valter.

cory_booth 02-23-2010 12:31 AM

Valter...

Another awesome mod (THANK YOU THANK YOU THANK YOU) - but....
I can't get it working in the CMS. This is what I am doing...

I made a JS Enhanced Widget and selected a custom template.
In the custom template I insert:

HTML Code:

<div class="cms_widget">
<div class="block">
<div class="cms_widget_header"><h3>Donation Meter</h3></div>
<div class="cms_widget_content">
{vb:raw vsapaypal_donbar}
</div>
</div>
</div>

But none of your plugins render in the CMS...

Fastbird 02-23-2010 01:02 AM

Hey man, great job! Just wondering if you can allow to show the donation bar on the donate page but not on the main forum page in your next update. That would be perfect!

cory_booth 02-23-2010 01:15 AM

CMS SOLVED!

Change Global_Start to Process_Templates_Complete

John Streetz 02-23-2010 02:52 AM

Excellent Program. Thank you so much!

Valter 02-23-2010 08:01 AM

Quote:

Originally Posted by Fastbird (Post 1989291)
Hey man, great job! Just wondering if you can allow to show the donation bar on the donate page but not on the main forum page in your next update. That would be perfect!

That's why we have options.

Update 'Show DonBar on' to feet your needs.

ShogunLord 02-23-2010 08:49 AM

Installed , again Thank You for ALL of Your Mods both past and present...

One little blip I would like to cure though...

As you can see from below pic , a white line for the box is spoiling the appearence. How can I cure this please..?
https://vborg.vbsupport.ru/

Regards..

zapiy 02-23-2010 08:59 AM

Can we get a Donate Button widget for the frontpage?

Please

Cadellin 02-23-2010 10:12 AM

Ah wow! This is practically perfect for my needs (if there was every such a thing) a widget would be great though :)

/Installed

Jonluci 02-23-2010 10:24 AM

Quote:

Originally Posted by ShogunLord (Post 1989487)
Installed , again Thank You for ALL of Your Mods both past and present...

One little blip I would like to cure though...

As you can see from below pic , a white line for the box is spoiling the appearence. How can I cure this please..?
https://vborg.vbsupport.ru/

Regards..

thats a stylevar
i think its forumbits_border

ShogunLord 02-23-2010 02:34 PM

Quote:

Originally Posted by Jonluci (Post 1989517)
thats a stylevar
i think its forumbits_border

Thank You for the heads up what it maybe, but I need a cure for it..

IE; what to edit & where..

Again thanks..:up:


All times are GMT. The time now is 04:30 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.01799 seconds
  • Memory Usage 1,831KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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