vb.org Archive

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

WingsAA 06-14-2009 05:39 PM

Quote:

Originally Posted by UncleGrundle (Post 1712950)
I am having an issue with this as well. I have been able to get the donate link to show up on my cmps_index page, however I am having the same problem as ddwgoose is. I don't know where to modify/change this:


2. Add this to "Show DonBar on" ('Cyb - PayPal Donate' Settings):
Code:

,adv_index


Other issue that I am having is when I click on the donate button from my CMPS page it brings me to http://mysitecom/misc.php?do=donate

When I use the donation link from my forum the link works just fine. Link on my forum goes to http://mysite.com/forums/misc.php?do=donate

Thanks for any help in advance.


This is the same issue I'm having. Any suggestions?

Strike-Force.ne 06-14-2009 10:55 PM

Disregard, I had to trick it to work.

One thing I did notice though is that when you enter a minimum amount accepted value such as $2, any value such as $10 or $100 will not work due to not meeting the minimum value. It appears that the zeros are dropped of and as such it's only registering a 1 which will cause the amount to not be accepted. I even tried put it as 2.00 and still the $10 and $100 are not accepted.

MonkYZ 06-19-2009 07:46 PM

Nice hack ! Can you please add some features like:

1. In the Donations List, the table heads to have some sort options (to see who donated the biggest ammount, or who donated many times)
2. An option to make a sum for users who donated more than once (for example i have users that made donations 20 times or more) and it's really hard to see how much he actually donated in total
3. An option to show something like "*" for the users that were added manually (for example i want to see who donated through PayPal and who donated through my bank account and i added manually)
4. Top 10 statistics or something like that :)

Thank you in advance !

zoomyx 07-12-2009 11:05 PM

Quote:

Other issue that I am having is when I click on the donate button from my CMPS page it brings me to http://mysitecom/misc.php?do=donate

When I use the donation link from my forum the link works just fine. Link on my forum goes to http://mysite.com/forums/misc.php?do=donate

Thanks for any help in advance.
I have seen that many people have this same issue, I am having the same problem as well. Does anyone know how to fix it?

masterross 07-13-2009 05:37 AM

Hi mate,

Can you add feature to add the donor to 2 usergroups (additional).

regards

oldlock 07-26-2009 07:12 AM

Great mod. One problem the navbar button is not appearing in my custom style. Here's the navbar code, could someone advise where to place the code ? As a total VB NOOB I'm still getting to grips with how this works.

TIA

--

<if condition="is_array($navbits)">

<div class="smallfont">
Navigation &raquo; <a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a>
$navbits[breadcrumb]&raquo;
$navbits[lastelement]
</div>
</if>

<br />

<if condition="$show['notices']">
<form action="profile.php?do=dismissnotice" method="post" id="notices">
<input type="hidden" name="do" value="dismissnotice" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
<input type="hidden" name="url" value="$return_link" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">$vbphrase[notices]</td>
</tr>
<tr>
<td class="alt1">
$notices
</td>
</tr>
</table>
<br />
</form>
</if>

<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<if condition="$show['communitylink']">
<!-- community link menu -->
<div class="vbmenu_popup" id="community_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[community_links]</td></tr>
$template_hook[navbar_community_menu_start]
<if condition="$show['quick_links_groups']">
<tr><td class="vbmenu_option"><a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
</if>
<if condition="$show['quick_links_albums']">
<tr><td class="vbmenu_option"><a href="album.php$session[sessionurl_q]">$vbphrase[pictures_and_albums]</a></td></tr>
</if>
<if condition="$bbuserinfo['userid']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></td></tr>
</if>
<if condition="$show['memberslist']">
<tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr>
</if>
$template_hook[navbar_community_menu_end]
</table>
</div>
<!-- / community link menu -->
</if>

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php?do=process" method="post">

<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</div>
</form>
</td>
</tr>
<if condition="$vboptions[threadtagging]">
<tr>
<td class="vbmenu_option"><a href="tags.php$session[sessionurl_q]" rel="nofollow">$vbphrase[tag_search]</a></td>
</tr>
</if>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
$template_hook[navbar_search_menu]
</table>
</div>
<!-- / header quick search form -->
</if>

<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=n o,menubar=no,toolbar=no,scroll bars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos1]
$template_hook[navbar_quick_links_menu_pos2]

<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos3]

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
$template_hook[navbar_quick_links_menu_pos4]

</table>
</div>
<!-- / user cp tools menu -->

</if>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
</if>

<if condition="$show['member'] AND $notifications_total">
<!-- notifications menu -->
<div class="vbmenu_popup" id="notifications_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead" colspan="2">$vbphrase[your_notifications]</td></tr>
$notifications_menubits
</table>
</div>
<!-- / notifications menu -->
</if>

$ad_location[ad_navbar_below]

Kayden 07-30-2009 05:01 AM

Is there a reason why donations don't show suddenly?

masterross 07-30-2009 06:38 AM

Quote:

Originally Posted by oldlock (Post 1855564)
Great mod. One problem the navbar button is not appearing in my custom style. Here's the navbar code, could someone advise where to place the code ? As a total VB NOOB I'm still getting to grips with how this works.

TIA

--

you dont have
!-- nav buttons bar -->

and specially:
$template_hook[navbar_buttons_left]

$template_hook[navbar_buttons_right]

Levi75 08-05-2009 10:12 AM

what is necessary for receive money when users pay with Paypal? just a Paypal account? or any special account feature?

mackers8923 08-10-2009 10:15 PM

Getting the following error:-
Quote:

Database error in vBulletin 3.8.3:

Invalid SQL:

REPLACE INTO
`rcd_log_pm`
SET
`pmid` = 37995,
`pmtextid` = 19185,
`fromuserip` = 'x.x.x.x',
`fromuserid` = 2,
`fromusername` = 'User Name',
`fromuseremail` = 'a@email.com',
`touserid` = 2,
`tousername` = 'User Name',
`touseremail` = 'a:email.com',
`title` = 'Your donation will be checked',
`message` = 'Dear User Name,\r\n \r\n We have noticed that you haved used our PayPal Donation System on 11-08-09, 00:12.\r\n Your donation will be checked and you\'ll receive another PM if/when it\'s confirmed.\r\n \r\n Best Regards,\r\n \r\n The Forum Team',
`iconid` = ,
`dateline` = 1249945959,
`showsignature` = ,
`allowsmilie` =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
`dateline` = 1249945959,
`showsignature` = ,
`allow' at line 15
Error Number : 1064
Request Date : Tuesday, August 11th 2009 @ 12:12:39 AM
Error Date : Tuesday, August 11th 2009 @ 12:12:39 AM
Script : http://www.sccportal.org.uk/forums/misc.php?do=dodonate
Referrer : http://www.sccportal.org.uk/forums/misc.php?do=donate
IP Address : x.x.x.x
Username : User Name
Classname : vB_Database
MySQL Version : 5.0.81-community

Any ideas? TIA


All times are GMT. The time now is 01:16 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.01729 seconds
  • Memory Usage 1,795KB
  • 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
  • (4)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