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)

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.


All times are GMT. The time now is 09:12 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.01591 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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