REGISTER or LOGIN to have the annoying ads removed.
Post Reply 
 
Thread Rating:
  • 16 Votes - 3.94 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MyIPN Paypal Subscriptions v2
Dec 30, 2009, 04:33 AM (This post was last modified: Dec 30, 2009 04:36 AM by Joshua Mayer.)
Post: #451
RE: MyIPN Paypal Subscriptions v2
What line would I add it under? I added it under the benifits, but it shows above the second subscription button.

This is the code I have:
PHP Code:
<?php

/*
*
* MyIPN Subscription Plugin
* Copyright 2008 Jesse Labrocca
* http://www.mybbcentral.com
* No one is authorized to redistribute or remove copyright without my expressed permission.
*
*/
$l['error'] = "Paypal Subscription";

$l['title'] = "Become a supporter!";

$l['message'] = "If you would like to become a site supporter, we accept Paypal subscription payments.  Payments are automatically renewed and you must cancel the subscription service yourself via the paypal interface.  Currently our subscription rate is {1} {2} per {3} {4}.<br /><br />";

$l['message1'] = "For being a subsciber you will also receive {1} {2}.<br /><br />";


$l['month'] = "month";
$l['day'] = "day";
$l['week'] = "week";
$l['year'] = "year";

$l['benefits_head'] = "Benefits of becoming a subscriber includes:";

$l['benefits'] = "<ul>
<li>Bolded and Green username on the forums.</li>
<li>Special Permissions on the build server.</li>
<li>Show on the Forum Team Page as supporter.</li>
<li>Ability to change username as much as you like.</li>
<li>Ability to change custom usertitle.</li>
<li>Abilty to view invisible users</li>
<li>Ability to delete own threads</li>
<li>Ability to close own threads</li>
</ul>
<form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">
<input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\">
<input type=\"hidden\" name=\"hosted_button_id\" value=\"10818872\">
<input type=\"image\" src=\"https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif\" border=\"0\" name=\"submit\" alt=\"PayPal - The safer, easier way to pay online!\">
<img alt=\"\" border=\"0\" src=\"https://www.paypal.com/en_AU/i/scr/pixel.gif\" width=\"1\" height=\"1\">
</form>"
;

$l['myipn_canmanage'] = "Can Manage IPN";

?>

NewGamingEra- A General Gaming Community!
Admin Space- A Place For Admins
Visit this user's website Find all posts by this user
Quote this message in a reply
Support Forums
This ad removed for subscribers.
Dec 30, 2009, 04:50 PM (This post was last modified: Dec 30, 2009 04:51 PM by labrocca.)
Post: #452
RE: MyIPN Paypal Subscriptions v2
Before $l['myipn_canmanage'] = "Can Manage IPN";

Add

$l['benefits'] .= "";

Add your code between the quotes and make sure to escape any quotes you have in your own code. Example

$l['benefits'] .= "<br /><a href=\"http://www.test.com\">Test</a>";

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 03, 2010, 11:26 AM (This post was last modified: Jan 03, 2010 11:26 AM by skyance.)
Post: #453
RE: MyIPN Paypal Subscriptions v2
Hmm I've had this plugin for about 1-2 months and I have gotten alot of subscriptions to my site but they were not through this plugin, they were directly to my paypal account so today I got my first sub through the plugin but it never moved the user automatically, It says they paid in the IPN log but it never moved them and the settings are:

IPN Subscriber Group
What is the group id to place subscribers? Make sure this is set and group exists. = 5 (Sub group)

WHat went wrong?
Find all posts by this user
Quote this message in a reply
Jan 03, 2010, 02:58 PM
Post: #454
RE: MyIPN Paypal Subscriptions v2
5 is the awaiting activation usergroup... are you sure you want to put them in there...??

MyBB Support Team Lead
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 03, 2010, 07:21 PM
Post: #455
RE: MyIPN Paypal Subscriptions v2
Wait... So how do you tell the gid because I did it how my groups were lined up top to bottom like this:

Guests

Reg. Users

Awaiting Act.

Banned

SUBSCRIBERS

admins

super mods

jr mods

...
...
Find all posts by this user
Quote this message in a reply
Jan 03, 2010, 07:23 PM
Post: #456
RE: MyIPN Paypal Subscriptions v2
Lol, in the ACP go to the Groups List...

Click on the SUBSCRIBERS group and in the address bar of your browser should be something like this: http://www.yoursite.com/admin/index.php?...dit&gid=10

Your GID is the number at the end.. the "gid=10" bit..

Hope that helps
Find all posts by this user
Quote this message in a reply
Support Forums
This ad removed for subscribers.
Jan 03, 2010, 07:29 PM
Post: #457
RE: MyIPN Paypal Subscriptions v2
Omfg thank you so much no wonder alot of plugins requiring GID were being werid with me, this helps alot, thanks!
Find all posts by this user
Quote this message in a reply
Jan 14, 2010, 06:26 PM
Post: #458
RE: MyIPN Paypal Subscriptions v2
When i update the plugin in admincp it doesn't change the settings i.e if i change the price from $10 too $5 when a member trys subscribing they still get the price of $10

How do i fix it? Thanks!

[Image: logo.gif]
Click Here!

[Image: ptp.php?id=314]
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 14, 2010, 11:38 PM
Post: #459
RE: MyIPN Paypal Subscriptions v2
Can anyone help me fix it?

[Image: logo.gif]
Click Here!

[Image: ptp.php?id=314]
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 15, 2010, 10:10 AM
Post: #460
RE: MyIPN Paypal Subscriptions v2
Make sure ./inc/settings.php is CHMOD to 666.

MyBB Support Team Lead
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Exclamation MyIPN - Members not being upgraded Nitrus 1 735 Nov 24, 2009 01:04 PM
Last Post: MattR
  PayPal Subscription Plugin not working trilobyte- 6 658 Nov 18, 2009 09:38 AM
Last Post: trilobyte-
  MYIPN Subscriptions v2 dtss 17 1,509 Aug 17, 2009 02:39 PM
Last Post: labrocca
  PayPal IPN Question theone759 3 957 Dec 03, 2008 07:52 PM
Last Post: theone759

Forum Jump:

Web Hosting


icon buffet