Link to Mod (http://mods.simplemachines.org/index.php?mod=413)
This modification is currently in beta - do not use it unless you are sure you know what you are doing!
This modification will add the ability to charge users a subscription to join a membergroup for a defined period of time.
Currently this only works with paypal, and maybe worldpay/authorize.net. To install simply run the modification and then enable the mod from the Settings tab in "Paid Subscriptions" from the admin center.
Note for paypal to work you need to setup your account to direct your IPN to this script. To do this login to paypal, click "Profile" and then select the "IPN" link from merchant tools. Enter the URL of your forum, and then the subs/ipn.php. For example:
http://www.simplemachines.org/community/subs/ipn.php
This is required for paypal to notify the forum that the payment was received.
Grudge,
Thanks for all your work. The only issue I'm having with it (using it for PayPal) is it won't delete users I select who are "Finished" with their subscription. I'm still in the testing phase and won't be active with it until October.
Thanks.
Very very good !!!
But, on my site, I use PayPal and money ( in bills ) and Western UNion ... And other ways of paying method.
Has anyway to " SET " the users MANUALLY ? ...
Example:
User " A " pay for 3 months ... Has anyway to make what the user " A " before the 3 months will automatically changed to " Default User " ?????
Thanks a lot for your idea !!! ;););););)
emm, why doesn't this have 1.0.7 protection?
i installed this from the package manager manually
Its an amazing mod. The question is, how do I make it work in other themes than the standard theme ?
MegaV1 - it won't work on 1.0.7 I believe?
It will only *not* work on non-default themes if they have edited the profile I believe - even then I think it would work?
Hey Grudge,
I get a file corrupted message when using the package manager, and when I manually try to install it - after creating the subs directory, uploading files, etc, I see that this part doesn't work.....
<file name="$sourcedir/Admin.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation error="ignore">
<!-- Search for this text before the code we add. You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
if (allowedTo('manage_bans'))
$context['admin_areas']['members']['areas']['ban'] = array($txt['ban_title'], 'ManageBans.php', 'Ban');
]]></search>
<!-- Add this text when we find it. Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
if (allowedTo('admin_forum'))
$context['admin_areas']['members']['areas']['paidsubscribe'] = array($txt['paid_subscriptions'], 'ManagePaid.php', 'ManagePaidSubscriptions');
]]></add>
</operation>
in fact, in my $sourcedir/Admin.php I have no occurance of "ManageBans.php" at all!
I am running 1.1 RC2
If you can help, I sure would appreciate it!!!
Thanks in advance!!!
Why does it require the site owner to change their IPN.
You could instead use.
<input type="hidden" name="notify_url" value="http://yourdomain.com/path/to/your/ipn.php">
Which means the owner can use more than one IPN.
Would you consider making this change?
MrCue,
Yes - that makes much sense.
digit,
Bugger - that whole operation *should* be ignored. I wonder whether it was a bug fixed in RC3? You can hit continue if that's the only problem - that file is only there to let it install on the development edition (i.e. SMF after 1.1)
I mean this: http://www.simplemachines.org/community/index.php?topic=105921.new#new
Regards !!
How to upgrading from 0.8 to 0.9, I don't want to lose my info of the paying members already ;)
Plz give an update list with new features or repaired bugs.
Quote from: Grudge on August 13, 2006, 06:13:38 PM
digit,
Bugger - that whole operation *should* be ignored. I wonder whether it was a bug fixed in RC3? You can hit continue if that's the only problem - that file is only there to let it install on the development edition (i.e. SMF after 1.1)
I wish I could upgrade now, but between the member map, flashchat, charter member mods, among other tweeks I've made, it's just not feasible to upgrade to another beta version.
Also - again - I get a file corrupted messsage when selecting and uploading the mod (.tar.gz version) using the package manager. (1.1 RC2)
Grudge,
Any thoughts on what I talked about above? When I finish out a user's subscription and try and delete the account from the list, it won't delete.
Jim - do you mean when you manually "finish" them from the admin menu as oppossed to letting it do it automatically?
Quote from: Grudge on August 14, 2006, 11:32:09 AM
Jim - do you mean when you manually "finish" them from the admin menu as oppossed to letting it do it automatically?
User goes in and cancels his subscription. It shows up as Finished. I try to delete User from the subscription list--on the subscription page. It won't delete him.
specifically:
"The package you tried to upload either is not a valid package or has become corrupted."
I'm running 1.1 RC2
Jim, digit,
Unfortunately I'm now away on work until late next week but I'll try take a look on my return. digit - I have retarred the package and attached?
Hey id ownloaded this mod but I don't know what to do now. I installed it but I get [ Apply Mod ]. Whene i click on is I have to put my server name my login,password and Local path to SMF:.
For as I know i put it correct but nothing happend. I use 1.1rc2 and have the template on default.
Please help me.
ps is this mod also working with paypal prived account?
Quote from: underdog on August 15, 2006, 06:12:06 AM
Hey id ownloaded this mod but I don't know what to do now. I installed it but I get [ Apply Mod ]. Whene i click on is I have to put my server name my login,password and Local path to SMF:.
For as I know i put it correct but nothing happend. I use 1.1rc2 and have the template on default.
Please help me.
ps is this mod also working with paypal prived account?
Normally you can use your ftp codes to go on.
Quote from: qtime on August 15, 2006, 07:06:57 PM
Quote from: underdog on August 15, 2006, 06:12:06 AM
Hey id ownloaded this mod but I don't know what to do now. I installed it but I get [ Apply Mod ]. Whene i click on is I have to put my server name my login,password and Local path to SMF:.
For as I know i put it correct but nothing happend. I use 1.1rc2 and have the template on default.
Please help me.
ps is this mod also working with paypal prived account?
Normally you can use your ftp codes to go on.
I had the same thing happen to me...
Installing this package will perform the following actions:
Type Action Description
1. Extract File ./Sources/ManagePaid.php
2. Extract File ./Themes/default/ManagePaid.template.php
3. Extract File ./Themes/default/languages/ManagePaid.english.php
4. Extract File ./subs/ipn.php
5. Extract File ./subs/worldpay.php
6. Extract File ./subs/paypal.php
7. Extract File ./subs/nochex.php
8. Extract File ./subs/2co.php
9. Extract File ./subs/authorize.php
10. Execute Code paidsubsdb.php
11. Execute Modification ./index.php Success
12. Execute Modification ./Sources/Profile.php Success
13. Execute Modification ./Themes/default/languages/Modifications.english.php Success
14. Execute Modification ./Sources/Subs.php Success
15. Execute Modification ./Sources/Admin.php Success
Below That Was This Message And A Box To Input My FTP Info
FTP Information Required
Some of the files this package needs to modify are not writable. This needs to be changed by logging into FTP and chmoding the files.
I Entered My FTP Details & Local Path To SMF Clicked Proceed, But Nothing Happened.
Ideas Anyone?
Hey...here is another issue. I don't want to give my users the options of not having recurring payment. I explain in my registration process they turn off their subscription via their PayPal account. I need for recurring payments to be required.
How do I make that change?
Thanks.
to mickyd2006
did you cmod the files to the right figures?
plz have a search in this forum to look for the right settings.
Hey thanks for the reply
Ermm not to sure how to chmod files inside a tar.gz
I tried chmod the tar.gz but that didnt work either.
I tried just uploading the files extracted from the tar.gz but package manager did not recognise it.
Its not the values that are a problem, but how to do it lol
Hi can someone please make this mod for smf 1.07
I get this error:
You have not setup your currency yet. Please do so from the settings menu before continuing
How do I set currency?
It says setting What Setting?
click the paid subscriptions link under members in admin. There you will see 2 tabs, view subscriptions and settings. click settings and thats where you alter currency and enter your paypal email etc.
Hope that helps
Anyone Know If It Would Be Possible To Do This?:
The first XXX# New registrations Auto Upgraded To Subscription Service Free For XXX# Months
@Bigguy..
I managed to downgrade from 1.0.7 to 1.1 RC2 with no problems at all. I simply uploaded the 1.1 rc2 update package, ran upgrade.php.. done. The only 2 little glitches I had were my board refused to emerge from maintenence mode which I sorted by setting the value to 0 in settings.php and my cookies screwed up which I repaired with repair_settings.php and I now have all the mods I wanted and more besides, including this one which I reall wanted.
Thanks again for the help and advice buddy, much appreciated :D
Got it! (original comments deleted)
O'kay I know I posted this once already but I thought it would make more sense to post it in here so everyone can benefit from it.. ;D
First I would like to thank Grudge for making a kick ass MOD like this!! Very cool!!
Second I used an exsisting membergroup for the paid subscription MOD. What I would like to do is set an expiration date on all of my users that currently have that membergroup assigned. How would I go about doing that ??
I see it has been done here with the Charter Members. I just need to know how ;D
Thanks agian!!
/me upgrades to 0.9
VERY nice mod.
I'm getting some (about 50%) "Unknown transaction type in ipn.php"
How should I debug those?
Thanks!
Pertaining to my post {click here to view} (http://www.simplemachines.org/community/index.php?topic=105532.msg688686#msg688686) I was wondering if anyone could tell me what the database values are on one of your subscriptions ??
I was thinking of manually editing the database to accomplish what I need.
Thanks for any help!
Alright I am a NOOB and I admit it.... I found how to do it... LOL!!!
So now that's behind me is there a way to make a subscription "renew only" ??
What I want is to make a subscription that I have to set-up for them but after I set it up they can renew the subscription all they want... They can't get the subscription... But they can re-new it once I give it to them....
Does that make sense ??
Looks like a mod I've been waiting for !!
I've installed it, no problem, but can not get it to work properly.
Members do not see a Paid Subsriptions option in their profile. I can see the paid subscriptions in my profile, I can also see the options in the admin panel.
Help!
Dan
http://www.allotments4all.co.uk
Version of SMF?
Version of Package?
;D
SMF 1.1 RC3
Latest Version of mod - 0.9D
Quote from: mickyd2006 on August 22, 2006, 10:36:42 AM
What Exactly Did The Man Who Invented The Drawing Board Go Back To?
The Cliff?
lol ;)
Hi grudge can you please make this for smf 1.07
i installed this in 1.1 rc3 i wanna know i setted everything up now how do i setup for which board i want the paid subscription please tell me
it's connected to membergroups and membergroups are connected to boards.
all i see is this
Just to let people know I have fixed my issue.
It was caused by an extra comma in Profile.php,
The last entry in the
$sa_allowed = array(
had a comma at the end, which caused an a few of the items to not be displayed.
On another note I would like to have an icon on the page which takes users directly to the subscription area, does anyone know how to achieve this?
Thanks
Dan Fulton
Quote from: desistyle on August 23, 2006, 03:21:24 AM
all i see is this 
I think you need to create a new membergroup, like donator or something like that.
set that membergroup with the right board permissions, you want to have them access to.
After you added a new group, you should see this in the list of primary membergroups.
If not, the mod is not working correct. And I don't know what else to do, maybe you can delete it and retry installing.
Yeap i did all this i guess mod is not working with 1.1 rc3 c an someone please check into it
Quote from: desistyle on August 23, 2006, 01:54:51 PM
Yeap i did all this i guess mod is not working with 1.1 rc3 c an someone please check into it
I am using it with RC3, once I had found the extra comma (I think due to the ignore board mod) it works great.
When you create a new member group from the SMF admin area, make sure you do not base it on posts.
It does work!
Cheers
Dan
Quote from: allotments4all on August 23, 2006, 02:54:05 PM
Quote from: desistyle on August 23, 2006, 01:54:51 PM
Yeap i did all this i guess mod is not working with 1.1 rc3 c an someone please check into it
I am using it with RC3, once I had found the extra comma (I think due to the ignore board mod) it works great.
When you create a new member group from the SMF admin area, make sure you do not base it on posts.
It does work!
Cheers
Dan
i did not based it on posts and can u plz tell me abt the extra comma how to fix that
Many questions have been answered on this original post about the paid subscriptions mod:
http://www.simplemachines.org/community/index.php?topic=13737.0
not to repeat myself ;) - but I am getting the error "unknown transaction type in ipn.php"
(it seems about 50% of the time)
How can I debug this?
Thanks in advance.
digit,
Is it only PayPal you are using? I cannot see how this would happen :'(
Could you edit ipn.php and where it says:
else
generateError($txt['paid_unknown_transaction_type']);
Change to:
else
{
generateError($txt['paid_unknown_transaction_type'] . "\n\n" . print_r($_POST, true));
}
And PM/email me the error messages?
Sorry - I didn't get around to updating the mod this weekend - got distracted by SMF "Development Edition" goodies ;)
Quote from: Grudge on August 28, 2006, 05:42:28 PM
digit,
Is it only PayPal you are using? I cannot see how this would happen :'(
Could you edit ipn.php and where it says:
else
generateError($txt['paid_unknown_transaction_type']);
Change to:
else
{
generateError($txt['paid_unknown_transaction_type'] . "\n\n" . print_r($_POST, true));
}
And PM/email me the error messages?
Sorry - I didn't get around to updating the mod this weekend - got distracted by SMF "Development Edition" goodies ;)
Yes, I'm only using PayPal, and I just replaced that text - now I need to wait for the next paid sub - should be within 12 hours or so - thanks!
('looking forward to the goodies! ;))
Quote from: NukeWorker.com on August 25, 2006, 07:54:18 AM
Many questions have been answered on this original post about the paid subscriptions mod:
http://www.simplemachines.org/community/index.php?topic=13737.0
OK i did it and i think it does work but the thing is no one sees that board and it dont say anywhere that subscribe to see that board or anything like that
I set up smf 1.1rc3 and installed Paid Subscriptions 0.9. No other mods are installed, no hacks to files or themes.
When I click on my profile, I get this error:
Fatal error: Cannot redeclare subscriptions() (previously declared in /path/to/public_html/community/Sources/Profile.php:2912) in /path/to/public_html/community/Sources/Profile.php on line 3084
I haven't looked at that line, but is this going to be an easy fix? Should I reinstall something? (It worked fine on my localhost machine at home; i'm not sure how differently it's configured compared to my webhost that I get the error on.)
~silverwing
It seems like that section got installed twice. Open Profile.php and delete the duplicate subscriptions function.
thanks. (I'm not usually that dense, but smf is new to me.)
I deleted line 3084 to the end of the page and things seem to work fine.
~silverwing
Ummm Make sure that you didn't delete any other function.
hi am trying to add a subscriber manually and its not adding it it says member not found do u know why its doing that ?
Quote from: desistyle on August 30, 2006, 08:07:31 AM
hi am trying to add a subscriber manually and its not adding it it says member not found do u know why its doing that ?
Because you are using the wrong username.
You might be entering in the display name, or have an extra space at the end.
Can someone tell me an easy way to add more flexible prices.
Primarily I want people to be able to select:
3 Months, 6 Months, 12 Months or 24 Months
Either that or people can select the number of flexible months
they want to buy in an extra selection box.
I tried looking through the code myself but it's quite confusing.
I want to do this as alot of people dont like reoccuring payments.
I cant use fixed payments because if someone changes to an
increased topup period the subscriptions will overlap.
Quote from: Gargoyle on August 19, 2006, 09:30:18 PM
O'kay I know I posted this once already but I thought it would make more sense to post it in here so everyone can benefit from it.. ;D
First I would like to thank Grudge for making a kick ass MOD like this!! Very cool!!
Second I used an exsisting membergroup for the paid subscription MOD. What I would like to do is set an expiration date on all of my users that currently have that membergroup assigned. How would I go about doing that ??
I see it has been done here with the Charter Members. I just need to know how ;D
Thanks agian!!
You later said you'd discovered how to do this - may I ask how?
This would save us several days of work moving our club membership subscriptions online.
I ended up doing it all manually through the admin panel. I only had 19 people to move so it wasn't a difficult task.
Ah, that was what I was hoping to avoid - we've got several hundred :-\
You can manually set a end date for all users (Like we did here) just by running a simple SQL query.
UPDATE smf_log_subscribed SET endData = 'DATE' WHERE ID_SUBSCRIBE = 'subscriptionID'
In other news I've updated this slightly to v0.10. I hope this fixes some PayPal and 2co.com issues - also adds sorting in the admin menu and adds a link in users profiles for the admin to add a subscription for a user. Thanks to NukeWorker and Shoeb for some of this. Note I still have some more bits todo on this - mainly add an option for reminders.
I'll be testing this one in a few. Hopefully this one fixes the issues with the unknown transaction type.
Cool! I too hope it fixes the unknown transaction type error in PayPal.
....If I was upgrading from .9 do I need to uninstall, or, can I just copy over some files (safely)?
Thanks a bunch for an awesome mod.
Grudge you might want to check to see if those new columns taht you added exists. I got an error for duplicate column for email_complete, reminder and reminder_sent.
EDIT: Small bubu on viewsubs page. Viewing users subscribed to: "LMP VIP AREA"
digit,
If it's just the error your interested in simply upload a copy of ipn.php.
Jay - I'll update that now.
I have also the error of the duplicate fault
I don't understand the answer of overwriting the ipn.php file, is that the only think to upgrade??? I think I am missing the clue now... maybe I am too tired ;)
Error installing on RC3
Duplicate column name 'Repeatable'
File: xxx/Packages/temp/paidsubsdb.php
Line: 83
The error above is exactly what i am coming to research.
What would be causing this?
one big problem with this mod is.. if you use your paypal account to recieve payments from elsewhere (otehr than jsut subscriptions), paypal will still use the ipn file... creating the error email saying "Unknown transaction type in ipn.php" since it doesn't have all the info required to continue (change membergroup, etc..)
Grudge I think this version finally fixed the Unknown Transaction type. Haven't received an email yet.
i got it once with this version when someone paid for somethign in my online store with paypal... only happened ocne though, and my paypal is used all day long for a store, donations, etc...
Here is a thought on a different subject beyond error reporting. I've been going at this issue a couple of different ways for my site, and I just thought it might work well with the Paid Subscriptions mod.
I'd like for it to be possible for certain Membergroups to be "public" so users can join them as a secondary Membergroup upon subscribing.
Can this be done?
Quote from: Cesay on September 09, 2006, 09:34:00 PM
Error installing on RC3
Duplicate column name 'Repeatable'
File: xxx/Packages/temp/paidsubsdb.php
Line: 83
Quote from: wooopig54 on September 11, 2006, 12:31:39 AM
The error above is exactly what i am coming to research.
What would be causing this?
ditto!
Is there any one how have expiriments with Paidsub?
I want that it worx by me but still now it's a faillure.
I Installed it put the settings ok. Have an premium accound by paypal but it seems not to work.
I still keep the normal login and people wont send to paypal.
What kind of e-mail do I've to put there? And What do I've to change by another template?
Please help I want to start with my website but this is still the problem that it can't
Quote from: underdog on September 14, 2006, 03:46:05 PM
Is there any one how have expiriments with Paidsub?
I want that it worx by me but still now it's a faillure.
I Installed it put the settings ok. Have an premium accound by paypal but it seems not to work.
I still keep the normal login and people wont send to paypal.
What kind of e-mail do I've to put there? And What do I've to change by another template?
Please help I want to start with my website but this is still the problem that it can't
the email required in the settings is your paypal login email. That is how it knows what paypal account to go to.
Quote from: Cesay on September 09, 2006, 09:34:00 PM
Error installing on RC3
Duplicate column name 'Repeatable'
File: xxx/Packages/temp/paidsubsdb.php
Line: 83
I'm getting the exact same thing and couldn't figure out if I was doing something wrong. I played with the db file as well and can't correct the error.
Please help
Quote from: computel on September 16, 2006, 02:48:39 AM
Quote from: Cesay on September 09, 2006, 09:34:00 PM
Error installing on RC3
Duplicate column name 'Repeatable'
File: xxx/Packages/temp/paidsubsdb.php
Line: 83
I'm getting the exact same thing and couldn't figure out if I was doing something wrong. I played with the db file as well and can't correct the error.
Please help
And me, on a fresh install :(
Im on windows server... Everything seems to work fine..
Apart from the paid subscription mods package installer...
Fatal error: require() [function.require]: Failed opening required 'E:\wamp\www\forum/Packages/temp/./paidsubsdb.php' (include_path='.;C:\php5\pear') in E:\wamp\www\forum\Sources\Packages.php on line 534
Can u see how the slashes seem to start going in other direction..
Saw somthing about creating a temp folder so i tried doing that but it still doesnt install..
As you know ive used this mod many many tiems on linux without any problems...
So this must be an issue with how the mod deals windows paths maybe?
It also says (include_path='.;C:\php5\pear') (THIS ISNT EVEN MY PHP LOCATION my php info is here http://www.h2kclan.com/info.php )
This doesnt just go for v10 it happens with v9 v8 v7
I am using CLEAN INSTALL OF SMF 1.1 rc2 NO other mods isntalled apart from 1 mod that was used to see if the package manager was working and it installed fine
that is the same error i'm having
Your on a windows apache setup right?
Are u running php5 or 4?
I am having a problem here that has been mentioned, but no answer has been given yet. I have a user that signs up with an e-check via paypal. It puts them in "pending" The check clears, but the membership does not change. I also cannot manually delete the subscription and then manually create it. If I try to change the dates so that the subscription is valid, it returns a blank scresn with "dur:31556926".
Please help. I have members who have had their e-checks clear, but I can't get them into "paid member" status manually.
I'm running on debian, apache 5, mysql 4
Quote from: computel on September 16, 2006, 02:48:39 AM
Quote from: Cesay on September 09, 2006, 09:34:00 PM
Error installing on RC3
Duplicate column name 'Repeatable'
File: xxx/Packages/temp/paidsubsdb.php
Line: 83
I'm getting the exact same thing and couldn't figure out if I was doing something wrong. I played with the db file as well and can't correct the error.
Please help
I too am getting this error On a fresh Install aswell.

I have checked everything and it still comes up with this error.
My System is running on.
Windows NT Server, Apache 1.3.37, PHP 4.3 XX, SMF 1.1 RC3.
Ed's Trains
http://esketcher.homeip.net/forum/index.php
Right - I think something went wrong with v0.10 - I've uploaded v0.11 which should at least stop some of the SQL problems. I cannot understand the path problem - is the Packages directory certainly writable? You could bypass it by manually executing paidsubsdb.php by uploading it to your forum folder, adding "require('SSI.php');" to the top of it and running it.
Sorry - too little time :(
yikes, do we need to completely uninstall v10?
I have been having a problem (since upgrading from v.9 to v10) where the accounts aren't being upgraded in the groups - all new subscribers are shown as "Payment Pending" in the Subscritpion area, but in their profiles, it shows the subscription as "Finished" I have to go in and manually change their group settings, and manually set the expiration date - I am not sure what went wrong in the upgrade - will v11 fix that? (or is something else going on?)
Thanks in advance.
Duplicate column name 'Repeatable'
File: /Packages/temp/paidsubsdb.php
Line: 84
still getting the above with ver 0.11
:(
Im getting that too, look foward to the fix!
@ Matt ..
First things first .. thank you soooooo much for your Mods. Absolutely Fabulous & much appreciated!
On this mod, ditto on:
Duplicate column name 'Repeatable'
File: .. smf/Packages/temp/paidsubsdb.php
Line: 84
PaidSubs v.0.11tar.gz
RC3
Appeared after the FTP connect.
Have you had time to look at this yet? - Or anyone else know the fix?
Thanks!
QuoteI am having a problem here that has been mentioned, but no answer has been given yet. I have a user that signs up with an e-check via paypal. It puts them in "pending" The check clears, but the membership does not change. I also cannot manually delete the subscription and then manually create it. If I try to change the dates so that the subscription is valid, it returns a blank screen with "dur:31556926".
Please help. I have members who have had their e-checks clear, but I can't get them into "paid member" status manually.
Anyone? PLEASE??
Thanks In Advance.
QuoteI am having a problem here that has been mentioned, but no answer has been given yet. I have a user that signs up with an e-check via paypal. It puts them in "pending" The check clears, but the membership does not change. I also cannot manually delete the subscription and then manually create it. If I try to change the dates so that the subscription is valid, it returns a blank screen with "dur:31556926".
Please help. I have members who have had their e-checks clear, but I can't get them into "paid member" status manually.
i have the same problem
This is one Mod I'd be willing AND able to pay for tech support on! ;)
I REALLY need to get my installation back up to 100%, like I said in an earlier post, after going from v.9 to v10, my group settings are not being updated, and all new subscribers are being put into Payment Pending - instead of how v.9 did it - - it automatically upgraded the accounts to Charter Member and set the subs as active.
Now I have to manually set the accounts when I get the PayPal email notifications. Kind of defeats the whole purpose of the Mod. :P
Matt - if you have some time, please drop me a line, - I'd be willing to shoot you off a few bucks for your help - this is PROBABLY an easy fix...
Thanks in advance.
Quote from: digit on September 29, 2006, 04:49:07 AM
This is one Mod I'd be willing AND able to pay for tech support on! ;)
Likewise, I'd be happy to throw in a few for the bounty. I'd like to install it but it looks like it needs work. :-\
I have attempted to install the "paid Subscription mod" on my site but I am getting this error message:
Database Error
Duplicate column name 'Repeatable'
File: /home/rickou81/public_html/forum/Packages/temp/paidsubsdb.php
Line: 84
This is line 84 in that file:
ADD COLUMN Repeatable tinyint(3) NOT NULL default '0'", __FILE__, __LINE__);
Any ideas...
Thanks
Please help
I also have this error. Any fix yet. ???
Duplicate column name 'Repeatable'
File: /home/rickou81/public_html/forum/Packages/temp/paidsubsdb.php
Line: 84
Anyone tried deleting that line and seeing what happens?
Quote from: Narko on October 03, 2006, 07:05:37 AM
Anyone tried deleting that line and seeing what happens?
Yep and all the other errors it shows too. Still does not install properly.
I'll give whoever $20 to make this compliant, safe and proper for RC3.
So... what has happened to the coder of this mod?
This is quite a popular mod, it seems a bit odd to just disappear...
I'm sure he is either busy with real life or working on the mod. Or both. He will be back. ;)
Just to let everyone know, I have found a fix that worked for me.
I uninstalled the current version, and installed version .09.
Works great and I installed on 1.1rc3 with the dilbermc theme and used the mod file to make the mods to my theme.
Got a link to 0.9 mate?
Yeah a link would be nice, I can't find that version anywhere.
Here is a link to the file the I have. Help your self and feel free to take a look around.
http://cashsurveysnow.com/forum/index.php?topic=71.msg286#msg286 (http://cashsurveysnow.com/forum/index.php?topic=71.msg286#msg286)
If this works for you please feel free to register and post on my forum.
Thanks.
Thanks for this. It installed without a hitch.
This is a wonderful mod and I have used it since it became available without problems.
However, PAYPAL recently suspended my accounts and has decided to keep almost $5k for 180 days because they were "offended" by my content.
Other than PAYPAL, this mod is trageted for UK payment processors. I would love to see someone integrate U.S. payment processors into it. A U.S. version if you will with PAYPAL, ccBill, iBill in addition to the others.
I have the requirements for ccBill and have tried contacting Grudge without success. I have also put a call out for developers elsewhere on this board.
Anyone have any ideas or care to tackle this chore? I am willing to pay what is needed to make this happen
I'm going to have some spare time next week. If grudge doesn't support this mod anymore, I'm going to give it a workover then. :)
Grudge has not dropped support for this mod. He's just busy with RL. In the mean time you can try using this package.
Quote
Grudge has not dropped support for this mod. He's just busy with RL.
"if grudge doesn't have the time to support this mod anymore" <- there, better? ;)
Quote from: Valodim on October 11, 2006, 12:02:12 PM
Quote
Grudge has not dropped support for this mod. He's just busy with RL.
"if grudge doesn't have the time to support this mod anymore" <- there, better? ;)
Yea :P.
Quote from: Valodim on October 11, 2006, 11:23:59 AM
I'm going to have some spare time next week. If grudge doesn't support this mod anymore, I'm going to give it a workover then. :)
If by workover, you mean what I suggested, contact me and I will provide you with the files ccBill prvided me although I think i posted the links in the Help Wanted section
Quote from: Cesay on September 09, 2006, 09:34:00 PM
Error installing on RC3
Duplicate column name 'Repeatable'
File: xxx/Packages/temp/paidsubsdb.php
Line: 83
I am getting this same error installing on RC3
Duplicate column name 'Repeatable'
File: /home/fronter/public_html/lg/Packages/temp/paidsubsdb.php
Line: 84
Back to looking for the cliff to jump off of
Worked great Jay, thanks alot.
Quote from: JayBachatero on October 11, 2006, 12:00:26 PM
Grudge has not dropped support for this mod. He's just busy with RL. In the mean time you can try using this package.
Quote from: Elegant John on October 11, 2006, 02:12:24 PM
Quote from: Cesay on September 09, 2006, 09:34:00 PM
Error installing on RC3
Duplicate column name 'Repeatable'
File: xxx/Packages/temp/paidsubsdb.php
Line: 83
I am getting this same error installing on RC3
Duplicate column name 'Repeatable'
File: /home/fronter/public_html/lg/Packages/temp/paidsubsdb.php
Line: 84
Back to looking for the cliff to jump off of
Did you try this package?
http://www.simplemachines.org/community/index.php?topic=105532.msg763786#msg763786
How dumb can we all be? Here is the answer and it is right under our nose. It works! Follow this solution
http://mods.simplemachines.org/index.php?action=review;mod=413 (http://mods.simplemachines.org/index.php?action=review;mod=413)
Elegant John I just posted that file there on the mod site. It's the same one on my post. I just renamed it to *_patch.zip incase some people missed my post.
Sorry - finally fixed this - v12.
Grudge I found a bug. Where it says cost the sprintf doesn't work. Cost ($%1.2f)
Also a suggestion. I think you should give more flexibility to the day, week, month thing. Maybe you can have from a drop down and you can select the amount of days. Like if you want to run a special for just 3 months and so on.
Sorry to be the bearer of bad news. I've upgraded from 0.9 to 0.12 and I'm getting this error when trying to edit a current subscription.
Unknown column 'email_complete' in 'field list'
File: /home/*/public_html/fiddleforum/Sources/ManagePaid.php
Line: 334
(and I still have the date problem, but no error logs.. subs have been few and far between I'm afraid).
Grrr - and I'm away again until the weekend - please add that column as a tinyint(3)... to the subscriptions table I believe.
That is for reminder_sent.
madfiddler run this query in phpMyAdmin
ALTER TABLE {$db_prefix}subscriptions
ADD COLUMN email_complete text NOT NULL default ''
Replace {$db_prefix} with the prefix of your tables.
to be clear about this...
should the table...
email_complete
be set as... tinyint(3)
?
No it should be "text".
Quote from: JayBachatero on October 16, 2006, 01:28:27 PM
That is for reminder_sent.
madfiddler run this query in phpMyAdmin
ALTER TABLE {$db_prefix}subscriptions
ADD COLUMN email_complete text NOT NULL default ''
Replace {$db_prefix} with the prefix of your tables.
Thanks for that.. Now I'm getting the reminder error, which I've seen here so will read back for the solution...
m
Hmmm what is the full code to put into phpmyadmin for the reminder_sent error? Confused
Looks like the sql additions didn't run in the 0.12 update?
works perfectly!
thank you.
anyway to make it so only a specified membergroup is allowed to subscribe?
cheers
Egg
Jay - can you be specific on where sprintf doesn't work?
Also - I finally fixed the DB bug I think with 0.13 :(
Hmm, I uploaded the 0.13 package into my packages directory, and now the packages option in admin doesn't work at all mate. Just get a blank screen.
Maybe it was corrupt? I've uploaded a new zipped version.
Still doing it. Delete it from the packages directory and it's fine again.. the 0.9 version is still in there, so the packages system isn't knackered on my server.
Ok it's not sprintf but this is the line.
<td align="center">', $txt['paid_cost'], ' (', str_replace('%d', '', $modSettings['currency_symbol']), ')</td>
I don't know why - but sometimes (like now) when trying to decompress your Mods, I get this error....
... but I can upload using the package server - and view the files fine ::)
Does it work through the package manager?
hmm, well I have had times when I get that error (on my Mac) , yet the package manager decompresses them fine - but I just tried and got the message...
"The package you tried to upload either is not a valid package or has become corrupted."
Check this one.
Quote from: JayBachatero on October 20, 2006, 09:14:15 AM
Check this one.
Worked great - thanks... now do I need to completely uninstall v10 - 12 or can I just copy over ...
ManagePaid.php
ManagePaid.english.php
ManagePaid.template.php
paidsubsdb.php
paypal.php
ipn.php
The normal upgrade procedure for the mod is uninstall then install newer version.
Trying to install the Paid Subscriptions mod manually since the package manager in rc3 has been a nightmare. Now I've run into another problem.
In the file paidsubs_admin_v0.9.xml it calls for the following search/add:
<file name="$sourcedir/Admin.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation error="ignore">
<!-- Search for this text before the code we add. You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
[b]if (allowedTo('manage_bans'))
$context['admin_areas']['members']['areas']['ban'] = array($txt['ban_title'], 'ManageBans.php', 'Ban');[/b]
]]></search>
It's not finding what I have in bold print. :(
Jim,
You do NOT need to do that replacement. That is marked as "error=ignore" because it's to make the mod compatible with the "Development Edition" of SMF (Run here) which changes the way the admin center works - it's not needed for SMF 1.1.
Grudge,
My host changed the settings so now I'm getting the Package Manager working, but I still came up with a couple of errors at different stages trying to install Paid Subscriptions.
Can you check this topic out?
http://www.simplemachines.org/community/index.php?topic=122128.0
Thanks.
I am still having the problem of new subscribers being listed as payment pending instead of active.
Any idea why?
Thanks in advance.
Dang. With v0.13 I get:
Datebase error:
Duplicate column name 'allowPartial'
File: ../smf/Packages/temp/paidsubsdb.php
Line: 96
Ok so I'm still getting an error, but I really want to thank Matt & Jay for your support!
When someone has a moment, would you please point me in the right direction? Thanks!
EDIT: Resolved with v0.14.
Grudge updated the package ealier today. Download that package and see if that works.
You're quick!
I just did & it installed perfectly with no errors! Hoorah! Thank youuuuu.
Now off to play with it :D
cool. the new version loads and runs fine.
i did a test with a subscription of 1 day and the ending date
showed it being Dec 31 1969. :-\
edit: i just tested it with a year too, same result
If Grudge doesn't get to look into it by tom I'll look into it. I saw it happen on a site that I admin.
Instaled fine no erros (just need to mod my custom theme files so it works with my custom theme) anyway I'm testing it out now but am confused by something... When setting up subscriptions I see this...
Email to Send upon Completion:
Where {NAME} is members name; {FORUM} is community name. Email subject should be on first line. Blank for no email notification.
Maybe I'm jusr being dumb but is this telling me how to set it up bec if so I'm just not following it with the whole {name} & {forum} things... So can someone please show me how this should be set up with sample text etc... Thx.
Edit : Has anyone looked into this bec after reading all 10 pages of this post "literally" i never once saw a reply to it... and lord knows none of us want it happening hehe. I'm just curious bec I use paypal for my ebay stuff and the las thing I want is error emails out the wazu... sure I could make a 2nd paypal account specifically for subs but dont want to if I dont have to hehe...
Quote from: maverickfl on September 11, 2006, 02:20:29 AM
one big problem with this mod is.. if you use your paypal account to recieve payments from elsewhere (otehr than jsut subscriptions), paypal will still use the ipn file... creating the error email saying "Unknown transaction type in ipn.php" since it doesn't have all the info required to continue (change membergroup, etc..)
SMF 1.1 RC3 - TP 0.9.5 (http://www.tinyportal.net/smf/index.php)I just noticed this when playing around with my test account and my secondary paypal account...
Ok on the test name this is what the Paid / Current subs look like... wth is up with 1969 and the wrong time format for the ending dates as wel as the month being Dec. 31st lol... the starting times are right...

Also on the admin side of things it looks like this... why would it be pending if the payments were made... "it could be bec I didnt accept them on the paypal end"... meaning I had / have the option to accept / deny payments... not sure on that though without further testing...
Pardon my tone, but I've had a great deal of problems with mods since upgrading to 1.1 rc3.
I have a test account for my SMF and PayPal. I've subscribed twice to one of my subscriptions, and it still has yet to put my account into a Membergroup.
I get a confirmation email and this response upon successfully subscribing through PayPal:
QuotePayment Complete
Thank you for your payment. Once the transaction has been verified the subscription will be activated.
And as someone suggests to upload the version .14, I tried, but my Package Manager won't install it.
I wasn't having any problems until I upgraded to 1.1 rc3, and everytime I think I get it all patched up something else goes wrong. :(
If I have time over the weekend I'll look into it.
I'm hoping to get this bad boy back up and running quickly. I already have a lot of time and some clients on it. :)
My site isnt even "live" yet so myissues arent to bad lol... but hey whenever someone gets the time o "look" into it is fine with me... just so long as the whole 1969 etc thing can be fixed hehe... **points back to his post on the last page with the pictures ;-P
OK...finally got .14 installed. It's not adding anyone to Membergroups, but it is charging them. As I check my Paid Subscriptions through my Admin panel, it does show them as subscribers.
When installed as a normal user, I see the following when I check my Subscriptions:
Existing Subscriptions
Below is a list of all your current and previous subscriptions. To extend an existing subscription simply select it from the list above.
Name Status Start Date End Date
test Finished October 26, 2006, 02:39:46 PM December 31, 1969, 07:00:00 PM
Maybe the date issue is related to not adding to the membergroups.
The other thing too is, as someone else noted, it shows the user as still having his payment pending.
It all seems related to the date issue.
I'm getting the same problem, users accounts are not being upgraded, and new subscribers are listed as payment pending.
This might be related...
As an admin, if I look in a subscribed user's profile, and click on Paid Subscriptions, then I click on a subscription link, I pull up a form that - is supposed to anyway I would think... allow me to edit that subscribers subscription info. That form doesn't work at all for me. In order to edit ANY subscription, I need to go into the admin panel, click on Paid Subscriptions, find an account, and click on [edit]. I can not adjust a subscription through the profile "Paid Subscriptions" link.
I am running a heavily modified forum, so it's possible my issues are my fault - but it seems others here are having the same problems...
Any help would be most appreciated.
Is the date issue happening when a user gets a subscription or an admin adds one?
I'm just hoping whenever aka gets the time that he can fix whats wrong and upload a new ver.
Huh???. That doesn't really help. ::). Once again is the error when a users registers or what?
Quote from: JayBachatero on October 29, 2006, 01:23:34 AM
Huh???. That doesn't really help. ::). Once again is the error when a users registers or what?
I dont know if that was directed towards me but my erros can be found by clicking this link that leads to my post within this post... either way I hope aka can get a fix in to address the date thing etc...
http://www.simplemachines.org/community/index.php?topic=105532.msg783641#msg783641
Ok that's what I was asking about the date issue. The end date is the one that is messed up. Also it's grudge not aka ;).
Can someone email me a dump of the smf_log_subscribed table? Want to narrow down the problem.
Quote from: JayBachatero on October 29, 2006, 01:41:22 AM
Ok that's what I was asking about the date issue. The end date is the one that is messed up. Also it's grudge not aka ;).
Like i told you in the pm i sent you ive been reallllllly busy all day and am forgettin a few things but i am havin a issue with one of aka's mods so maybe thats my confusion lol... but to get it corrent this time... o hope grudge can fix whats wrong when he gets a chance hehe... oh and it just hit me its aka's membergroup on reg mod im havin issues with hehe...
Edit :
Quote from: JayBachatero on October 29, 2006, 01:44:58 AM
Can someone email me a dump of the smf_log_subscribed table? Want to narrow down the problem.
I would but I "reset" all my stuff...
Well since Grudge is away I'll be the one looking into it :P. Can you get me the dump of the table?
Quote from: JayBachatero on October 29, 2006, 01:47:07 AM
Well since Grudge is away I'll be the one looking into it :P. Can you get me the dump of the table?
I'll make up a few subs and email you the table just pm me your email addy...
No need to make new subs. Just send me the data that is already in the table. Also my email is visible to everyone ;).
Sent to your simple machines address... hope i did the dump right...
Edit : Resending to yur other address the simplemachines address came back as a delivery failure...
Weird. Just send to my gmail account. lilj25 at gmail dot com.
Quote from: JayBachatero on October 29, 2006, 02:01:51 AM
Weird. Just send to my gmail account. lilj25 at gmail dot com.
I sent it to this
[email protected]right after i made the edit to the post...
Oh ok. Well I'll look into it tomorrow in the afternoon. I just got off the pc and heading to bed now. It's 3am here.
How can I adapt that to work in Custom Themes ?
When i try to install the mod ,I always get "500 - Fehler: Internal Server Error"
Dont know what to do! Im using version 0.14 and smf 1.1RC3
Those errors seems related to CHMOD permission. Change permissions to 755.
Hey Jay... you had a chance to look at the dump I sent you yet ?
I've got the same problem with v0.14 in that I stick it in the packages directory, and when I go to packages in the admin screen, nothing loads - the page is blank.
Decompressing the file, I get these errors.
! \\Internet\internetc\Documents and Settings\madfiddler\My Documents\websites\fiddleforum\downloads\paidsubs_v0.14.tar.gz: Unexpected end of archive
! \\Internet\internetc\Documents and Settings\madfiddler\My Documents\websites\fiddleforum\downloads\paidsubs_v0.14.tar.gz: CRC failed in \\Internet\internetc\Documents and Settings\madfiddler\My Documents\websites\fiddleforum\downloads\paidsubs_v0.14.tar.gz. The file is corrupt
I am using this mod to offer a package deal to my members, addition to a member group and some merchandise. I would like to collect more information from the subscriber such as mailing address and other info during the payment. How can this be done?
Thanks
-Scott
Use the Custom Profile mod and make those fields required upon registration.
Yes that might work for new members. I think it would be a lot slicker if the shipping addy and other information would come with the paypal email order.
-Scott
Has anyone had any luck? I have having the exact same error that the last few people are having. Just did a fresh install on 1.1 rc3. Install went smooth everything seemed fine.
Did a test sign up, no email is sent out, subscription shows up as payment pending every time so far. I activated IPN and input the url for ipn.php into paypal exactly how it said so I don't think it's that.
Anyone have any ideas? I'd really like to get this mod working (also does anyone know if there's a similar mod available anywhere?) Thanks!
The problem is with the expiration date. That is what is messing everything else up. I looked into it but didn't get to far. I've been busy the past few days.
It's a weird problem. PayPal is certainly recognizing it and transacting money. I have 6 test subscriptions running on the same user name (a penny a day). (I'm robbing Peter to pay Paul.)
In User's profile it shows the subscription as Finished. The same as I look at User's account from the Admin panel. It just doesn't add the user to the applicable Membergroup.
It has to be what is being written with the IPN, but in what direction, SMF to PayPal or back to SMF? Unless there were changes to the IPN program, the direction would "seem" obvious. "Seem"...as in, I really haven't clue, just relaying what I'm seeing on my end tonight. :)
I shouldn't put my two cents in because I haven't installed or looked at this yet, I'm just following the topic because I'm keen to use this mod when it's stable again, but I appreciate that mod authors give of their free time to work on these free mods for a free forum that some of us are getting paid for managing for clients..... thanks guys. :)
But it doesn't have to be what's written in the IPN, i'd be surprised if it was. My bet would be the mod just not picking up a correct date/time or calculating the subscription time properly.
My point with the IPN is, if I'm not mistaken, that is what is directing the bounce back from PayPal. What we see in the Admin panel is via the IPN. It certainly comes from the mod originally, but payment information is going through just fine. I've had daily recurring payments for over a week with this version. It just doesn't complete the process after payment has been issued.
Well maybe when grudge gets a chance he can fix it... which im hopin he can.
i tested out the auto-payment (daily for .10 cents)
i have deleted the subscription, disabled it, and i am still getting confirmation emails from paypal every morning saying a subscription payment has gone through.
how do i stop it?
Through your PayPal account.
Quote from: Jim R on November 01, 2006, 01:36:20 PM
Through your PayPal account.
ive gone through there and it says i dont have any subscriptions set up.
do you know what paypal page might show it?
I'm using PayPal, so I went back to the version I had working on 1.1 rc2, which was .09, and it's working just fine. I'm not sure what the differences are between version .09 and .14, but .09 is getting it done.
I get the same error email sent to my Admin account, but my User account sees everything just fine. It all shows up as it should in the Admin panel, and it added my User test account to the appropriate membergroup.
Just testing version .11, it doesn't join the User to the appropriate Membergroup. That obviously continues through to version .14. Version .9 worked fine except for the odd error email that never caused it to not work in the past.
For the record, I had .9 in for awhile before upgrading SMF to rc3. It worked for over a week before I changed everything.
Final thoughts before bed tonight.
.9 is working but I'm getting a boat load of emails to my Admin account. In going between versions .9 and .11 I was working on clean installs. One thing I didn't do was download the ipn.php file after installing it. I made a change to a version I had on my local drive, which was from .14. I uploaded it, and suddenly .9 wasn't working.
I think this is an ipn.php issue, but it could be a managePaid.php issue.
(Of course somewhere along the way, I managed to delete a couple of the menu items in my Membergroup menu. Not sure how that happened, but I fixed it. :) )
Any idea, relative to version .9, how to limit those emails? Luckily, my User test account just gets the one email saying he subscribed. I get two sets of 3 emails saying different things.
Ok this seems to have fixed it for me. I'm still testing it out though. In subs/ipn.php
if (!empty($modSettings['paypal_email']) && (isset($_POST['txn_type']) || isset($_POST['payment_status'])) && ((isset($_POST['business']) && $modSettings['paypal_email'] == $_POST['business']) || (isset($_POST['receiver_email'])) && $modSettings['paypal_email'] == $_POST['receiver_email'])))
if ((isset($_POST['txn_type']) || isset($_POST['payment_status'])) && isset($_POST['business']) && !empty($modSettings['paypal_email']) && $modSettings['paypal_email'] == $_POST['business'])
Jay,
I assume that fix is addressing version .14. Right?
Hold that thought. Seems like it's not fixed yet. I tracked it down to where the problem is though.
Quote from: JayBachatero on November 02, 2006, 09:44:42 PM
Hold that thought. Seems like it's not fixed yet. I tracked it down to where the problem is though.
**Has hopeful thoughts...**
I'm going nuts over this one. Can't seem to get it working. I'll keep on looking into it.
Ok the problem seems to be related to flexible payments and a small problem on ipn.php. Let me see if I get it working.
What was wrong with version .9? The changes from .9 to .10 are when this went wrong.
Well email notification is not working correctly.
Quote from: JayBachatero on November 04, 2006, 01:39:16 AM
Well email notification is not working correctly.
I realize that. I've gone back to version .9. The correlating issue deals with the changes made from .9 to .10. Since then it doesn't apply membergroups to subscribers. Does Grudge have a log of his changes for you to look at?
anxiously awaiting the fix for some of these bugs....
Quote from: Jump1979man on November 05, 2006, 10:11:24 AM
anxiously awaiting the fix for some of these bugs....
In agreement. :)
I at least managed to get 0.14 installed now by browsing the package server, and it looks like this time it's made the additions to the database... but looking through now, perhaps I need to revert back to v0.09 which is the last version I have.
If you're using PayPal, I'd stick with .9 until they get the upgrades working. With .9, I'm getting double emails back to the my Admin account for my test account. It's a daily subscription so I get the emails everyday, but otherwise it's working like a charm.
BTW...the user just gets one, so he doesn't see anything looking like an error, and while it may be an error it's just sending two sets of email. Instead of holding the delete key down to delete two emails I have to delete four. :o
OK, I see the problem now. As well as the date problem I've got, V.14 doesn't add members to the subscription when they have paid. It has to be done totally by hand now. The only thing that is automated, is the email from paypal telling me someone has paid.
For me, support of getting this mod is starting to dwindle a bit. No disrespect to anyone, but it's taking a long time to get running. When we originally talked about this mod, we talked about contributing some cash towards getting this mod done (and considering it's a mod to help US make some cash - well why not). I think we should start talking about this again?
I'd be happy to put in $50 for this. Anyone else? Make it worth Grudge's time (although the one thing I would ask for is that once it is finished, support for updated SMF's is either included or added for a small fee). There have been over 800 downloads of the mod, say 10% paid - that's $4000.
The one thing which confuses me.. is how the subs mod appears to be working on the SMF site ok.. I just renewed my charter membership with no problems at all (from my side).
m
Quote from: madfiddler on November 09, 2006, 09:23:19 PM
OK, I see the problem now. As well as the date problem I've got, V.14 doesn't add members to the subscription when they have paid. It has to be done totally by hand now. The only thing that is automated, is the email from paypal telling me someone has paid.
For me, support of getting this mod is starting to dwindle a bit. No disrespect to anyone, but it's taking a long time to get running. When we originally talked about this mod, we talked about contributing some cash towards getting this mod done (and considering it's a mod to help US make some cash - well why not). I think we should start talking about this again?
I'd be happy to put in $50 for this. Anyone else? Make it worth Grudge's time (although the one thing I would ask for is that once it is finished, support for updated SMF's is either included or added for a small fee). There have been over 800 downloads of the mod, say 10% paid - that's $4000.
The one thing which confuses me.. is how the subs mod appears to be working on the SMF site ok.. I just renewed my charter membership with no problems at all (from my side).
m
EXACTLY what I have been saying for weeks.
I have a 16000+ member forum waiting for a fix. :(
I am afraid we will all have to upgrade REAL soon.
Too many mods.
madfiddle the members are actually added before they pay. That is why the date is set to 1969 since there is no value for the endTime column. The problem is with the response from paypal. I'm logging all the subscriptions made and getting the info and see if I can dig deeper into this. Just been real busy with RL.
Jay,
Are there any logs to check between v.9 and v.10? That is where the problem started as far as I can tell.
Well what I did was compare the files. From the looks of it there is nothing that would cause these problems. I could be wrong though.
Not having a dig JayBachatero, just making a suggestion... OK, that explains it anyway :)
Just so you know.. I've always had a date problem since the word go. It used to be 1970 I believe, but now it appears to have the correct start date, but makes the end date the same date - and of course, it's not adding members to the subscribers list, or their membergroup.
Cheers,
m
I'm curious what version their using here... **thinks somethin be mighty fishy wit dat ** :o
madfiddler the way it works is like this.
User selects subscription to pay for -> ID_SUBSCRIBEm startDate and ID_MEMBER are added to the log_subscriptions table -> Then the member gets sent over to paypal to complete subscription -> Paypal then makes a call to ipn.php. On ipn.php it determines if its paypal or what ever other company is doing the paid subs. (this is where the unknown transaction error comes from). Then after the paypal class is initialized, ipn.php takes the response from paypal and determines if its a cancelation, new sub or recurring payment. After if finds out the response its supposed to add the endTime and the status. This is where it fails. So the data doesn't get added and leaves the endTime and status fields empty. Causing the sub to be shown as Finished and it expired on 1969.
Thanks for the explaination mate :)
Dunno if you're aware of this bug with .14 I turned an active subscriber into a finished subscriber.. That member then re-subscribed so I tried to edit his subscription to active again, and it wouldn't work. So then I tried to delete the member from the subscription, and that didn't work either.
I hope there is a fix soon. I am getting these common errors as well. I'll be waiting for more updates!
I wish grudge would come back heh... he should be able to fix it if he cold just get in there and poke around heh...
I received the IPN error email (unknown transaction type) and didn't get the payment to my account. The first time I received the error I still got the payment.
Any ideas?
I've been real busy the past few days and haven't been able to look more into this. I'll look more into it when I get a chance.
Any luck? As noted I've gone back to v.9 and it works, though I get extra emails to my Admin account and an "unknown transaction type". That's an IPN issue.
I set up donation/one time payment button and got the same emails. The money is going in, and it's joining users to groups.
Actually .9 is not working for me at all. Not sure what's wrong on my end though.
Just a head's up to people...
I'm using 0.9 and subscriptions were not getting added when using the Flex option but were with the Fixed option (subscription costs). The fix was to change a line in
ipn.php.
Find:
if ($foundDuration != 0)Replace:
if ($foundDuration !== 0)This fix is applicable in 0.14 as well.
Edit:
This fixes the problem Jay described here...
Quote from: JayBachatero on November 03, 2006, 09:52:49 AM
Ok the problem seems to be related to flexible payments and a small problem on ipn.php. Let me see if I get it working.
Brad,
In regards to v.14, does that change help the fixed subscriptions too?
I went back to v.9 and only need fixed subscriptions, so your issue doesn't directly relate to mine. However, I would like to keep up with the current version.
I made the change to my file and see how it goes. I'm going to try and get some time and look into this again.
As far as fixed payments go in v.14, it doesn't fix the problem of adding the Member to a Membergroup or a Subscription, at least as it's handled by SMF.
I get notification from PayPal that it receives payment, but it doesn't write back to SMF accordingly.
OK ive implementing Rc3 this next week.
I really want to be able to use this mod.
However, has anybody gotten this to work successfully on rc3 without errors yet?
Thanks
Jon
Worked excellent for me until Paypal canceled my accounts and kept the funds. Now it is worthless until I can find someone to write another gateway to work with my new payment processor
Unfortunately, Finding a 30 year old Virgin in Mexico City is easier than finding a coder willing to tackle the task.
Ya;ll be careful with Paypal!
PayPal doesn't just take someones account without reason... you most likely did something where your account ended up looking suspicious... Ive been with paypal for over 6 years and havent had any problems aside from buyers reversing payments from time to time...
It sounds like it has more to do with content. Elegant John appears to have a bit of an adult site. Not judging by any stretch, but some businesses don't like to have that kind of business associated with them.
Hello,
Ive got this mod mostly working on RC3, Ive changed the upin file a bit, and am working on getting the sub toi activate properly (with dates and all) and to actually work when changing the subscription. I should have a 100% working version by this weekend.
~Popsikle
Quote from: Jim R on November 22, 2006, 11:05:49 AM
It sounds like it has more to do with content. Elegant John appears to have a bit of an adult site. Not judging by any stretch, but some businesses don't like to have that kind of business associated with them.
Yeah, they claim violation of the AUP, but in the opinion of a couple of attorney's who are members of my forum, my forums are only borderline to the AUP.
I have been with PAYPAL since the inception. What gets me about them, after losing a multi million dollar class action suit against them, they paid and continue business as usual. Just side note to the thread. Decisions at Paypal are made by one person and according to the, no subject to appeal. Nice way to run a business
Quote from: Elegant John on November 23, 2006, 07:45:15 PM
Decisions at Paypal are made by one person and according to the, no subject to appeal. Nice way to run a business
Sounds pretty efficient to me! :P (maybe that's all they can afford after the lawuit! lol)
ok back on topic......is this working yet?
I love this mod, but I have a couple of issues...
The only link for this in the admin center is =>Paid Subscriptions:
QuoteMember Controls
Edit Membergroups
Edit Permissions
Registration Management
View/Delete Members
Set Reserved Names
Email Your Members
Ban Members
Paid Subscriptions
The only thing I can do is add subscriptions. Which I did.
There is no links for modifying users subscriptions or viewing subscribed users and the other things I'm supposed to be able to do.
Also the subscription I created, doesn't even show anywhere for the members, not even in the profile which is where I *think* its supposed to show.
I'm running SMF 1.0.9
Any help with this would be appreciated as I really want to get this working :)
Thanks.
There's deffo something wrong there then. Have you tried de-installing and then re-installing but looking at the files which are going to be modified and making sure they are chmodded to 777 so they are writeable?
All the files that were to be modified were CHmodded to 777(I just checked). I just now un-installed it, then intalled it again and there is no difference. Still only gives me that one link. :(
Quote from: SRaven on November 29, 2006, 08:49:01 PM
I love this mod, but I have a couple of issues...
The only link for this in the admin center is =>Paid Subscriptions:
QuoteMember Controls
Edit Membergroups
Edit Permissions
Registration Management
View/Delete Members
Set Reserved Names
Email Your Members
Ban Members
Paid Subscriptions
The only thing I can do is add subscriptions. Which I did.
There is no links for modifying users subscriptions or viewing subscribed users and the other things I'm supposed to be able to do.
Also the subscription I created, doesn't even show anywhere for the members, not even in the profile which is where I *think* its supposed to show.
I'm running SMF 1.0.9
Any help with this would be appreciated as I really want to get this working :)
Thanks.
That's all that should be there on the left. Are you able to click on the link? It should take you to a page where it shows subscriptions and gives you an option toward the top to View Subscriptions | Settings.
it doesnt matter regardless...this mod doesnt work....PERIOD.
Quote from: Jump1979man on November 29, 2006, 10:38:04 PM
it doesnt matter regardless...this mod doesnt work....PERIOD.
Not true. Version .9 works well for me, outside of additional emails which come to my admin account. I've had a penny account running for a month.
Quote from: Jim R on November 29, 2006, 10:32:50 PM
Quote from: SRaven on November 29, 2006, 08:49:01 PM
I love this mod, but I have a couple of issues...
The only link for this in the admin center is =>Paid Subscriptions:
QuoteMember Controls
Edit Membergroups
Edit Permissions
Registration Management
View/Delete Members
Set Reserved Names
Email Your Members
Ban Members
Paid Subscriptions
The only thing I can do is add subscriptions. Which I did.
There is no links for modifying users subscriptions or viewing subscribed users and the other things I'm supposed to be able to do.
Also the subscription I created, doesn't even show anywhere for the members, not even in the profile which is where I *think* its supposed to show.
I'm running SMF 1.0.9
Any help with this would be appreciated as I really want to get this working :)
Thanks.
That's all that should be there on the left. Are you able to click on the link? It should take you to a page where it shows subscriptions and gives you an option toward the top to View Subscriptions | Settings.
yes, I can click it, but the only thing I can do is create subscriptions, but the 'View Subscriptions | Settings' isn't there. I was only able to set the currency by accessing the settings by putting in the address(...?action=paidsubscribe;sa=settings) into the address bar.
Quote from: Jim R on November 29, 2006, 10:40:33 PM
Quote from: Jump1979man on November 29, 2006, 10:38:04 PM
it doesnt matter regardless...this mod doesnt work....PERIOD.
Not true. Version .9 works well for me, outside of additional emails which come to my admin account. I've had a penny account running for a month.
The .zip name I got was paidsubs_v0.14.zip. but the files inside that have a version number is v0.9, e.g paidsubs_v0.9.mod
What Theme are you using? If you're not using the Default theme, you will likely have to copy the new entries on modifications.english.php.
Answer that first, and if you need more help let me know. I've had to do this as I'm not using the Default theme.
I am using the default theme(for now)...well, its now the default theme after installing enigma 2. but I checked the files in it and everythng copied into where it should have.
I will be changing to a different theme once I figure out how to do it and not lose all the modifications that the portal and packages have already made...but those problems if they arise will be in a different thread :P lol
The Default theme isn't the one you have set as default. It's the one in the Default folder on your server space, and likely your hard drive.
It sounds like to me you're missing the language changes, and as it installs it will show up as installing correctly but it's possibly going into a folder you're not really using.
Quote from: Jim R on November 29, 2006, 10:40:33 PM
Quote from: Jump1979man on November 29, 2006, 10:38:04 PM
it doesnt matter regardless...this mod doesnt work....PERIOD.
Not true. Version .9 works well for me, outside of additional emails which come to my admin account. I've had a penny account running for a month.
very true as I dont see a link to get v9 but only v14 so until there is a working version available for people to get now instead of what you got way back when....
it doesnt work.
This theme's URL: .../Themes/default
This theme's directory: .../Themes/default
That is the theme that its using...I checked the lang files to see if they where modified and they were.
:(
Jumpman,
The link to v.9 is within this very topic. Start at the first page and work your through the first couple of pages. I want to say it was on page four, but it's there. I found it that way on my own.
SRaven,
Not sure what to say other than to say the issues you're having aren't the same ones most of us are having. You're using SMF 1.09. It doesn't look like this Mod's current version works with that version of SMF. If it installed cleanly, I can't imagine what it would be other than the language files.
Are you sure the theme you're using, the Enigma theme, is originating from the Default folder on your server space????
Pretty sure...thats what the URL says its going anyway. Is there different way to check it to make sure?
My default theme is the SafMC theme, but it's not THE Default theme--the one that sits within the 'default' folder in Themes. Best I can tell you is backup all your Theme and Sources files on your hard drive.
From there:
Go to the files on your server space where the Enigma theme is. I would download all the files from that folder to your hard drive.
Once that is done, check the Themes/enigma (or whatever it is called)/languages/modification.english.php file. Look for the following:
// Paid Subscriptions Mod
$txt['paid_subscriptions'] = 'Paid Subscriptions';
$txt['subscriptions'] = 'Subscriptions';
$txt['subscription'] = 'Subscription';
$txt['paid_subs_desc'] = 'Below is a list of all the subscriptions which are available on this forum.';
$txt['paid_subs_none'] = 'There are currently no paid subscriptions available!';
$txt['paid_current'] = 'Existing Subscriptions';
You should also have a file in that same folder called ManagePaid.english.php.
Here is a question for you:
On your server space, what folders/directories are in your Themes folder? I have default, safmc101, and classic.
Right now I'm using THE default theme. The one that goes to the default theme folder.
the themes in my themes folder are classic, classic_e1, default and SMF_default.
I know that I'm using THE default theme because when I try using any of the other three, I get this at the bottom of my page:
Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is using an ILLEGAL copy of LSP!
even though I haven't taken any copyrights out of anything. And the only one that doesn't do that is the theme in the default folder.
edit: I checked those files in the default languages folder and yes, they are there. And the modification.english.php file has been modified with the subscriptions modifications.
That's all I have then. :(
I think it may have something to do with the version of SMF you're using, 1.09 if I'm not mistaken.
yes, its 1.0.9... well, thanks for trying anyway :)
You might check the same pages I recommended for v.9 of this Mod. It MIGHT work with an earlier version. I pretty much didn't start modding until I upgraded 1.1 rc2.
Here is what you all been waiting for. After debugging some things with Grudge he was able to track down all the known problems with this mod. Just uninstall old version and install this one. The attachment on the mod site has been updated.
If this works I will kiss you , LMAO... and no im not gay just that damn happy lol...
But as far as you know are there still any "bugs" that you havent gotten to yet but are minor and shouldnt affect much...
Guessing that it's been tested on the SMF Community Forum? Just upgrading to 1.1 atm and will then install. Fingers crossed my date bug has gone.
Well Grudge fixed them but I helped him debug it :P. Nope all bugs that were known are gotten. I'm not too sure about the emails though. Forgot to test that out.
madfiddler I tested it on my website that is running 1.1 Final and it works like a charm.
Thanks - I just got an error trying to re-install it. Think its a general package error I got sometimes with rc3 which remains in 1.1.
Yep, to install it I had to manually create a "temp" directory in the Packages folder.
OK, installed... Will wait to see :)
What was the error that you got?
Working well over here. Very nice job and just in time. :)
Have to say a special thanks to Jay here - he did a fantastic job of tracking the bugs and helping me test out the fixes as they came about! I think the things fixed are:
1) Undefined text index on one of the edit pages.
2) Invalid text formatting on the subscription ediiting for (£%1.2f etc)
3) Inability to users to renew subscription
4) Pending users were accidently described as "Finished"
5) PayPal did not work at all after v0.9 of the mod thanks to a silly typo.
6) Fixed "Flexible" subscriptions not working at all either(!)
7) A few formatting changes.
Mod does indeed work now but, there is still one bug in it that I found.......
You are still not able to delete a member from the subscribed group.....any fix for this?
Jump1979man I thought it was a bug but it's not. The thing is that you have to delete them while its active. That way paypal is able to refund the money.
can someone help me with the code needed to make sure only certain specified membergroups can see and utilise the paid subscription mod?
many thanks
and well done to all for geting it working!
Egg
Quote from: JayBachatero on December 02, 2006, 10:30:50 AM
Jump1979man I thought it was a bug but it's not. The thing is that you have to delete them while its active. That way paypal is able to refund the money.
so if you delete a member from a subscription then it automatically refunds the users money??
that can be good but also could be bad I guess in a way without having a way around it due to exceptions...
How are you guys able to get this to work??
I'm using RC3 and the changes that the paidsubs_admin_v0.9(yes its still says v0.9 even though its from the v0.15 download) says to make in sources/Admin.php can't be done!
This is what it says to find:
<![CDATA[
if (allowedTo('manage_bans'))
$context['admin_areas']['members']['areas']['ban'] = array($txt['ban_title'], 'ManageBans.php', 'Ban');
]]>
to add this before it:
<![CDATA[
if (allowedTo('admin_forum'))
$context['admin_areas']['members']['areas']['paidsubscribe'] = array($txt['paid_subscriptions'], 'ManagePaid.php', 'ManagePaidSubscriptions');
The problem is, there is no such line in Amin.php for it to add that other line before it!
So nothing gets added to Admin.php :(
1> How do I see what paypal is saying back to my server?
2> What is the link from my menu I should use to let people make a subscription? I currently use: http://digitalserialkillers.com/smf/index.php?action=profile;sa=subscriptions
New users get an error of: You are not allowed to moderate this forum.
3> This one may be fixed, but I'll ask. The last person who re-subscribed, had the payment go through but the only thing that changed was the Finish date for them. IT got changed to the day he made the re-subscription. Before re-subscription 11/05/2006 after, 12/03/2006, where it should have gone to 01/31/2007
Any help is much appreciatd for a great MOD.
Hate to br the bringer of bad news, but I've upgraded to 0.15 and also to 1.1 final (so clean forum code too).. and I got this with the lastest subscriber
Pending Payment December 06, 2006, 05:03:24 PM January 01, 1970, 12:00:00 AM
Thanks for all the hard work trying to iron out these bugs though.
m
Quote from: Egg on December 02, 2006, 10:38:20 AM
can someone help me with the code needed to make sure only certain specified membergroups can see and utilise the paid subscription mod?
many thanks
and well done to all for geting it working!
Egg
please help!!
madfiddler is this a flexible subscription or fixed cost?
Hi Jay, Fixed cost mate. One year.
Ummm. Do you know if any other went through?
I've never had one go through I'm afraid. Always had the date error problem where the end date is in 1970. It was suggested that it could be because I'm running mkportal but I don't see how - then again, I'm not a programmer.
Ok is anyone else having problems with this mod besides madfiddler?
(prolly not) ;)
Quote from: JayBachatero on December 06, 2006, 08:55:43 PM
Ok is anyone else having problems with this mod besides madfiddler?
Yes, a site called simplemachines.org has the same problem - still waiting on my subscription, came back as,
QuoteCharter Membership Finished December 06, 2006, 08:49:00 AM January 01, 1970, 09:00:00 AM
Quote from: madfiddler on December 06, 2006, 09:18:20 PM
(prolly not) ;)
Well if they don't then it means its a problem on your end. If they do then there is still a bug:p. Either way is not good.
Resourcez I'll get a PM to look into that.
Quote from: JayBachatero on December 06, 2006, 09:23:59 PM
Quote from: madfiddler on December 06, 2006, 09:18:20 PM
(prolly not) ;)
Well if they don't then it means its a problem on your end. If they do then there is still a bug:p. Either way is not good.
Yeah - if it's my end, it's more difficult to solve. However, I am happy open up my server for you, if it does end up being a problem my end. Only via PM or email though.
Help! My paid subscription mod is not automatically updating the member status when someone purchases the paid membership. Please advise what I need to do to fix this, thanks!
Heather :)
What version of the mod do you have installed?
Quote from: hbixler03 on December 06, 2006, 10:57:44 PM
Help! My paid subscription mod is not automatically updating the member status when someone purchases the paid membership. Please advise what I need to do to fix this, thanks!
Heather :)
This may be the same problem I have. If you go to the admin subscriptions page, what does it say about this members payment? Active? Pending? etc...
I have the version 0.14, and the pacakge thing tells me it is the latest version.
I don't seem to have a page that tells me whether the subscription is pending etc., unless I am looking in the worng spot, where should I look to find this?
Thanks for any help!
Ok I see, it says I have 0 in all spots and in all the subscription options I have. Which is not the case because I did receive payment yesterday for one, and it went through just fine. How can I fix this?
You need to upgrade to 0.15.
Is this on the SMF website under mods? Can I upgrade without having to reinstall everything?
Thanks for your help everyone!
Ok I upgraded, but it still says I have 0 subs. Will it not change until I get new subs with the upgraded version?
Thanks!
Check the database so see if theres data there.
Ok I ckecked the database and it said 0 rows. How can I add someone manually?
Go to admin panel and click on paid subscription. You add it there.
Thank You!
I am hoping now that I upgraded the subs will automatically add them to the list of paid subs. If not then I guess that is ok as long as I can put them on the list. I love this mod!
Thanks again!
Is this mod compatible with 1.1 Final. ???
It installs ok, I have some issues but they may be localised to me.
maybe I should giver a try and see how it works.
Yea this mod works with 1.1. The site that I have this on has Final installed.
It installed without a hitch and no errors are produced anywhere.
Would it be possible to have a «Free Trial Subscription» option ?
For example: «Free for the first X days and then $Z for each month» ?
thanks a lot !
Just had someone renew their subs early, and the mod didn't add another year to their subscription.
I am using it on 1.1
It installs Ok...it lets me do the settings and add the options...
But...
It is not showing up in the profile. It says that there are no subscriptions available...
It says "activated...yes" in the back office...
Any thoughts??
I receive the following error when clicking to pay using paypal:
QuoteThe link you have used to enter the PayPal system is invalid. Please review the link and try again.
Quote from: IMPAQ on December 16, 2006, 03:01:17 AM
I receive the following error when clicking to pay using paypal:
QuoteThe link you have used to enter the PayPal system is invalid. Please review the link and try again.
Me too. Pretty sure this might represent a change in PayPal's linking though. Anyone else seeing this?
Anyone have a fix?
When you click my paypal link it takes you to paypal. I have not used sandbox mod but from paid subscriptions in my profile it does take me to paypal. (If that helps any)
It only seems to cause a problem if you check "make recurring".
If you do it as a regular subscription type it's no problem.
I am using it on 1.1
It installs Ok...it lets me do the settings and add the options...
But...
It is not showing up in the profile. It says that there are no subscriptions available...
It says "activated...yes" in the back office...
Any thoughts??
Getting this error...
Unknown transaction type in ipn.php
I imagine something is messed up on the paypal side, do I need to set something up there as well?
Thanks, love the mod!
Quote from: bri on December 18, 2006, 01:33:49 PM
Getting this error...
Unknown transaction type in ipn.php
I imagine something is messed up on the paypal side, do I need to set something up there as well?
Thanks, love the mod!
Hey Bri...paypal could be return some trans that not in the array? I haven't looked at this mod in depth though
lol hey snork :) Yeah, I think it may be something on the paypal side, playing with both atm...
followup.... non-recurring payment work flawlessly, it's the recurring payment that is fowled up a bit. hmmmm... any advice?
What version of the mod are you using? Also do you have a donate buttom somewhere in your site?
everything is the latest version, no donate buttons or mods, I am pretty sure it's an error in the ipn.php understanding what paypal is coming back with for a recurring subscription. The normal ones work flawlessly..
bump, still no luck :(
Have I found the problem???
Going through the error logs on my forum, and ipn.php has come up as a missing file.
The directory mine is in is Subs, however in package-info.xml the directory is subs (no capitals).
Should I change this?
Ha - on top of that I notice that the files in Subs are all old dates... So my guess is that an old version used Subs as a directory name, that got changes to subs and every install since, the files haven't copied into the directory? In which has, why didn't the package manage tell me it wouldn't be able to copy some files across.
The dir name supposed to be subs. The files are not supposed to be in the Sources dir.
..didn't say it was in the Sources directory.. I have a directory called Subs, not subs.. I'm trying to test this now...
Well it should be subs. In linux case matters.
Yep, that's my thinking, and hence my problems.. Just guessing that a really old version of the mod had "Subs" as the directory..
Here's another question.. Why is it, that the mod forces people to pay via eCheque with paypal rather than using money in their account. I'm talking about US'ers mainly. I take payment in ££. This never used to be a problem. Perhaps it's a change in the way PayPal do things?
wtb Grudge :)
OK - new problem with the paid subs admin. I've just done a clean 1.1.1 install with the language files, and when you click on the paid subs admin, the main SMF forum page loads.
This has happened 3 times.
Any thoughts?
Ta,
m
hmmm - I don't know why - but this isn't getting altered in index.php
<search for>
'post' => array('Post.php', 'Post'),
</search for>
<add before>
'paidsubscribe' => array('ManagePaid.php', 'ManagePaidSubscriptions'),
</add before>
never had that happen, been ok here on all installs... tho I am confused when you say "click on the paid subs admin". What exactly do you mena?
the paid subs link in admin.
I've just updated the mod, but really to make it work with the Development Edition. I did however find a bug which meant the mod was not keeping a members primary group when they took up a subscription. By this I mean if I'm an administrator and take a subscription it didn't add "Administrator" to the additional groups so I lost that power. I've fixed this.
I think I've also updated it such that the problem Madfiddler got should never happen again.
I haven't had time to look at the other bits at the moment I'm afraid.
Nice one mate :)
So is this good to go for 1.1.1 now then ??
I am sorry I was using this on RC3 and am wondering it's progress at this point.
Thanks!!
Quote from: Grudge on December 29, 2006, 07:28:38 AM
I've just updated the mod, but really to make it work with the Development Edition. I did however find a bug which meant the mod was not keeping a members primary group when they took up a subscription. By this I mean if I'm an administrator and take a subscription it didn't add "Administrator" to the additional groups so I lost that power. I've fixed this.
I think I've also updated it such that the problem Madfiddler got should never happen again.
I haven't had time to look at the other bits at the moment I'm afraid.
Doh! Recurring still not working, thanks for looking at this again Grudge!
Bri
Ok I've gotten an error from my forums. It was sent to my email address and this is what it said:
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Paid subscription handler could not recover member ID
Does anyone know why it gave me this error? Any suggestions on what I need to do about this error to make sure it doesn't do it again? Thanks for any help!
bumpage
Here's a feature request. The forum PM's members a week before their subscription date is up to remind them?
Cheers,
m
I just installed the latest paid subscriptions mod to my SMF 1.1.1 - it installed properly, I set it up using paypal - but where do users go to sign up for paid subscriptions? The only thing I found close to where sign up SHOULD be is: http://redbarradio.com/forum/index.php?action=profile;u=1;sa=subscriptions
But it says " There are currently no paid subscriptions available!" - I made sure that my paid subscription was indeed active. I've spent hours double checking settings to make sure everything was activated.
Any ideas?
I have attached a screenshot of what it looks like when a user tries to view subscriptions.
you have to set one up in the admin panel!
I DID!
Like I said, I set everything up.
Quote from: Grudge on August 12, 2006, 06:09:49 AM
Link to Mod (http://mods.simplemachines.org/index.php?mod=413)
Note for paypal to work you need to setup your account to direct your IPN to this script. To do this login to paypal, click "Profile" and then select the "IPN" link from merchant tools. Enter the URL of your forum, and then the subs/ipn.php. For example:
http://www.simplemachines.org/community/subs/ipn.php
This is required for paypal to notify the forum that the payment was received.
The IPN link will not be required if you modify 'ManagePaid.template.php' and add the folllowing line in the template_choose_payment() function:
Quote
<input type="hidden" name="notify_url" value="', $boardurl, '/subs/ipn.php">
immediatlely before the line:
Quote
<input type="hidden" name="return" value="', $scripturl, '?action=profile;sa=subscriptions;u=', $context['member']['id'], ';sub_id=', $context['sub']['id'], ';done" />
You will also need to add '$boardurl' to the globals declaration for the template_choose_payment() function.
Doing this also has the added benefit of allowing you to use multiple ipn's for multiple forums using a single PayPal account.
It's asked before, but I really like to see an adult payment processor in the list, like ccbill.
I also want to pay for this work!!
I have one bug report (and fix suggestion) and 2 questions:
1. The mod should modify index.template.php to include paidsubscribe in the list of admin current_actions:
Quote
if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'paidsubscribe', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
$current_action = 'admin';
This is just a cosmetic fix to keep the admin tab active in the menu when accessing the paid subscriptions option.
2. If I activate my Paypal IPN function for this subscription, what happens to my Paypal payments that come from non-forum sources (eg ebay sales). Does such a payment also get sent to the forum for verification, and does this cause problems? Would the following addition to the script avoid this problem by getting the forum to send the IPN link each time.
<input type="hidden" name="notify_url" value="', $boardurl, '/subs/ipn.php">
3. I noted that you fixed the mod so that by becoming a subscriber, your administrator status is retained. Does this also apply to moderators? Do moderators stay as moderators if they subscribe? Or do I need to adjust this manually for each moderator?
cheers
Rob
This is a message for those who have read everything above and think this mod may be too full of bugs. It isn't, as far as I can tell.
I have installed this mod on SMF 1.1.1. Installation went smoothly and all seems to be working fine. I am using Paypal only. I have about 7 subscribers so far, 6 are active, set to renew monthly, dates are correct. One is pending while waiting for an echeck to clear. Reports are clear and accurate.
Great mod!
PS I have done a slight hack of index.template.php to make members' subscriptions a tab in the main menu and therefor more prominent and easy to access. See website in sig.
i have the latest version of paid subs along with SMF 1.1.1
everything seems to work except for this:
users are not added automatically and the expire date is some ongodly December 1969 date.
Using 1.1.1 installed paid sub .16 getting an error
An Error Has Occurred!
Unable to load the 'main' template
I'm just a infant when it comes to forums. I could really use help getting up and running with this mod. Even suggestions of programs to buy, that will allow me to charge fees for memberships on my site.
Thanks in advance
Jeremy
www.knifetalkonline.com
Quote from: busterbones on January 13, 2007, 07:44:43 PM
Using 1.1.1 installed paid sub .16 getting an error
An Error Has Occurred!
Unable to load the 'main' template
Jeremy
www.knifetalkonline.com
when you install a mod, additional files are added to certain folders. maybe ManagePage.template.php didn't make it. it should be in the Themes/default folder.
Quote from: madfiddler on January 01, 2007, 09:14:29 PM
Here's a feature request. The forum PM's members a week before their subscription date is up to remind them?
Cheers,
m
Nice one...I'll second that :D
Quote from: Blue Crab on January 05, 2007, 07:39:13 PM
The IPN link will not be required if you modify 'ManagePaid.template.php' and add the folllowing line in the template_choose_payment() function:
Quote
<input type="hidden" name="notify_url" value="', $boardurl, '/subs/ipn.php">
immediatlely before the line:
Quote
<input type="hidden" name="return" value="', $scripturl, '?action=profile;sa=subscriptions;u=', $context['member']['id'], ';sub_id=', $context['sub']['id'], ';done" />
You will also need to add '$boardurl' to the globals declaration for the template_choose_payment() function.
Doing this also has the added benefit of allowing you to use multiple ipn's for multiple forums using a single PayPal account.
Has anyone else tried this? Does it really work?
I have a problem. When I try to execute paidsubsdb.php to add the DB tables I get this:
Fatal error:
Call to undefined function: db_query() in /xxxx/xxxxx/xxxxx/xxxxxx/xxxxxxx/paidsubsdb.php on line 24
All the files are modified as they should be and the new files are where they should be also.
EDIT: ok, I fixed that error by adding
include_once("Sources/Subs.php");
include_once("Settings.php");
to the paidsubsdb.php file.
but now when I try executing it, I get a white page that says 'Hacking attempt...' ! can someone please help me get this file executed? :(
I have a stupid newbie question, in which folder does this mod get installed from/to? And the most stupid of all ... how do I install it? I've read over the 'install mods manually' but it's WAY over my head :( Any help/suggestions would be appreciated.
Install through the "Package" manager in your admin panel.
Is anyone going to update this mod? I prefer to only use stable versions of mods.
working fine here
any way to make the subscriber input a postal address (to send membership cards to)
thanks
great mod!!
Egg
i would like to use this .. but i have a webstore already on the same domain that i need the ipn directed at.. is there a way to do it to two sites at once?
well, you could try this:
Quote from: Blue Crab on January 05, 2007, 07:39:13 PM
The IPN link will not be required if you modify 'ManagePaid.template.php' and add the folllowing line in the template_choose_payment() function:
Quote
<input type="hidden" name="notify_url" value="', $boardurl, '/subs/ipn.php">
immediatlely before the line:
Quote
<input type="hidden" name="return" value="', $scripturl, '?action=profile;sa=subscriptions;u=', $context['member']['id'], ';sub_id=', $context['sub']['id'], ';done" />
You will also need to add '$boardurl' to the globals declaration for the template_choose_payment() function.
Doing this also has the added benefit of allowing you to use multiple ipn's for multiple forums using a single PayPal account.
Quote from: SRaven on January 22, 2007, 05:13:39 PM
well, you could try this:
Quote from: Blue Crab on January 05, 2007, 07:39:13 PM
The IPN link will not be required if you modify 'ManagePaid.template.php' and add the folllowing line in the template_choose_payment() function:
Quote
<input type="hidden" name="notify_url" value="', $boardurl, '/subs/ipn.php">
immediatlely before the line:
Quote
<input type="hidden" name="return" value="', $scripturl, '?action=profile;sa=subscriptions;u=', $context['member']['id'], ';sub_id=', $context['sub']['id'], ';done" />
You will also need to add '$boardurl' to the globals declaration for the template_choose_payment() function.
Doing this also has the added benefit of allowing you to use multiple ipn's for multiple forums using a single PayPal account.
what line is that located at i cant find it in my chose payment section
and do i do that after i have installed it?
Quote from: Bigguy on January 20, 2007, 08:03:53 PM
Install through the "Package" manager in your admin panel.
I've tried that, it doesn't seem to work.
I would also second the idea of sending out a reminder email (or PM) to those members whose subscriptions are about to expire.
And a feature request: when a member deletes his account, any subscription that member had gets canceled automatically.
cheers
Rob
Quote from: MrCue on August 13, 2006, 04:38:39 PM
Why does it require the site owner to change their IPN.
You could instead use.
<input type="hidden" name="notify_url" value="http://yourdomain.com/path/to/your/ipn.php">
Which means the owner can use more than one IPN.
Would you consider making this change?
Was this change ever made, or do we still have to define the IPN?
got it to work thanks!
My only other question (besides the IPN one) is why 1 month is not 1 month ;)
1 month started January 30 @ 4:04 PM, ended March 2 at 2:33 AM.
It's probably doing 30 days... Which is a month if you want to be technical..
I really don't think a mod like this is gonna count a calendar. But it will days.. ;D
Quote from: Gargoyle on January 31, 2007, 07:31:29 PM
It's probably doing 30 days... Which is a month if you want to be technical..
I really don't think a mod like this is gonna count a calendar. But it will days.. ;D
Why shouldn't it use a calendar?
Regardless, it starts at 4PM and ends at 2AM... even if it's 3 days, that's not right ;)
okay i have the package installed everything works as it should except that after they pay the status isnt updated from pending to active. I put the ipn url in the paypal return url spot and set it to active. .. any thoughts?
i know with my os commerce site i didnt need to use a url it did it automatically and it works great.
the adding the couple lines to the manage.template.php has me confused i looked throught that whole php and didnt find the line that they are refereing to. so i dont know where to add it.. if that seems to be my problem.. i cant figure it out .. for now as my member base is low its not too big of a problem.. but when the numbers increase im not going to want to manually process all the subscriptions...
Is this correct in paidsubs_v0.16.mod?
<edit file>
$sourcedir/Subs.php
</edit file>
<search for>
$context['admin_areas']['members']['areas']['ban_members'] = '<a href="' . $scripturl . '?action=ban">' . $txt['ban_title'] . '</a>';
</search for>
<add before>
if (allowedTo('admin_forum'))
$context['admin_areas']['members']['areas']['paid_subscriptions'] = '<a href="' . $scripturl . '?action=paidsubscribe">' . $txt['paid_subscriptions'] . '</a>';
</add before>
shouldn't it read... (it looks to me like "if (allowedTo('manage_bans'))" is missing)
<edit file>
$sourcedir/Subs.php
</edit file>
<search for>
if (allowedTo('manage_bans'))
$context['admin_areas']['members']['areas']['ban_members'] = '<a href="' . $scripturl . '?action=ban">' . $txt['ban_title'] . '</a>';
</search for>
<add before>
if (allowedTo('admin_forum'))
$context['admin_areas']['members']['areas']['paid_subscriptions'] = '<a href="' . $scripturl . '?action=paidsubscribe">' . $txt['paid_subscriptions'] . '</a>';
</add before>
After the package is uploaded and I try to run the install it says I need to provide my ftp login. I do and it says it's incorrect when it is correct.
Quote from: dklassen on February 07, 2007, 12:22:00 AM
After the package is uploaded and I try to run the install it says I need to provide my ftp login. I do and it says it's incorrect when it is correct.
Nothing to do with the mod... that's SMF itself... check your login info again.
Hum.. I can login to SMF and I can login to my FTP client. Can't when the install asks me.
Now is says this.
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
I've never had any problems installing mods. Not sure what is going on.
I can't install any mods now!
"You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"
Forum error log
: copy(/var/www/html/smf/Packages/temp.//paypal.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory
File: /var/www/html/smf/Sources/Subs-Package.php
Do you have a Subs_Package.php and what is its CHMOD permissions?
I'll have to check when I get home tonight. I managed to get things backed out to the point where the package manager is working again.
Here's the strange thing with this mod. When I install it asks me for my ftp user id and password but always says it's incorrect when it isn't. It won't accept my ftp login. I know without a doubt my login is correct. Why is it needing to use ftp when my other mods that i have installed don't?
I hope there is a solution because I need subscription capabilities in the worst way for smf. I have a chance to partner up with someone that could make a nice profit for my site but I can't unless I have paid subscripton capabilities.
Because your file permissions are wrong, so it's trying to use FTP instead (or alternatively, because it's adding entire files... I forget if it does this or not).
So what permissions do I need to change and on what files?
Anything it needs to edit should be 0777 to be sure.
This particular mod and my host don't like each other apparently. I have three sites running all using the same host and can't install on any of them. I have a test site setup on a different host and it installs fine. Still don't get it, I've installed all kinds of mods on my other sits with never a problem.
How do I know what files it needs to edit?
If you want to do the overkill method, you could just CHMOD 0777 the entire SMF directory (and all files and folders within).
I ended up recreating the temp dir inside the package directory, setting it to 777 and it finally installed.
Next... the mod installed fine with no errors but no trace of the mod in SMF. Nothing in admin and nothing in cp.
What next??
Are you using the default Theme?
No, I'm using a custom theme. It did install ok on my test site using the same theme.
Quote from: dklassen on February 07, 2007, 10:14:38 PM
No, I'm using a custom theme. It did install ok on my test site using the same theme.
If you're using a custom theme, chances are you need to do it by hand. If it installed on a test site but not an identical, live site... I have no idea.
Is there anyone who can jump in and give me a hand? $$
This is the craziest thing I've ever seen. On my test site..different host but the same ver of SMF, TP, theme, etc. I can install and uninstall at will, everything works perfect. On my live site I can't make it work to save my life. I changed everything to 777 and it still asks me for my ftp login which it won't take even thought it's correct. I finally did something to get it to install and it's not showing up in smf at all. ??? ???
I reverted back to the default theme. It keeps bringing up the dialog box asking me for my ftp id and password and then won't take it. Even if I mod everything on the site to 777 is still say's it doesn't have write permission to some files.
I got it. Created a subs dir under smf and created a temp dir under packages and cmod it to 777. It installed perfectly.
Found the subs tip here
http://www.simplemachines.org/community/index.php?topic=13737.0
Everything is looking pretty good except I get the 1969 date also. Fix??
Same here. On a one-year subscription, I get an expiration date of December, 1969. And as someone else pointed out, the subscribers are stuck in the pending state and I have to manually process them. Has someone got the answers to those two things?
How do I set it to Canadian dollars? I tried setting it to "Other", but it just defaults to USD.
I guess we're not ready for prime time with this mod. Bummer...
I'm not sure if this has been covered, but it might be something that the mod doesn't take into consideration.
What if there are two different subscriptions that both put the member in the same group? When one expires, does it correctly keep the member in the groups from the second subscription even though the first one is over?
alrighty.. i added that line before the other line like it says and i am still not getting the paypal communication with the forum..
Appears support that has somewhat disappeared for this mod. Too bad, I really like it.
I was just considering this for the first time and came to see if there was info on getting it to work with 1.1.2?
I don't think there any info on getting it to work period.
so what are they using on here? If I look in my profile there is a link to paid subscriptions, what is that I wonder? I also have seen similar on other smf sites and I want one lol
The mod "works" in the sense that (at least for me) it does indeed redirect to Paypal, let the user make the donation, and informs the calling website of the transaction. The trouble I'm having is with the expiration date - I guess that the folks here and on other sites have figured out how to get around that.
Same problem with the dates by my users never get out of pending status. I finally just pulled the mod out. I can't use something that has no support.
I'll keep hacking away at it - I need the mod and I can run it manually for a while. If I figure it out, I'll let you know.
Cool, thanks. I sure would like to use it but my PHP skills are not up to the task.
i wish i knew more about it :(
i cant get the communication from paypal to the forum when the payment is made ... i made the changes suggested on this thread too...
also when a subscription is up..i cant delete the user from the list... any suggestions on that one?
Possible fix (at least for me) on the expiration date issue. Note that I have not tried this yet, but if someone knows more about php than me and can tell me if I'm on the right track, I'd appreciate it.
In about line 800 of ManagePaid.php, Grudge sets $duration (for a year) as 31556926, which appears to be pretty close to the number of seconds in a year.
In line 920 for a simple subscription addition, he's got "$endTime = time() + $duration;"
At least in my very simple testing, which involved printing the current time and then attempting to add seconds to it, I kept getting errors when I tried to print "time() + $duration;"
After playing around a bit, I was able to get it to do it by setting $endTime = time(), then setting $duration = 31556926, and finally setting $endTime += $duration.
Since the time equivalent of 31556926 is somewhere around January 1, 1971, it appears that that's the number that was getting entered AS the endTime, rather than incrementing the endTime.
Again, I'm a complete NOOB at PHP and Grudge appears to be a monster, so this might be totally wrong or it might have something to do with the version of PHP one is using....and I'm so new at this that I don't even know how to tell you what version I'm on.
there are thousands of companies that offer subscriptions - magazine subscriptions etc - so how do they do it? I used to work for a subscription company, maybe I should ask them :)
I've updated my mod today so it will *hopefully* fix the subscriptions problem (i.e. renewable ones were not renewing)
However - I can't replicate the date problem - it works fine on this site where I have it installed. Could someone set out in very simple instructions how to replicate the date (After trying to updated version).
sounds good :) thanks grudge
I'm getting an invalid error from paypal.
We have a "lifetime" membership category. Does anyone know how I would extend the expiration date past the value 2010 currently in the pull down list?
edit:
Nevermind - I figured it out. The years come from the calendar limits ('cal_minyear' and 'cal_maxyear' in $mod_settings)
Does paypal itself generate that error or SMF when saying through paypal? What does it say if the latter
Quote from: JayBachatero on December 06, 2006, 08:55:43 PM
Ok is anyone else having problems with this mod besides madfiddler?
Yup, I am. Running SMF version 1.1.1. The payments went through on both ends, but the test subject was put in payment pending, with an end date of Jan 1, 2004. I can manually fix it, but it's a pain in the ass if I have to do it for everyone
EDIT - After checking my email, I got an error notification as well -
Unknown transaction type in ipn.php
the error was from paypal itself.
Im having the 1st Jan 1970 error.
Had one today that didn't show up AT ALL on my website (ie., the payment went through, but the subscription was not applied - fortunately, I'm still in testing mode and I know everyone who's subscribing).
Hi all,
Paid Subscriptions v 0.17
The mod goes through the payment process fine. User is not added to group after payment. I am using the Classic theme. Is there something I need to do to the theme? I did not get any errors, just no adding to group happening.
Getting system email that states:
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Unknown transaction type in ipn.php
Need advice from "tweakers"...
Thanks,
Lou
Well, now two folks have reported getting "Unknown transaction type in ipn.php" emails. I haven't gotten any emails from anyone, but I'm still having the problem where the payment is going through but nothing is happening in my database. This just started yesterday or the day before. Prior to that, I only had the date problem - I have not changed any code yet, so did PayPal change something?
i would i go about applying the fix? do i need to uninstall the current paid subscriptions? or do i just install it over it?
btw i havent ever had a problem like the 1970 error.. maybe its a mod conflict or something?
One thing to check with the 1970 date error, which was the cause of mine. I started checking through the code, and discovered that the "subs" directory on my server was in fact called "Subs" which I believe was the cause of my situation. The mod is working swimingly now.
I'd like to see a "range" mode, where members can choose to pay based on a range instead of a fixed number. E.g. if the range is $10 to $40, they can pay $15 if they wish. This would mostly be for donations, so they can donate more if they wish.
Set up a bunch of subscriptions in $5 increments and put people in different groups based on what they donate - that way you can shame people into giving you more. ;)
I'm still getting date errors, but it's almost random now. I had a test come back with Jan 1, 2004 (on a 1-year subscription) yesterday. The only constant is that it's always January 1.
Grrrr... sadly I'm away on work until next weekend. Has anyone got the new version working at all?
I'm still working with the older version - I was under the impression that your newer one only made changes to the renewable aspect, which I'm not using. I was going to upgrade to the newer one, but when I attempted to uninstall the other one I was getting the errors message (I've added about 5 mods after yours), so I didn't bother. If you think it'll make a difference, I'll try installing it manually.
Hmm.
I have absolutely no idea why this 1970 date is appearing. Im also having the same problem. I went through the code to check for dating abnormalities but it seemed all fine.
Any help would be appreciated. Thanks.
The way I got mine to work was to rename the Subs directory to subs and manually upload the files to their correct location, then run the package manager.
I have this mod installed and am testing. I set up a user with an expiration date and let it expire. Should the user have received an email notice? Should the admin have received an email notice?
Thanks,
William
I don't think anyone gets expiration emails, which would be a great feature to have - especially if it was sent, say, 7 days in advance.
So what actually happens when a subscription expires?
From looking at the member's profile, I see that the primary group has been changed to something that displays as "New Forum Member". This is not a group that I created, and it does not show up in the MemberGroups list. Where does it come from, and how can I use it to control what the member can see?
I also notice that the member still has access to all of the additional groups. Looks like I've got some work to do!
William
The member gets put back in the general membergroup, based on their post count. Don't know where your New Forum Member group is coming from.
One problem with this is, that my subscribers get a larger PM box, when their subs expire, normally their PM box is too full then to receive PMs..
Ah, that helps. "New Forum Member" is a post count based group I created, and the member I am using for testing has made no posts.
Apparently it keeps track of what the primary group was - when the member is re-activated the primary group is reset to what it was.
I need to figure out how to block access to the rest of the groups...
Thanks!
William
You mean categories with permissions to access via member group type, yes?
Quote from: madfiddler on February 25, 2007, 02:35:53 PM
You mean categories with permissions to access via member group type, yes?
Yes, Categories, or actually Boards. I have multiple MemberGroups that control access to different Boards. When a member is qualified for access to an area (telescope checkout, for example) the admin gives them access by adding them to the MemberGroup.
That sounds about right - so what do you mean
QuoteI need to figure out how to block access to the rest of the groups...
?
When a member's sub expires, they should not have access to any of the Boards, until they renew. Right now they only lose access to the Boards they get with their Primary Group.
I really need a fix for this 1970 error. I cant launch my P2P forums until it is.
And yes, once I have made my first 2 months revenue I will be donating a significant sum of money as a thankyou for making it possible.
If anyone else has suggestions to this please go ahead. Ive got about 5 forums launched, so I can test it.
Updated to v0.18 to fix a problem with renewing subscriptions.
I cannot duplicate the 1970 problem. Can you confirm that you defintely have the case of the subs folder setup right in PayPal? If so can you post an extract from your log_subscribed table?
Hi!
Thanks Grudge for this great mod! I have only on problem with it. My forum language is supposed to be Finnish, and when I set server language to Finnish from english, "Paid Subscriptions" disappears from the menu on the left. How can I get it to show up when language is set to Finnish?
Did you edit the Finnish language file in the themes?
This should be in Modifications.finnish.php in your default theme language folder:
(Except, the english parts after the '=' translated to Finnish lol)
Quote// Paid Subscriptions Mod
$txt['paid_subscriptions'] = 'Paid Subscriptions';
$txt['subscriptions'] = 'Subscriptions';
$txt['subscription'] = 'Subscription';
$txt['paid_subs_desc'] = 'Below is a list of all the subscriptions which are available on this forum.';
$txt['paid_subs_none'] = 'There are currently no paid subscriptions available!';
$txt['paid_current'] = 'Existing Subscriptions';
// Some errors.
$txt['paypal_could_not_connect'] = 'Could not connect to paypal server';
$txt['paypal_unverified_subject'] = 'Unverified Paypal Transaction';
$txt['paypal_unverified_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was unverified.';
$txt['paid_sub_not_active'] = 'That subscription is not taking any new users!';
$txt['paid_disabled'] = 'Paid subscriptions are currently disabled!';
$txt['worldpay_password_wrong'] = 'Payment ignored as WorldPay password is incorrect - please ensure you have the correct callback password set.';
$txt['2co_password_wrong'] = 'Payment ignored as 2co.com secret word is incorrect - please ensure you have the correct secret word and 2co.com ID set.';
$txt['paid_unknown_transaction_type'] = 'Unknown transaction type in ipn.php';
$txt['paid_missing_transaction_type'] = 'Cannot find transaction file %s.php';
$txt['paid_empty_member'] = 'Paid subscription handler could not recover member ID';
$txt['paid_could_not_find_member'] = 'Paid subscription handler could not find member with ID: %d';
$txt['paid_count_not_find_subscription'] = 'Paid subscription handler could not find subscription for member ID: %1$s, subscription ID: %2$s';
$txt['nochex_could_not_connect'] = 'Could not connect to nochex server';
$txt['nochex_unauthorised_subject'] = 'Unauthorised nochex Transaction';
$txt['nochex_unauthorised_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was rejected.';
Thanks SRaven. Got it working! :)
So far it's installed and I have made the changes in paypal.
If I click "enable paid subscriptions" and "enable test mode" it will not automatically apply this to all boards, correct? I assume it will apply it to a board only if I choose that board. Thanks.
Anybody know anything about this? I wanted to work on this today.
But if it adds a subscription button to every board, then it would shake things up. Can this be applied to one board?
The subscription link for a user to pay for a subscription is in the users profile page...
Thanks I did see that. I'm in the process of trying to give it a test run. I'm not all that familiar with the sandbox but I guess I have to set up a test e-mail. So far so good.
Quote from: Grudge on March 02, 2007, 05:03:07 AM
Updated to v0.18 to fix a problem with renewing subscriptions.
I cannot duplicate the 1970 problem. Can you confirm that you defintely have the case of the subs folder setup right in PayPal? If so can you post an extract from your log_subscribed table?
Hey, Grudge.
I'm still having the date problem and I've confirmed that the case of "subs" is correct everywhere. I've been manually changing the end dates on all of the subscribers so far - I assume you want an extract for the log_subscribers with one that hasn't been manually corrected?
What issues does v0.18 address?
I thought I had already uninstalled .15 before I uploaded the .18 upgrade, but hadn't. So after uploading the .18 upgrade, I'd get the following message when trying to click on any type of "profile" link:
Quote
Fatal error: Cannot redeclare subscriptions() (previously declared in /home/username/public_html/mydomain/Sources/Profile.php:2910) in /home/username/public_html/mydomain/Sources/Profile.php on line 3083
So I went in and first uninstalled, then deleted 1.8 and 1.5...but I still show Paid Subscriptions as fully functional in the Admin panel, and after putting in a test subscription, everything went through just fine.
So even though Paid Subscriptions does NOT show up as one of my installed packages, it is still there, and functioning (seemingly) fine. But if I try to re-install either 1.5 or 1.8, I get the same fatal error listed above.
I'm an idiot - can someone tell me how to fix the situation so I can show Paid Subscriptions as an installed package and not get the error?
Possibly relevant info with attempted .18 install:
Quote
Installing this package will perform the following actions:
Type Action Description
1. Extract File ./Sources/ManagePaid.php
2. Extract File ./Themes/default/ManagePaid.template.php
3. Extract File ./Themes/default/languages/ManagePaid.english.php
4. Extract File ./subs/ipn.php
5. Extract File ./subs/worldpay.php
6. Extract File ./subs/paypal.php
7. Extract File ./subs/nochex.php
8. Extract File ./subs/2co.php
9. Extract File ./subs/authorize.php
10. Execute Code paidsubsdb.php
11. Execute Modification ./index.php Test successful
12. Execute Modification ./Sources/Subs.php Test successful
13. Execute Modification ./Sources/Profile.php Test successful
14. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Hello mates,
How can I change the Subscription for fixed price and period's Day/week/year value to post numbers.
For example I want the subscriptions to end after 1/2/3 post(s)
if i uninstall version .15 will i lose all the current subscription information or will it be there again when i install version .18?
thanks!
Quote from: WebWorm on March 10, 2007, 02:34:16 PM
I thought I had already uninstalled .15 before I uploaded the .18 upgrade, but hadn't. So after uploading the .18 upgrade, I'd get the following message when trying to click on any type of "profile" link:
Quote
Fatal error: Cannot redeclare subscriptions() (previously declared in /home/username/public_html/mydomain/Sources/Profile.php:2910) in /home/username/public_html/mydomain/Sources/Profile.php on line 3083
So I went in and first uninstalled, then deleted 1.8 and 1.5...but I still show Paid Subscriptions as fully functional in the Admin panel, and after putting in a test subscription, everything went through just fine.
So even though Paid Subscriptions does NOT show up as one of my installed packages, it is still there, and functioning (seemingly) fine. But if I try to re-install either 1.5 or 1.8, I get the same fatal error listed above.
I'm an idiot - can someone tell me how to fix the situation so I can show Paid Subscriptions as an installed package and not get the error?
Possibly relevant info with attempted .18 install:
Quote
Installing this package will perform the following actions:
Type Action Description
1. Extract File ./Sources/ManagePaid.php
2. Extract File ./Themes/default/ManagePaid.template.php
3. Extract File ./Themes/default/languages/ManagePaid.english.php
4. Extract File ./subs/ipn.php
5. Extract File ./subs/worldpay.php
6. Extract File ./subs/paypal.php
7. Extract File ./subs/nochex.php
8. Extract File ./subs/2co.php
9. Extract File ./subs/authorize.php
10. Execute Code paidsubsdb.php
11. Execute Modification ./index.php Test successful
12. Execute Modification ./Sources/Subs.php Test successful
13. Execute Modification ./Sources/Profile.php Test successful
14. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
Bumpity for grudge? Anyone?
Quote from: 3mrhythm on March 17, 2007, 09:46:16 PM
if i uninstall version .15 will i lose all the current subscription information or will it be there again when i install version .18?
The subs details are kept in your forum database, so won't be lost when upgrading the mod.
m
hi,
i would like to seek for help because when i apply this mod, the error below shown:
BLOB/TEXT column 'Cost' can't have a default value
File: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\smf\Packages\temp\paidsubsdb.php
Line: 40
anybody know why?
i am using apache 2.2.4, php5.2 and mysql 5.0...
thanks for helping..
Grudge can u add functionality to accept MOBILE payment service ONEBIP They cover most Networks in Europe and USA now it would be great to have this option in the paid subscriptions..
I am soo desperate for this one heh
The api is same as paypal n others
http://www.onebip.com/docs/OneBip_integration.pdf
This just gives greater option of ways to accept payments.
hey Guys,
I must be going stupid here. I cannot see the paid Subscriptions tab.
I am running SMF 1.1.2 and paid Subscriptions 0.18 (latest)
can someone please point out if there is anything you need to do extra, as I just doenloaded, applied the mod, etc, but no menu items appear for this.
i really have to get this working, if I can't I am forced to look into VBulletin, which would suck.. I love this Forum.
Any pointers are really, REALLY appreciated,
Regards,
It should be in your profile and under "Configuration" in the admin panel.
Hi again,
someone please tell me what to do about this:
I want the subscription end after 1 post, or 2, 3 posts, not after one day or week. What must I change? or which file should I look at?
Thanks
Hi Bigguy,
Thanks for your response.
Nope, it doesn't appear there. IU even installed a brand new SMF on my server, uploaded the latest paid subs mod, and nothing, it just doesn't appear.
=( I really hope I can see what is going wrong. Can someone plz post up a screenie of where it is meant to be, it might help!
Regards,
very strange...
Make sure that you have added the modifications amnually to the theme you are using. installing the mod only modifies the default theme. so, if you are using a different theme, you need to make the modifications to the themes you are using yourself.
The 'Paid subscriptions' tab not showing might indicate that Modifications.english.php for your theme has not been modified.
Hi Sraven,
Thanks for that heads up. I am using default6. The last test, was on a SMF install straight from Fantastico via Cpanel. perhaps i will blow this one away and do it manually, thisd may be worth a try.
I checked, there is an over-write of the Modifications.english.php, with backup, and is 777.
man, this truly is odd, and very sad, i so badly ned this to work =(
TYhanks for your interest, i know how hard it is to offer suggestions when U can't see the server.
Can a picture be added to the subscritions?
Add pictures like this:
Just add normal html image tags in your subscription description. haha sounds odd but right :)
Can I second this request ?
Ta.
Actually, to add a full request :)
I would like this mod to allow a forum member to buy the ability to pay for and place an ad in a board specifically for listing stuff for sale.
I think I can see where the time frame is set in the code and could set a new time frame for 5 mins :P
Quote from: tansu on March 28, 2007, 06:59:16 AM
Hi again,
someone please tell me what to do about this:
I want the subscription end after 1 post, or 2, 3 posts, not after one day or week. What must I change? or which file should I look at?
Thanks
I have just installed this mod and it works just as I want but have two questions I hope someone can answer.
1) Is there anyway to alter the mod/code so you can set up a subscription group where the users can pick how much they want to pay per month/year, ie they go to paid subscriptions in their profile and theres a place there to enter $ per month etc. Then that amount is passed to paypal for payment or is this too much work?
2) I want the script to handle my subscriptions/features on my website which our users pay for to use. What I want to do is the ability to add my own php code to the script so when a payment/subscription is taken my own code is run and adds them to other databases on other parts of my site and when their subscription ends they get removed via my code.
I have all the code to do the adding/removing from my features but where is the best place to place this code in this mod?
I thought of adding the add to feature code into the paypal IPN file so when the payment is confirmed by paypal the user gets emailed the payment details and then I run my code to add them to other databases. Would you recommend this?
Also where best place to handle removing user from feature at end of subscription?
Hope someone can help me and thanks for taking the time to read this
can you add E-gold to payment list? i think people do like e-gold than other payment processors now.
Was hoping to get this added to my forum but having trouble with the chmod thing.
When I try to apply the mod in package manager I get "FTP Information Required - Some of the files the package manager needs to modify are not writable." Can someone PM me if you don't feel like explaining here how I fix this problem?
Where do I go to edit the chmod so I stop getting this message?
I had that problem......
The problem appears to be that some webhosts, like Servage, have some kind of Apache code put in so that any files named "temp" are not created or allowed permissions to allow files to be extracted to it.
A workaround is to open the Sources/Packages.php file, and replace /Packages/temp/ with: /Packages/tmp/ or something similar.
Hope this helps......
I changed every instance of packages/temp to packages/tmp and I am still having the same problem.
If it helps I am running my own server called WAMP.
Any other ideas?
OH boy! This is a 31 page thread! Can someone summarize where we are now?
1. Are we still in beta, or is this an actual release? Does it work for SMF 1.1.2? How about for TinyPortal & SMF together?
2. What is the current feature list/description?
3. What I want to do with a mod is have users above a certain level of posting enabled to share a revenue pool - so I want to pay my "subscribers." Can you tell me if this modification can do this (share out a pool of money amongst all subscribers?) Can I tell it how much to share at each level? I.e., can member group 1 get 50%, member group 2 15% and member group 3 10%?
Thanks!
QT
Yes it works in SMF and Tiny Portal.
Can the layout be modified, if so what template would I modify?
QuoteOH boy! This is a 31 page thread! Can someone summarize where we are now?
1. Are we still in beta, or is this an actual release? Does it work for SMF 1.1.2? How about for TinyPortal & SMF together?
2. What is the current feature list/description?
I'll second that request, although I will be adding it to a test install to see what it is like anyway. :)
Best regards,
FMSUser.
Quote from: RebelRose on April 21, 2007, 07:29:12 PM
Can the layout be modified, if so what template would I modify?
I would really like to know if the layout can be modified and if so what template would I need to edit for modifications.
Super super modification! I just hope people use it :D
Hi there,
When trying to install this mod I get the following error:
Fatal error: packageinstall() [function.require]: Failed opening required 'C:\xampp\htdocs\forum/Packages/temp/./paidsubsdb.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\forum\Sources\Packages.php on line 552
I've tried with a completely clean install of 1.1.2.
Tried changing php from 5.x to 4.x
Nothing works.
After it gives that error I'm no longer able to install or uninstall any other mod. Gives me the following error:
"You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"
But everything is writeable, believe me.
Any ideas?
Thanks,
kroxx
i have a question..
i have a group called ASM (annual supporting members) and i just spear headed my asm mafia .. basically a group within the asm group to help police the forum and such.. without extra privies just that they are kinda there to mediate.. but i want to have a special logo for them different from the asm logo that i have now.
I have setup a seperate membergroup "asm mafia"
so when a member is inducted into the mafia i put thier name in that member group and make that group thier primary group. However i want thier paid subscription to still end a year from when they started and if they are in this new group (based off of the asm group) its not a paid subscription.. is there a way to link the new group to the original asm group so that when thier asm subscription is up or not renewed that it will bump them from the asm mafia group as well?
thanks.. hope that makes sense
Can anyone confirm that this mod is now safe to use as in I'm pretty much a novice with software although I've had my forum up and running for nearly 2 years without too many problems. I'm currently using SMF 1.1.2 plus Ad-Management mod 2.3 with Admin Notepad 1.0.
Also, can this mod deal with manually entered subscription receipts (I don't use PayPal after too many problems with them). Thanks
I have it working on my site with no problems, as far as I know you can manually edit the receipts
Thanks Rose - much appreciated
I too have it working...
Quote from: 3mrhythm on May 04, 2007, 04:11:06 PM
i have a question..
i have a group called ASM (annual supporting members) and i just spear headed my asm mafia .. basically a group within the asm group to help police the forum and such.. without extra privies just that they are kinda there to mediate.. but i want to have a special logo for them different from the asm logo that i have now.
I have setup a seperate membergroup "asm mafia"
so when a member is inducted into the mafia i put thier name in that member group and make that group thier primary group. However i want thier paid subscription to still end a year from when they started and if they are in this new group (based off of the asm group) its not a paid subscription.. is there a way to link the new group to the original asm group so that when thier asm subscription is up or not renewed that it will bump them from the asm mafia group as well?
thanks.. hope that makes sense
what i did.. lol to fix this ..
i deleted all my subscribers then made a new subscription that added them to both member groups then i put the asm regular as the primary and put the asm mafia as a secondary hidden.. then when i want to switch them to the mafia i just make them mafia primary
Hello there
Is it possible we could modify the codes a bit to have the following features?
1. Payment at registration
2. Different Packages (monthly, quaterly, six-month and year)
3. Paypal payment fully integrated through ipn
I already have "paid-subscription" mod installed on my computer and it works brilliant... The same features at the registration will do my requirement.
Jarri
I have read through this entire thread and didn't find the answer to this question. Nonetheless I apologize if it's already been answered or is just blindingly obvious. ;)
I simply wanted to make sure that - as is my understanding - when a user subscribes to a group, when their subscription ends they will be moved back to their old group, not just "member". In other words if I have created a custom group "Helper" and assigned it as a primary group for a user, then that user subscribes to a group called "Registered" for 1 month and this is done for their primary member group, when their subscription expires do they go back to being "Helper" as primary group? And while they are subscribed do they maintain "Helper" status through the use of additional groups, or is the status of the primary group lost for subscriptions that rely on this? I know Administrators are supposed to be able to subscribe and not lose their status, ut does this apply to everyone?
Thanks.
Oshyan Greene
Technical Coordinator
Bauman College
Hmm i installed this mod and here are some questions
I dint get any email from my forum about the payment
The user is not transfered into the usergroup and he is not even pending
Its like nothing happended
But i do get email from paypal and i have to find that user and add him manually into the right subscription.
Does this have something to do with recurring payment ?
I'm pretty sure i got the ipn thing right.. so what can cause this ??
Any help would be appreciated
Edit: Okey it did had something to do with recurring payments.. if the user unchecks this box the payment will go thru on the forum.. but the end date is wrong and the status is pending..
Quote from: Stumpy on February 17, 2007, 10:01:10 PM
Possible fix (at least for me) on the expiration date issue. Note that I have not tried this yet, but if someone knows more about php than me and can tell me if I'm on the right track, I'd appreciate it.
In about line 800 of ManagePaid.php, Grudge sets $duration (for a year) as 31556926, which appears to be pretty close to the number of seconds in a year.
In line 920 for a simple subscription addition, he's got "$endTime = time() + $duration;"
At least in my very simple testing, which involved printing the current time and then attempting to add seconds to it, I kept getting errors when I tried to print "time() + $duration;"
After playing around a bit, I was able to get it to do it by setting $endTime = time(), then setting $duration = 31556926, and finally setting $endTime += $duration.
Since the time equivalent of 31556926 is somewhere around January 1, 1971, it appears that that's the number that was getting entered AS the endTime, rather than incrementing the endTime.
Again, I'm a complete NOOB at PHP and Grudge appears to be a monster, so this might be totally wrong or it might have something to do with the version of PHP one is using....and I'm so new at this that I don't even know how to tell you what version I'm on.
Will this do the trick ? Did somebody actually test this solution ?
Hi tanks, its cool bro your right this pending issue with the date backdated to the 1970's happens to allot of people but in earlier versions this actually did do the dates correct but something went wrong, i dunno if it was that i upgraded php version that this made a difference but this would explain why this happens for some people and not others...
Grudge has issues getting this problem to happen to him to actually fix it i believe.
Lets hope that stuff you have looked into may give grudge a lil head start to finding a fix for this issue, as im sure this is the 1 major problem that has casued so much bad feedback for this mod.
But this def sounds like a php version glitch all i know is i am using the latest php 5 rc version
And this mod really is the best mod on SMF by far even with the problems i get i still love it.
Just having to manualy change all subscription heh.
Is it possible to make the Recurring Payments unchecked by default ??
Is it possible to turn it off and remove it so user can not select this ??... it messes up the whole thing when users make it a Recurring payment !
Quote from: RebelRose on May 02, 2007, 12:38:45 PM
Quote from: RebelRose on April 21, 2007, 07:29:12 PM
Can the layout be modified, if so what template would I modify?
I would really like to know if the layout can be modified and if so what template would I need to edit for modifications.
Anyone have any ideas on this, please, anyone?
What layout are you talking about that you want to modify.
ok, its working. but i dont see merchant tools to set up the ipn thing.
Quote from: Bigguy on May 11, 2007, 11:34:05 AM
What layout are you talking about that you want to modify.
The way it looks, the layout of the display. If you click on it the way it looks when viewing the subscriptions.
Quote from: jay.jarri on May 07, 2007, 04:01:07 AM
Hello there
Is it possible we could modify the codes a bit to have the following features?
1. Payment at registration
2. Different Packages (monthly, quaterly, six-month and year)
3. Paypal payment fully integrated through ipn
I already have "paid-subscription" mod installed on my computer and it works brilliant... The same features at the registration will do my requirement.
Jarri
Can somebody please help
Sorry, I have installed this mod but I can´t find where in the admin section can I see it...
Please help...
Thanks
Hi all,
I have this up and seems to be running fine if I use USD as the currency. The problem I have is that I cant select GBP from the dropdown menu and get it to work. Once selected and saved, I go into view subscriptions in the admin and I get the message: -
An Error Has Occurred!
You have not setup your currency yet. Please do so from the settings menu before continuing
I think that the issue may be in the drop down currency selector, see attached image - it shows: -
USD ($)
GBP (?)
EURO (?)
...using question marks instead of the currency symbols?
Can anyone help, if I can solve this then I'm up and running ;)
Regards,
Wilsy.
To fix the 1970 issue you just replace one of the existing currencies with your own. If you are trying to use another currency then the problem occurs.
You only need to change the currency code in the language files. For instance - change all sentences that uses GPB with ex. NOK (norwegian kroners) and all £ symbols with ex. Kr. (norwegian symbol for kroners).
Then it will work perfectly and the 1970 issue goes away.
Apologies for the bump :-[
Can anybody help?
http://www.simplemachines.org/community/index.php?topic=105532.msg1090597#msg1090597
Regards,
Wilsy.
Hi!
Thanks Grudge for this great mod
I have a problem with this mod.
I have the smf forum integrated with joomla via the bridge so when i change the language in joomla, it change also on the forum.
The two languages available are french and english. I use Joomfish.
I have no problem with english but in french the link "paid subscriptiosn" disappears.
I try to edit the file Modifications.french-utf8.php and add and translate the following :
Quote<?php
// Version: 1.1; Modifications
// Paid Subscriptions Mod
$txt['paid_subscriptions'] = 'Paid Subscriptions';
$txt['subscriptions'] = 'Subscriptions';
$txt['subscription'] = 'Subscription';
$txt['paid_subs_desc'] = 'Below is a list of all the subscriptions which are available on this forum.';
$txt['paid_subs_none'] = 'There are currently no paid subscriptions available!';
$txt['paid_current'] = 'Existing Subscriptions';
// Some errors.
$txt['paypal_could_not_connect'] = 'Could not connect to paypal server';
$txt['paypal_unverified_subject'] = 'Unverified Paypal Transaction';
$txt['paypal_unverified_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was unverified.';
$txt['paid_sub_not_active'] = 'That subscription is not taking any new users!';
$txt['paid_disabled'] = 'Paid subscriptions are currently disabled!';
$txt['worldpay_password_wrong'] = 'Payment ignored as WorldPay password is incorrect - please ensure you have the correct callback password set.';
$txt['2co_password_wrong'] = 'Payment ignored as 2co.com secret word is incorrect - please ensure you have the correct secret word and 2co.com ID set.';
$txt['paid_unknown_transaction_type'] = 'Unknown transaction type in ipn.php';
$txt['paid_missing_transaction_type'] = 'Cannot find transaction file %s.php';
$txt['paid_empty_member'] = 'Paid subscription handler could not recover member ID';
$txt['paid_could_not_find_member'] = 'Paid subscription handler could not find member with ID: %d';
$txt['paid_count_not_find_subscription'] = 'Paid subscription handler could not find subscription for member ID: %1$s, subscription ID: %2$s';
$txt['nochex_could_not_connect'] = 'Could not connect to nochex server';
$txt['nochex_unauthorised_subject'] = 'Unauthorised nochex Transaction';
$txt['nochex_unauthorised_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was rejected.';
?>
But that didn t work - I try also with a file named simply Modifications.french.php but it didn't work neither.
Anyone have a idea on what's going on ?
Thanks in advance.
Quote from: M3THOD on May 10, 2007, 01:15:24 PM
Hi tanks, its cool bro your right this pending issue with the date backdated to the 1970's happens to allot of people but in earlier versions this actually did do the dates correct but something went wrong, i dunno if it was that i upgraded php version that this made a difference but this would explain why this happens for some people and not others...
Grudge has issues getting this problem to happen to him to actually fix it i believe.
Lets hope that stuff you have looked into may give grudge a lil head start to finding a fix for this issue, as im sure this is the 1 major problem that has casued so much bad feedback for this mod.
But this def sounds like a php version glitch all i know is i am using the latest php 5 rc version
And this mod really is the best mod on SMF by far even with the problems i get i still love it.
Just having to manualy change all subscription heh.
It's been awhile since following this topic, and this isn't why I'm back here reading it. There was a very simple change the file that communicated between PayPal and SMF--the
ipn.php file. I can't remember what it was, but it was something ridiculously simple.
It was like an extra
& somewhere needed to be put in place.
I may have even posted on here about it. I'll look and get back here.
BTW...I'm here to second the request that the link in the Profile isn't being installed with the package. Anyone figure that out?
Ok...as usual, I'm doing the whole trial and error thing:
Regarding the Profile issue, I think it shows up ONLY after you set it up. All I know is I didn't have a Subscription link in my Profile, but once I set up the subs, it was there.
Also, using v.18, the ending date issue isn't a problem right now.
Quote from: WebWorm on March 10, 2007, 02:34:16 PM
I thought I had already uninstalled .15 before I uploaded the .18 upgrade, but hadn't. So after uploading the .18 upgrade, I'd get the following message when trying to click on any type of "profile" link:
Quote
Fatal error: Cannot redeclare subscriptions() (previously declared in /home/username/public_html/mydomain/Sources/Profile.php:2910) in /home/username/public_html/mydomain/Sources/Profile.php on line 3083
So I went in and first uninstalled, then deleted 1.8 and 1.5...but I still show Paid Subscriptions as fully functional in the Admin panel, and after putting in a test subscription, everything went through just fine.
So even though Paid Subscriptions does NOT show up as one of my installed packages, it is still there, and functioning (seemingly) fine. But if I try to re-install either 1.5 or 1.8, I get the same fatal error listed above.
I'm an idiot - can someone tell me how to fix the situation so I can show Paid Subscriptions as an installed package and not get the error?
Possibly relevant info with attempted .18 install:
Quote
Installing this package will perform the following actions:
Type Action Description
1. Extract File ./Sources/ManagePaid.php
2. Extract File ./Themes/default/ManagePaid.template.php
3. Extract File ./Themes/default/languages/ManagePaid.english.php
4. Extract File ./subs/ipn.php
5. Extract File ./subs/worldpay.php
6. Extract File ./subs/paypal.php
7. Extract File ./subs/nochex.php
8. Extract File ./subs/2co.php
9. Extract File ./subs/authorize.php
10. Execute Code paidsubsdb.php
11. Execute Modification ./index.php Test successful
12. Execute Modification ./Sources/Subs.php Test successful
13. Execute Modification ./Sources/Profile.php Test successful
14. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
I got this for you WebWorm...
It's printing the entirety of
function subscriptions($memID) without deleting it on the previous uninstall.
First of all, back up Sources/Profile.php (call it something else)
Download from your server Sources/Profile.php
Find
function subscriptions($memID)You should find two of them. I deleted the first of the two functions (all of the code contained in the function), which looks to be about 170 lines.
I assumed the second one printed was the one for v.18.
That cleared it up for me.
Biggest problem for me is not that it makes the date wrong.. i can handle that.. i just put it straight myself.. no the biggest problem is that if the user dosnt uncheck the recurring payment (wich is on by default?) then nothing is sent back to smf.. so only my mailbox will tell me if somebody paid some money.. and if they dont use the same email for paypal as they use on my forum then all i can do is wait for them to PM me about why they didnt change usergroup now that they paid..
Any help to fix this issue ? Maybe a trick to make "Recurring Payment" Unchecked by default.. wich it really should be if you ask me :)
It's just me, but it seems to me it would have to be the same email address.
Quote from: Jim R on June 03, 2007, 02:52:15 PM
It's just me, but it seems to me it would have to be the same email address.
I dont think it has anything to do with the email ? Is that your experience ?
I just noticed that every time the member dont uncheck "Recurring Payments" the forum act like nothing happend.. and only the email from paypal will let me know that i have been paid :/
My fault I misunderstood. I'm testing .18 right now, and it's working just fine for using recurring payments. That includes emails.
I am using the same and it does not work fine ! Now again i ask if somebody can help me uncheck recurring payments by default.. this cant be that har to do can it really ??
Edit: I found the solution to uncheck the box :)
Checked is a boolean property; it is either true or false. In
Javascript (or in HTML), if you set checked="anything", it is true. To
*not* have the button/box checked, you just don't add the checked
attribute at all.
So now i will only get the problem if people check the box :D
Is there any way to tell what version of paidsub I have installed, from inside the files? I ask because I seem to have manually installed it, quite a while ago, so I can't simply uninstall the package.
QuoteHi all,
I have this up and seems to be running fine if I use USD as the currency. The problem I have is that I cant select GBP from the dropdown menu and get it to work. Once selected and saved, I go into view subscriptions in the admin and I get the message: -
An Error Has Occurred!
You have not setup your currency yet. Please do so from the settings menu before continuing
I think that the issue may be in the drop down currency selector, see attached image - it shows: -
USD ($)
GBP (?)
EURO (?)
...using question marks instead of the currency symbols?
Can anyone help, if I can solve this then I'm up and running ;)
Regards,
Wilsy.
Can anybody help?
Regards,
Wilsy.
Ok I got this installed on my site fine and it is working great. The problem is I was trying to install it on somone elses forum and it was fine yesrterday then he told me it wasnt there today.
It is there but it is not showing a link in the admin section to set up the paid subscriptions.
Help please :)
Would anyone else be interested in adding functionality to control by membergroup what subscriptions are visible/available?
An example of why this is useful: if you have members who have been on your site a long time and so you want to give them a discount on pay services, you can check if they belong to a certain post-count group and then only allow them to see the discounted purchase link if they have a certain number of posts. This also allows you to use the subscriptions system for general member group expiration. Your mods can have access to assigning people a subscription that is not visible to the general public. Use this with $0 cost to assign special time-based permissions to anyone.
For my purposes such an adjustment would be extremely useful. It would be nice to have a bunch of check boxes to set which membergroups can access, but a simple text field with comma separated member group names or even ID #'s would be fine too. As long as I can control visibility/access to each subscription individually by member group I'll be one happy camper!
I am willing to pay to have this implemented. I have been unable to get ahold of the original developer (Grudge) to see if he has time to do it. Any other coders who are interested please contact me directly to discuss the adjustments.
- Oshyan
cant you just put charter members in agroup based on posts??
like when people get charter on my site, i put them in the charter group, this giving them more access..
just make a discounted price based on posts..
The problem is that everyone can see *all* subscriptions at *all* times. So if you want to provide a discounted price to anyone it can't be through the regular subscription system, otherwise everyone would have access. The whole idea of this change would be to control who can see and sign up to each subscription.
- Oshyan
i filled out the paypal system and i got this e-mail error when someone tried to but failed to sign up.:
Quote
An error occured whilst attempting to do a paid subscription. The error is shown
below:
---------------------------------------------
Unknown transaction type in ipn.php
Discos Bazaar.com
Ok, is this mod still being developed / supported?
Grudge is busy wrking on Smf 2.0 i reckon :) and life commitments...
But im sure hes aware of the date problem being more common for most users after install..
And maybe he will add google checkout :)
This is one of the mos popular mods im sure :)
I must be doing something wrong, When people pay for the subscription it does not put them in a user group I wanted. Also is it suppose to remove them from the usergroup if they cancel their subscriptions?
Quote from: 5cakids on June 27, 2007, 12:54:18 PM
I must be doing something wrong, When people pay for the subscription it does not put them in a user group I wanted. Also is it suppose to remove them from the usergroup if they cancel their subscriptions?
Make sure your callback url is set in paypal (or your payment processor)
Ok wil
Quote from: Tony on June 27, 2007, 01:36:38 PM
Quote from: 5cakids on June 27, 2007, 12:54:18 PM
I must be doing something wrong, When people pay for the subscription it does not put them in a user group I wanted. Also is it suppose to remove them from the usergroup if they cancel their subscriptions?
Make sure your callback url is set in paypal (or your payment processor)
l make sure, the call back url will just be my site right?
yes usually www.yoursite.com/forum/subs/ipn.php or something similar.
It tells you the correct url in the admin area >paid subscriptions > Settings
Yeah its all right not sure what I did wrong.
The 1970's problem,
I had this problem, and it was an error in the subs/ipn.php file, I have attached a version of the file which works for me, a diff of the fixed and original files shows these differences,
< if ((isset($_POST['txn_type']) || isset($_POST['payment_status'])) && !empty($modSettings['paypal_email']) && ((isset($_POST['business']) && $modSettings['paypal_email'] == $_POST['business']) || (isset($_POST['receiver_email']) && $modSettings['paypal_email'] == $_POST['receiver_email'])))
---
> if (!empty($modSettings['paypal_email']) && (isset($_POST['txn_type']) || isset($_POST['payment_status'])) && ((isset($_POST['business']) && $modSettings['paypal_email'] == $_POST['business']) || (isset($_POST['receiver_email'])) && $modSettings['paypal_email'] == $_POST['receiver_email'])))
154c154
< if ($foundDuration !== 0)
---
> if ($foundDuration != 0)
242c242
< ?>
---
> ?>
It looks like the file has been fixed in the latest version of the mod.
Hope this helps someone,
Dan
Dan,
I tried your fix... but it's not working... now I'm not getting any notifications in the forum about payment (just getting the email from pay pal).
Thanks for the try tho!
Using the latest mod - .18 ... using smf 1.1.3 with TP latest version as well... on a custom theme (scribbles 1 - latest version) ...
Was getting that same issue as mentioned by others ... the 1970's date issue as well as "pending" altho payment went thru and cleared (according to pay pal).
Don't know much about php coding and all... anyone find a good fix for this other than Dan's try??
Sorry!
I to use 1.1.3, TP and other bits.
How very strange.
Dan
Quote from: allotments4all on June 29, 2007, 08:05:55 AM
Sorry!
I to use 1.1.3, TP and other bits.
How very strange.
Dan
it's ok... I TOTALLY appreciate the try... was really hoping this would fix it! Now just gotta go back in and upload the original file and see where to go from there (at least I get the notification that they subbed and can edit manually the date to end and what not).
Someone else had said that they had found a fix at one point that was really simple, like a missing
& sign somewhere or something. Of course I wish this was easier...LOL... I sooo want this to work! I see that the TP site has this running (or something like it perhaps)... so I KNOW it can be done... I too will eventually learn php coding! LOL!
OK... if you didn't notice yet, I don't know a whole lot here... one question and maybe this is stupid.. but...
Looking at the ipn file... I don't see any refrence to send the information back to paypal... I DO see the information in the paypal.php file.
How does the paypal.php get set into action? I don't see any refrences to set it into action from the ipn file... so just wondering if pay pal is actually getting the ipn info sent back to them.
When I first installed this, I had the whole date and pending payment status issue... I attempted replacing the ipn.php file... and next thing is I am getting NOTHING (just an email from pay pal, nothing adds or changes in smf). Strange, cuz it looks like this ipn.php file is same as Grudge's... I've tried replacing it, no luck... I've tried uninstalling, deleting, reinstalling... and NOW I am having that previously mentioned error about the profiles (if I leave it as "uninstalled" it still shows up... can purchase from profile... receive email from paypal... but no updates to smf)...
Anyone? Suggestions? I'm going to look into the version of php I have running... using godaddy if that helps until I get an answer on that one.
If this helps:
PHP Version: 4.3.11
Database: MySQL 4.0.27
but for now I'm giving up on this... and going to try zen cart and just update users manually one they've made a purchase
is there another mod like this one? this ones obviously full of bugs, still in beta "no idea why he would release it or why it would get approved in that case" but meh, i don't wanna kill my site, and i also don't wish to go through all 26 pages here just to get it working.
is it easy? can somebody right up a LITTLE instructions on how to get EVERYTHING here working?! won't just help me, but would help all the other people out there who have told me they won't worry about this mod since it's confusing, but i really need one like this.
Well, I've read the whole thread, and have a couple of (prolly) stupid questions:
- What link do you use to ask people to subscribe? I have a subscription box on my main site, and would like to direct people there, rather than only have it in the profile of each user.
- Is is supposed to automatically pick up those *already* in the paid group, or must they be added manually?
- Does the mod automatically created repeating subscriptions, or is there a box for that somewhere? Just making sure, I didn't see anything and wasn't sure.
I've got it installed on my 1.1.2 forum, and it installed cleanly, all forms came up and the tables have been created. I'm just fine tuning now.
Great mod, Grudge!!!!
OK, answering my own post (and a couple more questions)
- I am manually entering my current subs
- The link used to post for your subscriptions can be found by copying the link in the profile, taking out the user data, and using that.
OK, questions:
- How do I figure out start and remaining time for existing subscribers that I am adding manually? I see the time on my latest subscriber expressed as:
startTime: 1170644100 endTime: 1202180100
I realize that this is expressed as seconds or something, but don't know how to do it for subs that began last October, or in April. What is the base number that is being used?
Hello, please help urgently!
I installed this mod without problems but i don't see link to it anywhere in my administrator board. I saw that people were having same problems, but i don't see if they managed to resolve it. Can anybody please tell me what should i do? Thanks
P.S. i am using SMF 1.1.2 with 0.18 subscriptions.
If you're not using the default template, it won't show up, you have to add the code manually.
i am using the default template(SMF default template - core) and i don't see it yet. But i plan on changing the template so can you tell me where can i find that code? Or can you tell me the url that it leads you to when you click on subscriptions in your administrator panel, i guess if the mod is installed then all i need is the url? Thank you.
If you're using the default template, it will be under the Members section of the main Admin menu.
If it doesn't show up, I would uninstall and then re-install the mod, because it shows up automatically.
If you're using the default template, it will be under the Members section of the main Admin menu.
If it doesn't show up, I would uninstall and then re-install the mod, because it shows up automatically.
OK heres a problem i have, after installing this on SMF 1.1.3 , Paid subscription V.1.8 , all went flawlessly. Filled in the IPN part in paypal with the correct directory ( one i obtained in the settings menu). Yet when anyone sends a one off or reocurring it still wont work? , Any idea's?
2 tam2oo5
Well check this http://custom.simplemachines.org/mods/index.php?mod=413 (http://custom.simplemachines.org/mods/index.php?mod=413) , i don't see version 1.1.3 supported anywhere. So i believe you will have to downgrade your forum to 1.1.2.
2meadwench
ok, i will try that now...
EDIT: No, still nothing.... check this out, it is strange, this is the way when it is unistalled:

(http://imageshack.us)
Shot at 2007-07-11
And this is how it looks when it is installed:

(http://imageshack.us)
Shot at 2007-07-11
You see, like there is space for it, but it doesn't show up.... When you click on it in your cpanel, what link does it shows up? i mean in format like yoursite.com/blahblah/123 ? Can you tell me that?
Downgraded to 1.1.2 , still the same issue. I see all the menu's and can create subscription's. Just we have no talk back from paypal ! >:(, Anyone else got a solution to this?.
So i guess there is no fix for version 1.3 yet?
Or could we manually add that link in there between the sections? Or else where?
The link is there, but for whatever reason, your /Themes/default/languages/index.english.php didn't get updated with the new links. That is why it is showing blank.
Did you get any warnings when you installed it? If not, then you'll need to unzip the subscriptions package, open up the install file and find the info that needs to be added to index.english.php.
The other alternative is to completely uninstall the package and then re-install, paying attention to any warnings.
No, I didn't get any warnings at all. I created the sub and temp directory as described in previous post. And everything checked out to be fine when installing and after installing. I'm just missing the link. Like the screen caps posted in 3-4 previous posts before me. There is a space there between Registratrion and Ban Users.
If I were to edit the index.english, what would I need to edit? I'm in a custom theme, should I copy out the index.english over?
That's the problem, you're in a custom theme. You need to manually modify all files in your custom theme that are changed in the default theme.
You want to make sure there is a file called ManagePaid.english.php in your languages file for your theme. That is the text for this package, and it is contained in the tar file for the package. You might also look in your default them languages directory for a copy of, if you've already installed.
It sounds like you didn't make all the manual changes needed to be made. I'd go through it step by step. I can't help you with that, I use a modified default theme, so it created automatically for me.
Odd. even in the default theme, its not showing up. =)
Yes! I got it working.
I just merged the language files together and it worked. Copied the files required in the default template over, except that in custom template, my language file for modification.english.php already has stuff in it.
Just have to merge the two and upload, and you'll get paid subscription on the left hand side!
For those who need it, thats the solution! and it works flawlessly now
oh its me again. One problem solved, now another...
I want to allow a certain membergroup (consist of 2-3 board members) to be able to "add" the subscription to the users account... instead of using the administrator.
Or could you set multiple administrators?
sigh, i think i answered my own question. you could set multiple admins.
hmm, could you duplicate the admin level? so they dont send out newsletters to me? when im the webmasdter.
I really need this mod but it fails on install
If I posted my subs.php would you be able to help me with this problem??
That is the only fail
Wait, now i am totally lost...
Jaeca, you said above that you created some sub and temp directories. Where did you create them, and what should be in them. Could you please describe step-by-step which files have you modified and where have you uploaded them and for which template, please. Thank you.
ok. I'm using a custom template that was built by a friend taht wasnt based off the default one, its one of those fresh nothing in it ones.
So you have uploaded the patch into the server, but you haven't installed it.
For example sakes, we use http://www.abc.com/forum/ as your directory of your forum
We use an FTP, and create a folder called "subs" in the main directory of your forum.. (/forum/subs)
Than we create another directory called "temp" in the Packages directory. (/forum/Packages/temp) ... don't ask why that needs to be created but than it gets deleted automatically after.
So now, we install the module in the administration. So you would see:
1. Extract File ./Sources/ManagePaid.php
2. Extract File ./Themes/default/ManagePaid.template.php
3. Extract File ./Themes/default/languages/ManagePaid.english.php
4. Extract File ./subs/ipn.php
5. Extract File ./subs/worldpay.php
6. Extract File ./subs/paypal.php
7. Extract File ./subs/nochex.php
8. Extract File ./subs/2co.php
9. Extract File ./subs/authorize.php
10. Execute Code paidsubsdb.php
11. Execute Modification ./index.php Test successful
12. Execute Modification ./Sources/Subs.php Test successful
13. Execute Modification ./Sources/Profile.php Test successful
14. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
From there, you know all the /Themes/default/* files are all copied into the default theme directory and those are the files you would need to make it work. (we'll do this in a later step)
So now, we hit install. It should be successful, but than you probably don't see the Paid Subscriptions link between Registration and Ban List.
That's fine! It installed, thats the key.
Next, taking an FTP, go in and download the following:
/Themes/default/ManagePaid.template.php
/Themes/default/languages/ManagePaid.english.php
/Themes/default/languages/Modifications.english.php
Upload those files according to the directory structure back into your template. BUT! Don't upload the Modifications.english.php yet!
Rename it to like Modifications.english2.php or something, download the Modifications.english.php within your Themes/YOURTHEME/languages/
Now, pretty much you need a little knowledge of coding, just compare the two, and merge them into one file.
Upload that file, and you should be able to see "Paid Subscriptions".
Yay!
Now, we might not be done, because some of you have tried to install this file multiple times, it actually wrote to the "Profile.php" in the /Sources/ directory so when viewing a profile, you might get an unexpected error.
So what you have to do is go open up the Profile.php, and chances are there would be a duplication of subscriptions() lines, or subscriptions. And there would be multiple "Now for the real subscription" comments, well, you have to search and compare, and delete the ones that are duplicated. Some have told me that deleting the first subscription duplication solved it already, but I deleted it all.
So do a CTRL+F (Find) and look for "Subscriptions". If they have 2 lines that are identical, remove one of them. BUT please make a backup before you do this incase you screw something up.
That's it!
Enjoys!
If you are still having problems, before installing. Make anything related to *package*.php inside the source directory all CHMOD 777.
Hmm.... strange i still can't get it to work :( :(
I repeated the whole process 3 times. Each time i even deleted the whole smf board and then reinstalled it as a clean installation... I guess that i couldn't make something wrong if i repeated it 3 times... Anyway, thanks for your detailed guide, it will probably be of use to someone else. By the way i downloaded few templates from smf site and not a single one of them didn't have Modifications.english.php?
The problem im having is that it just wont accept talk back from paypal. All the installation goes fine , i have option to enter paid subscription in profile. After i complete a subscription and pay it via paypal . I then return to the site and the member status has not changed nor has the site picked it up. This is with the default theme, does anyone have any idea atall what is wrong?
I would just like to say thanks this mod is great no problems so far. I have 2 questions
1. How can I edit the Confirm Payment page where you hit the order with paypal button. I would like to add some more info to that page
2. Is there a link I can use to bring people to there subscription page so they dont have to look for it in there profile??
Hmm. Mine is working, but I'm getting *lots* of undefined index errors for allow_edit_subscriptions.
I'm using the default template, and have put allow_edit_subscriptions in the global declarations, but it won't stop.
Anyone have any ideas?
Hi
I am trying to install this mod and is having problems with it. The install shows successfully completed. But i cannot see the option admin panel. on looking at the log, there is the error message it gives:
Apply Filter: Only show the errors with the same message
8: Undefined index: paid_subscriptions
File: /home/faruki/public_html/Sources/Subs.php
Line: 2806
Line 2806 is:
$context['admin_areas']['members']['areas']['paid_subscriptions'] = '<a href="' . $scripturl . '?action=paidsubscribe">' . $txt['paid_subscriptions'] . '</a>';
I am using SMF 1.13 and the latest version of this mod.
Can anyone help ?
Thanks
Sorry for the formatting, but my copy paste messed this up, I fugure these points will make it easier for others to do this install:
0) Backed up my DB
1) Went to the package manager and copied in the URL of the
paid subscriptions mod...didn't work, got this error:
The package manager currently allows only these file types:
zip, tgz, tar.gz.
2) Dowloaded paidsubs_v0.18.tar.gz from
http://custom.simplemachines.org/mods/index.php?mod=413
Why? Because it looks to me that SMF 1.1.2 with the mod version
18 is the most "stable."
3) Package uploaded successfully
Package has been downloaded successfully
Paid Subscriptions [ Apply Mod ] [ List Files ]
...makes me laugh...both upload and download are successful!
4) Clicked Apply
--filled in my login info automatically and asked me for my
PSWD, which I typed in and pressed (I can't remember the name
of the button) Submit or something
5) This screen came up:
Apply Mod
Please remember to always make regular backups of your sources
and database before installing mods, especially beta versions.
Installation Readme
This modification is currently in beta - do not use it unless
you are sure you know what you are doing!
This modification will add the ability to charge users a
subscription to join a membergroup for a defined period of
time.
Currently this only works with paypal, and maybe
worldpay/authorize.net. To install simply run the modification
and then enable the mod from the Settings tab in "Paid
Subscriptions" from the admin center.
Note for paypal to work you need to setup your account to
direct your IPN to this script. To do this login to paypal,
click "Profile" and then select the "IPN" link from merchant
tools. Enter the URL of your forum, and then the subs/ipn.php.
For example:
http://www.simplemachines.org/community/subs/ipn.php
This is required for paypal to notify the forum that the
payment was received.
Written By Matthew Wolf (a.k.a Grudge) -
[email protected]http://www.mymods.co.uk
Copyright 2005 - 2006 - Neither this package or any of it's
contents may be distributed without authorisation.
Install Actions
Installations actions for "Paid Subscriptions":
Installing this package will perform the following actions:
Type Action Description
1. Extract File ./Sources/ManagePaid.php
2. Extract File
./Themes/default/ManagePaid.template.php
3. Extract File
./Themes/default/languages/ManagePaid.english.php
4. Extract File ./subs/ipn.php
5. Extract File ./subs/worldpay.php
6. Extract File ./subs/paypal.php
7. Extract File ./subs/nochex.php
8. Extract File ./subs/2co.php
9. Extract File ./subs/authorize.php
10. Execute Code paidsubsdb.php
11. Execute Modification ./index.php Test successful
12. Execute Modification ./Sources/Subs.php Test
successful
13. Execute Modification ./Sources/Profile.php Test
successful
14. Execute Modification
./Themes/default/languages/Modifications.english.php Test
successful
6) Clicked "Install Now"
7) This info comes up:
Extracting
Extracting Package
The package was installed successfully. You should now be able
to use whatever functionality it adds or changes; or not be
able to use functionality it removes.
8) I now have:
Members
Members
Membergroups
Permissions
Registration
Paid Subscriptions
Ban List
9) Clicked on Paid Subscriptions to check things out and this
came up:
Paid Subscriptions
From this section you can view all the subscriptions you have
available.
View Subscriptions Settings
An Error Has Occurred!
You have not setup your currency yet. Please do so from the
settings menu before continuing
10) Would love to have documentation on what to do. Is that 27
page post all that there is regarding documentation?
10a) Do I search for documentation?
10b) Do I just set up my currency as the error message requests
and see what happens?
hmmm....
10.c.1) Searched for "subscription mod documentation" and found
this:
http://www.simplemachines.org/community/index.php?topic=132515.0
10.c.2) Searched for "subscription mod install guide" and
didn't find anything...
...so I'll go with the 27-page behemoth and just set my
currency according to the error...
11) Clicked "Settings" under "Paid Subscriptions"
12) Clicked "here" in the sentence
"You can edit the link for paypal directly, by clicking here."
12a) was prompted to log in to my paypal account and I clicked,
I think it was "edit," I'm not hitting the back button on my
browser now! This PayPal Screen came up:
Before activating Instant Payment Notification, please read the
instructions to ensure that you can support the notification
system.
Instant Payment Notification integrates PayPal payment
notification and authentication with your website's back-end
operations. Check this box to activate Instant Payment
Notification, and enter the URL at which you will receive the
payment notifications below.
12b) opened the instructions in a new tab, but I don't really
care aboutht that right now, and oh...it's 82 pages...maybe
later!
12c) Checked the box to active IPN and added the URL from the
sentence "For all payment types, this return URL should be set
as:" in "SMF | Paid Subscriptions | Settings" to the URL field.
12d) got this confirmation:
Instant Payment Notification Preferences
Back to Profile Summary
You have successfully activated Instant Payment Notification.
PayPal's Instant Payment Notification (IPN) allows you to
integrate PayPal payments with your website back-end
operations.
Instant Payment Notification (IPN) On
Instant Payment Notification (IPN) URL:
http://.../subs/ipn.php
13) "SMF | Paid Subscriptions | Settings" I checked Enable Paid
Subscriptions, input my Email for Correspondence, left Send
Notification Emails on "Do not send any notifications", and
entered my PayPal email address.
14) Clicked save and although the screen blinked, it looks like
nothing happened. There is no confirmatoin screen. I'll see
what I can see...
15) When I click on "Members | Paid Subscriptions" I get "You
haven't set up any subscriptions yet."
16) Now I need to figure out how to a) get a PayPal button that
puts members into a specific group on the forum (or in some
other way allows me to separate the paid folks from the
non-paying folks).
17) Clicked "add subscription" just to see what I could see...
18) Have to stop for now, because I need to take care of my
baby daughter for a while...
So, #16 is open for me, and I started reading this thread from
p.1, but I've got to go for now.
OPEN QUESTION:
Now what do I do? I'd like to have a button that asks users to
pay (in this case it will be $1.50), and then they need to have
access to a particular board, or need to be a part of a
group...or whatever so I can separate the paid content from the
unpaid content. Ideally, the $1,50 would buy them access for
one year, which would then expire and maybe even give me
notification options for the email that would be sent to the
"now" member in one year.
Well...things were going so well. I just bought a subscription from myself to test, and I just set things up in Paypal in a way I thought was logical.
I've tried letting PayPal create the username and password, and although the payment goes through, the subscriber does not get a username or password in the payment email.
I tried doing it without the username and password, thinking that the subscriber would be allowed to subscribe somehow, and that I would designate such subscribers as being part of a specific group. Such payments also go through, but alas... I have no info as to how to make the subscription work for the subscriber in SMF.
Also, although I turned IPN on in paypal, even though I made the above 2 payments, I don't see any subscribers in "Paid Subscriptions | View Subscriptions"
Anyone have instructions for how to set up the PayPal buttons so that they communicate with SMF properly once the Paid Subscriptions mod is installed and working?
Best,
Dainis
Carried out the installation exactly as yourself , which to me seemed the logical way to install ::). And like yourself i am experiencing the same error's
Hmm...I don't see this as an "error," everything installed flawlessly...I just can't figure out where to put the secure content and what instructions to give my visitors so they can pay for the content and access it.
Dainis,
You will need to create a membergroup and forum board, and assign the forum board permissions for access only by that membergroup.
Once you set up a payment system, you activate it, and in the User Profile, near the bottom of the left side, Subscription or something like that will pop up.
What I have done is installed the User Control Panel Mod and create a new link within it, including a big dollar sign graphic. If you use this method, your instructions could go under the Dollar Sign in the USER CP, but you may also need to leave a news item or something.....
I created a category called "Charter Member Area." I also added a board within that category for the paid info. I created a membergroup called "Charter Members."
I don't know what to do from here.
Next you need to go into the admin of Paid Subscriptions and set up the paid area, including Activating it.
What ive done is installed it , and set it so that when a user pays a subscription they are changed to a donated member. Which ive created in member groups, but everytime i make a subscription the user is not being changed into the donated member group. Any idea why?
is the PayPal IPN in the proper location? like in subs directory I think..... Is PayPal getting the money?
Make sure you test it with PayPal Sandbox first.
Ipn file is in the correct directory, paypal are getting the money. Just like there is no talk back, if i do it manually it works. Ie if i go into someones account and select a donation for them and fill it in, there group is changed. I never tested it using sandbox method? , would that make a difference?
QuoteNext you need to go into the admin of Paid Subscriptions and set up the paid area, including Activating it.
--went to
Paid Subscriptions | Settings Here are my settings:
Enable Paid Subscriptions:
checked
Email for Correspondence:
filled in
Send Notification Emails:
Chose "Do not send any notifications"
Paypal email address:
filled in
WorldPay Install ID:
left blank
WorldPay Callback Password:
left blank
Authorize.net Install ID:
left blank
Authorize.Net Transaction ID:
left blank
2co.com Install ID:
left blank
2co.com Secret Word:
left blank
Nochex email address:
left blank
Select Currency:
Currency Code:
USD ($)
Enable test mode:
left blank
I've already paid myself through PayPal twice. I click on the buy now button, pay, and nothing happens in the forum.
a) Do I need to do anything else in my SMF configuration?
b) What's the user procedure?
For example, do users already need to be members, and then they pay, and then they get access to a specific board/category?
I've already set up a Category with a board in it that only "Charter Members" have access to, but I don't know how to get the paid subscriptions people into "Charter Members" ::).
In short, what procedure am I supposed to follow to set things up from here, and what procedure are my visitors supposed to follow?
Best,
Dainis
First thing, I'd like to thank you for the development of this package. Was considering purchasing aMemberPro, which would have set me back over $100 to handle this, and I believe that your mod is going to handle what I need it to. So I really appreciate it.
Anyway, I got a couple of errors tonight that I'm wondering if you could enlighten me on. The mod e-mailed me this (actually, there were two of them, three minutes apart):
QuoteAn error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Unknown transaction type in ipn.php
When I go and check the forum error log, I get:
QuoteGuest Today at 01:16:36 AM
IP address 66.xxx.xxx.66 bbaf3517dd73660c47f37e44e6b7024e
URL http://xxx.xxxxxxxxx.com/index.php
Unknown transaction type in ipn.php
The way I have my forum set up (this is actually a sub-domain of my main forum, but is a paid section), a user registers and gets assigned to a special membergroup called "Restricted - Not Paid". The only thing that user group can do is now see a banner (it's the only membergroup that CAN see the banner) asking them to sign up. Clicking on this takes them to the signup page and everything continues as planned.
I have been using the mod for about a week and haven't had a problem one that I haven't been able to iron out. In fact, from start to finish, it was pretty simple and didn't have too many wrinkles. So congratulations on that.
So what do you think caused the error? What puzzles me is that it's showing it as a guest, but a guest can't even get to the signup page.
I did have one thought: my PayPal account is fairly active, and I use it for a number of things other than the forum. Since I have turned on my IPN, does that mean that every single transaction that comes through on it, even if it didn't originate from my forum, shoots something to the forum, thus causing an error, and if so, is there anyway to filter that on the PayPal side? Just wondering since this is the first time I've used IPN.
Thanks in advance for the help.
As Always,
Frail
A member just suggested a new feature for this mod...
GIFT subscriptions... the ability for members to pay for others paid subscriptions. Personally, I think it's a great idea, and could use it right away :)
I have had this mod installed for quite some time and it IS AWESOME. I am sorry to hear some people are having troubles installing it! I wish I could help, but I am not an expert php programmer.... yet.
If you need guinea pig for this idea, I am waiting for your email lol lol lol
THANKS for a GREAT mod.
digit.
Hey Dainis,
I've been following this thread like an old Sherlock Holmes novel, and you did a great job of leaving us with a cliff-hanger :o
So tell me, how does it end?
Have you figured out #16 yet?
Don't hold out on us now ;)
C Chaplin
ps - You've also done a great job of chronicling your steps. Thanks!
OK, I'm an idiot, so somebody please tell me... what's the difference between the files with .16 in them, and the .16DE ones. Which is the correct one to be implementing?
Quote from: Grudge on August 13, 2006, 06:13:38 PM
MrCue,
Yes - that makes much sense.
digit,
Bugger - that whole operation *should* be ignored. I wonder whether it was a bug fixed in RC3? You can hit continue if that's the only problem - that file is only there to let it install on the development edition (i.e. SMF after 1.1)
DE =Developer Edition (SMF 1.1 at that time)
I can't find any reference to this issue here.
In the db table smf_log_subscribed, the vendor_ref field is blank on all except 4 early records (not the first). There seems to be no way to link a payment with a PP id.
I have been running this mod for months and it seems to work fine (PP only) except for this, and I don't think any reminders are ever sent.
Anyone solved this?
grudge, thank you for a great mod - this has worked flawlessly for me from install, and has saved me tons of headache and manual work.
I have a question, maybe someone can answer this - is there any way to include a "Comments" field on the PP screen through this mod, or is this something that has to be done on the PayPal end? In Profile, under the "Payment Receiving Preferences" I have this:
Display "Add Instructions to Seller" text input field:
X Yes
No
With the "Yes" selected, but there no such text input field appears to those paying for subscriptions.
There's somewhere we need to put our e-mail in, right? Where? I can't find it...'
Also, I couldn't find this in $sourcedir/Admin.php
<search for>
if (allowedTo('manage_bans'))
$context['admin_areas']['members']['areas']['ban'] = array($txt['ban_title'], 'ManageBans.php', 'Ban');
</search for>
Dammit, now I have real problems... shoulda just left it on 0.16 ;)
This happens when you click on Paid Subs in your profile:
Quote
Fatal error: Call to undefined function: () in /home/mazda3/public_html/Sources/Profile.php on line 2947
2947 is the $request line:
// Load all subscriptions
$request = $smfFunc['db_query']('', "
SELECT id_subscribe, name, description, cost, length, active, repeatable
FROM {$db_prefix}subscriptions", __FILE__, __LINE__);
$context['subscriptions'] = array();
while ($row = $smfFunc['db_fetch_assoc']($request))
Ideas please?
Huh. I installed 0.18, set up my Paypal account and my email address, created a subscription and everything worked out of the box. I've had no problems with it.
What I do get is an error that is generated as follows:
Many of my subscribers use a different email for Paypal from what they use in the forum, and because of that, when they subscribe, the following error is created in about 60% of the subscriptions I get:
==================
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Paid subscription handler could not find subscription for member ID: 1, subscription ID: 575
==================
Could a modification be made that allows for them to have that separate Paypal email address?
Quote from: meadwench on August 14, 2007, 01:18:33 PM
What I do get is an error that is generated as follows:
Many of my subscribers use a different email for Paypal from what they use in the forum, and because of that, when they subscribe, the following error is created in about 60% of the subscriptions I get:
==================
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Paid subscription handler could not find subscription for member ID: 1, subscription ID: 575
==================
Could a modification be made that allows for them to have that separate Paypal email address?
I'm fairly certain that isn't your issue... I'm pretty sur ethey don't have to use the same e-mail address... but someone correct me if I'm wrong.
Quote from: drhamad on August 14, 2007, 01:14:22 PM
Dammit, now I have real problems... shoulda just left it on 0.16 ;)
This happens when you click on Paid Subs in your profile:
Quote
Fatal error: Call to undefined function: () in /home/mazda3/public_html/Sources/Profile.php on line 2947
2947 is the $request line:
// Load all subscriptions
$request = $smfFunc['db_query']('', "
SELECT id_subscribe, name, description, cost, length, active, repeatable
FROM {$db_prefix}subscriptions", __FILE__, __LINE__);
$context['subscriptions'] = array();
while ($row = $smfFunc['db_fetch_assoc']($request))
Ideas please?
Quote from: meadwench on August 14, 2007, 01:17:01 PM
Huh. I installed 0.18, set up my Paypal account and my email address, created a subscription and everything worked out of the box. I've had no problems with it.
Could you tell me what else is around the edits to Admin.php? I have code missing there, I believe, and perhaps that's the error... though I doubt it.
Quote from: drhamad on August 14, 2007, 01:20:43 PM
I'm fairly certain that isn't your issue... I'm pretty sur ethey don't have to use the same e-mail address... but someone correct me if I'm wrong.
Interesting. Because they can't subscribe unless they're registered, and so far about 70% of my subscribers go through with no issues at all. So I'm at a loss why the ones that are using a Paypal addy that is different are getting errors.
The code around line 213 in ipn.php reads:
if (!empty($modSettings['paid_email']))
paidAdminEmail($txt['paid_error_subject'], $txt['paid_error_body'] . "\n" . "---------------------------------------------\n" . $text);
So it looks like it *is* pulling the email from Paypal, and if that email is different than the email they registered with, it will return an error. What I don't know is how to alter this so it looks for the registered email......
Like I said, could be wrong... I apologize if so... I haven't looked into it too much. And heck, right now, mine isn't even working (it used to), so take what I say with a grain of salt ;)
I'd suggest completely removing the version of Paid Subs you're using now, and try a clean re-install. I know it works, so there must be something you missed in installing. Are you doing a manual install?
Quote from: meadwench on August 14, 2007, 02:10:24 PM
I'd suggest completely removing the version of Paid Subs you're using now, and try a clean re-install. I know it works, so there must be something you missed in installing. Are you doing a manual install?
Yeah, I was manually going from 0.16 to 0.18.
I *know* I'm missing the code that goes in Admin.php, because I can't find where it goes - if you have a chance, any chance you could show me a bunch of the code before or after it?
Still, it's strange that a function isn't defined...
The code says:
<search for>
if (allowedTo('manage_bans'))
$context['admin_areas']['members']['areas']['ban'] = array($txt['ban_title'], 'ManageBans.php', 'Ban');
</search for>
<add after>
if (allowedTo('admin_forum'))
$context['admin_areas']['members']['areas']['paidsubscribe'] = array($txt['paid_subscriptions'], 'ManagePaid.php', 'ManagePaidSubscriptions');
</add after>
So I'd look for that.
Yeah, that's the problem - I don't see that anywhere.
ok I just grep'd it, found the paidsubs line (from v0.16) in Subs.php, not Admin.php, although it isn't exactly the same. Doesn't make much sense. I grep'd it, and the only place allowedTo('manage_bans') is is in Subs.php, not in Admin.php
The 2 files in the mod that have the file modifications are paidsubs_v0.16.mod, and paidsubs_v0.16DE.mod. That is where I found that info. The first file doesn't modify admin.php, and the second file does.
Quote from: meadwench on August 14, 2007, 03:34:03 PM
The 2 files in the mod that have the file modifications are paidsubs_v0.16.mod, and paidsubs_v0.16DE.mod. That is where I found that info. The first file doesn't modify admin.php, and the second file does.
My understanding is that the DE file is the one we should be using for v1.1, no?
Also: I just looked through the 0.16 (non-DE) file - I think this will solve my undefined function problem too. But now I'm confused, I thought DE was the one to use... which one is which? What is the difference?
I don't know. You should probably ask Grudge, since he wrote the program. I installed mine using the installer, so I didn't have to make that decision.
about to go live with this mod
smf is 1.1.3 theme is default for now
however the prob i have is after testing with sandbox the user name i used to test with did not get the account upgraded auto...is this because sandbox does not upgrade accounts on the forums? and if so will it auto upgrade when live?
this question may have been asked on here already but thats alot of pages to read
any help please
thanks
flint
p.s.
suggestion to smf: make a forum for this mod for help and to develop it more? (fantastic mod)
Quote from: meadwench on August 14, 2007, 03:52:42 PM
I don't know. You should probably ask Grudge, since he wrote the program. I installed mine using the installer, so I didn't have to make that decision.
Last night I switched over the 0.16 non-DE file, and everything works fine now. So that's good at least ;)
Does anyone have any idea how to disable auto-renewing for subscriptions that have already selected it? We've changed paypal accounts, but those who've selected auto-renew options aren't directed to the new PP account, but to the old one, and that's no good.
Any help on this would be appreciated!
Is this the mod that is being used in our profiles here?
@lekter as far as i know yes but a better more well kept version.
Now that the Joomla/SMF bridge is busted... I need a way to collect subscriptions and am looking at this.
If I were to install this, what version would I need to install? I am running SMF 1.1.3
Thanks
Adam
Another question...
Will I be able to go in and set up my existing paid subscribers? I have about 300 paid subscribers already with various end dates on their existing subscription. If this was going to be "a solution" that would automatically handle this... I'd have no problem at all creating the 300+ custom changes.
Adam
@bump -- what is the status? Is it still actively developed? Anyone know if it works with JSMF Bridge 2.2.2.1?
Looking for something that isn't going to leave me hanging once I get dependent on it.
Is it possible to use this mod with more than one site? I notice that I have to set an IPN return URL, and I think PayPal only lets me pick one url for all payments/subscriptions.
update: it does look like IPN supports the "notify_url" parameter in the subscription request...perhaps a good mod to this code is to let us define in the SMF interface the URL to use...otherwise, from within paypal, I can only define one return url.
Look on page 30 of the IPN pdf from PayPal's site.
The problem im getting now is when a user subscribes it says pending payment, even when i have received the payment via paypal.
Hi
Just downloaded this MOD and tried to install via package manager.
filling out the ftp username/password and got this error message
Quote550 /home/.pascha/XXXXXXX/XXXXXXX.com/smf: No such file or directory
i didnt put the path in, the path address just appeared itself. I'm fairly sure the path itself is correct but no idea why it wont work
what am i doing wrong?
many thanks
Wesleyuk
Path is relative when using ftp.
so if you should try "/XXXXXXX/XXXXXXX.com/smf" as the path since your initial login is the /home/username directory.
Quote from: chovy on August 29, 2007, 09:11:23 PM
Path is relative when using ftp.
so if you should try "/XXXXXXX/XXXXXXX.com/smf" as the path since your initial login is the /home/username directory.
it's working now, thank you very much :)
Hello Grudge,
I have installed your Mod on SMF 1.1.3. I think it's all ok ok, but the menu link on Profile user page appears only on my profile (as Administrator) and not on the other ones (of other registered users): why?
Did I miss some settings?
In addition, if I try to subscribe by my Profile page, the system doesn't work (I'd like to test if the system works).
Thank you for your reply.
I decided against using this as it was more trouble than it's worth.
Now that PayPal handles subscriptions I just dropped a button on my site for this and do the subscription part.
PA
hi mclane,
thanks for your reply.
But how did you make the subscription part? I would like to assign some permissions to view some parts of my forum under payment. Is this the same necessity as yours?
If yes, where did you locate your Paypal button?
Many thanks
Roberto
We do it manually... PayPal's new subscription feature will update you when people either pay or don't pay.
Here's how our payment page looks:
http://www.ymexchange.com/Store/Premium-Subscription.html
Peace,
Adam
this mod should have a field for notify_url, rather than requiring us to set it in our PP account.
Quote from: chovy on September 21, 2007, 02:15:15 PM
this mod should have a field for notify_url, rather than requiring us to set it in our PP account.
chovy, the question asked of me was a little off topic. They were asking about how I bypassed the need for this module.
PA
maybe now it was... still it should have the notify_url set by the software, not the PP account (and I did pose this question in this thread earlier).
I apologize for jumping in the middle here.
I totally agree. If this was a more complete offering I would implement it. But I'm seeing some folks with a lot of struggles and I don't want trouble. I think I will later implement this, but not yet.
PA
we're talking about the subscription_mod right?
Yes.
PA
Quote from: mclane on September 21, 2007, 01:59:57 PM
We do it manually... PayPal's new subscription feature will update you when people either pay or don't pay.
Here's how our payment page looks:
http://www.ymexchange.com/Store/Premium-Subscription.html
Peace,
Adam
Mclane,
compliment for your website ! Did you use Joomla and the bridge for SMF? Probably I will implement subscription as in your website.
Thanks
Regards
Roberto
We were bridged between Joomla/SMF until recently. (See the break-up of that story in the bridge discussion)
That page is actually a work-around because the bridge no longer works.
Thanks for the compliment!
PA
Quote from: chovy on September 21, 2007, 02:15:15 PM
this mod should have a field for notify_url, rather than requiring us to set it in our PP account.
Ehm...what?
joomla is that a good site i may just learn how to use it
Quote from: lawnmowertech on September 22, 2007, 09:45:32 PM
joomla is that a good site i may just learn how to use it
Thanks! I appreciate the compliment.
PA
Hi Guys Great Mod By The Way
I was having a few problems with this mod and the XD-Nova theme. when paid sub and paid sub in your admin and profile were not showing up. How i resovled this issue was with the Mod.index.php of the xd-nova theme. i just replaced the xd-nova theme mod.index.php, with the default one and bingo problem sovled.
i know this is very simple to do but i thought i might want to post this for the people who struggle installing mods ;)
- red
Alright.. after a few hours repeating problems and such. here's whats happening to this and answers to those looking.
1. If you don't have the paid subscriptions in your profile. It means you didn't install it properly. Try again or install it manually. The Install Needs FTP access as well if anything. You're better off attempting to install it manually if the package installer failed.
2. If you get this error " Unknown transaction type in ipn.php " with paypal - This is due to the fact that you didn't use your MAIN paypal account email address to the Settings in the Paid Subscription for Paypal. Paypal throws the Main Account Email back to IPN.php - if it doesn't match - that error shows up.
3. Now the date issue.. I couldn't figure out how to fix this... but... i was able to see what it was NOT doing. The $Endtime field in mysql is not getting updated ... SMF throws all the other fields to Mysql but the Endtime field. Maybe Grudge or someone can tell me where to go to FORCE the mod to send the endtime to mysql?
Environment:
SMF: 1.1.4
SUBS: latest one : .18?
MqSql: 5.0
PHP : 5
OS: Linux
Thanks in advance!
Quote from: Grudge on August 12, 2006, 06:09:49 AM
Link to Mod (http://mods.simplemachines.org/index.php?mod=413)
This modification is currently in beta - do not use it unless you are sure you know what you are doing!
This modification will add the ability to charge users a subscription to join a membergroup for a defined period of time.
Currently this only works with paypal, and maybe worldpay/authorize.net. To install simply run the modification and then enable the mod from the Settings tab in "Paid Subscriptions" from the admin center.
Note for paypal to work you need to setup your account to direct your IPN to this script. To do this login to paypal, click "Profile" and then select the "IPN" link from merchant tools. Enter the URL of your forum, and then the subs/ipn.php. For example:
http://www.simplemachines.org/community/subs/ipn.php
This is required for paypal to notify the forum that the payment was received.
Ehi Grudge,
compliment for your Mod...but it works only with US $ (even if I select EUR or other currencies): why?
I can't select currencies other than US $, but I would like the system to work with Euros too or other currencies too !
Thanks for your reply (or anybody who want to help me)
Something I noticed as well... You can delete any subscriptions Unless the Status is ACTIVE. Can't delete if its pending or Finished.
i cant install this on 1.1.4 .. any updates?
when i go to input the FTP info it wants before it installs it it just reloads the page and doesnt do anything ..
Thanks
Hey,I didn't havetime to read through the whole thread, but is there anyway to allow them to pay to E-gold? I can't have a Paypal account since I'm only 16, so I use E-gold. Any help on this would be vey much appreciated :)!
capabmx... No egold in this version.
Grudge...
Since you first released this mod have you now added in support for the notify_url variable so one doesnt have to use setting at paypal? I have another OLD script that uses that setting at paypal .
Paypal lets you now add into the button / subscription code the notify_url variable to tell paypal where to post back to. It by passes the url setting at paypal.
Next question is will the user be downgraded if their subscription doesnt renew because of failed payment and when it attempts to bill them again and is successful will it upgrade them back?
Thanks,
Richard Wing
hey, I got a paypal account, and set this up, now this might be a retarded question and I apologize :'(, but does this allow them to pay with credit cards to my paypal account, or does this just let them pay via paypal?
nice script...seems to work ok, however, since upgrading to 1.1.4, I keep getting this error sent to my email:
QuoteAn error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Unknown transaction type in ipn.php
apparently, it keeps happening when a subscription is ordered or renewed. Consequently, I have to manually update their subscription or add them to the subscription list manually. Before I upgraded to 1.1.4, this didn' t happen, it worked flawlessly.
Any ideas? upgrades?
thanks for your time in making a great script,
david
Guys, Grudge has been good enough to take on an important role in the making of the core of SMF and has offered his mods to be taken over as he no longer has time to support them...so far they have not been (or at least I don't know of any that have) thus this mod is essentially unsupported and is not being updated.
Quote from: TrueSatan on October 12, 2007, 10:33:24 AM
Guys, Grudge has been good enough to take on an important role in the making of the core of SMF and has offered his mods to be taken over as he no longer has time to support them...so far they have not been (or at least I don't know of any that have) thus this mod is essentially unsupported and is not being updated.
fair enough, sounds like a challenging task at hand.....thanks
I've installed this and it works great. One thing though, how do I create an external link directly to the profile > paid subscriptions page for people to sign up. I'd like to have a subscribe button in my main navigation.
Thanks,
Roger
Can members who use this mod please let me know if the subscriptions auto renew? Does it use the paypal subscriptions feature or do they have to remember and renew on their own?
Thanks,
Richard Wing
Quote from: Roger on October 31, 2007, 11:57:02 AM
I've installed this and it works great. One thing though, how do I create an external link directly to the profile > paid subscriptions page for people to sign up. I'd like to have a subscribe button in my main navigation.
Thanks,
Roger
Roger , use a link like this . http://www.MyDomain.co.uk/SMF/index.php?action=profile;sa=subscriptions
Obviously you will need to create a menu button that will redirect the user to that link..
I have an error:
Unknown column 'reminder_sent' in 'field list'
File: /var/www/html/saff/Sources/ManagePaid.php
Line: 912
when I change manual pending payment members.
or a renewing of an existing member
This is after a migration of the forum script and using the newest mod.
Any suggestions?
I added to two fields in the table
email_complete and reminder
fixed the problem by reinstall the modification.
Quote from: Roger on October 31, 2007, 11:57:02 AM
I've installed this and it works great. One thing though, how do I create an external link directly to the profile > paid subscriptions page for people to sign up. I'd like to have a subscribe button in my main navigation.
Thanks,
Roger
for the default theme....
find...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
add after...
global $ID_MEMBER;
find...
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];
add to the array...
'donation',
add to your menu...
// Send donation ...[donation]
if (!empty($modSettings['paid_enabled']) && ($context['user']['is_logged']))
echo ($current_action == 'donation' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'donation' ? 'active_back' : 'back' , '">
<a href="' . $scripturl . '?action=profile;u='. $ID_MEMBER .';sa=subscriptions">' . $txt['donation'] . '</a>
</td>' , $current_action == 'donation' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
-snork13
new problem, all new donations will setup the member as a pending payment, I read this problem before, but no solution, any suggestions?
using 0.18 on smf 114
You should update this mod for 1.1.4, it would come in real useful for people who have to pay people to pay for their domains.
It does work in 1.1.4 - I'm running it with no problems.
Likewise.
Quote from: Tony on November 30, 2007, 02:30:20 AM
It does work in 1.1.4 - I'm running it with no problems.
hi i installed the mod, it said installed successfully but i cant find the settings for it etc etc...please help me? and i dot know how to access it
Its under members in the admin cp, and right under registration. If it does not show, then you may need to manually edit.
its not there... can someone tell me how to isntall it again and manually edit it?
Gday Guys,
I was not able to delete members subscription if they were pending or finished. I dont know if this will stuff anything else up (no real error checking yet) but on line 697 find (in managePaid.php)
$request = db_query("
SELECT ls.ID_SUBSCRIBE, ls.OLD_ID_GROUP
FROM {$db_prefix}log_subscribed AS ls
WHERE ls.ID_MEMBER = $ID_MEMBER
AND status = 2", __FILE__, __LINE__);
and replace with
$request = db_query("
SELECT ls.ID_SUBSCRIBE, ls.OLD_ID_GROUP
FROM {$db_prefix}log_subscribed AS ls
WHERE ls.ID_MEMBER = $ID_MEMBER
", __FILE__, __LINE__);
If this shouldnt be done, maybe one of the experts on this mod can help out.
CHeers,
-- Zemond
G'day Guys,
I also had problems with the End Date coming up as 1970, don't know what the cause was but it only happened to people using 'other' as currency code. someone said change one of the already made currencies to whatever it is you want. I still had problems with this but if you go into the db and in the settings table find currency_code and change it there it will work fine. I'm using AUD with no problems now.
Cheers
-- Zemond
Hello,
I have a problem, here is my set up;
- Forums: http://www.fencecheck.com/forums
- No default membergroup
- Upon subscription member is put in "Subscriber" membergroup
- Created a button in upper right to subscription section
Problem
- Default member does not have access to subscription page, looks like something to do with permissions, but the permissions don't show any subscription settings
Any help is appreciated.
Roger
Hi,
Does anybody know whether can potential subscribers to my service sign up for my forum and at the same time paying their subscription through the subscription mod for paypal? or is it sign up forum first, login to forum, then pay for subscription?
Working perfectly under SMF 1.1.4 with the exception of the denominations. I require AUD Australian Dollars. Has anyone figured out other denominations yet at all?
Cancel that, as soon as I enabled it, errors everywhere.
I am trying to install this mod on a test SMF (1.1.4) installed on my XAMPP localhost. I'm running into trouble here when it needs the FTP information. See attached screenshot.
SMF doesn't seem to be able to find the right directory via the FileZilla FTP services incorporated in XAMPP. Can I upload the mod to my live site, apply the mod thru the FTP/CHMOD process, then download the mod back to my test site and apply it? Or...... any other suggestions would be appreciated.
Thanks,
Roy
ODB Forums (http://odbhosting.net/forums/)
Try changing permissions on the package folder and creating a temp folder in that. Both should have permissions of 777. It should install then.
should the temp folder be: temp ???
Yes
I like to add some extra years to the subscription time, now it ends on 2010, where can I add this?
Quote from: qtime on December 30, 2007, 06:31:06 AM
I like to add some extra years to the subscription time, now it ends on 2010, where can I add this?
In Admin, click on calendar, there is a min and max value there, which is what this mod uses, example:
http://www.yoursite.com/forum/index.php?action=managecalendar;sa=settings (http://www.yoursite.com/forum/index.php?action=managecalendar;sa=settings)
Thanks a lot for the solution!!! I examined the paidsubscription mod, but could not found the data...
Quote from: FreeGeezer on December 28, 2007, 03:58:34 PM
I am trying to install this mod on a test SMF (1.1.4)
Thanks,
Roy
ODB Forums (http://odbhosting.net/forums/)
Sorry, I'm sure this has been posted somewhere but I can't seem to find it. How do you get it to work on 1.1.4? Is there a way to edit the .mod file or something to make it think that it is compatible with 1.1.4. I will back up my database just in case but could someone tell me how to make the mod think it can be installed even on 1.1.4?
Edit: Never mind, I figured it out. You don't have to modify anything, I just assumed that since it is for older versions, it won't let you use it on 1.1.4. I guess it will!
Is this the same mod used here for charter members?
On this site you mean ??? Yes I do believe it is but it would be a bit different than the mod that is for public download.
when will you have support for 1.1.4?
Paid Subscriptions mod already runs under 1.1.4 :)
Mine didnt, even after manual install
This is a great MOD! I'm so happy to see it. Thanks to Grudge and all the others who are helping with it.
However, I am hoping that later versions will add a way for us to manually add members to a subscription, because not all my subscribers may be able pay by credit card or Paypal. Most may just have to pay me manually. So it would be great if there is a manual addition of subscribers, and still be reminded when each subscription is about to expire.
Also, it would be great if people can subscribe at the registration page itself. Or at least have a subscribed membergroup at the registration page, like a one month or one day free subscription, and then later they could just subscribe to a longer term.
Good luck to Grudge and all the SMF developers!
Well... you can manually add them - go into the users profile and add the subscription.
It subscribes within their account.
Hi,
I try this mod in my local forum but I can't install it.
I receive an ftp permission error, but I set 777 permission for all file and I have installed other MOD...
P.S. Same whit treasury MOD. I'm on linux machine.
Yes this mod has many problems it appears but I believe it's something a lot of us need with our smf forums. Is there anyone in smf development that can take and improve this mod?
Well this mod is now part of 2.0 :).
Can you guys make a summary of the problem that you guys are having? I'll try to take a look and see what's up.
Firstly many seem to have had trouble installing as I. For myself, I ended up manually installing for 1.1.4. Only version that would work was 0.15, others did not at all.
2. The only available currencies are US, GBP & EURO. Other currencies are required (Australian for myself)
3. I receive Fatal Error: Call to undefined function: subscriptions() in /home/www/16airdefence.org/forum/Sources/Profile.php on line 365 when member clicks on Subscriptions. Been unable to fix this. Still trying.
More to come as I play with it.
#3 is tied to #1. Maybe you missed something on the manual install.
#2 - Need to see if other gateways support Australian currency and others.
This is a great mod and I have had zero problems
Can anyone please help me install this mod? I need it.
I got the ftp error, fixed that, now it just goes to a blank white screen when I click apply mod.
Any help appreciated.
Thanks.
QuoteThis is a great mod and I have had zero problems
snork, which version have you installed and was it on 1.1.4?
did it install through the package ok, mine reported errors on almost every file?
I ve persisted with this mod for well over a month because i believe it will be worth it and have had no success at all. I have installed and uninstalled 3 different versions manually hoping one will work but no joy. From the latest version to the earliest no joy, so ive been working my way up the versions in between lol.
Of course in the end it will be totally useless to me if i cant get AUD dollars
And Jay, I don't know, Ive checked, rechecked, uninstalled and reinstalled the manual installs many times
Doesn't the mod install on a fresh install?
Man o Man lol, this is what I received on a fresh install of 1.1.4 when adding the paid subs mod :
on initial upload, it wanted me to cmod folders but when i did it went back to the browse packages screen and this is what confronted me.
Quote from: Rafferty on January 29, 2008, 03:43:34 AM
QuoteThis is a great mod and I have had zero problems
snork, which version have you installed and was it on 1.1.4?
did it install through the package ok, mine reported errors on almost every file?
I ve persisted with this mod for well over a month because i believe it will be worth it and have had no success at all. I have installed and uninstalled 3 different versions manually hoping one will work but no joy. From the latest version to the earliest no joy, so ive been working my way up the versions in between lol.
Of course in the end it will be totally useless to me if i cant get AUD dollars
And Jay, I don't know, Ive checked, rechecked, uninstalled and reinstalled the manual installs many times
. Paid Subscriptions 0.17 , i then modded it a little to meet my needs, it running well with over 900 user signed in a day.
Quote from: Rafferty on January 29, 2008, 09:04:27 PM
Man o Man lol, this is what I received on a fresh install of 1.1.4 when adding the paid subs mod :
on initial upload, it wanted me to cmod folders but when i did it went back to the browse packages screen and this is what confronted me.
Is that the only mod installed?
Yes it was on a completely fresh clean install
Quote from: Rafferty on February 04, 2008, 04:42:34 AM
Yes it was on a completely fresh clean install
there are 4 uninstalls in that photo, if it truely is a clean install you wouldn't have that, you should only see the paid sub mod listed. check your package folder via ftp and remove everthing, then upload a clean package folder from a freshly downloaded install, check to confirm no packages are listed, then upload the paid sub mod.
When I try to apply the mod in package manager I get
"FTP Information Required - Some of the files the package manager needs to modify are not writable."
I chmod all the files in the .mod file to 666, and have even gone as far as to chmod the files in the install as 666 also just to see if that was where the error was...
I saw a similar issue, with 1 suggestion to change /Packages/tmp/ to /Packages/temp/ or similar, un the /Sources/Packages.php file, which i tried with no success, I have not seen a solution, though I admit I did not read every last page of the thread either...
Quote from: Kender on February 15, 2008, 10:54:21 AM
When I try to apply the mod in package manager I get
"FTP Information Required - Some of the files the package manager needs to modify are not writable."
I chmod all the files in the .mod file to 666, and have even gone as far as to chmod the files in the install as 666 also just to see if that was where the error was...
I saw a similar issue, with 1 suggestion to change /Packages/tmp/ to /Packages/temp/ or similar, un the /Sources/Packages.php file, which i tried with no success, I have not seen a solution, though I admit I did not read every last page of the thread either...
try 777, or 755 on some servers
Quote from: snork13 on February 15, 2008, 12:23:22 PM
try 777, or 755 on some servers
Okay, these are the files i CHMOD'd (777 and 755 both tested)
/Index.php
/Source/Admin.php
/Source/Profile.php
/Source/Subs.php
/Themes/default/languages/Modifications.english.php
I did not see any other files requiring change in the paidsubs_v0.16.mod file, the paidsubs_v0.16DE.mod file shouldnt affect the install,
Quote from: Kender on February 15, 2008, 10:54:21 AM
When I try to apply the mod in package manager I get
"FTP Information Required - Some of the files the package manager needs to modify are not writable."
I chmod all the files in the .mod file to 666, and have even gone as far as to chmod the files in the install as 666 also just to see if that was where the error was...
What you are saying is your chmod'ed the files of the Paid Sub. Mod. What this error is maybe saying to you is that the Packagemanager folder or the package.list file of your SMF install needs to be set to 777 or 755 on some servers. But maybe I misread your intentions...
Quote from: spottedhog on February 15, 2008, 01:01:39 PM
What you are saying is your chmod'ed the files of the Paid Sub. Mod. What this error is maybe saying to you is that the Packagemanager folder or the package.list file of your SMF install needs to be set to 777 or 755 on some servers. But maybe I misread your intentions...
I have gone as far as to CHMOD the following (755 and 777 for testing)
/Index.php
/Source/Admin.php
/Source/Profile.php
/Source/Subs.php
/Themes/default/languages/Modifications.english.php
Also, I have CHMOD'd the following (both 755 and 777 for testing)
/Packages/ (folder)
/Packages/paidsubs_v0.18/ (folder)
/Packages/paidsubs_v0.18/{all files} (every file in this folder - about 18 files)
After all of this testing, i still get the error about FTP information required, and when i try and fill out the ftp information form provided, it just refrehses to the same screen with no result.
I have also tried to use the Options tab on the Packages menu link, and change it to ALL FILES WRITABLE, it brings me to a FTP info needed form also, and when i insert info, it just refreshes with no result
Did you see a file named "installed.list" That one also needs to be 777. You only need to have the Packages folder set to 777 and the installed.list file set to 777. Anything else in there is for storage only.
As a last resort, you could do a manual install of the Mod. This is what I normally do because my webhost tends to put clamps down so tight the Package Manager does not work. :(
I tried CHMODing the package.list as well, same result
thanks for the idea, and the help, the folder was already set to 777
the package manager worked for every other mod except for felblog, which i am waiting on support for on their site (sql error there), and i installed several mods already, just this one is giving issue.
If i manually install, will it give me uninstall options, or pretend to still be uninstalled under package manager and list the apply mod link ?
A manual install will not show up on any lists.
Hello all. I've been using this mod for some time and it works really well. The only problem is that I'm getting a large number of error reports like these:
8: Undefined index: paid_subscriptions
File: /homepages/7/xxxxxxxx/htdocs/forum/Sources/Subs.php
Line: 2894
or:
8: Undefined index: paid_current
File: /homepages/7/xxxxxxxxx/htdocs/forum/Themes/default/languages/ManagePaid.english.php (eval?)
Line: 712
I'm using it with the ApolloBB theme. I've altered a couple of things to show the subscriptions button but, in this theme, I cannot see the Paid Subscriptions tab in the admin area though there is a space for it. It is visible in the default theme so is there something I need to add to the ApolloBB theme to see it in the admin area?
Any ideas?
Cheers
Grudge - here's a question for you mate. I know the new paid subs part of SMF2 is based on this mod. Are the two systems compatible, so I can easily upgrade to SMF2 and have no change to my subscribers?
Thanks,
m
FIX....
Created temp folder inside Packages folder
forumindex/Packages/temp
CHMOD that folder to 777
install perfectly
now... i have an issue, after manual install with 1 theme...
WoW-DK theme, by Panic (based off of Pn-Pn theme by koni)
when i apply the following ad locations, it destroys the template.. can i get fixes here, or do i need to go to template author, or will no one help me with this one?
undermenu
undernews
side right
side left
above copyright
Quote from: madfiddler on February 20, 2008, 07:37:41 PM
Grudge - here's a question for you mate. I know the new paid subs part of SMF2 is based on this mod. Are the two systems compatible, so I can easily upgrade to SMF2 and have no change to my subscribers?
Thanks,
m
yes, works great after upgrade to 2.0
-snork13
Quote from: madfiddler on February 20, 2008, 07:37:41 PM
Grudge - here's a question for you mate. I know the new paid subs part of SMF2 is based on this mod. Are the two systems compatible, so I can easily upgrade to SMF2 and have no change to my subscribers?
Thanks,
m
Also I updated the Authorize.net and 2CO api to work with 2.0. Not sure how they will be distributed though. We are only shipping SMF with PayPal for now.
did a heavy rewrite on the index.template.php file and got it going fine.... BUT
need some help, i would love to get this working with my SSI pages, what do i need to add to the include statement to get it to work?
I put in the FTP info and no luck it is not going anywhere I changed the setting to 777 on the files I was suppose too any idea?
Quote from: JayBachatero on February 21, 2008, 03:23:31 AM
Quote from: madfiddler on February 20, 2008, 07:37:41 PM
Grudge - here's a question for you mate. I know the new paid subs part of SMF2 is based on this mod. Are the two systems compatible, so I can easily upgrade to SMF2 and have no change to my subscribers?
Thanks,
m
Also I updated the Authorize.net and 2CO api to work with 2.0. Not sure how they will be distributed though. We are only shipping SMF with PayPal for now.
OK, thanks Jay
I have installed and enabled paid subscriptions on my board (1.1.4 + Mystic Jade TP theme) and I cannot seem to find where I can actually make these subscriptions appear or where I can link to them. I have searched this thread and the forums, and found users saying that they have enabled subscriptions under certain spots, ie.
"undermenu
undernews
side right
side left
above copyright"
Where can I find the menu/how do I enable or make my subscriptions show up under those locations?
by default, the subscribe link is on the members profile page, last link under Modify Profile section
you can add the link to other spots on your forum by adding the link added to the $sourcedir/profile.php
something like... // Now the real paid subscription. lines
this mod work with smf 1.1.4?
perfectly
i always get an error with my paypal subscriptions
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Unknown transaction type in ipn.php
I thought there was a setting somewhere when someone signed up for a "paid subscription" you had the option for them to then have a certain member group listed under their name in posts, like premium member or something. But, i can't find any such setting. I do have a Member group called Premium Member but don't know how to get subscribers to then be added to this group once they subscribe or are subscribed manually.
Is this possible?
Thanks!
[UPDATE] Maybe I know the answer to this. I'm an admin on my site, as well as a premium member. So, Administrator shows under my name as that's my primary membergroup. If my primary wasn't an admin, would it then display Premium Member instead?
Sorry if this has been address but, I have recently tried to delete a user that was Finished, I have a lot of them. It will not allow you to do this.
I found out if you take a finished and turn it into a Active and THEN delete it removes them. Is this an oversite?
Or something that needs fixed? Seems to me that you shouldn't be able to cancel an ACTIVE or Pending but finished should be game.
I am wondering how to add arcade to paid subscriptions that allowed users to play the games in arcade immediately instead of reaching the requirement amount of posts to play.
Quote from: siath70 on March 28, 2008, 03:41:15 PM
Sorry if this has been address but, I have recently tried to delete a user that was Finished, I have a lot of them. It will not allow you to do this.
I found out if you take a finished and turn it into a Active and THEN delete it removes them. Is this an oversite?
Or something that needs fixed? Seems to me that you shouldn't be able to cancel an ACTIVE or Pending but finished should be game.
I believe that's done like that by design. Not sure why though.
Quote from: JoshieDaMan on March 31, 2008, 09:11:23 PM
I am wondering how to add arcade to paid subscriptions that allowed users to play the games in arcade immediately instead of reaching the requirement amount of posts to play.
Just make a special membergroup with the permissions and assign that group to the user when they pay.
Quote from: ElDominicanGeek on April 01, 2008, 03:30:17 PM
Quote from: siath70 on March 28, 2008, 03:41:15 PM
Sorry if this has been address but, I have recently tried to delete a user that was Finished, I have a lot of them. It will not allow you to do this.
I found out if you take a finished and turn it into a Active and THEN delete it removes them. Is this an oversite?
Or something that needs fixed? Seems to me that you shouldn't be able to cancel an ACTIVE or Pending but finished should be game.
I believe that's done like that by design. Not sure why though.
I think it could be a bug and was reported for SMF 2 with the built-in paid subscriptions. The subscription system is a modified version of this one so you could apply a similar fix keeping in mind that the database call format changed.
http://www.simplemachines.org/community/index.php?topic=231669.0
Search in this topic. IIRC it's actually done by design. I remember having this issue a while back.
Quote from: ElDominicanGeek on April 01, 2008, 03:49:27 PM
Search in this topic. IIRC it's actually done by design. I remember having this issue a while back.
Hmm just doesn't make sense because you can remove active subscriptions. I would think you should only be able to complete active subscriptions and remove finished subscriptions.
I dont remember this being mentioned in here yet, sorry if it has...
If somebody pays a subscription for 1 month and they then renew the subscription 2 days before the current one ends, does the mod add the extra days to the new subscription?
I have just installed this on 1.1.4 and seems to be ok but havent tested the above yet ;)
Yes. The mod adds the new subscription on top of the current time left. So if you want to renew a month early you can do that and still have that month left.
Quote from: JayBachatero on April 04, 2008, 11:53:31 AM
Yes. The mod adds the new subscription on top of the current time left. So if you want to renew a month early you can do that and still have that month left.
Cool! Thanks for that :D
Ok, I am having a problem with getting this to work on my board;
Using; smf 1.1.4, Mystic Jade theme, TP 9.x
I have set up IPN on my PayPal account, for the URL of my board:
http://sitename.com/subs/ipn.php
(It is showed to be enabled, and yes, my forum is in my domains root)
The mod installed without an error.
In my admin settings > Paid Subscriptions (On my board of course) I have set up a simple subscription for a test, the url shown is the same as the one above (http://sitename.com/subs/ipn.php) and paid subscriptions are enabled.
However, when I log into my site as a test user and try to set up a subscription, I get sent to this link (When clicking on the "Order with PayPal" button:
https://www.paypal.com/cgi-bin/webscr
And I get the following error page:
"You have entered an invalid amount. Please make sure that all punctuation marks are in the correct places and that you only include the numeric portion of your amount. For example, if the amount is $5.00 USD, you would enter 5.00."
If I uncheck the "Reoccuring payment" box, I get redirected to a page saying:
"The link you have used to enter the PayPal system contains an incorrectly formatted item amount."
So why is it sending users there, shouldn't it be sending them to the http://sitename.com/subs/ipn.php page?
I know that this post is rather long, but any help would be greatly appreciated. I tried to search the forum for an answer but couldn't find one.
Is this mod supported for 1.1.4 or is it just continued in the 2.0 beta?
I have a problem when i try to install this mod on SMF 1.1.4.
I keep getting this error:
Database Error:
BLOB/TEXT column 'Cost' can't have a default value
File: D:\community\Packages\temp\paidsubsdb.php
Line: 40
Can someone please help?? :(
Thanks in advance.
Nvm, problem solved.
But when is google checkout gonna be added to the payment options?!?
I realy do believe that is as widely used now as paypal.
But the service is better.
I requested this over a yr ago
IS there no high profile button for this or does it have to be done through the profile?
hya ive added this mod to one of my sites and i want it to be where people pay atfer joining my site to use some of thew features like chat etc but cant see how to do it can someone tell me how i would do it ty janxxx
nvr mind, checked the mysql coding it was mostly wrong in one file. all set up and working now.
I also agree with M3thod, why isnt google checkout in there?
Love the site btw m3thod :)
works with smf 1.1.4??
EDIT:
No matter, I have uninstalled this mod and will wait until a more stable version is available with SMF 2 ;)
Good Morning,
So, does this work with 1.1.4? I see a few people have asked the question, but no answer.
Matt
Well the people of use smf 1.1.4 or 1.1.5 can use this:
http://www.simplemachines.org/community/index.php?topic=210789.0
Quote from: NIBOGO on May 06, 2008, 07:48:56 PM
Well the people of use smf 1.1.4 or 1.1.5 can use this:
http://www.simplemachines.org/community/index.php?topic=210789.0 (http://index.php?topic=210789.0)
I use that now. But the problem is, it does not allow for recurring payments. Many of my members want to have a monthly donation set up. Treasury does not do that.
Are you saying Paid Subscriptions does not work in 1.1.5?
Matthew
I've had to reinstall my forum with 1.1.5 after upgrading to V2 which caused me too many 3rd party problems, and I can't get Paid Subscriptions to install. Apparently the install goes fine, but doesn't appear within the forum.
Looks like with 1.1.5 the mod isn't writing to root/index.php
Sounds like we would have been better off keeping 1.1.4!
Matt
Is there any possible way someone would be able to revise this mod? I would like to make my forum a paid for subscription for certain groups and am on the 1.1.5 and really would like to have a working MOD.
Any in the works? ;)
hia all i just want to ask now that is seem h2kclan is closed cos of monies problems.is if and when it reopens will us that paid £50.00 @ 2008 christmas get our accounts back with exstensions mayed or , ?? is that it we get nothing for bieng payed members not a thank you kiss my butt- i havent even had an e-mail sent explaining that it was gona be closed- just when i came to log in to site i was presented with is --- ?? H2kClan.com - Is closed due to money problems.
Due to the complications lately, with payment merchants giving me hassle.
Paypal/Google - I recieved a few donations and they was refunded by google,
back to the individuals that donated.. You know who you are hehe,
Please donate again via the method i placed below.
All these problems is just leaving us with no money to pay this months hosting bill, with only 15 days till
payment day..
Here i provide my bank Account No. and Sort Code and relevent details for my account:
In hope that the H2k Family, Mods, Charters, Leachers..
Donate however much you can as we are pretty ******ed (to put it bluntly).
----------------------------------------------------------------------------------------
Payee: Ryan Eley
Account Number: 60058854
Sort Code: 608007
These additional parts are required sometimes when sending money..
Bic: NWBK GB 2L
IBAN: GB22 NWBK 6080 0760 0588 54
----------------------------------------------------------------------------------------
So there it is my bank account.
You can send however much you can, it all helps.
Please dont leave this and think others will donate that wont save h2k :(
Pay with your Bank account: Into my account
Online Banking
Telephone Banking
Or walk into Banking (the old fashion way)
You can make a difference, h2k needs your help
its helped thousands now the thousands are required
to help us.
Other possible donation methods:
Moneybookers.com
This is another alternative you can donate to h2k..
If your not a member of moneybookers.com you can register.. add your card to your account and then send money to h2k that way.
Our Moneybooks email is:
[email protected]Paypal.com
Is another alternative to send a donation to h2k, login to your paypal account choose "send money" fill our donation email in provided below..
Our Paypal email is:
[email protected]Ryan
Method - so ?? so one couls at least send some sort of notifaction out of alternative site post. please what going on .
i am testing this mod in my forum and works great thanks :)
Is there a way to send a registered user to the subscriptions page? Because currently it is different per user id, ie user 32 would have http://<Forum URL>/profile/?u=32;sa=subscriptions
If not is there a way to make a subscriptions.php page (Similar to <forumurl>/register.php) that would be able to work?
Thanks,
Quote from: OblivionMage on June 04, 2008, 05:02:59 PM
Is there a way to send a registered user to the subscriptions page? Because currently it is different per user id, ie user 32 would have http://<Forum URL>/profile/?u=32;sa=subscriptions
If not is there a way to make a subscriptions.php page (Similar to <forumurl>/register.php) that would be able to work?
Thanks,
Leave ID out and it will use current user or use $ID_MEMBER to add id to link.
QuoteLeave ID out and it will use current user or use $ID_MEMBER to add id to link.
Thanks
after converting the tables in smf 1.1.5 to utf-8 the subscription mod will show:
You have not setup your currency yet. Please do so from the settings menu before continuing
this is only for the euro sign and pound. Not for the $.
I know this has to do something with utf-8, is there a solution?
still have a problem with it converting is not working... bump
is there anyway this mod will be released for smf 1.1.5
cause i really need it
Quote from: jepot5 on June 14, 2008, 06:13:20 AM
is there anyway this mod will be released for smf 1.1.5
cause i really need it
it's working for 115
I am running SMF 1.1.5 and paud subscriptions ver 0.18. I am wondering if there is a way to set up paid subscription so it will e-mail the user when their subscription has finished? Or the next time they login it will take them to the subscriptions page.
Paid subscriptions installed beautifully in 1.1.5 and it appears that it's installed under Packages, however, I'm not seeing any hint that it exists. Am I not looking in the right places?
I installed this mod on 1.1.5 and it seems to work well but I have a small problem with currencies. I need to take payments in Canadian dollars, is there a lot of changes involved in the .php files to add CAD as a currency ?
I tried selecting "Other" but then it won't let me create subscriptions saying I haven't chosen a currency.
Edit: Nevermind, found the problem to be a small typo in ManagePaid.php
// Saving?
if (isset($_POST['save']))
{
checkSession();
// Pick the right currency.
if ($_POST['currency'] == 'other')
{
$currencyCode = $_POST['currency_code'];
$currencySymbol = $_POST['currency_symbol'];
}
else
{
$currencyCode = $_POST['currency'];
$currencySymbol = $txt[$_POST['currency'] . '_symbol'];
}
Changed "other" to "Other" and now I can specify a different currency code.
Quote from: TheTKD on May 16, 2008, 02:03:54 AM
Is there any possible way someone would be able to revise this mod? I would like to make my forum a paid for subscription for certain groups and am on the 1.1.5 and really would like to have a working MOD.
Any in the works? ;)
I too would like this for version 1.1.5. I know it works for some but I have had my fair share of Manual edits for now! This is absolutely ideal for my needs!
;)
Hey there!
I'm quite new to SMF. I use an 1.1.2 Forum.I've installed the "Paid Subscription" MOD (http://custom.simplemachines.org/mods/index.php?mod=413). I followed each step and just did what the introductions told me. However I keep getting an Error (--> Database)
"
Table '1337forumtest_01.smf_log_subscribed' doesn't exist
File: /usr/export/www/vhosts/funnetwork/hosting/1337forumtest/smf/Sources/ManagePaid.php
Line: 1172
"
I even tried to make a smf_log_subscribed table in the 1337forumtest_01 database of the MySQL server. It failed. As already said, I am totally new to all this. I had a look into the ManagePaid.php but it came to nothing.
I appreciate any help.
Regards,
Om1
Quote from: Om1 on June 21, 2008, 05:23:32 AM
Hey there!
I'm quite new to SMF. I use an 1.1.2 Forum.I've installed the "Paid Subscription" MOD (http://custom.simplemachines.org/mods/index.php?mod=413). I followed each step and just did what the introductions told me. However I keep getting an Error (--> Database)
"
Table '1337forumtest_01.smf_log_subscribed' doesn't exist
File: /usr/export/www/vhosts/funnetwork/hosting/1337forumtest/smf/Sources/ManagePaid.php
Line: 1172
"
I even tried to make a smf_log_subscribed table in the 1337forumtest_01 database of the MySQL server. It failed. As already said, I am totally new to all this. I had a look into the ManagePaid.php but it came to nothing.
I appreciate any help.
Regards,
Om1
Ive quoted myself to emphasis
How did you install? Using package manager or manual install ?
First thanks for your help.
I used manual install.
didnt know there was a package manager
Quote from: Om1 on June 22, 2008, 05:31:35 PM
First thanks for your help.
I used manual install.
didnt know there was a package manager
I used now the package manager, its working now.
I installed this on a theme other than default or classic and cannot figure out where it went??? Where exactly can i find this so I can use this. I have the latest version of SMF 1.1.5. Any help would be greatly appreciated.
anyone here wanna help me on manually installing this mod?
i'd like to have it on my site - ill pay for support if necessary
pls i need help
Everyone's far too busy I think Jepot but there's a lot of help in the boards on how to manual upload mods if you do a search or browse through
i can do the file edits, but what i dont understand is the paidsubsdb.php script
where do i upload it and execute?
the parser should tell you where to upload it, no edits on that one just upload the entire file
it doesnt say
its the file with:
"This file should not be able to execute standalone. You may have to run the following queries manually."
in the parser
I really dont know then jepot, you may have to wait for someone who knows more, sorry I don't even use the mod myself.
hey anyonne here know where do i upload the paidsubsdb.php file and execute it?
Quote from: jepot5 on June 29, 2008, 09:57:11 AM
hey anyonne here know where do i upload the paidsubsdb.php file and execute it?
The same directory as SSI.php - the root folder of your forum.
Hi, I'm trying to get the paid subscriptions mod set up on my forum but getting the error:
"You have not setup your currency yet. Please do so from the settings menu before continuing"
When I go to the settings menu I have the options in the currency select menu of USD Euro GBP Other. The USD has ($) next to it, but the Euro and GBP has (?) with the question mark inside a black triangle.
If I select USD or other then the above error goes and I can set up subscriptions, but I'm in England and need to use the GBP option.
Any ideas? Thanks as always :o)
Paul
PS this is on 1.1.4 default theme
Hi all, after manually installing v1.8 to 1.1.5, I was able to get it to work up to this point.
When the user clicks the "Order with Paypal" button, paypal returns this error:
Quote
The link you have used to enter the PayPal system is invalid. Please review the link and try again.
The link on that button is "https://www.paypal.com/cgi-bin/webscr", the same link as the error message on the Paypal site.
How do I fix this??
OK, I figured out that if I UNCHECK the "Make this a recurring payment" checkbox, that the link goes through without error.
So I gather that there is something wrong with the "Make this a recurring payment" feature.
Any tips or suggestions are welcome.
Thanks ;)
Need help installing this on 1.1.5 with custom themes.
Quote from: busterw on March 24, 2008, 10:26:18 PM
I thought there was a setting somewhere when someone signed up for a "paid subscription" you had the option for them to then have a certain member group listed under their name in posts, like premium member or something. But, i can't find any such setting. I do have a Member group called Premium Member but don't know how to get subscribers to then be added to this group once they subscribe or are subscribed manually.
Is this possible?
Thanks!
[UPDATE] Maybe I know the answer to this. I'm an admin on my site, as well as a premium member. So, Administrator shows under my name as that's my primary membergroup. If my primary wasn't an admin, would it then display Premium Member instead?
Hello.. maybe this mod works for you.. Stars and Badges (http://custom.simplemachines.org/mods/index.php?mod=1110)
Is it possible to add members manual that want to pay thru an other way then paypal? So that they are in the system.. if they want to pay thru the bank or something..
Yes, go into their profile, and click on Paid Subscriptions.
thanks!! then this will be great for me :)
Ok, I know this is a little bit of a stretch.
I created a group called Site Supporter
I created a little image that looks like a gift.
Is it possible to make the gift clickable and send the clicker to their Subscription URL for their particular account? The reason behind my thinking is somebody is going to be curious to what that image is when they click on it, it will take them to their Subscription page so they can make the decision to subscribe or not to subscribe. The more that might see it the more that might subscribe as well.
I might be able to fake the code to take the user to the subscription URL, but what or where would I find the code that says if its part of the "Site Supporter" group to make it clickable and display some code.
Also could anybody tell me what file I would need to change, to change the wording in the Members Subscription page to let the user know that if they check the box to automatically renew they would need a Paypal account. Some of my users refuse to get PayPal accounts, but if they leave the box checked they more than likely will be turned off after going through the process and finding out they have to have an account.
Just trying to keep everybody happy before hand. ;)
Ok, got my answer on how to put in an image in and a Link to that image if anybody is interested in using it for this mod.
http://www.simplemachines.org/community/index.php?topic=255135
I haven't solved the Changing the Text in the subscription mod as of yet to let people know about the renew, but thats coming.
Grudge,
When will this be compatible with 1.1.5? Also, when will it be out of beta? I would love to use this mod on a site I have!
Nathan P. (WhiteEagle)
Ok, I have 5 paid subscriptions and I notice it literally sends out no emails when a member subscribes or when their subscription runs out. Not a big deal I suppose, but there is an option for it which is why I mention it.
Removing users from the subscription
View Subscriptions > Pick the user
you can not delete the user listed.
Is it because I'm running 1.1.5?
What's the worst that could happen?
I've just uploaded 1.1.5 -- and I'm just setting it up now.
I'm using 'SMF Default Theme -Core' and happy enough with it.
I'd love to try Paid Subscriptions mod and read that it works for some 1.1.5 folks.
If try it and then have have to delete it-- what problems might I create for myself?
What'd ya think. . . is it worth a try? --jewelB
Always worth a go on a test setup... i'll be having a very good look at this tonight.
Thanks for the response!
Let me know how it works out for you.
I think we're going to give it a go today, also !
works fine with 1.1.5
can be seen working here:
www.voguefm.co.uk
Is there a way to use ccbill as payment processor for Paid Subscriptions mod? I know this was asked a while back with no success, but wondered if a way of doing it now?
I already use ccbill and would like to combine this with any revenue from forum.
will it work with 1.1.6, if so what zip do i need to download, there is like 4 or 5 different ones? Thanks..
--------------------------------------------------------------------------------
I installed the Paypal Subscriptions mod on my site...got all the messages saying that it installed correctly and it shows up under my Downloaded Packages. The ReadMe says that after it installs you need to go to Admin Settings and 'enable it' but I'm not seeing an option ANYWHERE to do that. I've even changed back to the default theme, just to see if that had anything to do with it. I'm sure this question has a simple answer, and I'd be ever so grateful if someone would share this answer with me. What am I missing? How can I enable my Paypal Subscriptions for a particular membergroup. Thanks a bunch!!
Update: Just now I thought maybe it wasn't compatible for 1.1.6 so I uninstalled that update putting it back to 1.1.5. I'm still not seeing any changes to apply or enable these subscription settings.
Im using it with 1.1.6 and its working fine. Options should be under Admin/Members/Paid Subscriptions.
One thing doesnt work for me, subs currency: Others. Defaults to US Dollars every time. Any chance of AU Dollars Support?
I keep getting this error message:
admin September 26, 2008, 06:39:56 AM
66.211.170.66 9bdc9e28c2bc22bee61677ca68f12782
http://ohvforums.com/forum/index.php
Paid subscription handler could not find subscription for member ID: 1, subscription ID: 147
I get an E-mail with the following text:
"Paid subscription handler could not find subscription for member ID: 1, subscription ID: 147"
The subscription ID varies but the Member ID is always 1
Any ideas how a user could create this error? Is this from someone either not using the same E-mail addy as their PayPal or not yet a member at all?
how would i set "6 months" as an option?
Also i ve got lots of finished subscribers that i cant delete :S
Ok, so if I were wanting to add this to my 1.1.6 forum, what link would I download and is there any known issues?
hi how do i acees this mod in the admin area i mean what the link to aces the area like global hf as actio-globalhf so what the action for this ?? please help me out
Did the author abandoned this Mod? Why not support SMF 1.1.6 and 2.0 ?
This is a great Mod, please don't give up.
Thanks.
Quote from: baijianpeng on October 21, 2008, 12:10:04 PM
Did the author abandoned this Mod? Why not support SMF 1.1.6 and 2.0 ?
This is a great Mod, please don't give up.
Thanks.
mmmmmmm, SMF 2 has this built in so it will not need support for SMF 2,
Also i am using SMF 1.1.6 i have not tried it but if you go to the mod link page where you download, select version 1.1.6 and it tells you how to manually add to SMF 1.6.6
Mathew
Quote from: Rafferty on September 29, 2008, 07:27:19 PM
One thing doesnt work for me, subs currency: Others. Defaults to US Dollars every time.
Same here - is there a fix?
I installed the mod in SMF v1.1.6 and it went perfectly, but I now have a problem....
When I click on "Profile", all I get is an http500 error - Does anyone have a solution for this?
Regards
Eddy
we'll be here forever waiting for any help
Hi all,
the script is working fine.
But now I have 2 pages which are running with this mod.
The problem is now that I have only 1 URL for the first page at Paypal for the IPN return :-X
For the second page I have no possibility to create a second URL at Paypal.
Because the second page has got another URL I can not use the first IPN return URL.
Anyone has got an idea :D :D :D :D :D :D :D :D
Thanks !
-----------------------------------------------------------------------------------------------------------------------------------------
Solved
If someone has got 2 forums and want to work with the same mod you must do this :D
For the second forum
ManagePaid.template.php
Find:
<form action="https://www.', !empty($modSettings['paidsubs_test']) ? 'sandbox.' : '', 'paypal.com/cgi-bin/webscr" method="post">
Add after:
<input type="hidden" name="notify_url" value="http://yourpage/subs/ipn.php" />
I am using 1.1.7 and it works well
Quote from: qtime on June 08, 2008, 03:24:55 PM
after converting the tables in smf 1.1.5 to utf-8 the subscription mod will show:
You have not setup your currency yet. Please do so from the settings menu before continuing
this is only for the euro sign and pound. Not for the $.
I know this has to do something with utf-8, is there a solution?
I found a solution to this.
I use utf-8 and thus changed the € symbol to utf-8 equivalente, namely
€.
You have to create a ManagePaid."language-you-use"-utf8.php from ManagePaid.english.php if you have another language than englidh and then replace the € to the utf-8 form in $txt['eur_symbol'] and $txt['eur'] instances... after that it will work perfectly.
I had this running on 1.1.5 however I've upgraded to 1.1.7 and it doesn't appear to be working anymore :(
Any new subcription gets added to the pending list, and the end date is incorrect.. but for any subscriber renewing, they are not given a new years subscription but paypal is taking the momey :(
Is anyone using this with 1.1.7?
Thanks,
m
I get this error when I try to activate.
An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.
@Snappo
Did you make a subscription first !?
I still have the same problem.... Can anyone help?
When I click on "Profile", all I get is an http500 error - Does anyone have a solution for this?
Regards
Eddy
Is anyone getting the 1970 bug with 1.1.7?
memberx Pending Payment December 11, 2008, 09:44:04 PM January 01, 1970, 12:00:00 AM
???
Will this work with SMF 1.1.5..
1.1.5 yes, but I'm having issues with 1.1.7 and no-one's confirmed it will work with that :(
is it possibile to use this modification with Verotel Merchant?
ty
Which version do I install fo 1.1.5?
The latest one.. I suppose//
I need to use this Mod for an forum with adult content.
which available merchant works for adult material?
Quote from: Snappo on December 09, 2008, 09:52:44 AM
I get this error when I try to activate.
An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.
I get the same error - on each of my 3 testforums, I already set all files to "chmod 777" and created a temp folder in the packages folder, but it still asks me first for my ftp account data and after I gave the correct data the mentioned error report appears again.
But for other mods this error doesn't occur.
Does anybody else have this problem?
I need help with this install. I have 1.1.7 Can someone help me with this
I know 2.0 has it but 2.0 has too many bugs now and I installed 2.0 on a different site that I have and What a big mistake.
Quote from: kizer on August 19, 2008, 12:18:44 PM
Ok, I have 5 paid subscriptions and I notice it literally sends out no emails when a member subscribes or when their subscription runs out. Not a big deal I suppose, but there is an option for it which is why I mention it.
I found out the same thing... the system doesn't send notification emails when a member subscribes, even if you write a template email in the given field (when setting up a subscription). Does anybody know why?
Hey, i have a problem with my newly setup 2.0 beta 4, no matter what i do i get:
QuoteAn Error Has Occurred!
Sorry but the admin has not yet finished setting up paid subscriptions - please check back later.
Any ideas on what should i do? (no paypal set, using custom currency)
Subscriptions is a core feature in v2.0 - this MOD has no usefulness in that version.
I still don't get what's wrong with sending emails to subscribers with confirmation after subscribing and renewal alert. Confirmation mail sending to forum Admin from Paypal and from forum itself works fine though.
Can it be because I use a utf-8 language? Is there something one has to change in paypal.php, ipn.php or ManagePaid.php?
Quote from: ChanibaL on January 27, 2009, 12:11:34 AM
Hey, i have a problem with my newly setup 2.0 beta 4, no matter what i do i get:
QuoteAn Error Has Occurred!
Sorry but the admin has not yet finished setting up paid subscriptions - please check back later.
Any ideas on what should i do? (no paypal set, using custom currency)
Use SMF support 2.0 for this question. It is not related to this mod.
Can someone help me with the installation with this mod. email me at
[email protected] Thanks
Quote from: madfiddler on December 12, 2008, 06:43:28 AM
Is anyone getting the 1970 bug with 1.1.7?
memberx Pending Payment December 11, 2008, 09:44:04 PM January 01, 1970, 12:00:00 AM
???
Well.. Anybody knows how to extend subscription date beyond 2010 ? If someone subscribe to date beyond 2010 then it shows above error !
Or I have to inspect the MOD myself :(
Quote from: Ricky. on February 06, 2009, 11:57:08 AM
Quote from: madfiddler on December 12, 2008, 06:43:28 AM
Is anyone getting the 1970 bug with 1.1.7?
memberx Pending Payment December 11, 2008, 09:44:04 PM January 01, 1970, 12:00:00 AM
???
Well.. Anybody knows how to extend subscription date beyond 2010 ? If someone subscribe to date beyond 2010 then it shows above error !
Or I have to inspect the MOD myself :(
Sorry, but I don't have that error, so I can't help you, but it seems a very weird bug.
Can you make subscription beyond year 2010 ?
Try to make a subcription of two yrs from now !
I don't know... the solution is maybe on this part of the code in ManagePaid.template.php:
// Show a list of all the years we allow...
for ($year = $modSettings['cal_minyear']; $year <= $modSettings['cal_maxyear']; $year++)
echo '
<option value="', $year, '"', $year == $context['sub']['start']['year'] ? ' selected="selected"' : '', '>', $year, '</option>';
echo '
</select>
', (isset($txt['calendar9']) ? $txt['calendar9'] : $txt['calendar_month']), '
<select name="month" id="month" onchange="generateDays(\'\');">';
// There are 12 months per year - ensure that they all get listed.
for ($month = 1; $month <= 12; $month++)
echo '
<option value="', $month, '"', $month == $context['sub']['start']['month'] ? ' selected="selected"' : '', '>', $txt['months'][$month], '</option>';
echo '
</select>
', (isset($txt['calendar11']) ? $txt['calendar11'] : $txt['calendar_day']), '
<select name="day" id="day">';
// This prints out all the days in the current month - this changes dynamically as we switch months.
for ($day = 1; $day <= $context['sub']['start']['last_day']; $day++)
echo '
<option value="', $day, '"', $day == $context['sub']['start']['day'] ? ' selected="selected"' : '', '>', $day, '</option>';
echo '
</select><br />
', $txt['hour'], ':<input type="text" name="hour" value="', $context['sub']['start']['hour'], '" size="2" />
', $txt['minute'], ':<input type="text" name="minute" value="', $context['sub']['start']['min'], '" size="2" />
</td>
</tr><tr class="windowbg2" valign="top">
<td width="50%" align="right"><b>', $txt['end_date_and_time'], ':</b></td>
<td>
<select name="yearend" id="yearend" onchange="generateDays(\'end\');">';
// Show a list of all the years we allow...
for ($year = $modSettings['cal_minyear']; $year <= $modSettings['cal_maxyear']; $year++)
echo '
<option value="', $year, '"', $year == $context['sub']['end']['year'] ? ' selected="selected"' : '', '>', $year, '</option>';
echo '
</select>
', (isset($txt['calendar9']) ? $txt['calendar9'] : $txt['calendar_month']), '
<select name="monthend" id="monthend" onchange="generateDays(\'end\');">';
Perhaps Grudge or someone else can help us on this.
Does anyone know if there's any upgrade process for this to the 2.0 native version? Does it use the same storage scheme (and thus not need any change)?
Have no idea, but since it was Grudge who developed this, he probably thought about that when they implemented this feature as core in SMF v2.
But this is more wishful thinking than anything else. ;)
It would be great if upgrading to 2.0 would carry over the data from this mod. Or is might there be a script that will carry over the mod subscription data into the new standard subscription data? Would love to see this.
Thanks,
Roger
When users who are not moderators or founders, just standard members click the link I have created to subscribe then get an error that reads:
"You are not allowed to moderate this forum. "
Any ideas?
I installed a button to link to the subscription page from my home page but I'm having no luck with it. Perhaps you all can help...
I installed it and made all the changes I needed for my site, but when I the "admin" of the site clicks on the sign up button I get this message:
An Error Has Occurred!
The user whose profile you are trying to view does not exist.
When a normal member clicks the sign up button they get the same message.
The link I have attached to the button is:
http://www.troutpredator.info/index.php?action=profile;sa=subscriptions
Any ideas??? I'm not very good with code but I appreciate any help I can get?
I'm running a pretty urls mod, does that make a difference?
When I navigate to the subscription page, the url reads:
http://troutpredator.info/profile/?u=1;sa=subscriptions
Where the u=1 differs depending on the user trying to subscribe.
Thanks in advance!
FYI - 1.1.x users of this mod who convert to 2.0, the subscriptions ARE carried over.
Edit: Just to be clear, I haven't done much testing with it, but I did a quick look and it seems to be all carried over, so I'd assume it all works.
Quote from: drhamad on February 18, 2009, 05:37:08 PM
FYI - 1.1.x users of this mod who convert to 2.0, the subscriptions ARE carried over.
That's excellent news, thanks for that.
Hello,
thanks a lot for your mod. I'm trying to use it and it seems really perfect !
I just have one question : is it a functionnality that I missed to advertise the members that the subscription has reached the end time ? Typically, I will put in place one 1 year subscription in my website. Will my users, that subscribed, receive a mail 1 month before the 1 year date arrives ? Because people do not always remember when they payed for the subscription and in order to enhance the nomber of active members a remember seems quite usefull. Because I did not find this setting and I thing this is certainly included in your mod, isn't it ?
Thanks again and waiting on your answer.
Etienne.
I noticed that the subscription needs your paypal IPN to be set to a specific address in the forum. What can I do to get the same reaction if my online store already has to have the IPN set for it to work. Will the mod still react the way I need it too?
Thanks!
is there any way to add this api so it can accept paysafecards too???
http://www.paysafecard.com/uk/business/info-for-webshops/diy-installation/step-2-download/
While uninstalling this mod I received this error.
What, if anything, do I need to do to these files?
I have included both files and a screen shot.
Thanks
That's the wrong index.php.
Should it be the index.template.php of the theme? I uploaded the first index.php because of the screen error.
Here is the index.template.php if this is needed.
thanks
Hey,
I installed the mod, but there is a blank space where the link should be (between registration and ban list, right?).
Anyone had this kind of problem before?
Thank you for your help
I have attached a picture.
Sorry but after smf search doesn't work, it's a pain to search the site with google, so I rather ask: How do I remove USD, EUR, GBP and add another currency to the mod?
--------------
@shary2007: paste this into your "Modifications.english.php" (or whatever language you use)
// Paid Subscriptions Mod
$txt['paid_subscriptions'] = 'Paid Subscriptions';
$txt['subscriptions'] = 'Subscriptions';
$txt['subscription'] = 'Subscription';
$txt['paid_subs_desc'] = 'Below is a list of all the subscriptions which are available on this forum.';
$txt['paid_subs_none'] = 'There are currently no paid subscriptions available!';
$txt['paid_current'] = 'Existing Subscriptions';
// Some errors for subscription mod.
$txt['paypal_could_not_connect'] = 'Could not connect to paypal server';
$txt['paypal_unverified_subject'] = 'Unverified Paypal Transaction';
$txt['paypal_unverified_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was unverified.';
$txt['paid_sub_not_active'] = 'That subscription is not taking any new users!';
$txt['paid_disabled'] = 'Paid subscriptions are currently disabled!';
$txt['worldpay_password_wrong'] = 'Payment ignored as WorldPay password is incorrect - please ensure you have the correct callback password set.';
$txt['2co_password_wrong'] = 'Payment ignored as 2co.com secret word is incorrect - please ensure you have the correct secret word and 2co.com ID set.';
$txt['paid_unknown_transaction_type'] = 'Unknown transaction type in ipn.php';
$txt['paid_missing_transaction_type'] = 'Cannot find transaction file %s.php';
$txt['paid_empty_member'] = 'Paid subscription handler could not recover member ID';
$txt['paid_could_not_find_member'] = 'Paid subscription handler could not find member with ID: %d';
$txt['paid_count_not_find_subscription'] = 'Paid subscription handler could not find subscription for member ID: %1$s, subscription ID: %2$s';
$txt['nochex_could_not_connect'] = 'Could not connect to nochex server';
$txt['nochex_unauthorised_subject'] = 'Unauthorised nochex Transaction';
$txt['nochex_unauthorised_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was rejected.';
HI
I have installed this, it says its installed and applied. But there's no link anywhere to configure this? How do I access the settings for this?
Thanks
EDIT: Dont worry, I installed it manually now and its working. The install did not modify any of the core files which is why it didnt work.
Hi
I have the issue with the 1970 date. And it seems Paypal IPN is not working as it states Pending Payment even though I have paid.
QuotePaid Member Pending Payment 02/March/2009, 01:38:50 PM 01/January/1970, 01:00:00 AM
EDIT:
I think this is meant to happen... in Profile.php the endTime is not in the INSERT statement.
// Setup a pending entry if they haven't got anything.
db_query("
INSERT IGNORE INTO {$db_prefix}log_subscribed
(ID_SUBSCRIBE, ID_MEMBER, status, startTime)
VALUES
($_GET[sub_id], $memID, 0, " . time() . ")", __FILE__, __LINE__);
So I assume when it is not pending anymore it is updated to correct time, although I dont know this yet because Paypal IPN is not working and Pending Payment is in the status.
I've wasted hours on this mod.
Try contacting Grudge, the mod author.
Will this mod work with the treasury already installed ? I'm thinking about a paid section.
I tried using this mod with SMF 1.1.8 and Tiny Portal 1.0 beta3 -- it installed fine -- appeared to be working but for some reason errors out when users try to view their profiles which is where all the information is for their Paid Subscriptions. I'm using a theme called Darkbreak by Dziner Studio --
Does anyone have this mod installed with my same versions and that theme or have any suggestions as to why it errors out in the members profiles?
You need to provide more information... what error? Screenshot? Did you check over the install by hand, esp in the profile section?
Hi all I've located the error code and found the code area that it points to which is about Tiny Portal
error code when clicking on user profile in theme Helios Multi with smf 1.1.8 and TP 1.0 Beta 3 is saying ---I also had this same error on another theme too -- Parse error: syntax error, unexpected T_ELSEIF in Profile.php on line 254 and that line of code is here
// TinyPortal
TP_fetchprofile_areas2($memID);
// Add paid subscriptions.
elseif (!empty($modSettings['paid_enabled']) && (($context['user']['is_owner'] && allowedTo('profile_view_own')) || allowedTo('moderate_forum')))
{
// This is needed incase user can't edit profile.
$context['profile_areas']['edit_profile'] = array(
'title' => $txt['profileEdit'],
'areas' => array()
);
}
any help anyone might provide would be appreciated as I'm new to PHP and not sure what is wrong with the code or if it's an easy fix or a major fix needed to the mod-- thanks very much.
And yes, I checked over all the manual code and everything was spot on.
I have setup my ipn on paypal, but since that attachment doesnt work for the php file, can someone tell me what the php file should look like?
Quote from: markym on April 11, 2009, 03:07:12 PM
Hi all I've located the error code and found the code area that it points to which is about Tiny Portal
error code when clicking on user profile in theme Helios Multi with smf 1.1.8 and TP 1.0 Beta 3 is saying ---I also had this same error on another theme too -- Parse error: syntax error, unexpected T_ELSEIF in Profile.php on line 254 and that line of code is here
// TinyPortal
TP_fetchprofile_areas2($memID);
// Add paid subscriptions.
elseif (!empty($modSettings['paid_enabled']) && (($context['user']['is_owner'] && allowedTo('profile_view_own')) || allowedTo('moderate_forum')))
{
// This is needed incase user can't edit profile.
$context['profile_areas']['edit_profile'] = array(
'title' => $txt['profileEdit'],
'areas' => array()
);
}
any help anyone might provide would be appreciated as I'm new to PHP and not sure what is wrong with the code or if it's an easy fix or a major fix needed to the mod-- thanks very much.
And yes, I checked over all the manual code and everything was spot on.
Update!
worked with a friend of mine who knows PHP very well and he found the error ...it had to do with the TP command in the middle of an if statement that was missing a { and was in the wrong place -- one little tweak and now everything is working fine with the mod.
Hi all.
I have added this to the forum I run, but I keep getting emails from Paypal...
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Could not connect to paypal server
Also, users do not get changed to the membergroup I created. Have I missed something?
Any help will be greatfully received.
Quote from: cheekylemon on April 14, 2009, 10:20:55 AM
Hi all.
I have added this to the forum I run, but I keep getting emails from Paypal...
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Could not connect to paypal server
Also, users do not get changed to the membergroup I created. Have I missed something?
Any help will be greatfully received.
cheeky ..you have to be sure you set up your paypal link in the Paid subscriptions admin settings and you have to be sure you have all your settings correct in that area.
Note:
For subscriptions to be automatically updated for your users, you will need to setup a return URL for each of your payment methods. For all payment types, this return URL should be set as:
(you'll see a link and a click thru to take you to paypal to set up your link)
OK after finally getting this all set up and working on the front end, my first user sets up a recurring subscription which I got a notification from paypal but the mod did nothing to update the users record and I get this error message in my log two times
Unknown transaction type in ipn.php the there's a link to index.php
I have the paypal ipn all set up and directed to the proper link which I just verified again.
The users record remains the same as it was when I entered it manually it did not extend his subscription or change the date. Is it possible the recurring subscription is an unknown type? I'm using smf 1.1.8 with Tiny Portal 1.0 beta 3 and the latest sub mod .018 I'm going to check the parse for SMF 1.1.8 again --- but has anyone else gotten this error and if so how did you resolve it?
Also, I just realized this mods sub dates only extend out until 2010! For those of us that can't move to SMF 2.0 yet especially if we use Tiny Portal we sure are going to have issues with the very well used mod.
Any help would be appreciated -- has the modder abandon this mod? Are there any experts in the forum using it that can offer some help?
Thanks.
markym, I set up everything as I should have done, but still get the same problems as per your latest message.
For now I have removed the Mod, and am upgrading members manually as and when they pay. For this, I simply added the HTML from paypal into a TP block.
That will have to do me until I can get the auto upgrading bit to work.
I am getting an error.
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Unknown transaction type in ipn.php
I have no paid subscribers. I had a test one and removed it. Is this an error I can ignore.
Quote from: JoannaGlass on April 15, 2009, 03:56:30 PM
I am getting an error.
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Unknown transaction type in ipn.php
I have no paid subscribers. I had a test one and removed it. Is this an error I can ignore.
Joanna ..I have the exact same error using SMF1.1.8 with Tiny Portal 1.0b3 and this mod installed. I ran all the queries and the front end is working fine. I have the paypal ipn correctly set up and I get the same error message you've noted above on every subscription.
A friend and I have stared at the ipn.php for hours trying to find why it doesn't know the transaction type -- I'm about ready to give up such as cheeky did.
Is anyone else out there getting the unknown transaction type in ipn.php error with this mod? Is there anyone out there that can help us before we go insane??
need an angel .... O:)
Are you using your PayPal account Primary email in your SMF paidsubs settings?
Quote from: Resourcez on April 16, 2009, 07:30:48 PM
Are you using your PayPal account Primary email in your SMF paidsubs settings?
yes, the paypal stuff is fine, payments process through paypal and into my account but the ipn errors out when it gets to forum to the ipn.php file because it can't find the transaction type which it should know is paypal. It only gets about 12 lines into the ipn.php before it hits the code that tells it to generate that error message if/else statements
It errors because it cannot find $_POST info to decide whether it is a paypal or any other type of transaction. Since you are using PayPal, your only interest is what is being or not being satisfied by the first IF statement - forget all the rest as they don't apply.
Clearly the paypal stuff is not fine and it is most likely that one of your PayPal account settings is incorrect in these areas.
- Payment Receiving Preferences
- Instant Payment Notification
- Website Payment Preferences
Yes!
Thank you so much for this modification!

what i must put here?
Did anyone figure out how to get this thing go beyond 2010?
For anyone wondering how to do this...I just figured it out...
It's a value called "cal_maxyear" in the database. I think it's under "smf_settings" in the database.
I just put mine to 2025 and it worked fine...
Just change the value using PHPMyAdmin.
Quote from: Resourcez on April 16, 2009, 07:30:48 PM
Are you using your PayPal account Primary email in your SMF paidsubs settings?
yes, I sure am. And I see your other post Resourcez on the Paypal account setting probably being incorrect but I'm not sure where to look to fix them. I have all the paypal stuff set up correctly in the admin settings area so are you suggesting that there's something wrong with paypal settings in one of the php files and might you happen to know how to fix it. I agree with your logic as it seems to error out right at the $_Post
Quote from: tj007s13 on April 23, 2009, 10:14:33 PM
Did anyone figure out how to get this thing go beyond 2010?
For anyone wondering how to do this...I just figured it out...
It's a value called "cal_maxyear" in the database. I think it's under "smf_settings" in the database.
I just put mine to 2025 and it worked fine...
Just change the value using PHPMyAdmin.
Thanks for the tip ;)... you've taken out the stress to have to update my forum to v2.0 before the end of 2009 (since I have anual subscriptions).
Now the only thing left is the email notifications to a subscriber whenever it subscribes and also reminding to renew the subscription.
Without having to read through 42 pages of post...
What is the latest with this mod? I am using 1.1.8 and have quite a few mods already installed. Is it working with 1.1.8 and what problems and solutions will I need to know about?
Thanks,
RGecy
1. Google Member Map 1.0 beta 4 [ Uninstall ] [ List Files ] [ Delete ]
2. SMF Media Gallery 1.5.5 [ Uninstall ] [ List Files ] [ Delete ]
3. YouTube BBCode 2.4 [ Uninstall ] [ List Files ] [ Delete ]
4. SMF Links 1.6.7 [ Uninstall ] [ List Files ] [ Delete ]
5. Active Members In Topic 1.8 [ Uninstall ] [ List Files ] [ Delete ]
6. Links Managment 1.0 [ Uninstall ] [ List Files ] [ Delete ]
7. Aeva ~ Auto-Embed Video & Audio 6.2.75 [ Uninstall ] [ List Files ] [ Delete ]
8. Enhanced Dropdown 1.1 [ Uninstall ] [ List Files ] [ Delete ]
9. Copy Topics 1.4 [ Uninstall ] [ List Files ] [ Delete ]
10. Order Stickied Topics 1.01 [ Uninstall ] [ List Files ] [ Delete ]
11. Remove SMF Logo 1.2 [ Uninstall ] [ List Files ] [ Delete ]
12. FontandSizeDropdown_1.3 1.3 [ Uninstall ] [ List Files ] [ Delete ]
13. Spell Check Custom Words 1.0.1 [ Uninstall ] [ List Files ] [ Delete ]
14. Attachment Icon File 1.0 [ Uninstall ] [ List Files ] [ Delete ]
15. Admin color in topic view 0.1 [ Uninstall ] [ List Files ] [ Delete ]
16. Simple staff color legend 1.1 [ Uninstall ] [ List Files ] [ Delete ]
17. Ultimate Profile 0.9 [ Uninstall ] [ List Files ] [ Delete ]
18. [user] BBC Tag 1.0.1 [ Uninstall ] [ List Files ] [ Delete ]
19. Lots_o_Smileys 1.0 [ Uninstall ] [ List Files ] [ Delete ]
20. Custom Form Mod 1.4 [ Uninstall ] [ List Files ] [ Delete ]
21. Attachments Positioning 1.2 [ Uninstall ] [ List Files ] [ Delete ]
22. MessagePreviewOnHover 1.7 [ Uninstall ] [ List Files ] [ Delete ]
23. BK-SMF Favicon and Custom Global HTML 1.0 [ List Files ] [ Delete ]
24. nwsw.nwswAdminAttachAnything 1.1 RC3 [ Uninstall ] [ List Files ] [ Delete ]
25. Favicon 1.2 [ Uninstall ] [ List Files ] [ Delete ]
26. Message for your guests 0.1 [ Uninstall ] [ List Files ] [ Delete ]
27. SimplePortal 2.2 [ Uninstall ] [ List Files ] [ Delete ]
28. Bot Buster 1.1 [ Uninstall ] [ List Files ] [ Delete ]
29. Images On Board 2.1 [ Uninstall ] [ List Files ] [ Delete ]
30. Enhanced Calendar 1.1 [ Uninstall ] [ List Files ] [ Delete ]
31. Redirection Boards 2.01 [ Apply Mod ] [ List Files ] [ Delete ]
32. Internal_Links_Use_Same_Window 1.2 [ Uninstall ] [ List Files ] [ Delete ]
33. Easy Edit Meta Data 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
34. PaypalDonations 2.0 [ Uninstall ] [ List Files ] [ Delete ]
35. Ad Managment 2.3 [ Uninstall ] [ List Files ] [ Delete ]
36. BK-SMF Google Translation 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
37. AdSense Section Targeting Mod 1.0 [ Uninstall ] [ List Files ] [ Delete ]
38. childremover 1 [ Apply Mod ] [ List Files ] [ Delete ]
39. DisplayPostedTopicsMod 1.0 [ Uninstall ] [ List Files ] [ Delete ]
40. Custom Profile Field Mod 3.20 [ Uninstall ] [ List Files ] [ Delete ]
It works with 1.1.8.
The problems are:
- It doesn't go further than 2010, BUT the good news is that there's a solution using phpmyadmin.
- The email sent to the user confirming subscription or reminding when it's time to renew doesn't work at all. I haven't seen any solution on this one yet.
Install went fine but now when I click the profile linke I get this error
Fatal error: Cannot redeclare subscriptions() (previously declared in /////Forum/Sources/Profile.php:2) in /////Forum/Sources/Profile.php on line 346
I keep getting the error saying "You cannot download or install new packages because the Packages directory or one of the files in it are not writable! " when I try to apply the mod.
Any ideas?
Doug
Quote from: Paracelsus on May 22, 2009, 04:44:36 AM
- It doesn't go further than 2010, BUT the good news is that there's a solution using phpmyadmin.
Where / how? I don't see the dates!
Quote from: Paracelsus on May 22, 2009, 04:44:36 AM
- The email sent to the user confirming subscription or reminding when it's time to renew doesn't work at all. I haven't seen any solution on this one yet.
Is this feature in the latest version? (not in my version)
Any fix yet?
Are there any release notes?
setup the calendar to see new years
Quote from: Paracelsus on May 22, 2009, 04:44:36 AM
- The email sent to the user confirming subscription or reminding when it's time to renew doesn't work at all. I haven't seen any solution on this one yet.
Is this feature in the latest version? (not in my version)
Any fix yet?
Are there any release notes?
[/quote]
Quote from: qtime on July 29, 2009, 10:27:59 AM
setup the calendar to see new years
Now that is SLICK! 8) Thanks!
Where do I set up reminders? I just upgraded to the latest-greatest, and STILL don't see that!
seeing that the text string "paid_mod_reminder" ONLY appears in the language file, I am assuming this functionality does not exist.
Got the script working but when it is installed the profile page errors out.
Interesting.
Has anyone got this mod running on v2.0 RC1.2?
Quote from: ThePharaoh on August 16, 2009, 09:44:46 PM
Has anyone got this mod running on v2.0 RC1.2?
You don't need to - it's built in to V2
Thanks, I thought so. When I upgraded, I did a total fresh install and added a slew of mods and couldn't remember if this was one of them.
UPDATE:
I have the paid subscription option on my admin page alright, but when I click on the button to the right to enable it, nothing happens at all.
I tried to use the package manager... tons of failures. I used the mod's manual install to find the existing code and tons of it is missing. None in the index.php or subs.php file to start with. I tried to use the manual instructions to install the mod, but the "find" code in the subs.php file doesn't exist. Obviously, I didn't need to go any farther.
Now what? Thanks!
Just tested and looks like it works :)
The only thing its not working is the email feature, any ideas?
thanks!
after installing 1.1.10 i see very often this:
Quote
An error occured whilst attempting to do a paid subscription. The error is shown below:
---------------------------------------------
Unknown transaction type in ipn.php
What is wrong?
// Verify the incoming string is something we can deal with.
if ((isset($_POST['txn_type']) || isset($_POST['payment_status'])) && !empty($modSettings['paypal_email']) && ((isset($_POST['business']) && $modSettings['paypal_email'] == $_POST['business']) || (isset($_POST['receiver_email']) && $modSettings['paypal_email'] == $_POST['receiver_email'])))
{
if (!isset($_POST['business']))
$_POST['business'] = $_POST['receiver_email'];
$txnType = 'paypal';
if (!isset($_POST['txn_type']))
$_POST['txn_type'] = '';
}
elseif (!empty($_POST['callbackPW']) && !empty($worldpay_pw) && $_POST['callbackPW'] == $worldpay_pw)
$txnType = 'worldpay';
elseif (!empty($_POST['x_response_code']) && !empty($modSettings['authorize_id']))
$txnType = 'authorize';
// Otherwise hope it's 2co...
elseif (!empty($_POST['x_MD5_Hash']) && !empty($modSettings['2co_id']))
$txnType = '2co';
// Or new just in - nochex!
elseif (!empty($_POST['order_id']) && !empty($modSettings['nochex_email']))
$txnType = 'nochex';
// Nothing else? EXIT!
else
generateError($txt['paid_unknown_transaction_type']);
I only use paypal and i was wondering why its going there???:
// Nothing else? EXIT!
else
generateError($txt['paid_unknown_transaction_type']);
Quote from: tj007s13 on April 23, 2009, 10:14:33 PM
Did anyone figure out how to get this thing go beyond 2010?
For anyone wondering how to do this...I just figured it out...
It's a value called "cal_maxyear" in the database. I think it's under "smf_settings" in the database.
I just put mine to 2025 and it worked fine...
Just change the value using PHPMyAdmin.
Thanks man - that worked perfectly!
You don't need to go to the database for that, just change the calendar year limit in the admin options.
Hi,
I have tried to run paidsubscriptions mod in a smf 1.1.10 and I followed the parsing instructions but i cannot get it to work.
in Admin Center i get a blank space above "Ban List". When I try to access .../index.php?action=paidsubscribe;sa=settings, I get this screen:
Thanks in advance....
Regards
The pic shows you are missing the language files. There is probably a "Modifications.YOURLANGUAGE.php" file or additions that you need to put in. Sometimes you will need to put these in your theme location if you are not using the default theme.
Regarding the paidsubscriptions my ./Themes/default/languages/Modifications.english.php has only the following:
ohhh.... I looked at the Mod and there is a ManagePaid.english.php file. Is this in your languages folder of your default theme?
Yes it is!
hmmmm... Looking at your first graphic, on the left side, immediately above "Ban List" there is a blank space where the words "Paid Subscriptions" should be. "Paid Subscriptions" words are part of the Modifications.english.php file which you showed earlier it has.
Not sure why it is not showing your language files.... (I hate when this happens...)
Thanks anyway...I'll keep looking for the misterious answer :)
Hi again,
Evrything works perfect exept from this:
1)- The email sent upon subscribing
2)- The email reminder when the subscription is getting to the end
In other words, email features don't work.
Any solution or a tip to work on these features?
Except from that, everything works perfect ;)
Quote from: vipmoney on October 16, 2009, 07:52:10 PM
Hi again,
Evrything works perfect exept from this:
1)- The email sent upon subscribing
2)- The email reminder when the subscription is getting to the end
In other words, email features don't work.
Any solution or a tip to work on these features?
Except from that, everything works perfect ;)
I assume your forum email is working correct?
and you setup the Email for Correspondence: ?
Quote from: qtime on October 17, 2009, 08:27:14 AM
Quote from: vipmoney on October 16, 2009, 07:52:10 PM
Hi again,
Evrything works perfect exept from this:
1)- The email sent upon subscribing
2)- The email reminder when the subscription is getting to the end
In other words, email features don't work.
Any solution or a tip to work on these features?
Except from that, everything works perfect ;)
I assume your forum email is working correct?
and you setup the Email for Correspondence: ?
Even if you setup everything correctly, it doesn't work. Only the admin receives 2 mails, one from the forum and another from Paypal upon subscription. But the one that subscribes doesn't receive a confirmation email and neither an email reminding him/her when the subscription is about to end.
Quote from: Paracelsus on October 17, 2009, 02:42:23 PM
and neither an email reminding him/her when the subscription is about to end.
That functionality is not in the mod. (although some language strings make you think it is!)
Quote from: digit on October 17, 2009, 02:46:28 PM
Quote from: Paracelsus on October 17, 2009, 02:42:23 PM
and neither an email reminding him/her when the subscription is about to end.
That functionality is not in the mod. (although some language strings make you think it is!)
Really? Ok, then someone should put it there, because it would be tremendously useful.
Btw, just a curiosity, the first case of someone paying without automatically updating in the forum (in the end I had to update it manually) happened 3 days ago... let's hope it was just an isolated one. :-\
Quote from: Paracelsus on October 17, 2009, 03:30:15 PM
Quote from: digit on October 17, 2009, 02:46:28 PM
Quote from: Paracelsus on October 17, 2009, 02:42:23 PM
and neither an email reminding him/her when the subscription is about to end.
That functionality is not in the mod. (although some language strings make you think it is!)
Really? Ok, then someone should put it there, because it would be tremendously useful.
Btw, just a curiosity, the first case of someone paying without automatically updating in the forum (in the end I had to update it manually) happened 3 days ago... let's hope it was just an isolated one. :-\
I agree about the reminders - I CAN set up cron jobs - if someone could help with that, that would be great!
As far as the site not updating... did they use the same email address at PayPal as they use in your forum? Just a thought.
yea having issues installing this also.

(http://indexjunkie.com/)
the things its listing arent even in the subs file
I found some text and a table about reminder (standard value = 0) If I setup it to 1, will it send a PM to the member if the subscription will be ending? Like to know :).
Quote from: qtime on November 27, 2009, 01:44:03 PM
I found some text and a table about reminder (standard value = 0) If I setup it to 1, will it send a PM to the member if the subscription will be ending? Like to know :).
Now that would be something... what table is that?
erichamby: You don't need to install this mod on 2.0 RC2 (unless it's a random version somewhere in this thread) because the core functionality is built into 2.0 RC2.
the smf_subscriptions table, last column
Standard value = 0. If you read the txt strings, you will see text like, your subscription will expire after days
possible 1 will send the reminder, or it will send a reminder 1 day before ending of the subscription. I am testing it now with a 3 days subscription, so I need to wait a few days :).
Quote from: qtime on November 28, 2009, 04:11:28 AM
the smf_subscriptions table, last column
Standard value = 0. If you read the txt strings, you will see text like, your subscription will expire after days
possible 1 will send the reminder, or it will send a reminder 1 day before ending of the subscription. I am testing it now with a 3 days subscription, so I need to wait a few days :).
Any luck with this so far?
no, the expire announcement is not working...
Can somebody tell me what files need to me chmoded because i keep on getting this:
FTP Information Required
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.
Everytime I try to apply the mod. Thanks
Quote from: Paracelsus on October 17, 2009, 02:42:23 PM
Quote from: qtime on October 17, 2009, 08:27:14 AM
Quote from: vipmoney on October 16, 2009, 07:52:10 PM
Hi again,
Evrything works perfect exept from this:
1)- The email sent upon subscribing
2)- The email reminder when the subscription is getting to the end
In other words, email features don't work.
Any solution or a tip to work on these features?
Except from that, everything works perfect ;)
I assume your forum email is working correct?
and you setup the Email for Correspondence: ?
Even if you setup everything correctly, it doesn't work. Only the admin receives 2 mails, one from the forum and another from Paypal upon subscription. But the one that subscribes doesn't receive a confirmation email and neither an email reminding him/her when the subscription is about to end.
Everything about this mod is working 100%... except from this...
This mod with the email alerts would be awesome!!!
I'm not a coder, but It doesnt look so difficult to code that specific feature, a simple script and a daily cron, and that's it.
Anyone smart enought to do it? no me... lol
Will this work for V1.1.11?
Not wanting to go right through all the posts I only went back a few pages and see these are two major points, have these been sorted?
QuoteThe problems are:
•It doesn't go further than 2010, BUT the good news is that there's a solution using phpmyadmin.
•The email sent to the user confirming subscription or reminding when it's time to renew doesn't work at all. I haven't seen any solution on this one yet.
Quote from: Gav-Aus on December 09, 2009, 09:44:01 PM
Will this work for V1.1.11?
Not wanting to go right through all the posts I only went back a few pages and see these are two major points, have these been sorted?
QuoteThe problems are:
•It doesn't go further than 2010, BUT the good news is that there's a solution using phpmyadmin.
•The email sent to the user confirming subscription or reminding when it's time to renew doesn't work at all. I haven't seen any solution on this one yet.
The first: YES, you just have to go to the admin panel, search for the calendar options and span it over 2010 (no need for phpmyadmin);
The second: NO, it seems that there's a table in the database to this, but doesn't work. One member has said that the feature isn't hard-coded and therefore it will never work unless the code is manually added. Which code? I have no idea, I'm not a programmer.
Thanks very much for your reply appreciate it.......
I did install to ahve a play however in doing so I lost the ability to review a members profile, removed the mod and reviewing started to work again. Might take another look however using the manual change.
Hi all ;)
I need to add paypal ipn verification to a buy it now button on my site but of course the Paid Subscriptions mod is getting all IPN verifications, (BTW this mod is working so well many many thanks to the authors, it's been brilliant)
I assume I am going to have to add some code in the ipn.php file but I'm a little afraid of messing up the reliability by putting the code in the wrong place.
I need to look out for the item name called 'Video Ticket' and when it confirms that this item is received then add that user a ticket on the user profile, I have got all the code for the ticket system all spot on just need to get the ipn to verify a payment and then run my code for updating the users profile:)
I'm assuming that I need to add some code here.... and use the item_name form the ipn information?? am I on the right track??
Quoteelse
generateError($txt['paid_unknown_transaction_type']);
Same here, no one knows how to overcome this.
did chmod -R 777 * at /httpdocs but still no use
Quote from: shadowfall on December 01, 2009, 05:28:23 PM
Can somebody tell me what files need to me chmoded because i keep on getting this:
FTP Information Required
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.
Everytime I try to apply the mod. Thanks
to accept € (EURO) instead of $ (USD) you have to manually edit these lines:
ManagePaid.english.php
Find:
// Symbols.
$txt['usd_symbol'] = '$%1.2f';
$txt['eur_symbol'] = '€%1.2f';
$txt['gbp_symbol'] = '£%1.2f';
$txt['usd'] = 'USD ($)';
$txt['eur'] = 'EURO (€)';
$txt['gbp'] = 'GBP (£)';
$txt['other'] = 'Other';
Replace with:
// Symbols.
$txt['usd_symbol'] = '$%1.2f';
$txt['eur_symbol'] = '€%1.2f';
$txt['gbp_symbol'] = '£%1.2f';
$txt['usd'] = 'USD ($)';
$txt['eur'] = 'EURO (€)';
$txt['gbp'] = 'GBP (£)';
$txt['other'] = 'Other';
thanks for the code, had problems with displaying the euro sign!
Quote from: daveb26 on December 13, 2009, 05:08:53 PM
Same here, no one knows how to overcome this.
did chmod -R 777 * at /httpdocs but still no use
Quote from: shadowfall on December 01, 2009, 05:28:23 PM
Can somebody tell me what files need to me chmoded because i keep on getting this:
FTP Information Required
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.
Everytime I try to apply the mod. Thanks
Can anyone explain how to fix this? I've got the same error as well.
I know to add a button on SMF but is impossible for this mod to add a "BUY" button because : index.php?action=profile;u=1;sa=subscriptions, this is for users to see :
Paid Subscriptions
Below is a list of all the subscriptions which are available on this forum.
u=1 is for first member i guess so if i want to add a buy button on my forum how is possible that as long as the direct link depend for each member (u=1,u=2,etc) ?
Quote from: mariusfv on January 13, 2010, 06:47:33 PM
I know to add a button on SMF but is impossible for this mod to add a "BUY" button because : index.php?action=profile;u=1;sa=subscriptions, this is for users to see :
Paid Subscriptions
Below is a list of all the subscriptions which are available on this forum.
u=1 is for first member i guess so if i want to add a buy button on my forum how is possible that as long as the direct link depend for each member (u=1,u=2,etc) ?
Actually, you just need to put the link in this form:
index.php?action=profile;sa=subscriptionsBy removing the u=1 you go directly to
your subscriptions and not somebody else's. Of course, you've got to be logged in otherwise an error message will show up.
10x man !
work as you say after login, but not work even is logged if i used : "target="_blank" -> for new tab/window ,in that situation redirect is to admin/member profile.
But my problem is solved even if I can't in new tab !
10x again...
Single Payment and Recurring Payment, any problems with you guys?
I've been using this mod with both options, the user chooses if he just want to pay for 1 month, or if he wants to be billed automaticaly every months. It has been working so far for many months, but right now, their VISA is only accepted by Paypal if they go for the recurring payment option and nobody seems to manage to do a single payment.
Anyone with this problem?
I am just testing the recurring payments, but all non rebilling payments are ok here.
How can I see if a member made a recurring payment (database is not a problem as well to look)?
Quote from: qtime on January 24, 2010, 02:04:03 PM
How can I see if a member made a recurring payment (database is not a problem as well to look)?
you have to see it inside your Paypal account.
Quote from: vipmoney on January 25, 2010, 01:44:14 AM
Quote from: qtime on January 24, 2010, 02:04:03 PM
How can I see if a member made a recurring payment (database is not a problem as well to look)?
you have to see it inside your Paypal account.
ok thanks
You don't need this if you're using 2.0 right?
Quote from: Shaliza on January 25, 2010, 04:12:49 AM
You don't need this if you're using 2.0 right?
it's a standard feature in smf 2.0 and have more options, like sending a PM before X days end of subscription
Quote from: qtime on January 25, 2010, 04:15:58 AM
Quote from: Shaliza on January 25, 2010, 04:12:49 AM
You don't need this if you're using 2.0 right?
it's a standard feature in smf 2.0 and have more options, like sending a PM before X days end of subscription
Does anyone know how to implement the PM functionality on this MOD? It shouldn't be too hard since smf 2.0 subscription feature is an improved version of this MOD.
The PM functionality also relies on the scheduled tasks feature of 2.0...
Is it simple to upgrade from 1.1.11 to 2.0 having already this mod installed?
I mean, having hundreds of subscribers already inside this mod, it would be a problem to migrate and mantain all these subscriptions working with no trouble?
thanks for any feedback ;)
I believe the subscriptions should just drop into the 2.0 system since AFAIK the same person who wrote the mod was the one who added the feature to 2.0...
Trying to install on 1.1.x
instruction says go to PP > Profile > IPN > Merchant Tools
Here's what is on that page. Note that the words IPN and Merchant Tools do not appear anywhere. So, what is wrong here? Am i on the wong page or are these directions out of date?
Account Information
* Email
* Street Address
* Phones and Mobile Payments
* Password
* Notifications
* Language Preference
* Time Zone
* Manage User
* API Access
* PayPal Security Key
* Getting Started Steps
* Business Information
* Close Account
* Identification Preference
Financial Information
* Credit/Debit Cards
* Bank Accounts
* Currency Balances
* Money Market Fund
* PayPal Debit Card
* PayPal Plug-In
* Balance Manager
* Gifts and Discounts
* Recurring Payments
* Monthly Account Statements
* Pay List
* Preapproved Payments
Selling Preferences
* Auctions
* Sales Tax
* Set Up Shipping Calculations
* Shipping Preferences
* My Saved Buttons
* Payment Receiving Preferences
* Instant Payment Notification Preferences
* PayPal Shops
* Reputation
* Customer Service Message
* Website Payment Preferences
* Encrypted Payment Settings
* Custom Payment Pages
* Invoice Templates
* Language Encoding
Quote from: qtime on January 25, 2010, 04:15:58 AM
Quote from: Shaliza on January 25, 2010, 04:12:49 AM
You don't need this if you're using 2.0 right?
it's a standard feature in smf 2.0 and have more options, like sending a PM before X days end of subscription
Too bad some of the other mods I use don't support 2.0 RC2 yet, or I'd have my sites running it!
index.template.php by the looks of things.
Even i suggest the same think the package you tried to upload either is not a valid package or has become corrupted,,,
Quote from: SperaToivo on March 09, 2010, 12:52:17 AM
Quote from: Arantor on March 07, 2010, 05:29:32 PM
index.template.php by the looks of things.
O.k., here's what I've got in index.template.php.
// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo '<li', $current_action == 'register' ? ' id="active"' : '', '><a href="', $scripturl, '?action=register">' , $txt[97] , '</a></li>';
// If the user is a guest, also show [subscribe] button.
if ($context['user']['is_guest'])
echo '<li', $current_action == 'subscribe' ? ' id="active"' : '', '><a href="', $scripturl, '?action=profile, u=', $ID_MEMBER, 'sa=subscriptions">' , $txt[subscribe] , '</a></li>';
I'm using the Sonbahar theme, and I tried to use the code for the register button as well as the code I quoted in reply 887 to try to figure out what to put in there. I substituted "subscribe" for every instance of "donation". I added $modSettings;
to function template_menu()
{
global $context, $settings, $options, $scripturl, $txt,
because it wasn't in there to begin with, and then I just pasted global $ID_MEMBER;
after it.
I've now got the subscribe button on my page:
http://www.creekflows.com/forum/index.php (http://www.creekflows.com/forum/index.php)
but it doesn't go anywhere. The few times I was able to get it to point somewhere (and I'm not really sure how I did that) it just gave me an error stating the user profile I was trying to view didn't exist. Eventually I want to remove the register button and only allow guests to subscribe, but I really don't know what I'm doing. Could someone help me out?
Thank you.
You seem to have screwed things up. This link construction is wrong:
echo '<li', $current_action == 'subscribe' ? ' id="active"' : '', '><a href="', $scripturl, '?action=profile, u=', $ID_MEMBER, 'sa=subscriptions">' , $txt[subscribe] , '</a></li>';
Try to go as a guest and click in the Subscribe button on your forum and then look at the url bar to see what link you get. ???
I don't get why do you put this either:
// If the user is a guest, also show [subscribe] button.
if ($context['user']['is_guest'])
And then you have an $ID_MEMBER string after... guest are not members, so the profile (u=', $ID_MEMBER, ') will always be zero. So I think you messed up this part. If people subscribe they have to be members, there's no way several guests can subscribe something.
Quote from: Paracelsus on January 25, 2010, 06:10:27 AM
Does anyone know how to implement the PM functionality on this MOD? It shouldn't be too hard since smf 2.0 subscription feature is an improved version of this MOD.
Ok, I hacked this together last night.
This mod will warn people two weeks before one of their subscriptions expires. Just replace the "autoCheckSubscriptions()" function (in Sources/ManagePaid.php) with this one. You will also want to edit the $txt[paid_reminder_body] text in Themes/default/languages/ManagePaid.english.php to set the notification the way you want it to be.
I tested this on my forum and it works like a charm.
// Function called to clean up expired subscriptions.
function autoCheckSubscriptions()
{
global $db_prefix, $sourcedir, $txt;
// Set notification time to be two weeks before subscription expires.
// Expressed in seconds, so 14 days * 24 hours * 60 mins * 60 secs.
$expire_time = time() + (14 * 24 * 60 * 60);
// Select all subscriptions that are due to expire.
$request = db_query("
SELECT ID_SUBLOG, ID_SUBSCRIBE, ID_MEMBER
FROM {$db_prefix}log_subscribed
WHERE status = 2
AND reminder_sent = 0
AND endTime < $expire_time", __FILE__, __LINE__);
// Step through each row and send a notification to each user.
while ($row = mysql_fetch_assoc($request))
{
// Update "reminder_sent" flag that so we only remind them once.
db_query("
UPDATE {$db_prefix}log_subscribed
SET reminder_sent = 1
WHERE ID_SUBLOG = " . $row['ID_SUBLOG']);
// Grab the user's name and e-mail address.
$request2 = db_query("
SELECT ID_MEMBER, realName, memberName, emailAddress
FROM {$db_prefix}members
WHERE ID_MEMBER = " . $row['ID_MEMBER'] . "
LIMIT 1", __FILE__, __LINE__);
$row2 = mysql_fetch_assoc($request2);
mysql_free_result($request2);
require_once($sourcedir . '/Subs-Post.php');
// Send the subscription expiration warning via e-mail.
sendmail($row2['emailAddress'], $txt['paid_reminder_subject'],
sprintf($txt['sendtopic_dear'], $row2['realName']) . "\n\n" .
"$txt[paid_reminder_body]\n\n" .
$txt[130]);
}
mysql_free_result($request);
// Find all the ones to remove.
$request = db_query("
SELECT ID_SUBSCRIBE, ID_MEMBER
FROM {$db_prefix}log_subscribed
WHERE status = 2
AND endTime < " . time(), __FILE__, __LINE__);
while ($row = mysql_fetch_assoc($request))
removeSubscription($row['ID_SUBSCRIBE'], $row['ID_MEMBER']);
mysql_free_result($request);
// Store the next expire time.
updateNextCheck();
}
Quote from: SperaToivo on March 09, 2010, 01:46:04 PM
Does the subscription feature in 2.0 also require that guests register before they can purchase a subscription?
Yes. But you don't have to actually open any boards to them, you could hide all boards, have them only accessible to a 'donator' group or similar, and have the paid subscription move them to that group on payment.
Quote from: szinski on March 09, 2010, 08:55:33 AM
Quote from: Paracelsus on January 25, 2010, 06:10:27 AM
Does anyone know how to implement the PM functionality on this MOD? It shouldn't be too hard since smf 2.0 subscription feature is an improved version of this MOD.
Ok, I hacked this together last night.
This mod will warn people two weeks before one of their subscriptions expires. Just replace the "autoCheckSubscriptions()" function (in Sources/ManagePaid.php) with this one. You will also want to edit the $txt[paid_member_body] text in Themes/default/languages/ManagePaid.english.php to set the notification the way you want it to be.
I tested this on my forum and it works like a charm.
// Function called to clean up expired subscriptions.
function autoCheckSubscriptions()
{
global $db_prefix, $sourcedir, $txt;
// Set notification time to be two weeks before subscription expires.
// Expressed in seconds, so 14 days * 24 hours * 60 mins * 60 secs.
$expire_time = time() + (14 * 24 * 60 * 60);
// Select all subscriptions that are due to expire.
$request = db_query("
SELECT ID_SUBLOG, ID_SUBSCRIBE, ID_MEMBER
FROM {$db_prefix}log_subscribed
WHERE status = 2
AND reminder_sent = 0
AND endTime < $expire_time", __FILE__, __LINE__);
// Step through each row and send a notification to each user.
while ($row = mysql_fetch_assoc($request))
{
// Update "reminder_sent" flag that so we only remind them once.
db_query("
UPDATE {$db_prefix}log_subscribed
SET reminder_sent = 1
WHERE ID_SUBLOG = " . $row['ID_SUBLOG']);
// Grab the user's name and e-mail address.
$request2 = db_query("
SELECT ID_MEMBER, realName, memberName, emailAddress
FROM {$db_prefix}members
WHERE ID_MEMBER = " . $row['ID_MEMBER'] . "
LIMIT 1", __FILE__, __LINE__);
$row2 = mysql_fetch_assoc($request2);
mysql_free_result($request2);
require_once($sourcedir . '/Subs-Post.php');
// Send the subscription expiration warning via e-mail.
sendmail($row2['emailAddress'], $txt['paid_reminder_subject'],
sprintf($txt['sendtopic_dear'], $row2['realName']) . "\n\n" .
"$txt[paid_reminder_body]\n\n" .
$txt[130]);
}
mysql_free_result($request);
// Find all the ones to remove.
$request = db_query("
SELECT ID_SUBSCRIBE, ID_MEMBER
FROM {$db_prefix}log_subscribed
WHERE status = 2
AND endTime < " . time(), __FILE__, __LINE__);
while ($row = mysql_fetch_assoc($request))
removeSubscription($row['ID_SUBSCRIBE'], $row['ID_MEMBER']);
mysql_free_result($request);
// Store the next expire time.
updateNextCheck();
}
I'll try it out. I think I will add something more beside $txt[paid_reminder_body], since in the language file there is also $txt[paid_reminder_name], $txt[paid_reminder_date] and one more. I'll let you know later if it works. ;)
hi i have this installed on RC2 and think i have set everything up right however when i get to the point of logging into paypal to pay for the subscription i get this
The link you have used to enter the PayPal system is invalid. Please review the link and try again.
i have used the link provided in the mod settings like i said everything works till then
This isn't needed since Subscription is part of the 2.0 release. Check under core and its listed there.
wow you are correct as a matter of fact that is what i am using wow what a blonde moment ok but my ??? still stands cause it is the core one that is doing it however i got it to work with a different paypal acct i think it has something to do with the paypal acct not being verified it doesn't seem to work on accts that are not verified can anyone confirm this?
That's not an SMF issue but a PayPal one. Get the account verified and it should work.
shary2007:[/b] paste this into your "Modifications.english.php" (or whatever language you use)
// Paid Subscriptions Mod
$txt['paid_subscriptions'] = 'Paid Subscriptions';
$txt['subscriptions'] = 'Subscriptions';
$txt['subscription'] = 'Subscription';
$txt['paid_subs_desc'] = 'Below is a list of all the subscriptions which are available on this forum.';
$txt['paid_subs_none'] = 'There are currently no paid subscriptions available!';
$txt['paid_current'] = 'Existing Subscriptions';
// Some errors for subscription mod.
$txt['paypal_could_not_connect'] = 'Could not connect to paypal server';
$txt['paypal_unverified_subject'] = 'Unverified Paypal Transaction';
$txt['paypal_unverified_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was unverified.';
$txt['paid_sub_not_active'] = 'That subscription is not taking any new users!';
$txt['paid_disabled'] = 'Paid subscriptions are currently disabled!';
$txt['worldpay_password_wrong'] = 'Payment ignored as WorldPay password is incorrect - please ensure you have the correct callback password set.';
$txt['2co_password_wrong'] = 'Payment ignored as 2co.com secret word is incorrect - please ensure you have the correct secret word and 2co.com ID set.';
$txt['paid_unknown_transaction_type'] = 'Unknown transaction type in ipn.php';
$txt['paid_missing_transaction_type'] = 'Cannot find transaction file %s.php';
$txt['paid_empty_member'] = 'Paid subscription handler could not recover member ID';
$txt['paid_could_not_find_member'] = 'Paid subscription handler could not find member with ID: %d';
$txt['paid_count_not_find_subscription'] = 'Paid subscription handler could not find subscription for member ID: %1$s, subscription ID: %2$s';
$txt['nochex_could_not_connect'] = 'Could not connect to nochex server';
$txt['nochex_unauthorised_subject'] = 'Unauthorised nochex Transaction';
$txt['nochex_unauthorised_body'] = 'A user attempted to add a paid subscription to your forum, but the transaction was rejected.';
[/quote]
the same thang is happening to me just like shary2007 and i dont no ware Modifications.english.php to past this code
Hi,
Is there any plan to update this mod to work on SMF 1.1.11 ?
Or will this mod install with this version? I never used this mod before and just found it. This is what I've been looking for. I'd appreciate a response.
Thanks,
Gibs
Most 1.1.x mods install on any 1.1.x version, give it a try.
Hi,
I am trying to install the package. I am using SMF 1.1.11 and I get this install error.
Fatal error: require() [function.require]: Failed opening required /Packages/temp/subscription/paidsubsdb.php (include_path='.:/usr/lib64/php') in /Sources/Packages.php on line 556
Thanks for any help.
Gibs
Okay I tried installing 4 different versions down to 15 and the further i go back the more files show a Modification parse error before install.
Doesn't seem to be a working version out there for SMF 1.1.11
Any help anyone please?
Thanks,
Gibs
Quote from: gibsongk55 on May 13, 2010, 01:01:07 AM
Okay I tried installing 4 different versions down to 15 and the further i go back the more files show a Modification parse error before install.
Doesn't seem to be a working version out there for SMF 1.1.11
Any help anyone please?
Thanks,
Gibs
It works on SMF 1.1.11, maybe you have to change the version number on package.xml or something, but it works, that I can assure you.
Or use the most recent version of the mod, coupled with Version Emulate Dropdown (http://custom.simplemachines.org/mods/index.php?mod=2113) to override the version check.
Hi,
Thanks for the reply. I download the version emulator but I don't see how or where that works. I downloaded the latest version 18 on the paid subs again and uploaded and installed it. All the files check okay and after I click install i get this error:
QuoteFatal error: require() [function.require]: Failed opening required /Packages/temp/subscription/paidsubsdb.php (include_path='.:/usr/lib64/php') in /Sources/Packages.php on line 556
Same error as I received before. Back to the beginning again. Any more ideas?
Thanks,
Gibs
The emulator works by adding a new menu entry into the admin panel as the page describes. If the item doesn't appear maybe your permissions are messed up.
Have you been able to install other mods?
Hi,
The emulator installed ok. I found it under server/configurations and selected many older versions and tried the install. I still get the same error as stated above every time.
Thanks,
Gibs
Then it's not a version problem.
Again, have you been able to install others mods? (What mods? Were they successful too?)
Hi,
Yes here is a list of installed mods:
1. Stop Spammer 2.2
2. Ad Managment 2.3
3. SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update 1.0
4. Double Post Stopper 1.1
5. Stop Spammer 2.3.7
6. Redirect on Login and/or Logout mod 0.4
7. Version Emulate Dropdown 1.1
9. Default Membergroup on Registration 1.1
And they all installed successfully.
Thanks,
Gibs
Been waiting 2 weeks... i would really appreciate it if anyone could help me get this mod installed.
Thanks,
Gibs
4 Weeks and counting and no response can someone help please?
is there a way to keep my current subscribers from 1.1.11 to 2.0 ?
I have 1.1.11 and Paid Subscriptions 0.18 .
I think this mod is dead and so is this topic. Over a month and no response here.
Furthermore, it will not install. I will give it another week. If no fix for this I will dump SMF totally and not waste my time with forums again.
Gibs
Quote from: gibsongk55 on June 15, 2010, 10:04:09 PM
I think this mod is dead and so is this topic. Over a month and no response here.
Furthermore, it will not install. I will give it another week. If no fix for this I will dump SMF totally and not waste my time with forums again.
Gibs
This MOD works flawlessly and after the small fixes for the follow-up emails all features are working 100% in 1.1.11.
Quote from: Paracelsus on June 16, 2010, 06:09:39 PM
Quote from: gibsongk55 on June 15, 2010, 10:04:09 PM
I think this mod is dead and so is this topic. Over a month and no response here.
Furthermore, it will not install. I will give it another week. If no fix for this I will dump SMF totally and not waste my time with forums again.
Gibs
This MOD works flawlessly and after the small fixes for the follow-up emails all features are working 100% in 1.1.11.
How lame of a post Paracelsus. Read above it doesn't work! No solution. Only people that offer a little help and when it does not work they disappear. This mod has no support and it does not install on the latest version of SMF. MOD is DEAD Currently.
Gibs
Quote from: gibsongk55 on June 16, 2010, 08:31:09 PM
Quote from: Paracelsus on June 16, 2010, 06:09:39 PM
Quote from: gibsongk55 on June 15, 2010, 10:04:09 PM
I think this mod is dead and so is this topic. Over a month and no response here.
Furthermore, it will not install. I will give it another week. If no fix for this I will dump SMF totally and not waste my time with forums again.
Gibs
This MOD works flawlessly and after the small fixes for the follow-up emails all features are working 100% in 1.1.11.
How lame of a post Paracelsus. Read above it doesn't work! No solution. Only people that offer a little help and when it does not work they disappear. This mod has no support and it does not install on the latest version of SMF. MOD is DEAD Currently.
Gibs
What are you talking about? In my forum works perfectly since the day I installed it, it's a 1.1.11 version and the MOD was installed about a one and a half years ago.
If it doesn't install on 1.1.11 change the package.xml to include version 1.1.11, zip the file back and then try to upload it again.
Quote
What are you talking about? In my forum works perfectly since the day I installed it, it's a 1.1.11 version and the MOD was installed about a one and a half years ago.
If it doesn't install on 1.1.11 change the package.xml to include version 1.1.11, zip the file back and then try to upload it again.
What the heck do you change in the package.xml file for SMF version 1.1.11 ? I don't see anything about the version number on the mod version # .18
Gibs
The install error is on line 556 in packages.php
This line ---- > require($boarddir . '/Packages/temp/' . $context['base_path'] . $action['filename']);
Failed to open Packages/temp/paidsubs18/paidsubsdb.php' (include_path='.:/usr/lib64/php')
Must have something to do with adding the table in the database.
Gibs
I still can't install this dead mod. I just tried installing it manually exactly to the instructions. I only got up to the first two MYSQL queries to add tables and get errors below. Anyone know how to install this thing? Don't tell me it works because it will not install on SMF 1.1.11 with the package manager nor will it install per the instructions manually.
Thanks,
Gibs
CREATE TABLE IF NOT EXISTS {$db_prefix}subscriptions(
ID_SUBSCRIBE int(11) NOT NULL auto_increment,
Name varchar(60) NOT NULL default '',
Description tinytext NOT NULL,
Cost text NOT NULL default '',
Length varchar(6) NOT NULL default '',
ID_GROUP int(8) NOT NULL default '0',
addGroups varchar(40) NOT NULL default '',
active tinyint(3) NOT NULL default '1',
Repeatable tinyint(3) NOT NULL default '0',
allowPartial tinyint(3) NOT NULL default '0',
reminder tinyint(4) NOT NULL default '0',
email_complete text NOT NULL default '',
PRIMARY KEY (ID_SUBSCRIBE),
KEY active (active)
) TYPE=MyISAM
#1064 - 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 '{$db_prefix}subscriptions( ID_SUBSCRIBE int(11) NOT NULL auto_increment, Name ' at line 1
---------------------------------------------------
CREATE TABLE IF NOT EXISTS {$db_prefix}log_subscribed(
ID_SUBLOG int(10) NOT NULL auto_increment,
ID_SUBSCRIBE int(10) NOT NULL default '0',
ID_MEMBER int(10) NOT NULL default '0',
OLD_ID_GROUP int(8) NOT NULL default '0',
startTime int(10) NOT NULL default '0',
endTime int(10) NOT NULL default '0',
status tinyint(3) NOT NULL default '0',
reminder_sent tinyint(3) NOT NULL default '0',
vendor_ref tinytext NOT NULL default '',
PRIMARY KEY (ID_SUBLOG),
UNIQUE KEY ID_SUBSCRIBE (ID_SUBSCRIBE,ID_MEMBER),
KEY ID_USER (ID_MEMBER)
) TYPE=MyISAM
#1064 - 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 '{$db_prefix}log_subscribed( ID_SUBLOG int(10) NOT NULL auto_increment, ID_SUBS' at line 1
Okay I guess I am talking to myself because the author and others will not reply to help anyone on this mod. For anyone else trying I finally got it installed after 2 months!!
First of all you will have to manually install it. Follow the directions up until the end where you need to update the database tables.
Here you need to go into your control panel, your PHPmyAdmin and go to your SMF table. As in the instructions do each query under [SQL] in your PHPmyAdmin. First change all single quotes to double quotes. Then you need to change the variable: {$db_prefix} with the actual prefix of your database tables in my case it is the default: smf. Also modify the commain a little like this.
So for the query:
CREATE TABLE IF NOT EXISTS {$db_prefix}subscriptions
I had to change it to:
CREATE TABLE smf_subscriptions
Just look at your tables and see what the prefix is for all your tables. You will need to do these two changes on all the Queries. Note: some of the queries will show an error "Duplicate rows". This is because they were already updated.
-----------------------------------------
Well that is as far as I could get. It works. But now what to do? No real documentation. I set up my paypal IPN.
I turned on the paid subscription in the admin panel of SMF. I added a subscription and chose a default board. Where does the user get a paypal button to signup? I set the default subscription for new users. I signed up as a new user and I receive no notice to pay, nothing about paypal, and it allows me to post in that board as well.
What are you supposed to do next? Make a paypal button? I though the mod would handle that as it lets me choose the amount and duration. Something is totally missing here. Anyone have this missing information?
I would hate to spend 2 more months on this.
Gibs
Hi gibsongk55
I have try this mod for playing, not sure I will use it. I take a look on package info for everey mod I try.
I have added manualy a directory /subs, installed the Mod => Like a charm, all done.
Quote from: gibsongk55 on June 17, 2010, 03:11:39 AM
The install error is on line 556 in packages.php
This line ---- > require($boarddir . '/Packages/temp/' . $context['base_path'] . $action['filename']);
Failed to open Packages/temp/paidsubs18/paidsubsdb.php' (include_path='.:/usr/lib64/php')
Must have something to do with adding the table in the database.
Gibs
I think it's a server problem.
Failed to open Packages/tempTry locally with your own server. I m under Windows and the easisest tool for installing a easy solution is http://www.uwamp.com/?page=home&newlang=en
Is there any active work being done on this mod, or is it to be beta ad infinitum?
This mode is no longer suported, because it is included in SMF 2.0's core code. Just upgrade to SMF 2.0 RC3 or newer.
To the Other guy, that couldn't figure out how to get people to pay, there is a link in their profile, something like this:
http://www.yourforum.com/index.php?action=profile;sa=subscriptions (http://www.yourforum.com/forum/index.php?action=profile;sa=subscriptions)
Quote from: NukeWorker.com on August 23, 2010, 11:23:32 AM
This mode is no longer suported, because it is included in SMF 2.0's core code. Just upgrade to SMF 2.0 RC3 or newer.
WOW. How's that for a coincidence - of the nine 1.1.11 forums and single 2.0 RC3 forum I have on my site, the only one I was planning to make a paid-membership site already had that feature built in! I snooped around in my Admin panel until I found it and turned it on.
If one uses PayPal, does the PayPal e-mail remain hidden to users, or is it visible to anyone who makes a payment? And can the system be set up to process credit card payments directly instead of going through PayPal?
Installed fine on 1.1.11 for me. Great mod!
I have installed it, clicked enable, added subscriptions, and changed the site to where you have to be in the "special" membergroup to read the posts. My problem is that when I log in as a new member I just dont see anything other than the banner and the stats at the bottom. Where are the members supposed to go to purchase a subscription?
Is there a way for me to make it to where they can see everything on the index page but in order to view them they have to get a subscription?
codymunger - not from this mod itself, but the mod will provide you with the ability to change user groups and there's a mod called view only boards that you can use in combination to set it so all groups can see but only premium groups can go in
Where are people supposed to go to make a subscription once I enable it on the site? Do I have to make a button from paypal?
no, it should be in their profile area
Ok, we have the mod installed and up and running, however, how does a subscriber cancel his membership and choose not to use recurring payments. For example, with the test account, we went through the subscription and checked the recurring payments box. When approved I went through with the test account to see if there was somewhere to cancel recurring payments and I could not find it. Also, it made me pay with an e-check. Is there a way to pay with just a Paypal balance? Does this have something to do with being a verified or confirmed member with Paypal?
Before I download and install this mod, I would like to know if it will do what I would like it to:
1. We charge $30/yr for the first year and $20/yr after that. Can it do this?
2. Some of our members will opt to pay cash in person or check by mail. Can I manually authorize payment for these exceptions?
3. The way I have it set up now is that if they don't pay by a certain time, their membergroup is changed to a restricted one with limited access, once they pay, they get their upgraded membergroup back. Can it make this process automated?
4. I understand that 2.0 has this feature built-in. Right now I am running 1.1.11—would it be worth it to install 2.0 just for this ability? We are a small board with about 50 members.
Thanks!
Just for any one else look for help for my problem, I installed this and it wasn't working - it was giving me this error:
QuoteSome of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders.
I thought it was a permission problem or a path problem, but it was neither. The solution for me was to create a directory called "subs" in the forum root. Worked like a charm!
The mod is working fine now, I just need some extra help.
Sometimes after my subscriber pays, I need to change their membergroup again manually, but when their subscription ends, it won't revert back to the original membergroup, it just keeps them in the membergroup that I manually put them into. Is there any way to edit the mod or code in any way to keep them in a certain membergroup when they are not a paid subscriber?d
bump
You shouldn't put them in manually, it does it automatically. When the subscription ends I'm not sure if it sends them back to the regular user group or not.
I don't put them in manually, but I have several membergroups and need to "upgrade" their membership occasionally. When I do this, it won't put them back in the default membergroup when the subscription expires, it keeps them where they are. I need to know how to circumvent this problem, if possible.
Sorry, but where do I find it in 2.0 RC4?
Quote from: Laura CGA on December 07, 2010, 01:58:30 PM
Sorry, but where do I find it in 2.0 RC4?
No worries, found it
Hey everyone, I am loving this mod! I just have 1 big issue, i have installed it all (i am using 1.1.11 if that makes a difference) problem is now when i click on a profile i get this error
Fatal error: Cannot redeclare subscriptions() (previously declared in /home/content/a/n/0/an0nymoushelp/html/forums/Sources/Profile.php:2975) in /home/content/a/n/0/an0nymoushelp/html/forums/Sources/Profile.php on line 3319
I really need too get this all back up very quickly so if anyone could help me out i would appreciate it SO much!
Thanks a lot in advance!!!!!
EDIT: I figured it out, for some reason it installed twice.
Will there be an update for 201? 1 if so do you no when?? Because right now the "Start Date and Time:" and "End Date and Time:" Are both between 2004 and 2010...
Given that the author hasn't been around for a while, and that it's a core feature of 2.0, I wouldn't expect an update any time soon.
Hi All,
Not sure what is going on with my Paid Subscriptions mod - I've created the button via PayPal, set the IPN URL, created a 'Paid Subscriptions' member group with proper permissions, installed the mod and set the default group, yet it seems nothing happens once the customer pays via PayPal. No errors are displayed, but they are not automatically redirected back to the forum nor is an account created - its as if the IPN is not doing anything at all to update data on the site.
Any ideas on how I can troubleshoot this? I even tried using the create username/password feature in PayPal but the data was not added to the forum so the generated info is useless. What am I missing here? Seems like this should be a simple fix but I don't know where the problem lies...
Running SMF version 1.1.12 btw
Did you double-check the return link for IPN to be correct?
EDIT: Nevermind. Installed the 2.0 RC4 and the mod came with it, works great. Thanks.
He all,
Great job, but i upgrade my forum to the RC4 so i need to reinstall the Paid Subscriptions.
But i cant install it well. I only going to try is reinstall the forum. You hear that from my soon.
But it doesn't work for me.... :(
Even when its in the installation .. :S
You don't need to install this mod on 2.0... it's a built in feature!
Well even when its build in, like i said in my previous post, it doesn't work....
You haven't said what the problem is. Right now you've done the equivalent of going to the doctor and saying "I have a pain" and expecting him to figure out what the problem is.
In 2.0, all you have to do is turn it on in Core Features...
Yes i know that clicking a button is simple...
Only i know that the installation cant find some quotes in the 2.0 RC4.
index.php and some other files, so when i press the uninstall button the whole forum crash and i get a error 404 cant find subscriptions.php.
I replaced that file still 404 cant find a other file. I have no pic (anymore) and i have just reinstalled the forum so.
Thx for you posts
You're NOT SUPPOSED TO INSTALL IT ON 2.0 RC4.
On a fresh install of 2.0 RC4, go to Admin > Configuration > Core Features and turn on Paid Subscriptions. NO MODS REQUIRED.
Hello Grudge & follow paid subs users,
Pending payment issues? well read this
http://www.simplemachines.org/community/index.php?topic=423419.0
no payment can be active if it has a end date that has already passed this is the issue read that post please comment on your findings and lets try to help Grudge and smf admins get this fixed and taken care of. i do think you should try to donate to the mod maker if he does fix this for us.
Grudge hasn't been around here for ages.
Quote from: divstrong on January 29, 2011, 12:03:48 PM
Hi All,
Not sure what is going on with my Paid Subscriptions mod - I've created the button via PayPal, set the IPN URL, created a 'Paid Subscriptions' member group with proper permissions, installed the mod and set the default group, yet it seems nothing happens once the customer pays via PayPal. No errors are displayed, but they are not automatically redirected back to the forum nor is an account created - its as if the IPN is not doing anything at all to update data on the site.
Any ideas on how I can troubleshoot this? I even tried using the create username/password feature in PayPal but the data was not added to the forum so the generated info is useless. What am I missing here? Seems like this should be a simple fix but I don't know where the problem lies...
Running SMF version 1.1.12 btw
Did it end up working for you? What did you do with the ipn.php, I have the same problem :(
I'm running V1.1.12 SMF, and i'm trying to get the payment option mod, i've edited all the files it tells me too, and uploaded the correct files to the correct places, all of that works, except when running mysql queries, i keep getting #1064 - 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 '{$db_prefix}log_subscribed( ID_SUBLOG int(10) NOT NULL auto_increment, ID_SUBS' at line 1, i asked Hostgator about it on live chat, and they looked into it via phpmyadmin, but they don't understand it My site url is hxxp:www.TranquilityX.org [nonactive], and this is what i'm trying to install http://custom.simplemachines.org/mods/index.php?action=parse
Thanks for reading
Thanks in advance if anyone posts:)
Hi all, somebody an idea how to change the end date 2010 up to maybe 2012 ?
Thanks :laugh: :laugh: :laugh: :laugh:
Found it ;D
You must go to the "Calandar" features and there you can change the date to what you want 8)
Quote from: JungleBunny on March 12, 2011, 09:10:06 PM
Found it ;D
You must go to the "Calandar" features and there you can change the date to what you want 8)
Which calendar feature?
Out of the blue, in the past couple of days, Paypal sent me the following emails...
Quote
Hello,
Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:
http://forum.mysite.com/subs/ipn.php
http://forum.mysite.com/ipntreas.php
If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account.
Thank you for your prompt attention to this issue.
Thanks,
PayPal
-------------------------
Any idea why it would start failing all of a sudden?
Thanks.
Is IPN on? Is sending messages enabled? Did you move server? I have the same problem with my 2.0 forum. I think its because it's powered by LiteSpeed.
Hello, I have been searching the way to use subscriptions and I think I do everything I need to make it work but something is wrong. For make it more easy for another users like me, I try to explain what I do step by step so the SMF team can help us better.
I have installed the SMF 2.0
1) In Configuration > Core Features > Paid Subscriptions: click ON and and save
2) In Paypal (https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-ipn-notify)
Notification URL: http://www.mysite.com/subscriptions.php / Click Option: Receive IPN options / and save
3) In Administration Center » Paid Subscriptions » View Subscriptions: Create a subscription (Subscription Name: Description: Auto-renew: Active: Primary Group upon Subscription: Subscription for fixed price and period: etc)
::::::::
Now I go inside the forum with a test-user and try to pay the subscription:
Paypal make the charge in the account and send supporting ID transaction and automatic payment profile to the Test-user mail.
The admin of the forum mail receive the following message:
The following error occurred when processing a paid subscription
---------------------------------------------------------------
Unknown Paid Subscriptions transaction type
Well I hope to be very clear so that they can support in knowing if to lack something to me more within the configuration of the paid subscription.
Thanks
Have also posted in the SMF 2.x support forum but this might be the correct place to ask:
Haven't been able to find out if this feature is possible yet but this is what I would like to set up on my forum:
2 types/groups of membership - a free one (which I assume I would need to assign to one membership group) and a subscription one (another membership group). Now I would like for the subscribers to be the only ones to be able to post in specific topics but for everyone to read. Is this currently possible or do I need a Mod or to write this myself?
Many thanks, Natasha
Quote from: antoniosaucedo on August 10, 2011, 10:21:28 PM
::::::::
Now I go inside the forum with a test-user and try to pay the subscription:
Paypal make the charge in the account and send supporting ID transaction and automatic payment profile to the Test-user mail.
The admin of the forum mail receive the following message:
The following error occurred when processing a paid subscription
---------------------------------------------------------------
Unknown Paid Subscriptions transaction type
Well I hope to be very clear so that they can support in knowing if to lack something to me more within the configuration of the paid subscription.
Thanks
I don't think I've ever had a mail for the forum relating to subscriptions, even though it's set. I still have to do the accept by hand :(
Quote from: madfiddler on August 31, 2011, 04:19:16 PM
I don't think I've ever had a mail for the forum relating to subscriptions, even though it's set. I still have to do the accept by hand :(
And what are you doing when the subscription finished? Do you have to get inside every day for search finished subscriptions and set manually for each user? Because I see that the forum automatically set the new member group for the subscripts but not downgrade when the time finished.
Is there any way to do it automatically ? thanks
WHen the subscription finishes, then unfortunately it finishes unless they have it set to recurring in which I still get an email from paypal which makes me go to the forum to sort it out. Same with any subscription. The paypal email tells me I need to sort it on the forum.
This mode working in SMF 2.02? if yes how to setup it ?
http://custom.simplemachines.org/mods/index.php?mod=413
im looking the setup guide but to many lines missing for example
./Sources/Subs.php
this lines not existe in my php code
Find: [Select]
$context['admin_areas']['members']['areas']['ban_members'] = '<a href="' . $scripturl . '?action=ban">' . $txt['ban_title'] . '</a>';
Add Before: [Select]
if (allowedTo('admin_forum'))
$context['admin_areas']['members']['areas']['paid_subscriptions'] = '<a href="' . $scripturl . '?action=paidsubscribe">' . $txt['paid_subscriptions'] . '</a>';
You don't need that mod anymore as it's built in to SMF. You need to turn it on in the settings though. Having said that, the mod still doesn't work automatically for me :(
Quote from: madfiddler on January 02, 2012, 01:44:44 PM
You don't need that mod anymore as it's built in to SMF. You need to turn it on in the settings though. Having said that, the mod still doesn't work automatically for me :(
It's because the mod is configured to work with the default theme only. If you have another theme, it will not work.
ahh gotchya, apologies for any confusion caused ctcp.
I've been recently getting:
"Could not connect to paypal server"
As an error whenever someone creates a subscription, would could be the issue? I haven't changed anything.
Quote from: Blue Crab on March 09, 2010, 08:55:33 AM
Quote from: Paracelsus on January 25, 2010, 06:10:27 AM
Does anyone know how to implement the PM functionality on this MOD? It shouldn't be too hard since smf 2.0 subscription feature is an improved version of this MOD.
Ok, I hacked this together last night.
This mod will warn people two weeks before one of their subscriptions expires. Just replace the "autoCheckSubscriptions()" function (in Sources/ManagePaid.php) with this one. You will also want to edit the $txt[paid_reminder_body] text in Themes/default/languages/ManagePaid.english.php to set the notification the way you want it to be.
I tested this on my forum and it works like a charm.
// Function called to clean up expired subscriptions.
function autoCheckSubscriptions()
{
global $db_prefix, $sourcedir, $txt;
// Set notification time to be two weeks before subscription expires.
// Expressed in seconds, so 14 days * 24 hours * 60 mins * 60 secs.
$expire_time = time() + (14 * 24 * 60 * 60);
// Select all subscriptions that are due to expire.
$request = db_query("
SELECT ID_SUBLOG, ID_SUBSCRIBE, ID_MEMBER
FROM {$db_prefix}log_subscribed
WHERE status = 2
AND reminder_sent = 0
AND endTime < $expire_time", __FILE__, __LINE__);
// Step through each row and send a notification to each user.
while ($row = mysql_fetch_assoc($request))
{
// Update "reminder_sent" flag that so we only remind them once.
db_query("
UPDATE {$db_prefix}log_subscribed
SET reminder_sent = 1
WHERE ID_SUBLOG = " . $row['ID_SUBLOG']);
// Grab the user's name and e-mail address.
$request2 = db_query("
SELECT ID_MEMBER, realName, memberName, emailAddress
FROM {$db_prefix}members
WHERE ID_MEMBER = " . $row['ID_MEMBER'] . "
LIMIT 1", __FILE__, __LINE__);
$row2 = mysql_fetch_assoc($request2);
mysql_free_result($request2);
require_once($sourcedir . '/Subs-Post.php');
// Send the subscription expiration warning via e-mail.
sendmail($row2['emailAddress'], $txt['paid_reminder_subject'],
sprintf($txt['sendtopic_dear'], $row2['realName']) . "\n\n" .
"$txt[paid_reminder_body]\n\n" .
$txt[130]);
}
mysql_free_result($request);
// Find all the ones to remove.
$request = db_query("
SELECT ID_SUBSCRIBE, ID_MEMBER
FROM {$db_prefix}log_subscribed
WHERE status = 2
AND endTime < " . time(), __FILE__, __LINE__);
while ($row = mysql_fetch_assoc($request))
removeSubscription($row['ID_SUBSCRIBE'], $row['ID_MEMBER']);
mysql_free_result($request);
// Store the next expire time.
updateNextCheck();
}
This is incredible. Could this be used for 1.x version? What about the confirmation email receipt, once the person orders?
The code above looks ok to use for SMF 1.1.x
Quote from: vbgamer45 on February 04, 2013, 06:33:40 PM
The code above looks ok to use for SMF 1.1.x
Thanks!
I have narrowed down the code to fix the email confirmation to the subscriber. Strangely, the confirmation message is being sent to the admin and not the subscriber :s
in ... /ipn.php
// Email the user?
if (strlen($emaildata > 10) && strpos($emaildata, "\n") !== false)
{
$subject = substr($emaildata, 0, strpos($emaildata, "\n") - 1);
$body = substr($emaildata, strpos($emaildata, "\n") + 1);
$search = array('{NAME}', '{FORUM}');
$replace = array($name, $mbname);
$subject = str_replace($search, $replace, $subject);
$body = str_replace($search, $replace, $body);
require_once($sourcedir . '/Subs-Post.php');
sendmail($email, $subject, $body);
}
Not sure what's a matter with it
Found something interesting in PhpMyAdmin...
Under smf_settings there is a value called paidNextExpire with a value of 1293840000
This corresponds to an epoch time of GMT: Sat, 01 Jan 2011 00:00:00 GMT
So I ended up changing this setting to 1420070400
Which is GMT: Thu, 01 Jan 2015 00:00:00 GMT
Gonna see if that fixes the auto-approve function :)
What "auto-approve function" are you referring to?
so that members are automatically changed into a particular member group upon the paypal receipt instead of having to do it manually (which used to work lol)
Quote from: Lord Anubis on March 14, 2013, 09:14:10 PM
so that members are automatically changed into a particular member group upon the paypal receipt instead of having to do it manually (which used to work lol)
I've never had to do mine manually :s Are you sure you install went as planned? However, I member I had to before switching back default. In other words, the theme I was using wasn't working properly with the modification for some reason.
it has been a bit since it auto approved, looking at your site I believe your running SMF2
EDIT: My SMF2 test sites, the Paid Subs built in function works flawless
Quote from: Lord Anubis on March 14, 2013, 09:21:56 PM
it has been a bit since it auto approved, looking at your site I believe your running SMF2
EDIT: My SMF2 test sites, the Paid Subs built in function works flawless
I'm using 1.x actually lol Try to revert to the default theme, believe me, it will work :D
wow nice look/speed on your site (very impressed)... I dunno what happened but it hasn't worked since 2010, I got my fingers crossed with finding this
Will update if this "fix" works for me lol
I just had a few ppl waiting for subs this month, and well I was a bit embarrassed because it didn't start for them :(
So I wanted to figure out why lol
Also note there was a change to PayPal's API with respect to the notifications setup. SMF 2.0.x got the fix (it's the 2.0.3 patch, amongst other things) but I don't believe the mod got updated.
Quote from: Arantor on March 14, 2013, 11:27:44 PM
Also note there was a change to PayPal's API with respect to the notifications setup. SMF 2.0.x got the fix (it's the 2.0.3 patch, amongst other things) but I don't believe the mod got updated.
True, I manually changed mine before the month of February.
Quote from: Lord Anubis on March 14, 2013, 10:41:14 PM
wow nice look/speed on your site (very impressed)... I dunno what happened but it hasn't worked since 2010, I got my fingers crossed with finding this
Will update if this "fix" works for me lol
I just had a few ppl waiting for subs this month, and well I was a bit embarrassed because it didn't start for them :(
So I wanted to figure out why lol
Prior to switching back to default, it never worked for me. I think it's the way the mod is written. You could try to change the directory name of your theme to default ;)
Quote from: Arantor on March 14, 2013, 11:27:44 PM
Also note there was a change to PayPal's API with respect to the notifications setup. SMF 2.0.x got the fix (it's the 2.0.3 patch, amongst other things) but I don't believe the mod got updated.
I wish, but I know the SMF rule is not to update unless the author consents (which makes sense)... kinda like the SMF Chess which was another golden mod imho
Quote from: Lord Anubis on March 14, 2013, 11:43:19 PM
Quote from: Arantor on March 14, 2013, 11:27:44 PM
Also note there was a change to PayPal's API with respect to the notifications setup. SMF 2.0.x got the fix (it's the 2.0.3 patch, amongst other things) but I don't believe the mod got updated.
I wish, but I know the SMF rule is not to update unless the author consents (which makes sense)... kinda like the SMF Chess which was another golden mod imho
Really? I thought you could update it, but not redistribute your update?
It's not just a rule, it's sort of law; specifically copyright law that unless the mod is given under a licence which permits modification and subsequent redistribution, no-one can take it over and update it. If you can get hold of the author and get permission, of course, this shouldn't be a problem.
In this mod's case, Grudge himself added it to SMF core way way back when he was an SMF dev.
As for modifying it yourself, go nuts. You just can't distribute it. You *can* document the changes you made, though.
QuoteAs for modifying it yourself, go nuts. You just can't distribute it. You *can* document the changes you made, though.
That's good to know, thx.
But that basically just means saying "Install this mod, then find/replace this code" as a forum post.
Just for fun, if the author should later come back, they have to ask *you* for permission to incorporate your code into it unless it's a few lines or very minor changes since then it's your copyrighted work that would be on the line. Fun business this.
well all I know is I was searching through this code and saw....
// Should we check paid subscriptions?
if (empty($modSettings['paidNextExpire']) || time() > $modSettings['paidNextExpire'])
{
require_once($sourcedir . '/ManagePaid.php');
loadLanguage('ManagePaid');
autoCheckSubscriptions();
}
Then checked the value of "paidNextExpire" I figured the epoch was showing an outdated date according to the DB
Bad thinking? Or is it a matter of looking into the hooks for Paypal API?
You found that? Interesting. The code says 'if we don't have a next expiry time logged, or "now" is after the next expiry time, go check the subscriptions'. Setting it to 2015 means that code won't run.
I have this installed on 1.1.18 but want to upgrade to 2.0.4
Will my paid subscribers be transferred over? Will their subscriptions continue in future?
This mod is not compatible with 2.0.4
BUT
paid subscriptions are built into 2.0.4 anyways
:)
Quote from: Old Fossil on June 15, 2013, 06:02:16 PM
This mod is not compatible with 2.0.4
BUT
paid subscriptions are built into 2.0.4 anyways
:)
Know, thanks
My question was really does the function now included in core upgrade from this or is it totally new and need setting up again?
Quote from: nsno on June 15, 2013, 06:05:28 PM
Quote from: Old Fossil on June 15, 2013, 06:02:16 PM
This mod is not compatible with 2.0.4
BUT
paid subscriptions are built into 2.0.4 anyways
:)
Know, thanks
My question was really does the function now included in core upgrade from this or is it totally new and need setting up again?
That I haven't a clue sorry.
Don't mean to open up a can of worms, but I've been getting complaints that this mod, which has been working perfectly for the past year on my forum, isn't working anymore. The membergroups are not automatically being updated for paid members. My website has not changed, nor has the PHP software running behind the scenes changed - it is a dedicated server.
My question is, has PayPal made any changes to the IPN file recently that may account for this?
Changes were made some time ago to how IPNs work. I'm surprised it's worked this long, in all honesty.
2.0 fixed this back in 2.0.2 or 2.0.3 IIRC.
I made those changes to this file too, that's why it 'continues' to work, except for today. I meant more recently, have any changes been made.
Oh, no, nothing has changed recently as far as I know. I do know that PayPal has had some server issues recently though (like the last 48 hours) which may also account for it.
Quote from: Sir Cumber-Patcher on January 09, 2014, 08:09:02 PM
Oh, no, nothing has changed recently as far as I know. I do know that PayPal has had some server issues recently though (like the last 48 hours) which may also account for it.
Thank goodness, this is one mod I don't really have the guts to tackle if something were to go wrong. Could you provide sources to your last comment?
Several times over the last couple of days I've gone to pay for something and it's just gone to a random error message page... good luck getting any better sources than that though ;D
Of course, maybe you might consider preparing for a transition to 2.x because 2.0's paid subs will be supported for a good while yet (until 3.0 stable happens) and 1.1.x will be unsupported soon.
Quote from: Sir Cumber-Patcher on January 09, 2014, 08:20:16 PM
Several times over the last couple of days I've gone to pay for something and it's just gone to a random error message page... good luck getting any better sources than that though ;D
Of course, maybe you might consider preparing for a transition to 2.x because 2.0's paid subs will be supported for a good while yet (until 3.0 stable happens) and 1.1.x will be unsupported soon.
Funny, I *just* got 4 PayPal messages in a row about the purchases that took place hours ago.
I'm in a bind to be honest. The transition to 2.1 would be amazing, but I've simply done far too much with the 1.x software to make the swift transition. I have tested 2.x with my database, and it works fine. Issue, however, is keeping track of all the different tables added by other mods, big ones like the gallery, a custom blog modification, countless profile modifications, etc. (list is literally too large to mention). If you sign-up, you'll get a feel that this isn't your typical 1.x forum. It works and acts like a fork, which makes it difficult to transition. I don't have the time nor willpower to do it at the moment. But thanks for the genuine concern.
Yeah, I didn't say it was *consistent*, I said there were issues over the past couple of days, but it's not every transaction.
All the time you stick to 1.1.x you have other issues to contend with. You're limited to PHP 5.4, for one. You're also forced to stick with ext/mysql (mysql_query and friends), because in 5.5 they're now non-standard and being phased out in favour of the MySQLi extension (which 2.0 has a mod for and 2.1 natively supports).
And once 2.1 happens, there will no longer be any security fixes for 1.1, not that it's worth our time fixing the other PHP 5.5 issues, nor is it even feasible for us to fix the MySQL issue that will result in PHP 5.5+ (possible yes, but so infeasible we already ruled it out)
A bit off topic, but how do you tell if this website is a 1.x build or a 2.x build?
http://forum.burek.com/
1.x --> copyright: LLC and year 2005 :P
It's 1.1.x, judging by the footer they were primarily working off a 1.1 beta.
The first clue: the footer cites copyright 2005, which predates 1.1 final. The copyright in 2.0 changed to Simple Machines (NPO)
Second clue, the Sources/ folder exists, Sources/PostModeration.php doesn't exist, Sources/ModSettings.php does, so it's 1.1.x.
Very impressive, thank you. The admin of that forum is probably in an even worse boat than me.
Quote from: Liam_michael on January 09, 2014, 08:04:13 PM
Don't mean to open up a can of worms, but I've been getting complaints that this mod, which has been working perfectly for the past year on my forum, isn't working anymore. The membergroups are not automatically being updated for paid members. My website has not changed, nor has the PHP software running behind the scenes changed - it is a dedicated server.
My question is, has PayPal made any changes to the IPN file recently that may account for this?
Hello,
I encounter exactly the same problem as you since yesterday.
I also assume that it comes from PayPal.
I got the last pin code 4 h 40 pm and then nothing.
Edit:
I just tested sending notification in paypal history and this time I received the IPN. I think everything is back in order.
I did the same test last night and it did not work.
Does the paid subscriptions mod that is built into SMF 2.0.6 work? In 2.0.5 I could receive payments but it wouldn't change the users group membership so I basically stopped using it because it was a big pain the ass to do it manually. I set up a sand box account with PayPal and tried to test it several times ( with 2.0.6) and it's not working for me. More specifically, I am able to make the payment, but after the payment is made there is on change to the user account whatsoever on the forum. I don't even see a log of it, it's like nothing happened. Interestingly I ran and IPN test from the sandbox dashboard and it worked. Am I missing something here? Could there be a permissions issue? I recently moved to a VPS.
Sort of off topic: If I am some how able to get the paid subscriptions mod to work is there a way to make it so that all NEWLY registered guests will have to pay to access the forum? I want to give my current members time to pay, but force new users to pay now.
There is a known bug with the sandbox mode if the email address for the sandbox mode is different to the real email address you'll be using.
(Note that this mod was written by the person who would later go on to add it to 2.0, so this mod won't help you, not that this mod would help you anyway because it would need a substantial rewrite to use 2.0 database functions)
Quote from: Sir Cumber-Patcher on January 10, 2014, 06:30:28 PM
There is a known bug with the sandbox mode if the email address for the sandbox mode is different to the real email address you'll be using.
(Note that this mod was written by the person who would later go on to add it to 2.0, so this mod won't help you, not that this mod would help you anyway because it would need a substantial rewrite to use 2.0 database functions)
I appreciate that, and I may be asking on the wrong board. What I need to know is: Does the current built in payment system work? If so are there any special settings that need to be set?
Quote from: shaitanfr on January 10, 2014, 01:31:47 AM
Quote from: Liam_michael on January 09, 2014, 08:04:13 PM
Don't mean to open up a can of worms, but I've been getting complaints that this mod, which has been working perfectly for the past year on my forum, isn't working anymore. The membergroups are not automatically being updated for paid members. My website has not changed, nor has the PHP software running behind the scenes changed - it is a dedicated server.
My question is, has PayPal made any changes to the IPN file recently that may account for this?
Hello,
I encounter exactly the same problem as you since yesterday.
I also assume that it comes from PayPal.
I got the last pin code 4 h 40 pm and then nothing.
Edit:
I just tested sending notification in paypal history and this time I received the IPN. I think everything is back in order.
I did the same test last night and it did not work.
It was working this morning again, but once again is stumbling. I think I might contact PayPal.
Quote from: blogger419 on January 10, 2014, 06:32:32 PM
Quote from: Sir Cumber-Patcher on January 10, 2014, 06:30:28 PM
There is a known bug with the sandbox mode if the email address for the sandbox mode is different to the real email address you'll be using.
(Note that this mod was written by the person who would later go on to add it to 2.0, so this mod won't help you, not that this mod would help you anyway because it would need a substantial rewrite to use 2.0 database functions)
I appreciate that, and I may be asking on the wrong board. What I need to know is: Does the current built in payment system work? If so are there any special settings that need to be set?
Yes, you need to not be doing what you're doing, like I said...
Is there a way to make it so that only NEW members have to pay to join a certain group? I basically want to implement paid memberships but I want to only start with new people, and perhaps give current members different options.
No there isn't, not in this mod, not in 2.0, unlikely to be added in 2.1.
Quote from: Liam_michael on January 10, 2014, 06:33:22 PM
Quote from: shaitanfr on January 10, 2014, 01:31:47 AM
Quote from: Liam_michael on January 09, 2014, 08:04:13 PM
Don't mean to open up a can of worms, but I've been getting complaints that this mod, which has been working perfectly for the past year on my forum, isn't working anymore. The membergroups are not automatically being updated for paid members. My website has not changed, nor has the PHP software running behind the scenes changed - it is a dedicated server.
My question is, has PayPal made any changes to the IPN file recently that may account for this?
Hello,
I encounter exactly the same problem as you since yesterday.
I also assume that it comes from PayPal.
I got the last pin code 4 h 40 pm and then nothing.
Edit:
I just tested sending notification in paypal history and this time I received the IPN. I think everything is back in order.
I did the same test last night and it did not work.
It was working this morning again, but once again is stumbling. I think I might contact PayPal.
Same here. But I just re-tested at the moment and it works again. The problem does not come from paypal. According to my research, 99% of IPN problem come from networks or servers. Often it is intercontinental links problematic. Hopefully this is finally solved now especially that the weekend is here ..
I've gotten about 12 new paid members since I've started using the built in paid subscriptions feature. However, only 2 of them have successfully been put into the paid members group. The rest show up as Finished/inactive with weird dates for instance: start date 1/12/14 end date 1/30/05. Any idea what is causing that? It's going to be real pain if I have to manually go through and place all the paid members into the correct group.
The 2005 thing is a known bug but it's never been able to be properly diagnosed before because the only reference to 2005 in the code is from manually setting up subscriptions and doing it wrong :/
Quote from: Sir Cumber-Patcher on January 12, 2014, 01:28:42 PM
The 2005 thing is a known bug but it's never been able to be properly diagnosed before because the only reference to 2005 in the code is from manually setting up subscriptions and doing it wrong :/
Any idea why two people would have been successfully added to the group but 10 others show as "Finished" and are not placed in the group? I read something about SMF e-mail vs paypal email, however on at least a few of the inactive new registers they were the same.
Side note: Does anyone know of a company or person who does paid support? I've got a bunch of little bugs that I'd like taken care of, and I am willing to pay.
That's the point: it's never been able to be diagnosed properly in the past :(
Quote from: Sir Cumber-Patcher on January 12, 2014, 02:36:36 PM
That's the point: it's never been able to be diagnosed properly in the past :(
How much is your consulting rate?
Variable, depends on the situation but honestly I don't have the time right now to take on new clients :(
Quote from: Sir Cumber-Patcher on January 12, 2014, 02:36:36 PM
That's the point: it's never been able to be diagnosed properly in the past :(
Perhaps then this should be a focus for SMF 2.1?
By the way, I've never experienced the 2005 problem.
Perhaps you should take a look at the list of issues tracked for 2.1.
Quote from: Liam_michael on January 12, 2014, 02:44:59 PM
Quote from: Sir Cumber-Patcher on January 12, 2014, 02:36:36 PM
That's the point: it's never been able to be diagnosed properly in the past :(
Perhaps then this should be a focus for SMF 2.1?
By the way, I've never experienced the 2005 problem.
I am using 2.0.6
And? 2.1 was built on top of 2.0, both have the same bug as far as is known...
Quote from: Sir Cumber-Patcher on January 12, 2014, 02:46:53 PM
Perhaps you should take a look at the list of issues tracked for 2.1.
How do I do that?
We've only been saying for months that development is on Github. https://github.com/SimpleMachines/SMF2.1 in fact. Have a look under 'issues'.
This mod is being stupid again. After purchasing, it's saying payment pending (a date like year: 1969). The payment, however, has cleared in PayPal.
Is there another Mod like this one more recent. XF has it build in to the Core was looking for and SMF equivalent.
Are you using 1.x?
Sorry. 2.0.5, should have put that,
Um, it's built into 2.0 (by Grudge, the original author), turn it on in Core Features. And you're behind in multiple security fixes.
Oh its the same in gotcha thanks.
, I am duplicating my site and going to test 2.0.8
Have a funny feeling if I straight upgrade to 2.0.8 It will not work in the end.
Problem with modding it does not always upgrade well so running tests to ensure
I do not lose all the work put in if I switch, not sure what 2.0.8 modified from 2.0.5
that will affect what it has now and may leave areas inoperable.