vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   PayPal Donations For vBulletin 3.5.0 (https://vborg.vbsupport.ru/showthread.php?t=91567)

Mith 09-06-2005 09:14 AM

Can anyone help me with the following:

1.
There is the option in modify options for the user to choose whether their donations are shown or not.

How do I add this option to the user manager in AdminCP also.
(basically so admin can enable / disable the showing of a users donation status)

2.
I know this was discussed previously, but how do i get the donations VBAdvanced Module working with 3.5.0.. i would really like this to work (it worked perfect under 3.0.8)

any help with either problem is appreciated.

sickboy6ths 09-08-2005 10:43 AM

Running vb 3.5 and cmps 2.0rc ... I didn't get a donation module in my cmps... anybody any idea why? Thanks

Mith 09-08-2005 11:37 AM

The module wasn't included in the 3.5.0 version... The module from 3.07 doesn't work with vb 3.5 and cmps 2.0rc.. I'm hoping someone can fix it
(if you want to find the module.. just download the 3.07 package.. its in there)

curriertech 09-12-2005 03:14 PM

I'm missing the Donations section in my AdminCP. Did I miss something, or is this a problem due to installing on 3.50 RC3?

curriertech 09-12-2005 05:17 PM

I also get this user when clicking options in my userCP...

Code:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/theopenj/public_html/forum/profile.php(2653) : eval()'d code on line 53
I uninstalled the hack and the error is still there.

EDIT: reverted the modifyoptions template and it's fixed, but installing this hack is def. what broke it. :(

Mith 09-12-2005 05:45 PM

Quote:

Originally Posted by curriertech
I uninstalled the hack and the error is still there.

EDIT: reverted the modifyoptions template and it's fixed, but installing this hack is def. what broke it. :(

Yeah, theres a bit of a problem with the auto install routine, it tries to ammend the modifyoptions template for you, but unfortunately, messes it up a bit.

To add it in yourself in modifyoptions template

find:
Code:

                                  <td><label for="cb_invisible"><input type="checkbox" name="options[invisible]" value="1" id="cb_invisible" $checked[invisible] />$vbphrase[use_invisible_mode]</label><input type="hidden" name="set_options[invisible]" value="1" /></td>
                                        </tr>
                                        </table>
                                </fieldset>
                                </if>

add under:
Code:

<!-- DONATIONS -->
<fieldset class="fieldset">
        <legend><label for="cb_showdonor">My Donor Status</label></legend>
        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
        <tr>
                <td>Shall We Show Your Donor Status To The Public?</td>
        </tr>
        <tr>
                <td><label for="cb_showdonor"><input type="checkbox" name="showdonor" value="1" id="cb_showdonor" $checked[showdonor] />Show My Donor Status To The Public</label></td>
        </tr>
        </table>
</fieldset>
<!-- END DONATIONS -->

That will give users the option back to display their donor status or not.

Hope that helps.

curriertech 09-12-2005 05:53 PM

Quote:

Originally Posted by Mith
Yeah, theres a bit of a problem with the auto install routine, it tries to ammend the modifyoptions template for you, but unfortunately, messes it up a bit.

To add it in yourself in modifyoptions template

find:
Code:

                                  <td><label for="cb_invisible"><input type="checkbox" name="options[invisible]" value="1" id="cb_invisible" $checked[invisible] />$vbphrase[use_invisible_mode]</label><input type="hidden" name="set_options[invisible]" value="1" /></td>
                                        </tr>
                                        </table>
                                </fieldset>
                                </if>

add under:
Code:

<!-- DONATIONS -->
<fieldset class="fieldset">
        <legend><label for="cb_showdonor">My Donor Status</label></legend>
        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
        <tr>
                <td>Shall We Show Your Donor Status To The Public?</td>
        </tr>
        <tr>
                <td><label for="cb_showdonor"><input type="checkbox" name="showdonor" value="1" id="cb_showdonor" $checked[showdonor] />Show My Donor Status To The Public</label></td>
        </tr>
        </table>
</fieldset>
<!-- END DONATIONS -->

That will give users the option back to display their donor status or not.

Hope that helps.

Thanks! Any ideas on the missing section in the admin cp?

Omega Prime 09-12-2005 06:31 PM

Quote:

Originally Posted by curriertech
I'm missing the Donations section in my AdminCP. Did I miss something, or is this a problem due to installing on 3.50 RC3?

For whatever reason, vB doesn't like products with the name "vBulletin", so you'll need to edit the xml file and change it to "vbulletin" to get it working :)

curriertech 09-12-2005 06:38 PM

Quote:

Originally Posted by Omega Prime
For whatever reason, vB doesn't like products with the name "vBulletin", so you'll need to edit the xml file and change it to "vbulletin" to get it working :)

Thanks!

curriertech 09-12-2005 06:48 PM

All set, working like a charm now. :)


All times are GMT. The time now is 05: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.02264 seconds
  • Memory Usage 1,754KB
  • 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
  • (5)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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