vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Cyb - PayPal Donate (https://vborg.vbsupport.ru/showthread.php?t=122997)

cpgaming 11-29-2007 11:20 PM

I'm working with redkilla on his site and trying to get this mod fully working properly (works great in the default theme but we're having some problems with what he's listed above and also with getting all the features working with three custom templates). I wanted to add to his question and also ask how do we go about changing the look of the donlist page (listing of all donators) in some of the themes it looks very very horrible, it could be due to the style/themes css files but i don't want to change those and have other parts of the site start to look worse. Is there a way to edit the donlist page or code so that we can change the font or table colors to more properly match the styles used on the site? Thanks in advance for helping the two of us with your module and although we are seeing a few minor issues here and there with it overall it's a great mod and we appreciate that you made it and are supporting it still.

:Judge: 11-30-2007 12:41 AM

Great feature, thanks Cy. I had no troubles at all on first install.

I am interested in making the donate part more obvious. Is there a way to replace the drop down with buttons or having the donate options display $10.00 instead of 10 in the drop down?

I would just like to have the donation more noticable and more attractive.

Thanks.

AWJunkies 11-30-2007 06:45 AM

Quote:

Originally Posted by :Judge: (Post 1392050)
Great feature, thanks Cy. I had no troubles at all on first install.

I am interested in making the donate part more obvious. Is there a way to replace the drop down with buttons or having the donate options display $10.00 instead of 10 in the drop down?

I would just like to have the donation more noticable and more attractive.

Thanks.

Here is code to do what you want. Just FYI you can not allow custom field to have the $ or it won't transfer correct to papal and will ask for you to enter the amount again. But with the drop down you
can have $ because it is a variable hidden within the array so only the array hidden gets passed not the visual amount you see.

Find in: Cyb - PayPal Donate - Ext (plugin)
Code:

$cybpp_amo_opts .= '<option value="'.$cybpp_amo_option.'">'.$cybpp_amo_option.'</option>'."\n";
Replace with:
Code:

$cybpp_amo_opts .= '<option value="'.$cybpp_amo_option.'">$'.$cybpp_amo_option.'</option>'."\n";
And walla you have $ before the array amounts. Now if you want decimal points just add them within ACP like this 5.00,10.00,20.00,50.00,100.00 etc add the decimals there and you are all good.

Just remember if you have a minimum set in ACP you need to put decimals as well. You have to use the same format.

Here is the code to increase the size of the custom box when using decimals.

Find in: cyb_paypal_donate (template)
Code:

&nbsp;<input type="<if condition="($vboptions[cybpaypal_allowed_donamo]=='1')">hidden<else />text</if>" name="amount" value="$$cybpp_amo_min" class="bginput" style="width:20px" />
Replace with:
Code:

&nbsp;<input type="<if condition="($vboptions[cybpaypal_allowed_donamo]=='1')">hidden<else />text</if>" name="amount" value="$$cybpp_amo_min" class="bginput" style="width:50px" />

I will be messing with this mod to add features I stated above in a few posts up. I hope CYB will contact me.

sinisterpain 11-30-2007 11:13 PM

Quote:

Originally Posted by RedKilla (Post 1391892)
Installed but having a problem with the all donators list. For some reason not everyone shows up on the list after they have donated. Some do and some dont. Even if i manually add them they dont show up.. Any ideas???
As you can see in the screenshot have the silver award...But the guy that donated $70.00 isnt there.. It did change my award to silver but hes not there..should be right above me. Even if I manually add him he dont show up

https://vborg.vbsupport.ru/external/2007/11/1.jpg

You are using the Paypal 3.5 donation mod not this one. The reason some people are not showing up is they have to select in the usercp->edit options to be shown as a donator.

AWJunkies 11-30-2007 11:36 PM

I just created a section to put Donation Benefits. For instance if they donate they get access to: X
X
X
X
X
etc
Let me know if anyone wants the code for it.

RedKilla 12-01-2007 05:27 AM

Quote:

Originally Posted by sinisterpain (Post 1392658)
You are using the Paypal 3.5 donation mod not this one. The reason some people are not showing up is they have to select in the usercp->edit options to be shown as a donator.

I do not see this as an option in User CP

Well I take that back..its available in the default style, but not my customs..crap

jat1801 12-02-2007 11:38 PM

if i click donate link it don't goto donate page it says cant display this webpage :(

tekguru 12-04-2007 12:09 PM

Camn anyone advise ref:

'Fixed bug with permissions (now admin's primary usergroup must not be 6 to be able to confirm/unconfirm/delete donations)'

Does this mean we have to set up a new Admins group using a number other than 6?

Or that the primary group must be something like 'Super Mod' with Admin as a secondary group?

Also what will be the problem if one just leaves an Admin set to group 6 primary?

AWJunkies 12-04-2007 01:11 PM

It is default 6 and you don't need to worry. It is if you admin usergroup is NOT admin 6 that you need to worry about this. It is chang able in settings.

tekguru 12-04-2007 02:26 PM

Right I've stopped panicking and have now switched to this Mod from Bills.

The only issues I'm seeing now are that the PM's are not being sent to the use or myself concerning the status of the donation made.

Oh and I'm still trying to work out how one does add a manual donation in there...


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