7430 pointsLike some sort of WPMU DEV God"Mindblowingly helpful memberLifetime member
Andrew
Erstwhile founder
—
13th May 2008 (4 years ago)
This is basically a blend of "Premium Lite" and the Incsub "Premium" plugins. There aren't too many changes with this release as it's really just meant as a transition release to get everyone switched over. The next release will include a face lift and a few new features.
If you're currently using Premium Lite there are upgrade instructions to help you get switched over.
This is basically a blend of "Premium Lite" and the Incsub "Premium" plugins. There aren't too many changes with this release as it's really just meant as a transition release to get everyone switched over. The next release will include a face lift and a few new features.
If you're currently using Premium Lite there are upgrade instructions to help you get switched over.
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
22nd May 2008 (4 years ago)
#
Just to clarify as I'm having problems with this plugin, (it's not showing the plugins within the dropdown menus.) if you're using the multiple database software, this is what should be in the db.php file, right?
The software first added the tables into one of the non-global databases. I removed them and manually added in the tables with the sql.txt file afterwards.
It's also not finding the Buy credits page when you click on that link on the dashboard.
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
22nd May 2008 (4 years ago)
#
I got it working.
- The add_globals up there is correct.
- You can't leave the premium plugins within sundirectories within /upgrade-plugins (ie /upgrade-plugins/quota/quota.php won't work.) You have to put the files within /upgrade-plugins.
- Fill out the Options first before adding packages. If you do the packages first before the options, it will delete the packages.
- The credits (and history) subpages started working after filling out the options page and recreating the packages.
i think that's all.
edit: The send credits and give credits to all new users is a nice touch. Any chance of getting a global history page?
You can make it work but it requires hacking the ad removal plugin and you have to configure the function in WSA. I'll see about updating it so you don't have to hack anything.
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
23rd May 2008 (4 years ago)
#
I just noticed that over on edublogs when someone drops some "bling bling bucks" (I have a client calling it that) into your account, there's no mention of the transaction in your account.
Don't know if that's an oversight or intended behavior.
it would be nice if this package provided an option to turn off the internal billing mechanisms, and provided an API to activate/deactive the different packages externally. that way, it could be paired with some more exotic billing systems. i'm doing this myself right now, and just subscribed to see what techniques you were using.
it would be nice if this package provided an option to turn off the internal billing mechanisms
That's definitely possible but I'm honestly not sure if enough people would be interested in that to make it worthwhile. Besides, once you turn off the credits bits there really isn't much left. You could just as easily create the package feature for any other billing system.
Also, you can already add pretty much any payment gateway you wish.
I know the functionality would be fairly slim without the payment bits, but I would like to stay in step with whatever UI you're creating, and give back whatever modifications I make. Just a thought, the code has been useful anyhow.
It won't ever be 'integrated' but I am going to update so it's compatible. There's a feature in the WSA plugin that let's you show/hide adds depending on if a PHP function returns true or false.
I'm using a single database and having the same problem DrMike had above, where none of the plugins (in subdirectories or not) in /wp-content/mu-plugins/upgrade-plugins are showing up in the plugin drop-downs when building a package. Anyone else have this issue?
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
2nd June 2008 (3 years ago)
#
You're not leaving the premium plugins in subdirectories like I did, are you? They actually have to be in only one level subdirectory. (ie /upgrade-plugins/quota/quota.php won't work.) You have to put the files within /upgrade-plugins.
DrMike, I followed your instructions above and took them out of their subdirectories. The weirdest thing for me is that the plugins are all automatically activated.
I'm going to uninstall everything and try again. Just to be sure... there were only 5 tables I should drop. Right? (PS: All this help is greatly appreciated)
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
2nd June 2008 (3 years ago)
#
Yes, 5 tables. Also remember that things really didin't start showing up for me until I fill out all of the options as well. (ie Paypal email address, etc)
I just did a first time install of this plugin, and as far as I can tell, everything is working as expected.
Isn't that such a good feeling. I still get it when something I code works. :)
Has anyone tried the worldpay option yet? Just curious.
edit: I'm not going to go digging for this but it looks like the advert removal seems to be just a check against the upgrades_show_ads() function. Shouldn't be too hard.
Okay, maybe I missed something or my expectations were off, but from what I read about Upgrades I thought I could add any plugin (which worked with MU) to the /upgrade-plugins dir, not only the Quota and Ad Removal.
Are those the only two which are known to work?
With those installed (neither of which I need) the plugin is working for me.
I was also expecting this to pull the plugins in for me to choose. I now know that any plugin you would like to make a "premium" needs to be edited in the way drmike has described, and I think added to the /upgrade-plugins/ directory.
Moving along with the installation and configuration of this plugin, I have sent credits to various users and it seems that the mail in not sending to any of them. Has anyone else experienced this issue?
Are you sending credits from the credits page or the site admin page? If it's the latter then that's the problem. A notification is only sent when credits are gifted from the credits page.
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
3rd June 2008 (3 years ago)
#
Give yourself a billizon credits and play Santa then. :)
Have to admit that sending an email to the receiver when they get credits, even from the Site Admin page, may be something to consider. It lets them know that they've received them, they won't be surprised when they see them and they'll actually notice them.
after the payment is made, return to merchant from paypal, is redirecting to 'premium.php' and getting 404 error. Should it be changed to upgrades.php?
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
29th July 2008 (3 years ago)
#
Do note also what we discussed earlier in this thread about having to upload the premium plugins into the premium directory (it's name escapes me currently and I can't go and check.) instead of leaving them in their own subdirectories.
Hi all - Im having the same original problem (plugins not appearing in the package dropdowns).
I've read through this thread in great detail, re-installed the plugin several times and everything seems to be okay apart from the fact I cannot select any of the plugins when creating a new package.
Tripled-Checked:
Plugins are not in their sub-folders
Paypal.php in root
Upgrades.php in wp-admin
The 3 other files in mu-plugins
upgrade plugins folder in mu-plugins
Would appreciate any help on this matter as I really think the feature would work well with my MU setups.
Responses (44)
Keeper of the Dark Chocolate — 22nd May 2008 (4 years ago) #
Just to clarify as I'm having problems with this plugin, (it's not showing the plugins within the dropdown menus.) if you're using the multiple database software, this is what should be in the db.php file, right?
add_global_table('upgrades_credits');
add_global_table('upgrades_package_status');
add_global_table('upgrades_logs');
add_global_table('upgrades_features');
add_global_table('upgrades_packages');
The software first added the tables into one of the non-global databases. I removed them and manually added in the tables with the sql.txt file afterwards.
It's also not finding the Buy credits page when you click on that link on the dashboard.
Keeper of the Dark Chocolate — 22nd May 2008 (4 years ago) #
I got it working.
- The add_globals up there is correct.
- You can't leave the premium plugins within sundirectories within /upgrade-plugins (ie /upgrade-plugins/quota/quota.php won't work.) You have to put the files within /upgrade-plugins.
- Fill out the Options first before adding packages. If you do the packages first before the options, it will delete the packages.
- The credits (and history) subpages started working after filling out the options page and recreating the packages.
i think that's all.
edit: The send credits and give credits to all new users is a nice touch. Any chance of getting a global history page?
thanks,
-drmike
Erstwhile founder — 22nd May 2008 (4 years ago) #
Any chance of getting a global history page?
Possibly in the future but not at the moment. I've got a million things on my list that would take precedent.
Thanks,
Andrew
Keeper of the Dark Chocolate — 22nd May 2008 (4 years ago) #
I'll see what I can do. Been a long day and the pollen is playing havoc with my eyes. Excuse typos. Can barely see screen.
Quick question. Does the ad removal plugin work with WSA or does the function name (or whatever) need to be changed?
Erstwhile founder — 22nd May 2008 (4 years ago) #
Does the ad removal plugin work with WSA
You can make it work but it requires hacking the ad removal plugin and you have to configure the function in WSA. I'll see about updating it so you don't have to hack anything.
Thanks,
Andrew
Keeper of the Dark Chocolate — 22nd May 2008 (4 years ago) #
Thanks for the reply.
Keeper of the Dark Chocolate — 23rd May 2008 (4 years ago) #
I just noticed that over on edublogs when someone drops some "bling bling bucks" (I have a client calling it that) into your account, there's no mention of the transaction in your account.
Don't know if that's an oversight or intended behavior.
Erstwhile founder — 23rd May 2008 (4 years ago) #
Edublogs isn't using this plugin quite yet.
Thanks,
Andrew
Keeper of the Dark Chocolate — 24th May 2008 (4 years ago) #
Thanks for the reply.
Erstwhile founder — 24th May 2008 (4 years ago) #
Alrighty, now edublogd *is* using the plugin. So if you still spot a difference let me know.
Thanks,
Andrew
Member — 25th May 2008 (3 years ago) #
it would be nice if this package provided an option to turn off the internal billing mechanisms, and provided an API to activate/deactive the different packages externally. that way, it could be paired with some more exotic billing systems. i'm doing this myself right now, and just subscribed to see what techniques you were using.
Erstwhile founder — 25th May 2008 (3 years ago) #
it would be nice if this package provided an option to turn off the internal billing mechanisms
That's definitely possible but I'm honestly not sure if enough people would be interested in that to make it worthwhile. Besides, once you turn off the credits bits there really isn't much left. You could just as easily create the package feature for any other billing system.
Also, you can already add pretty much any payment gateway you wish.
Thanks,
Andrew
Member — 25th May 2008 (3 years ago) #
I know the functionality would be fairly slim without the payment bits, but I would like to stay in step with whatever UI you're creating, and give back whatever modifications I make. Just a thought, the code has been useful anyhow.
(Thank you)
Member — 26th May 2008 (3 years ago) #
It would be nice to have the "remove ads" integrated with the ad plugin for sure! Good idea drmike!
Erstwhile founder — 26th May 2008 (3 years ago) #
It won't ever be 'integrated' but I am going to update so it's compatible. There's a feature in the WSA plugin that let's you show/hide adds depending on if a PHP function returns true or false.
Thanks,
Andrew
Member — 2nd June 2008 (3 years ago) #
I'm using a single database and having the same problem DrMike had above, where none of the plugins (in subdirectories or not) in /wp-content/mu-plugins/upgrade-plugins are showing up in the plugin drop-downs when building a package. Anyone else have this issue?
Erstwhile founder — 2nd June 2008 (3 years ago) #
Hi,
1) We're you previously using the Premium Lite plugin?
2) Just to confirm, you aren't using the multi-db package correct?
3) The upgrade feature plugins are in mu-plugins/upgrade-plugins/*.php correct?
4) Are the actual Upgrade plugin files (upgrade_framework.php, etc) are in /mu-plugins/?
Thanks,
Andrew
Member — 2nd June 2008 (3 years ago) #
1. No, I was not.
2. No, I am not.
3. Yes
4. Yup... though they're called upgrades_framework.php and 0_upgrades_hook.php
One note: I've noticed that two plugins I'm testing with are activated and available to my test blogs.
Erstwhile founder — 2nd June 2008 (3 years ago) #
That's incredibly strange. Can anyone else verify this problem?
Thanks,
Andrew
Keeper of the Dark Chocolate — 2nd June 2008 (3 years ago) #
You're not leaving the premium plugins in subdirectories like I did, are you? They actually have to be in only one level subdirectory. (ie /upgrade-plugins/quota/quota.php won't work.) You have to put the files within /upgrade-plugins.
Member — 2nd June 2008 (3 years ago) #
I just did a first time install of this plugin, and as far as I can tell, everything is working as expected.
Member — 2nd June 2008 (3 years ago) #
DrMike, I followed your instructions above and took them out of their subdirectories. The weirdest thing for me is that the plugins are all automatically activated.
I'm going to uninstall everything and try again. Just to be sure... there were only 5 tables I should drop. Right? (PS: All this help is greatly appreciated)
Keeper of the Dark Chocolate — 2nd June 2008 (3 years ago) #
Yes, 5 tables. Also remember that things really didin't start showing up for me until I fill out all of the options as well. (ie Paypal email address, etc)
Isn't that such a good feeling. I still get it when something I code works. :)
Has anyone tried the worldpay option yet? Just curious.
edit: I'm not going to go digging for this but it looks like the advert removal seems to be just a check against the upgrades_show_ads() function. Shouldn't be too hard.
Member — 2nd June 2008 (3 years ago) #
Okay, maybe I missed something or my expectations were off, but from what I read about Upgrades I thought I could add any plugin (which worked with MU) to the /upgrade-plugins dir, not only the Quota and Ad Removal.
Are those the only two which are known to work?
With those installed (neither of which I need) the plugin is working for me.
Member — 2nd June 2008 (3 years ago) #
I see my last question was asked by @awarner20 in this other thread, and expertly answered by DrMike
http://premium.wpmudev.org/forums/topic.php?id=298&page&replies=3
Thanks
Member — 2nd June 2008 (3 years ago) #
@ innonate,
See the other thread here:
http://premium.wpmudev.org/forums/topic.php?id=298&page&replies=3
I was also expecting this to pull the plugins in for me to choose. I now know that any plugin you would like to make a "premium" needs to be edited in the way drmike has described, and I think added to the /upgrade-plugins/ directory.
Member — 2nd June 2008 (3 years ago) #
Moving along with the installation and configuration of this plugin, I have sent credits to various users and it seems that the mail in not sending to any of them. Has anyone else experienced this issue?
Member — 2nd June 2008 (3 years ago) #
um, nevermind, I suppose it's not supposed to send an email when sending credits is it;)
Keeper of the Dark Chocolate — 2nd June 2008 (3 years ago) #
I thought it was supposed to send the email. I see it in the code.
Erstwhile founder — 2nd June 2008 (3 years ago) #
I thought it was supposed to send the email. I see it in the code.
Are you referring to users sending credits as gifts to other users or site admins sending credits to users?
Thanks,
Andrew
Keeper of the Dark Chocolate — 3rd June 2008 (3 years ago) #
Both actually but in this case, it's the admin sending the credits.
I don't see a check to see if the send-ee is a site admin or not.
Erstwhile founder — 3rd June 2008 (3 years ago) #
Are you sending credits from the credits page or the site admin page? If it's the latter then that's the problem. A notification is only sent when credits are gifted from the credits page.
Thanks,
Andrew
Member — 3rd June 2008 (3 years ago) #
That explains why I wasn't getting any emails, I was sending credits from the site admin page. Haven't tried from the credits page.
Keeper of the Dark Chocolate — 3rd June 2008 (3 years ago) #
Give yourself a billizon credits and play Santa then. :)
Have to admit that sending an email to the receiver when they get credits, even from the Site Admin page, may be something to consider. It lets them know that they've received them, they won't be surprised when they see them and they'll actually notice them.
Member — 3rd June 2008 (3 years ago) #
Ho. Ho. Ho!
I would agree that sending an email from the Site Admin would be a nice feature.
Erstwhile founder — 3rd June 2008 (3 years ago) #
Have to admit that sending an email to the receiver when they get credits, even from the Site Admin page, may be something to consider.
Yeh, the site admin feature was adder long after the 'send credits as a gift' feature and I just didn't think to add the email.
I'll add it in for the next release.
Thanks,
Andrew
Keeper of the Dark Chocolate — 3rd June 2008 (3 years ago) #
I do note that there is the "Send x amount of credits to all users" feature in there. Nice to see that.
Member — 3rd July 2008 (3 years ago) #
Hi Andrew,
after the payment is made, return to merchant from paypal, is redirecting to 'premium.php' and getting 404 error. Should it be changed to upgrades.php?
Erstwhile founder — 3rd July 2008 (3 years ago) #
Yep, it should definitely be changed to upgrades.php. I'll release a new version tomorrow.
Thanks,
Andrew
Member — 29th July 2008 (3 years ago) #
Is UPGRADES working with wpmu v2.6 right now? I followed the instructions and didnt see any upgrade options appeared in the backend.
Erstwhile founder — 29th July 2008 (3 years ago) #
Is UPGRADES working with wpmu v2.6 right now? I followed the instructions and didnt see any upgrade options appeared in the backend.
Have you added a package yet? At least one package has to be active in order for the 'upgrades' tab to appear.
Thanks,
Andrew
Keeper of the Dark Chocolate — 29th July 2008 (3 years ago) #
Do note also what we discussed earlier in this thread about having to upload the premium plugins into the premium directory (it's name escapes me currently and I can't go and check.) instead of leaving them in their own subdirectories.
Member — 22nd January 2010 (2 years ago) #
Hi all - Im having the same original problem (plugins not appearing in the package dropdowns).
I've read through this thread in great detail, re-installed the plugin several times and everything seems to be okay apart from the fact I cannot select any of the plugins when creating a new package.
Tripled-Checked:
Would appreciate any help on this matter as I really think the feature would work well with my MU setups.
Erstwhile founder — 22nd January 2010 (2 years ago) #
Hiya,
Are you expecting the upgrades plugins to appear in the drop down or are you expecting all plugins installed on the site to appear?
Thanks,
Andrew
Become a member