News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Paid Subscriptions

Started by Grudge, August 12, 2006, 06:09:49 AM

Previous topic - Next topic

digit

to be clear about this...

should the table...

email_complete

be set as...   tinyint(3)   

?
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

madfiddler

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

madfiddler

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?

Egg

works perfectly!

thank you.

anyway to make it so only a specified membergroup is allowed to subscribe?

cheers

Egg

Grudge

Jay - can you be specific on where sprintf doesn't work?

Also - I finally fixed the DB bug I think with 0.13 :(
I'm only a half geek really...

madfiddler

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.

Grudge

Maybe it was corrupt? I've uploaded a new zipped version.
I'm only a half geek really...

madfiddler

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.

JayBachatero

Ok it's not sprintf but this is the line.

<td align="center">', $txt['paid_cost'], ' (', str_replace('%d', '', $modSettings['currency_symbol']), ')</td>
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

digit

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  ::)
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

JayBachatero

Does it work through the package manager?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

digit

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."

Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

JayBachatero

Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

digit

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
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

JayBachatero

The normal upgrade procedure for the mod is uninstall then install newer version.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Jim R

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.   :(

Grudge

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.
I'm only a half geek really...

Jim R

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.


digit

I am still having the problem of new subscribers being listed as payment pending instead of active.

Any idea why?

Thanks in advance.

Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

Advertisement: