code generator script needs more options (how many to make from id and copy to txt)
£20-250 GBP
Pagado a la entrega
First things first.
DONT just post rubbish in reply to my project. People post information about other work they have done and do not read at all the work that is needed. Also dont post silly money. This script was done by a guy in 2 hours for £60 of here and people posting £100-£250 will just be reported and delted, so save both us the trouble of not wasting my time.
Quote membership script as the first line or i know you have not read this.
I run a member site that as based on amember script (google it) and when a user pays, they are taken back to the site and a page that is in front of them allows them to make a code for their membership.
In the background the script i have reads a txt file that was made when the user paid and confirms has paid and allowed the script in front of them to be made. If the user has not paid and click the button manually, they are given a error.
function doScriptExec() {
// Get list of used products
$prodids = file_get_contents(__DIR__ . "/[url removed, login to view]");
$name = Am_Lite::getInstance()->getName();
foreach (Am_Lite::getInstance()->getAccess() as $a) {
if ((strtotime($a['expire_date']) > strtotime("today")) && (!strstr($prodids, " - $a[access_id]\n"))) {
$access_id = $a['access_id'];
$prod_id = $a['product_id'];
$user_id = $a['user_id'];
$expiry = $a['expire_date'];
$begin = $a['begin_date'];
}
}
What i need is the following:
If a user buys any of my items, they can ONLY make one code. when this code is made, the code is shown on the screen to them and then this is copied in another format to be read.
This is a pain, as a few members buy multi membership for discounted rates.
i need to somehow in a new few lines of code tell it something like this
(examples)
if product ID , 1, 5, 7 is brought only 1 code can be made and this code copied
if product id, 23, 98, 11 is brought, then this will auto make 2 codes and 2 codes copied
if product id, 37,22,13 is brought, then 3 will be made ect
of course i need to be able to edit the id`s as some membership get removed and new ones added. you get the idea
also when the code is copied it outputs like this
"USER: $user $pass { enddate=${enddate} } # User ID: $userid, Name: $name #">>$nfile
so i can easy see what user is who and their member id ( would like ip added )
simple dozen lines max i would say. i can give you the line codes, but they are not to be used for your personal or business use. Its not going to take you days to do, max to the right person a hour or so, so again they say you want £200 or something....
Nº del proyecto: #10004398
Sobre el proyecto
8 freelancers están ofertando un promedio de £89 por este trabajo
Greetings, This is GOPAL for STALLIONi, membership script 1. To customize the code of the amember script as per the requirement. Approximate time to complete: 1 to 1.5 days (100% senior project) Thanks, Gopal
Hi I have gone through the details of your project and we find it well within our capabilities. I can create and deliver the project as per the information.I have skilled,expert programmers I'm very excited to assi Más
Hi, I am Chetan Ghadiya from Rajkot,Gujarat,India. we are team of developers and designers. Completely passionate and self dependent. I believe in delivery with a quality. We are a team of developers and designers Más
looking forward on your reply on this to have a discuss about the work and start as earliest depends on your requirment