How do I create a sandbox for each customer in PHP? - php

I have a problem, I stay right now and will create powerful software for multipule users. I want to make it possible for a customer to create their own plugins/addons for this system, but i don't like the customer can read all my "defineds" and "global vars" and more...
Now I search after a solution for this. My idea is to build a sandbox for each customer where I can define what happens in this sandbox and it will not be possible for the customer to have contact with my system code.
Can somebody maybe help me by linking to sites where I can find more information about how to make such a system?

You need to investigate Plugin Architecture.
There is an introduction to this concept here:
http://shameerc.com/2010/12/simple-plugin-architecture-using-php5-reflection-api.html

Related

Paypal express checkout - buyer details

so I need to ask a question, I need to setup a simple paypal express checkout system, that one can allow users to change currencies, and two can then update the page with the updated currencies.
Then I need a way for me to get the order information. As I will be selling website templates so I need a way for me to get their email address, so I can then email them with the link to the template file download.
So my question is what data do I get if I set up an express checkout system. And what code do I need, Do i need to create a database to get the returned data back from paypal? Or do I just get an email or can i see that when i log into my paypal account and check orders and see their details that way, but the main important detail i need is their email address?
Can I also say that this is the first time I have looked into express shopping carts. So I am a complete novice in this field, So I will struggle with the coding aspect. But I think it is the route I need to go down.
Also I want to make it all in php as well. But also I don't want to use ready made systems. I just need the back-end code so that I can then just implement it into my current design. Not sure if paypal give you the code when you click the express shopping cart option in All tool section. I did notice though it redirects to a page that lists many partner sites. I couldn't find anywhere for any implementation advice or tips or code.
EDIT: Also I know I will also need to use either IPN or PDT but the documentation I read is highly confusing and just is making me unsure if I can even set a system up. I also read that you should implement both systems, but I also read that that had a risk of doing the payment twice. So yeah i am kinda a bit unsure how to even go about implementing a system I need.
Thanks in advance.

Joomla chat for particular user only

I want a joomla chat component / module by which a visitor can chat with a particular registered user only if that user is online. I found many chat extensions, but they were not working for a particular user. I only find chat room.
Please suggest
This can be done with "BoWoB Chat" plugin: http://extensions.joomla.org/extensions/communication/chat-hosted/12803
Using the feature "Friend-only chat".
There used to be a free extension for this which I tested about a year ago. It was average with a few bugs but they developers have constantly updated it since then and it's now commercial:
http://extensions.joomla.org/extensions/communication/chat/19758
You may also want to take a look at the following:
http://extensions.joomla.org/extensions/communication/chat/17600
Both are based on the Facebook Chat style, however both are also commercial. If you're looking for a non-commercial solution, then FreiChat may suit your needs. I have never tested it but the ratings and reviews are good.

How to generate a subscription system that expire after a defined amount of time? Drupal 7

Hello my fellow internet companions, I shall need your help once again.
I'm trying to develop a Drupal Website with an user base which pay a different fee upon the kind of subscription.
After a defined span of time, the subscription should expire, unless the user pay again for mantain the access to the services; which module do you suggest me to use for manage these tasks? We're trying to avoid the use of content types because we'd like to use the Drupal Users core system, but it appears almost impossible.
Any help would be appreciated, cheers!
are you talking about the ability for users to have different subscriptions to certain services?
First thought: I think a combination of rules and cron will help you out with this?
Still thinking further though.....

Library to aid with creating sites that users register for

I am trying to create a website that users have to register for, and this gives them access to all the site features. Potentially, maybe i want users to pay a yearly subscription fee.
Is there a library to handle this for me? This should include, keeping track of user cookie and logged in status, keeping track of expiry date, verifying email addresses, banned users... etc.
I mainly use PHP and MySQL but am open to using something else if there is this really good library out there.
Thanks.
The Zend library can give you a lot of those chunks of code with a little setup. That would be my best recommendation but if you want something that is a little more setup from the get go I would recommend using a Drupal install to accomplish most of this functionality.
Drupal has many modules that can be setup and configured to handle most of this. Including the subscriptions, though you will need to setup a payment gateway in order to process them. I know Authorize.net offers a subscription service, but my bet is the setup will work with Paypal or Google Checkout as well.
Hope that helps give you some direction to solve your problem. :)

Training registration in PHP

I would like to do a site in PHP/MySQL using either Drupal/Joomla/Wordpress that allows me to have class list with description/date and students can sign up to pay for it. I prefer Wordpress if there is some package already. The idea is to have students to pay via Paypal. For backend, Admin should be able to manage class, check students status.
The reason I want to do this is because I have a small company and I want to do special workshop once in awhile.
Any recommendation on something already built close to this?
You can accomplish this with WordPress and one of several event registration plugins. These two plugins integrate with paypal
http://wordpress.org/extend/plugins/advanced-events-registration/
http://wordpress.org/extend/plugins/event-registration/
Check out this blog article that mentions more plugins for event registration
http://www.moongoosedesigns.com/event-and-event-management-registration-plugins-for-wordpress/
http://eventespresso.com/ is the evolution of advanced events registration. It's good, and does exactly what you need. I use it for just that on firstlineeducation.com

Categories